diff --git a/src/main/java/org/jpeek/web/Results.java b/src/main/java/org/jpeek/web/Results.java index d143456c..37f0d5eb 100644 --- a/src/main/java/org/jpeek/web/Results.java +++ b/src/main/java/org/jpeek/web/Results.java @@ -162,6 +162,12 @@ public Iterable> all() { .add("version").set(item.get("version").getS()).up() .add("group").set(parts[0]).up() .add("artifact").set(parts[1]).up() + .add("rank") + .set(new DyNum(item, "rank").doubleValue()) + .up() + .add("score") + .set(new DyNum(item, "score").doubleValue()) + .up() .add("defects") .set(new DyNum(item, "defects").doubleValue()) .up() @@ -184,7 +190,8 @@ public Iterable> all() { // @checkstyle MagicNumber (1 line) .withLimit(1000) .withAttributeToGet( - "artifact", "classes", "defects", "version" + "artifact", "classes", "defects", "version", + "rank", "score" ) ) ); diff --git a/src/main/resources/org/jpeek/web/all.xsl b/src/main/resources/org/jpeek/web/all.xsl index e47fac90..515596ff 100644 --- a/src/main/resources/org/jpeek/web/all.xsl +++ b/src/main/resources/org/jpeek/web/all.xsl @@ -72,6 +72,12 @@ SOFTWARE. Classes + + Rank + + + Score + Defects @@ -105,6 +111,12 @@ SOFTWARE. + + + + + + text-align:right;