Details

    • Similar Issues:

      Description

      add a new graph (churn) that shows only deltas build to build.

      with large baseline (>1k LOC) change build to build is invisible, yet thats more likely to be the where the interesting stuff is

        Attachments

          Activity

          Show
          mixalturek Michal Turek added a comment - Implemented in https://github.com/mixalturek/sloccount-plugin/commit/1c05513d9b5ebbf536ec7d365f81438d4bb74704 .
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/hudson/plugins/sloccount/ReportSummary.java
          src/main/java/hudson/plugins/sloccount/SloccountChartBuilder.java
          src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java
          src/main/resources/hudson/plugins/sloccount/Messages.properties
          src/main/resources/hudson/plugins/sloccount/SloccountProjectAction/floatingBox.jelly
          http://jenkins-ci.org/commit/sloccount-plugin/1c05513d9b5ebbf536ec7d365f81438d4bb74704
          Log:
          JENKINS-14504 sloccount churn graph

          • Trend graph with values computed as delta between builds N and N-1 implemented.
          • SLOCCount plugin now displays two graphs: absolute and delta.
          • Indentation fixed.
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/hudson/plugins/sloccount/ReportSummary.java src/main/java/hudson/plugins/sloccount/SloccountChartBuilder.java src/main/java/hudson/plugins/sloccount/SloccountProjectAction.java src/main/resources/hudson/plugins/sloccount/Messages.properties src/main/resources/hudson/plugins/sloccount/SloccountProjectAction/floatingBox.jelly http://jenkins-ci.org/commit/sloccount-plugin/1c05513d9b5ebbf536ec7d365f81438d4bb74704 Log: JENKINS-14504 sloccount churn graph Trend graph with values computed as delta between builds N and N-1 implemented. SLOCCount plugin now displays two graphs: absolute and delta. Indentation fixed.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/hudson/plugins/sloccount/SloccountBuildAction.java
          src/main/java/hudson/plugins/sloccount/SloccountResult.java
          http://jenkins-ci.org/commit/sloccount-plugin/cdf60a3551d3146ed23790d3603ec11889378e9b
          Log:
          JENKINS-14504 sloccount churn graph

          • Plugin version 1.10 and less stored empty data set to build.xml even for builds that failed. This causes unwanted high peaks in trend with deltas.
          • Builds with no data are excluded to fix the issue.
          • Indentation fixed.
          • Example of legacy build.xml data:

          <hudson.plugins.sloccount.SloccountBuildAction plugin="sloccount@1.10">
          <build class="build" reference="../../.."/>
          <result>
          <report>
          <files class="linked-hash-map"/>
          <lineCount>0</lineCount>
          <folders class="linked-hash-map"/>
          <languages class="linked-hash-map"/>
          </report>
          <owner class="build" reference="../../../.."/>
          </result>
          </hudson.plugins.sloccount.SloccountBuildAction>

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/hudson/plugins/sloccount/SloccountBuildAction.java src/main/java/hudson/plugins/sloccount/SloccountResult.java http://jenkins-ci.org/commit/sloccount-plugin/cdf60a3551d3146ed23790d3603ec11889378e9b Log: JENKINS-14504 sloccount churn graph Plugin version 1.10 and less stored empty data set to build.xml even for builds that failed. This causes unwanted high peaks in trend with deltas. Builds with no data are excluded to fix the issue. Indentation fixed. Example of legacy build.xml data: <hudson.plugins.sloccount.SloccountBuildAction plugin="sloccount@1.10"> <build class="build" reference="../../.."/> <result> <report> <files class="linked-hash-map"/> <lineCount>0</lineCount> <folders class="linked-hash-map"/> <languages class="linked-hash-map"/> </report> <owner class="build" reference="../../../.."/> </result> </hudson.plugins.sloccount.SloccountBuildAction>

            People

            • Assignee:
              mixalturek Michal Turek
              Reporter:
              moncreaff Greg Moncreaff
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: