[JENKINS-19661] Inconsistent complexity score on the dashboard portlet

Complexity score is now the mean.
Merge pull request #31 from mabako/complexity

[JENKINS-19661] Inconsistent complexity score on the dashboard portlet