@@ -260,35 +260,37 @@ def generate_stats_cli_command_logic(args, project_name, project_version):
260
260
row .append (pct )
261
261
writer .writerow (row )
262
262
263
- if total_tracked_count > 0 :
264
- total_tracked_commands_pct = "{0:.3g} %" .format (
265
- total_tracked_count / total_count * 100.0
266
- )
263
+ if total_tracked_count > 0 :
264
+ total_tracked_commands_pct = "{0:.3g} %" .format (
265
+ total_tracked_count / total_count * 100.0
266
+ )
267
267
268
- logging .info ("Total commands: {}" .format (total_commands ))
269
- total_tracked_commands = len (tracked_commands_json .keys ())
270
- logging .info ("Total tracked commands: {}" .format (total_tracked_commands ))
271
- logging .info ("Total tracked commands pct: {}" .format (total_tracked_commands_pct ))
272
- all_groups = groups_json .keys ()
273
- total_groups = len (all_groups )
274
- logging .info ("Total groups: {}" .format (total_groups ))
275
- total_tracked_groups = len (tracked_groups )
276
- logging .info ("Total tracked groups: {}" .format (total_tracked_groups ))
277
- logging .info (
278
- "Total untracked groups: {}" .format (total_groups - total_tracked_groups )
279
- )
280
- logging .info ("Printing untracked groups:" )
281
- for group_name in all_groups :
282
- if group_name not in tracked_groups :
283
- logging .info (" - {}" .format (group_name ))
284
- logging .info ("Top 10 fully tracked?: {}" .format (len (top_10_missing ) == 0 ))
285
- logging .info ("Top 30 fully tracked?: {}" .format (len (top_30_missing ) == 0 ))
286
- if len (top_30_missing ) > 0 :
287
- logging .info ("\t \t Total missing for Top 30: {}" .format (len (top_30_missing )))
288
-
289
- logging .info ("Top 50 fully tracked?: {}" .format (len (top_50_missing ) == 0 ))
290
- if len (top_50_missing ) > 0 :
291
- logging .info ("\t \t Total missing for Top 50: {}" .format (len (top_50_missing )))
268
+ logging .info ("Total commands: {}" .format (total_commands ))
269
+ total_tracked_commands = len (tracked_commands_json .keys ())
270
+ logging .info ("Total tracked commands: {}" .format (total_tracked_commands ))
271
+ logging .info (
272
+ "Total tracked commands pct: {}" .format (total_tracked_commands_pct )
273
+ )
274
+ all_groups = groups_json .keys ()
275
+ total_groups = len (all_groups )
276
+ logging .info ("Total groups: {}" .format (total_groups ))
277
+ total_tracked_groups = len (tracked_groups )
278
+ logging .info ("Total tracked groups: {}" .format (total_tracked_groups ))
279
+ logging .info (
280
+ "Total untracked groups: {}" .format (total_groups - total_tracked_groups )
281
+ )
282
+ logging .info ("Printing untracked groups:" )
283
+ for group_name in all_groups :
284
+ if group_name not in tracked_groups :
285
+ logging .info (" - {}" .format (group_name ))
286
+ logging .info ("Top 10 fully tracked?: {}" .format (len (top_10_missing ) == 0 ))
287
+ logging .info ("Top 30 fully tracked?: {}" .format (len (top_30_missing ) == 0 ))
288
+ if len (top_30_missing ) > 0 :
289
+ logging .info ("\t \t Total missing for Top 30: {}" .format (len (top_30_missing )))
290
+
291
+ logging .info ("Top 50 fully tracked?: {}" .format (len (top_50_missing ) == 0 ))
292
+ if len (top_50_missing ) > 0 :
293
+ logging .info ("\t \t Total missing for Top 50: {}" .format (len (top_50_missing )))
292
294
293
295
if overall_result is False and fail_on_required_diff :
294
296
logging .error (
0 commit comments