Risk-Profile throws erros when programming language is undefined #3143
Labels
bug
Only issues that describe bugs.
difficulty:low
Solving this is likely not that difficult
good first issue
pr-visualization
Issues that touch the visualization pr(oject) which means web and desktop features.
priority:high
Set by PO
Bug
This was discovered in #3077 but had a different origin.
Expected Behavior
GIVEN a heavily anonimised cc.json file
WHEN the file does not contain a programming language
THEN the risk profile and suspicious metrics should show that no calculations could be made.
Actual Behavior
GIVEN a heavily anonimised cc.json file
WHEN the file does not contain a programming language
THEN the programming language is left at undefined and the risk calculation fails with an error.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: