Skip to content

Commit

Permalink
removed code that filters out results with no stats
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmizell committed Dec 12, 2018
1 parent ae4f65f commit 8b57ed1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -4,4 +4,5 @@
.settings
.classpath
.project
*.iml
*.iml
/bin/
Expand Up @@ -122,8 +122,8 @@ public String getSummary() {
}

private static void appendSummaryValue(StringBuilder builder, String name, int value, boolean appendPostfix) {

if (value > 0) {
// Eric commented out
// if (value > 0) {
if (builder.length() > 0) {
builder.append(", ");
}
Expand All @@ -140,7 +140,7 @@ private static void appendSummaryValue(StringBuilder builder, String name, int v
if (value > 1) {
builder.append("s");
}
}
// }
}

public List<OOReportRegressedEvent> getRegressedEvents() {
Expand Down
Expand Up @@ -299,7 +299,9 @@ private static ReportVolume getReportVolume(ApiClient apiClient,
if (event.stats != null) {
result.volume += event.stats.hits;

if ((event.stats .hits > 0) && (result.topEvents.size() < limit)) {
//commented out for now until stats collection works every time
// if ((event.stats .hits > 0) && (result.topEvents.size() < limit)) {
if (result.topEvents.size() < limit) {
String arcLink = getArcLink(apiClient, event.id, input, rateRegression);
result.topEvents.add(new OOReportEvent(event, arcLink));
}
Expand Down

0 comments on commit 8b57ed1

Please sign in to comment.