Hmmm... can you attach the input sloccount.sc file, please? It should be present in JENKINS_HOME/jobs/YOUR_PROJECT/builds/BUILD_NUMBER/sloccount-plugin/hexNumbers_ORIGINAL_REPORT_NAME. I beware to touch this part of parsing, but it's true I didn't tested the release on Windows since I have only Linux. Is it update to 1.11 or a new plugin installation? What version of SLOCCount (not the plugin, `sloccount --version`) generated the report?
It is probably related to wrong directory separator '\' instead of '/'. Just to be sure, did you follow the specific steps for Windows described at https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin?
private String extractFolder(String filePath){
int index = filePath.lastIndexOf(this.fileSeparator);
return filePath.substring(0, index); }
I will try to fix the issue tomorrow and optionally release a new version, thanks for help.
I have a vague recollection that there has been a historical issue in the plugin when a shorter path is followed by a longer path in the list, and the string math falls over?