Project

General

Profile

Actions

Bug #2704

closed

The compliance % in the rule detail is not correctly computed

Added by Nicolas CHARLES over 12 years ago. Updated over 12 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The % in the rule detail is not valid : it takes the worst value, which is far from what I expected (it seems related to e1658fe73e53dadf46130f23de9c7d386149bc12 of ticket #2700 )

The compliance % shoud be computed as an average of all the compliance of their subcomponent.

for instance
Rule 1 66%

Directive 1 33%

Comp1 100%
Comp2 0%
Comp3 0%

Directive 2 100%

Comp1 100%

(so that a directive with zillions components wont positively or negatively impact the total

Actions

Also available in: Atom PDF