-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
all
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.
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-24602Native support for cloc tool