Issue Type: Bug Bug
Affects Versions: current
Assignee: npiguet
Components: sloccount
Created: 13/Apr/14 4:37 PM
Description:

I'm using SLOCCOunt plugin with cloc for C++ project.

The cloc program reports *.h files as 'C/C++ Header' language, but SLOCCount plugin fails to properly handle slash character, and generates links to a page:
http://SERVER_NAME:8080/job/JOB_NAME/50/sloccountResult/languageResult/C/C++%20Header

which results in the following error 404:

Status Code: 404
Exception:
Stacktrace:

(none)

I can see cloc program has few other languages with '/', most probably the plugin will fail for them as well:

[4]/home/robert> cloc --show-lang | grep /
ADSO/IDSM (adso)
C/C++ Header (h, H, hh, hpp)
Lisp/OpenCL (cl)
PHP/Pascal (inc)
Tcl/Tk (itk, tcl, tk)
[5]/home/robert> cloc --version
1.60

Environment: Jenkins SLOCCount Plug-in 1.18
Jenkins 1.509.2
cloc 1.60
Project: Jenkins
Priority: Minor Minor
Reporter: Robert Luberda
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to