[ 
https://issues.jenkins-ci.org/browse/JENKINS-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162014#comment-162014
 ] 

Joe Lambert commented on JENKINS-3649:
--------------------------------------

Is there any chance this will get fixed?
                
> bug in parsing the sloccount output
> -----------------------------------
>
>                 Key: JENKINS-3649
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-3649
>             Project: Jenkins
>          Issue Type: Bug
>          Components: sloccount
>    Affects Versions: current
>         Environment: Platform: All, OS: All
>            Reporter: mniouri
>            Assignee: npiguet
>
> Hello,
> I'm running on a windows machine. I run the sloccount open source via cygwin.
> To get the results properly displayed in the hudson interface, I need to do 
> the
> following :
> 1. run cygpath on the output produced by sloccount, to replace the / by \ 
> (trnslation to windows pathnames), and DOUBLE all the \ characters
> (for example : \\workspace\\src\\Module1\\MyClass1.php)
> 2. (and here is the bug) : the plugin will fail to generate the report ("index
> out of bounds" java exception), if a path containing a number of directories, 
> is
> followed by a path containg less directories.
> For example :
> This will fail :
> 17    php     src     \\workspace\\src\\Module1\\MyClass1.php
> 12    php     src     \\workspace\\src\\Module1\\Module2\\MyClass3.php
> 25    php     src     \\workspace\\src\\Module3\\MyClass5.php
> But this will be ok :
> 25    php     src     \\workspace\\src\\Module3\\MyClass5.php
> 17    php     src     \\workspace\\src\\Module1\\MyClass1.php
> 12    php     src     \\workspace\\src\\Module1\\Module2\\MyClass3.php

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to