-
Hi Ramon! I did not find any description on how the score (1 to 5, I guess) is calculated. Cheers, Benni |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Good point. I should add more info about that in the wiki. The score is called in code 'severity' and it is computed on .scor load here. It is currently using the maximum time value. The score itself, by default, is normalized. This means that all includes are split equally in 5 different buckets ( 0%-20% | 20% - 40% .... ). Example: An include file that has score 5/5 means that it falls in the 20% of most expensive includes in the solution. In Tools / Options / CompileScore you can change the thresholds to global values instead of normalized. Those settings are not in the Extensions / CompileScore / Options because they are user specific instead of data specific imho. Are there any metrics that you think would be beneficial to add in there? |
Beta Was this translation helpful? Give feedback.
Good point. I should add more info about that in the wiki.
The score is called in code 'severity' and it is computed on .scor load here.
It is currently using the maximum time value. The score itself, by default, is normalized. This means that all includes are split equally in 5 different buckets ( 0%-20% | 20% - 40% .... ). Example: An include file that has score 5/5 means that it falls in the 20% of most expensive includes in the solution. In Tools / Options / CompileScore you can change the thresholds to global values instead of normalized.
Those settings are not in the Extensions / CompileScore / Options because they are user specific instead of data specific imho.
Are there any metri…