Wrong stats in summary for total passed/failed checks
lcheylus opened this issue · 2 comments
lcheylus commented
On Debian 11 (current testing version), the stats displayed in Summary are incorrect :
$ bin/hardening.sh --audit-all --sudo --allow-unsupported-distribution
(...)
################### SUMMARY ###################
Total Available Checks : 233
Total Runned Checks : 233
Total Passed Checks : [ 98/233 ]
Total Failed Checks : [ 133/233 ]
Enabled Checks Percentage : 100.00 %
Conformity Percentage : 42.06 %
233 runned checks : 98 passed, 133 failed => total = 231 (!= 233)
thibaultserti commented
I think it's related to #63. I'll check it
lcheylus commented
Thanks, stats are correct in Summary after update code to the last version :
$ bin/hardening.sh --audit-all --sudo --allow-unsupported-distribution
################### SUMMARY ###################
Total Available Checks : 233
Total Runned Checks : 231
Total Passed Checks : [ 95/231 ]
Total Failed Checks : [ 136/231 ]
Enabled Checks Percentage : 99.14 %
Conformity Percentage : 41.12 %