The avg nbr of global variables is prety high...

This commit is contained in:
Gaël Métais
2014-09-25 19:05:02 +02:00
parent 447cf90887
commit fa120ed43f
+1 -1
View File
@@ -255,7 +255,7 @@ app.controller('ResultsCtrl', function ($scope) {
$scope.phantomasResults.metrics.evalCalls * 2 +
$scope.phantomasResults.metrics.jsErrors * 10 +
$scope.phantomasResults.metrics.consoleMessages / 2 +
$scope.phantomasResults.metrics.globalVariables / 10;
$scope.phantomasResults.metrics.globalVariables / 20;
if (score > 5) {
note = 'B';
}