diff --git a/app/node_views/results.html b/app/node_views/results.html index 9386d79..27e30e7 100644 --- a/app/node_views/results.html +++ b/app/node_views/results.html @@ -6,7 +6,7 @@ - + @@ -121,7 +121,6 @@
  • Console messages: {{phantomasResults.metrics.consoleMessages}} -
  • Global variables: {{phantomasResults.metrics.globalVariables}} @@ -256,6 +255,10 @@ Connections closed: {{phantomasResults.metrics.closedConnections}}
  • +
  • + Duplicated requests: {{phantomasResults.metrics.multipleRequests}} + +
  • Caching disabled: {{phantomasResults.metrics.cachingDisabled}} diff --git a/app/public/scripts/resultsCtrl.js b/app/public/scripts/resultsCtrl.js index 6f53dc0..a8ac6b7 100644 --- a/app/public/scripts/resultsCtrl.js +++ b/app/public/scripts/resultsCtrl.js @@ -378,6 +378,7 @@ app.controller('ResultsCtrl', function ($scope) { var note = 'A'; var score = $scope.phantomasResults.metrics.notFound * 25 + $scope.phantomasResults.metrics.closedConnections * 10 + + $scope.phantomasResults.metrics.multipleRequests * 10 + $scope.phantomasResults.metrics.cachingDisabled * 2 + $scope.phantomasResults.metrics.cachingNotSpecified + $scope.phantomasResults.metrics.cachingTooShort / 2 +