Some functions like the validity checks (checkRiskAttackPaths, checkVulnerabilityRef, checkSupportingAssetRefArray, checkSupportingAssetRef, coherentSupportingAsset, existSupportingAsset, checkBusinessAssetRefArray, checkBusinessAssetRef, existBusinessAsset) are duplicated in several files.
Duplicate Steps
No response
Expected Results
The similar functions and especially the checks should be common to every file. That would also make sure every check conditions are the same. Proposal: moving them to common.js.
Issue Description
Some functions like the validity checks (checkRiskAttackPaths, checkVulnerabilityRef, checkSupportingAssetRefArray, checkSupportingAssetRef, coherentSupportingAsset, existSupportingAsset, checkBusinessAssetRefArray, checkBusinessAssetRef, existBusinessAsset) are duplicated in several files.
Duplicate Steps
No response
Expected Results
The similar functions and especially the checks should be common to every file. That would also make sure every check conditions are the same. Proposal: moving them to common.js.
Version Detected
1.2.0
Attachments
No response