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
Recently I modified the reek configuration to ignore some smells in some directories. I noticed that while the number of code smells for the files changed, the overall score didn't change. This was unexpected for me.
After diving deeper, I see that the cost of a Reek smell is 0. If I understand correctly, this means that smells found by Reek, don't have an impact on the cost, rating or overall score. If this is the case, this was unintuitive as our team have been trying to improve the score by address a lot of the reek smells.
Is there an explanation or documentation that summarises the idea behind the scoring? I have read the Core Metrics, Score and Rating and Code Climate Score Doc however, I feel it would be good to explicitly describe how the cost is determined and explicitly describe the intentions behind the cost and weights (i.e., why reek smells are 0 and why flog and flay costs are X).
The text was updated successfully, but these errors were encountered:
Recently I modified the reek configuration to ignore some smells in some directories. I noticed that while the number of code smells for the files changed, the overall score didn't change. This was unexpected for me.
After diving deeper, I see that the
cost
of a Reek smell is 0. If I understand correctly, this means that smells found by Reek, don't have an impact on thecost
,rating
or overall score. If this is the case, this was unintuitive as our team have been trying to improve the score by address a lot of the reek smells.Is there an explanation or documentation that summarises the idea behind the scoring? I have read the Core Metrics, Score and Rating and Code Climate Score Doc however, I feel it would be good to explicitly describe how the cost is determined and explicitly describe the intentions behind the cost and weights (i.e., why reek smells are 0 and why flog and flay costs are X).
The text was updated successfully, but these errors were encountered: