From fce76be0411e855a734ebeeae9ebbe1671cce64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 25 Aug 2014 17:30:24 +0200 Subject: [PATCH] Improve Phantomas metrics reporting --- app/node_views/results.html | 38 +++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/app/node_views/results.html b/app/node_views/results.html index 7d998a9..fc5d12f 100644 --- a/app/node_views/results.html +++ b/app/node_views/results.html @@ -20,8 +20,8 @@
New test - +
@@ -53,13 +53,6 @@
-
-

Metrics

- -
-

Javascript interactions with the DOM

@@ -173,6 +166,35 @@
+ +
+

Metrics

+ +

Phantomas report

+
+

{{moduleName}}

+
+
+ {{metricName}}: {{phantomasResults.metrics[metricName]}} + {{metric.unit}} +
+
+ {{metric.desc}} + (unreliable) +
+
+
Show offenders
+
Hide offenders
+
    +
  • + {{offender}} +
  • +
+
+
+
+
+