-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
All
Implement Remote access API to SLOCCount plugin, it should be quite simple but very powerful for providing the data in json and xml formats. Export the statistics per language stored in build.xml together with total number of lines.
See Cppcheck plugin CppcheckResult.getApi(), @ExportedBean and @Exported.
https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
Code changed in jenkins
User: Michal Turek
Path:
src/main/java/hudson/plugins/sloccount/SloccountResult.java
src/main/java/hudson/plugins/sloccount/model/SloccountLanguageStatistics.java
src/main/java/hudson/plugins/sloccount/model/SloccountReportStatistics.java
http://jenkins-ci.org/commit/sloccount-plugin/4b42fdc0d03cbbc9320c4bc3523d8eba4f4697e3
Log:
JENKINS-21922REST API/Remote access API