Calculate the current impact score for this aspect (or risk, if no aspects) We start with the base impact score, then deduct the implemented weights. THEN we add the penalties. The result will be the greater of 1 and that number.
Signature
public function calculateCurrentImpactScore(int
$sumOfImpactWeights,
int
$sumOfImpactPenalties,
int
$baseImpactScore )