Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9745

Analysis - Trend display - 'Priority distribution' - Range of Y axis - Focus based on pertubations

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: analysis-core-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Is it possible to normalize in some fashion the Y axis of trend lines?
      Say you have a legacy baseline with some 1000's of checkstyle warnings for instance.
      Its not really a useful trend display to see in 'Priority distribution of all warnings' 3000 +/- 5 (the 5 is all but invisible.)
      As the count has been ~3000 for the past 50 builds (entire graph), if the range on the Y axis, which is currently say 0 - 4000, was instead, 2900 - 3100 it would be much more useful.
      Suggest the min/max counts over the last N builds be used to compute the range.
      E.g. range could be 0.8 * min ... 1.2 * max.
      This would keep the graph floating in the range of pertubation, and still be able to see trending....

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          Currently this is a stacked graph showing the low, normal, and hight priorities on top of each other.

          Shouldn't the new graph be more like a line that simply displays the #total of warnings (and scaled as you described above)? E.g., in the style of https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin.

          Show
          drulli Ulli Hafner added a comment - Currently this is a stacked graph showing the low, normal, and hight priorities on top of each other. Shouldn't the new graph be more like a line that simply displays the #total of warnings (and scaled as you described above)? E.g., in the style of https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin .
          Hide
          drulli Ulli Hafner added a comment -

          BTW: wouldn't it make more sense to show the new vs. resolved graph in your case?

          Show
          drulli Ulli Hafner added a comment - BTW: wouldn't it make more sense to show the new vs. resolved graph in your case?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/analysis/core/AbstractProjectAction.java
          src/main/java/hudson/plugins/analysis/graph/CategoryBuildResultGraph.java
          src/main/java/hudson/plugins/analysis/graph/TotalsGraph.java
          src/main/resources/hudson/plugins/analysis/Messages.properties
          src/test/java/hudson/plugins/analysis/graph/Main.java
          http://jenkins-ci.org/commit/analysis-core-plugin/bdb83f404d546beef91857811d972bf98f74ae14
          Log:
          [FIXED JENKINS-9745] Added new graphs that shows the totals (scaled).

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/AbstractProjectAction.java src/main/java/hudson/plugins/analysis/graph/CategoryBuildResultGraph.java src/main/java/hudson/plugins/analysis/graph/TotalsGraph.java src/main/resources/hudson/plugins/analysis/Messages.properties src/test/java/hudson/plugins/analysis/graph/Main.java http://jenkins-ci.org/commit/analysis-core-plugin/bdb83f404d546beef91857811d972bf98f74ae14 Log: [FIXED JENKINS-9745] Added new graphs that shows the totals (scaled).
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/analysis/collector/OriginGraph.java
          http://jenkins-ci.org/commit/analysis-collector-plugin/34c837d4ea4ed1255b0ccf5f185852db4017efd8
          Log:
          [FIXED JENKINS-9745] Added new graphs that shows the totals (scaled).

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/analysis/collector/OriginGraph.java http://jenkins-ci.org/commit/analysis-collector-plugin/34c837d4ea4ed1255b0ccf5f185852db4017efd8 Log: [FIXED JENKINS-9745] Added new graphs that shows the totals (scaled).
          Hide
          drulli Ulli Hafner added a comment -

          I added a new graph type that renders the total number of warnings. The range is auto-scaled.

          Show
          drulli Ulli Hafner added a comment - I added a new graph type that renders the total number of warnings. The range is auto-scaled.
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #149
          [FIXED JENKINS-9745] Added new graphs that shows the totals (scaled).

          Ulli Hafner :
          Files :

          • src/main/resources/hudson/plugins/analysis/Messages.properties
          • src/main/java/hudson/plugins/analysis/graph/TotalsGraph.java
          • src/main/java/hudson/plugins/analysis/graph/CategoryBuildResultGraph.java
          • src/main/java/hudson/plugins/analysis/core/AbstractProjectAction.java
          • src/test/java/hudson/plugins/analysis/graph/Main.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #149 [FIXED JENKINS-9745] Added new graphs that shows the totals (scaled). Ulli Hafner : Files : src/main/resources/hudson/plugins/analysis/Messages.properties src/main/java/hudson/plugins/analysis/graph/TotalsGraph.java src/main/java/hudson/plugins/analysis/graph/CategoryBuildResultGraph.java src/main/java/hudson/plugins/analysis/core/AbstractProjectAction.java src/test/java/hudson/plugins/analysis/graph/Main.java
          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-collector #120

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              moncreaff Greg Moncreaff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: