From abc0563f63df4565070eec6f6f7a13e2fb01684b Mon Sep 17 00:00:00 2001 From: disconnect3d Date: Mon, 26 Aug 2019 15:09:59 +0200 Subject: [PATCH] Print detectors count on Slither CLI This way we can see: ``` INFO:Slither:. analyzed (34 contracts with 38 detectors), 378 result(s) found ``` for public Slither version and more for the private one ;). --- slither/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/__main__.py b/slither/__main__.py index b6a80bc42..364b23543 100644 --- a/slither/__main__.py +++ b/slither/__main__.py @@ -617,7 +617,7 @@ def main_impl(all_detector_classes, all_printer_classes): if printer_classes: logger.info('%s analyzed (%d contracts)', filename, number_contracts) else: - logger.info('%s analyzed (%d contracts), %d result(s) found', filename, number_contracts, len(results)) + logger.info('%s analyzed (%d contracts with %d detectors), %d result(s) found', filename, number_contracts, len(detector_classes), len(results)) if args.ignore_return_value: return