Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: sloccount-plugin
    • Labels:
      None
    • Environment:
      all
    • Similar Issues:

      Description

      Cloc is supported only by explicit XML transformation to SLOCCount file format at the moment. It would be useful to read cloc file format directly in the plugin code.

      Cloc is able to detect more languages than SLOCCount (Scala, Ant, ...) and counts also lines with comments that often contain Javadoc or Doxygen documentation.

        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/SloccountPublisher.java
          src/main/java/hudson/plugins/sloccount/SloccountResult.java
          src/main/java/hudson/plugins/sloccount/model/SloccountParser.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocFile.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocFiles.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocHeader.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocParameter.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocReport.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocTotal.java
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-comments.html
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-encoding.html
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-pattern.html
          http://jenkins-ci.org/commit/sloccount-plugin/084b3606dd83a1aea7d0a92e815e92bf974818ac
          Log:
          JENKINS-24602 Native support for cloc tool

          • Parsing of cloc report files (XML variant).
          • Conversion to SLOCCount internal representation that is used in the plugin.
          • Improved help strings in configuration page.
          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/SloccountPublisher.java src/main/java/hudson/plugins/sloccount/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/SloccountParser.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocFile.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocFiles.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocHeader.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocParameter.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocReport.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocTotal.java src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-comments.html src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-encoding.html src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-pattern.html http://jenkins-ci.org/commit/sloccount-plugin/084b3606dd83a1aea7d0a92e815e92bf974818ac Log: JENKINS-24602 Native support for cloc tool Parsing of cloc report files (XML variant). Conversion to SLOCCount internal representation that is used in the plugin. Improved help strings in configuration page.
          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/SloccountPublisher.java
          src/main/java/hudson/plugins/sloccount/SloccountResult.java
          src/main/java/hudson/plugins/sloccount/model/SloccountParser.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocFile.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocFiles.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocHeader.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocParameter.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocReport.java
          src/main/java/hudson/plugins/sloccount/model/cloc/ClocTotal.java
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-comments.html
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-encoding.html
          src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-pattern.html
          http://jenkins-ci.org/commit/sloccount-plugin/2ad96a005061559a0e3e6b21d3e635f9f11a9fbe
          Log:
          Merge pull request #45 from mixalturek/master

          JENKINS-24602 Native support for cloc tool

          Compare: https://github.com/jenkinsci/sloccount-plugin/compare/8d04f3daebc6...2ad96a005061

          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/SloccountPublisher.java src/main/java/hudson/plugins/sloccount/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/SloccountParser.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocFile.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocFiles.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocHeader.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocParameter.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocReport.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocTotal.java src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-comments.html src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-encoding.html src/main/resources/hudson/plugins/sloccount/SloccountPublisher/help-pattern.html http://jenkins-ci.org/commit/sloccount-plugin/2ad96a005061559a0e3e6b21d3e635f9f11a9fbe Log: Merge pull request #45 from mixalturek/master JENKINS-24602 Native support for cloc tool Compare: https://github.com/jenkinsci/sloccount-plugin/compare/8d04f3daebc6...2ad96a005061
          Hide
          mixalturek Michal Turek added a comment -

          Implemented, will be released in version 1.20.

          Show
          mixalturek Michal Turek added a comment - Implemented, will be released in version 1.20.

            People

            • Assignee:
              mixalturek Michal Turek
              Reporter:
              mixalturek Michal Turek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: