Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

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

          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/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
          Hide
          mixalturek Michal Turek added a comment -

          Implemented, will be released in 1.15.

          Show
          mixalturek Michal Turek added a comment - Implemented, will be released in 1.15.
          Hide
          mixalturek Michal Turek added a comment -

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

          Show
          mixalturek Michal Turek added a comment - Rename "Parts" to "Modules", this will be better
          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/SloccountResult.java
          src/main/java/hudson/plugins/sloccount/model/File.java
          src/main/java/hudson/plugins/sloccount/model/Module.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/modules.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_de.properties
          src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_ja.properties
          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
          http://jenkins-ci.org/commit/sloccount-plugin/686d0667eec5b447459e74d566fc81c744a3be96
          Log:
          JENKINS-21697 New Modules panel on report page

          • "Parts" panel renamed to "Modules", this sounds much better.
          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/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/File.java src/main/java/hudson/plugins/sloccount/model/Module.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/modules.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_de.properties src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_ja.properties 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 http://jenkins-ci.org/commit/sloccount-plugin/686d0667eec5b447459e74d566fc81c744a3be96 Log: JENKINS-21697 New Modules panel on report page "Parts" panel renamed to "Modules", this sounds much better.
          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/SloccountResult.java
          src/main/java/hudson/plugins/sloccount/model/File.java
          src/main/java/hudson/plugins/sloccount/model/Module.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/modules.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_de.properties
          src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_ja.properties
          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
          http://jenkins-ci.org/commit/sloccount-plugin/eba4fce18530389eea27da828b2969f948460d39
          Log:
          Merge pull request #35 from mixalturek/master

          JENKINS-21697 New Modules panel on report page

          Compare: https://github.com/jenkinsci/sloccount-plugin/compare/aed45a81d7e9...eba4fce18530

          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/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/File.java src/main/java/hudson/plugins/sloccount/model/Module.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/modules.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_de.properties src/main/resources/hudson/plugins/sloccount/SloccountResult/modules_ja.properties 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 http://jenkins-ci.org/commit/sloccount-plugin/eba4fce18530389eea27da828b2969f948460d39 Log: Merge pull request #35 from mixalturek/master JENKINS-21697 New Modules panel on report page Compare: https://github.com/jenkinsci/sloccount-plugin/compare/aed45a81d7e9...eba4fce18530
          Hide
          mixalturek Michal Turek added a comment -

          "Parts" panel renamed to "Modules".

          Show
          mixalturek Michal Turek added a comment - "Parts" panel renamed to "Modules".

            People

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

              Dates

              • Created:
                Updated:
                Resolved: