src/main/java/se/bjurr/violations/lib/parsers/FindbugsParser.java
private SEVERITY toSeverity(Integer rank) {
    if (rank <= 9) {
      return SEVERITY.ERROR;
    }
    if (rank <= 14) {
      return SEVERITY.WARN;
    }
    return SEVERITY.INFO;
  }
private SEVERITY toSeverity(Integer rank) {
    if (rank <= 9) {
      return SEVERITY.ERROR;
    }
    if (rank <= 14) {
      return SEVERITY.WARN;
    }
    return SEVERITY.INFO;
  }
private SEVERITY toSeverity ( Integer rank ) { if ( rank <= 9 ) { return SEVERITY . ERROR ; } if ( rank <= 14 ) { return SEVERITY . WARN ; } return SEVERITY . INFO ; }
Bugs are given a rank 1-20, and grouped into the categories scariest (rank 1-4), scary (rank
5-9), troubling (rank 10-14), and of concern (rank 15-20).
Bugs are given a rank 1 - 20 and grouped into the categories scariest ( rank 1 - 4 ) scary ( rank 5 - 9 ) troubling ( rank 10 - 14 ) and of concern ( rank 15 - 20 ) .