You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the TrafficlightCalculator knows which Severity is mapped to a traffic light.
But not the other way.
Wanted
Inside code
it shall be possible to get all severities for a traffic light
it shall be impossible that one traffic light has a severity crossover with another
it shall be impossible that a severity is forgotten
only traffic light off has no severity, all other have at least one
the traffic light grouping of severities is as before
Solution
We change the implementation - the data (severities) will be hold inside TrafficLight enum and the calculator just uses the information for the calculation.
After the change it is possible to simply get all severities for a trafficlight.
The text was updated successfully, but these errors were encountered:
…n and more (#2873)
- Summary in Reports #345
- Fix Email address typos #2874
- Example domain names now only example.com or example.org #2876
- Build artifact sechub-integrationtest-test-reports name issues resolved#2878
- Fixed report issue #2882
- Moved logic from report templates to java classes #2887
- HTML Report summary data grouped now by severity #2893
- Improved TrafficLight /Severity implemenation/handling #2894
- Moved scan report creation logic to own class #2897
- Changes on new HTML report #2898
- Rename main HTML report template #2903
- Removed web development mode and css file #2902
- Added traffic light anker links to HTML report #2904
- Removed unnecessary report summary meta data from json #2889
- Meta data summary in JSON contains severity totals #2906
---------
Co-authored-by: Valentyn Grygoriev <zigfridus@gmail.com>
Co-authored-by: Jeeppler <Jeeppler@users.noreply.github.com>
Situation
Currently the
TrafficlightCalculator
knows which Severity is mapped to a traffic light.But not the other way.
Wanted
Inside code
Solution
We change the implementation - the data (severities) will be hold inside
TrafficLight
enum and the calculator just uses the information for the calculation.After the change it is possible to simply get all severities for a trafficlight.
The text was updated successfully, but these errors were encountered: