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

sloccount churn graph

    XMLWordPrintable

Details

    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

          moncreaff Greg Moncreaff created issue -
          mixalturek Michal Turek made changes -
          Field Original Value New Value
          Assignee npiguet [ npiguet ] Michal Turek [ mixalturek ]
          mixalturek Michal Turek made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          mixalturek Michal Turek added a comment - Implemented in https://github.com/mixalturek/sloccount-plugin/commit/1c05513d9b5ebbf536ec7d365f81438d4bb74704 .

          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.
          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.

          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>

          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>
          mixalturek Michal Turek made changes -
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          mixalturek Michal Turek made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 145140 ] JNJira + In-Review [ 206010 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: