• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • sloccount-plugin
    • None
    • All

      This feature request is based on a discussion in JENKINS-13382. The following is output of SLOCCount tool:

      Creating filelist for main
      Creating filelist for test
      Categorizing files.
      Computing results.
      
      
      69      java    main    /SHORTENED/main/sloccount/SloccountDiffSummary.java
      50      java    main    /SHORTENED/main/sloccount/SloccountDiff.java
      72      java    test    /SHORTENED/test/sloccount/SloccountBuildAction.java
      133     java    test    /SHORTENED/test/sloccount/SloccountChartBuilder.java
      12      java    test    /SHORTENED/test/sloccount/SloccountDiffLanguage.java
      SHORTENED
      

      The third column is the top level directories. It often contains subprojects or sources/tests/examples and similar. There is the Folders panel in the report page but it contains all possible subdirectories. A new panel containing only the top level directories from third column would be useful.

          [JENKINS-21697] New Modules panel on report page

          Michal Turek created issue -
          Michal Turek made changes -
          Description Original: This feature request is based on a discussion in JENKINS-13382. The following is output of SLOCCount tool:

          {noformat}
          Creating filelist for main
          Creating filelist for test
          Categorizing files.
          Computing results.


          69 java main /SHORTENED/main/sloccount/SloccountDiffSummary.java
          50 java main /SHORTENED/main/sloccount/SloccountDiff.java
          72 java test /SHORTENED/test/sloccount/SloccountBuildAction.java
          133 java test /SHORTENED/test/sloccount/SloccountChartBuilder.java
          12 java test /SHORTENED/test/sloccount/SloccountDiffLanguage.java
          SHORTENED
          {noformat}

          The third column is directories passed in arguments to the tool. It contains often subprojects or sources/tests/examples and similar. There is the Folders panel in the report page but it contains all subdirectories. A new panel containing only the top level directories from third column would be useful.
          New: This feature request is based on a discussion in JENKINS-13382. The following is output of SLOCCount tool:

          {noformat}
          Creating filelist for main
          Creating filelist for test
          Categorizing files.
          Computing results.


          69 java main /SHORTENED/main/sloccount/SloccountDiffSummary.java
          50 java main /SHORTENED/main/sloccount/SloccountDiff.java
          72 java test /SHORTENED/test/sloccount/SloccountBuildAction.java
          133 java test /SHORTENED/test/sloccount/SloccountChartBuilder.java
          12 java test /SHORTENED/test/sloccount/SloccountDiffLanguage.java
          SHORTENED
          {noformat}

          The third column is the top level directories. It often contains subprojects or sources/tests/examples and similar. There is the Folders panel in the report page but it contains all possible subdirectories. A new panel containing only the top level directories from third column would be useful.
          Michal Turek made changes -
          Summary Original: New panel on report page New: New Parts panel on report page

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/hudson/plugins/sloccount/SloccountResult.java
          src/main/java/hudson/plugins/sloccount/model/File.java
          src/main/java/hudson/plugins/sloccount/model/Part.java
          src/main/java/hudson/plugins/sloccount/model/SloccountParser.java
          src/main/java/hudson/plugins/sloccount/model/SloccountPublisherReport.java
          src/main/java/hudson/plugins/sloccount/model/SloccountReport.java
          src/main/java/hudson/plugins/sloccount/model/SloccountReportInterface.java
          src/main/resources/hudson/plugins/sloccount/SloccountResult/files.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountResult/parts.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_de.properties
          src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_ja.properties
          src/main/resources/tabview/main.jelly
          src/test/java/hudson/plugins/sloccount/model/SloccountReportTest.java
          http://jenkins-ci.org/commit/sloccount-plugin/37bc40763075398a1695921455da1423e8621140
          Log:
          JENKINS-21697 New Parts panel on report page

          • A new panel called Parts was added to the report page.
          • It contains data present in the third column of SLOCCount tool output.
          • Backward compatibility with plugin version 1.10 and less tested.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/hudson/plugins/sloccount/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/File.java src/main/java/hudson/plugins/sloccount/model/Part.java src/main/java/hudson/plugins/sloccount/model/SloccountParser.java src/main/java/hudson/plugins/sloccount/model/SloccountPublisherReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReportInterface.java src/main/resources/hudson/plugins/sloccount/SloccountResult/files.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/parts.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_de.properties src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_ja.properties src/main/resources/tabview/main.jelly src/test/java/hudson/plugins/sloccount/model/SloccountReportTest.java http://jenkins-ci.org/commit/sloccount-plugin/37bc40763075398a1695921455da1423e8621140 Log: JENKINS-21697 New Parts panel on report page A new panel called Parts was added to the report page. It contains data present in the third column of SLOCCount tool output. Backward compatibility with plugin version 1.10 and less tested.

          Code changed in jenkins
          User: Michal Turek
          Path:
          src/main/java/hudson/plugins/sloccount/SloccountResult.java
          src/main/java/hudson/plugins/sloccount/model/File.java
          src/main/java/hudson/plugins/sloccount/model/Part.java
          src/main/java/hudson/plugins/sloccount/model/SloccountParser.java
          src/main/java/hudson/plugins/sloccount/model/SloccountPublisherReport.java
          src/main/java/hudson/plugins/sloccount/model/SloccountReport.java
          src/main/java/hudson/plugins/sloccount/model/SloccountReportInterface.java
          src/main/resources/hudson/plugins/sloccount/SloccountResult/files.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountResult/parts.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_de.properties
          src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_ja.properties
          src/main/resources/tabview/main.jelly
          src/test/java/hudson/plugins/sloccount/model/SloccountReportTest.java
          http://jenkins-ci.org/commit/sloccount-plugin/e93822abc0bb5ce515dc99554d4bd5a5a8eeaa15
          Log:
          Merge pull request #33 from mixalturek/master

          JENKINS-21697 New Parts panel on report page

          Compare: https://github.com/jenkinsci/sloccount-plugin/compare/111933439b6f...e93822abc0bb

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michal Turek Path: src/main/java/hudson/plugins/sloccount/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/File.java src/main/java/hudson/plugins/sloccount/model/Part.java src/main/java/hudson/plugins/sloccount/model/SloccountParser.java src/main/java/hudson/plugins/sloccount/model/SloccountPublisherReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReportInterface.java src/main/resources/hudson/plugins/sloccount/SloccountResult/files.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/parts.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_de.properties src/main/resources/hudson/plugins/sloccount/SloccountResult/parts_ja.properties src/main/resources/tabview/main.jelly src/test/java/hudson/plugins/sloccount/model/SloccountReportTest.java http://jenkins-ci.org/commit/sloccount-plugin/e93822abc0bb5ce515dc99554d4bd5a5a8eeaa15 Log: Merge pull request #33 from mixalturek/master JENKINS-21697 New Parts panel on report page Compare: https://github.com/jenkinsci/sloccount-plugin/compare/111933439b6f...e93822abc0bb
          Michal Turek made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Michal Turek added a comment -

          Implemented, will be released in 1.15.

          Michal Turek added a comment - Implemented, will be released in 1.15.
          Michal Turek made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Michal Turek made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

          Michal Turek added a comment -

          Rename "Parts" to "Modules", this will be better

          Michal Turek added a comment - Rename "Parts" to "Modules", this will be better
          Michal Turek made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]

            mixalturek Michal Turek
            mixalturek Michal Turek
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: