vralfy / phpcsmd Goto Github PK
View Code? Open in Web Editor NEWNetbeans plugin to report code measurements generated by phpcs, phpmd, phpcpd and pdepend as Tasks and Annotations
Netbeans plugin to report code measurements generated by phpcs, phpmd, phpcpd and pdepend as Tasks and Annotations
When I start netbeans generally I have files open and this files aren't being checked.
Then I have to do "Check for violations".
I was just wondering if there was any possibility of adding an option to enable scanning/updating of the current file as you type, so that you don't have to keep saving your file to find out whether your latest lines of code are standards compliant.
This functionality exists in the relevant PHP_CodeSniffer plugins for PhpStorm and Sublime Text but I prefer certain features of NetBeans so it would be nice if this plugin could match them in this respect.
If this feature was going to be added, I suppose there would need to be some kind of delay before scans were triggered so that you weren't rescanning after every single keypress but only after a slight pause in typing.
Hi,
did you plan a support for Netbeans 8?!
Actual in the Demo it doesn't seems to work.
The first file which was opened by Netbeans on startup is scanned but not annotated.
The problem:
cookie.getLineSet().getLines().size()
is 0 until the file is fully loaded.
I work with ubuntu 12.04 and in my log i get this strange symbol ⊗ whenever a have should have a space. See:
After google it I've found this and maybe you could use it:
public static String escape(String s) {
StringBuilder builder = new StringBuilder();
boolean previousWasASpace = false;
for( char c : s.toCharArray() ) {
if( c == ' ' ) {
if( previousWasASpace ) {
builder.append(" ");
previousWasASpace = false;
continue;
}
previousWasASpace = true;
} else {
previousWasASpace = false;
}
switch(c) {
case '<': builder.append("<"); break;
case '>': builder.append(">"); break;
case '&': builder.append("&"); break;
case '"': builder.append("""); break;
case '\n': builder.append("<br>"); break;
// We need Tab support here, because we print StackTraces as HTML
case '\t': builder.append(" "); break;
default:
if( c < 128 ) {
builder.append(c);
} else {
builder.append("&#").append((int)c).append(";");
}
}
}
return builder.toString();
}
from:
http://stackoverflow.com/questions/5134959/convert-plain-text-to-html-text-in-java
I've try it and in my pc it works fine.
This has been working great, but need a feature where it can follow custom ruleset files like if they exits
phpcs.xml, phpcs.xml.dist, phpcs.ruleset.xml and ruleset.xml
eg:
<?xml version="1.0"?>
<ruleset name="VIP-Go-Skeleton">
<description>WordPress and VIP Go Coding Standards</description>
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
</rule>
<rule ref="WordPress-VIP-Go" />
<rule ref="WordPressVIPMinimum" />
<rule ref="PHPCompatibility">
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found"/>
</rule>
<config name="testVersion" value="7.0-"/>
<arg name="extensions" value="php"/>
<arg value="s"/>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>.github/</exclude-pattern>
<exclude-pattern>*/assets/build/*</exclude-pattern>
</ruleset>
Most Modern Editors/IDE's like Visual studio code, PHP Strom and Atom supports has this feature.
Sorry if it's too much, but here my question.
Is there any way to configure plugin for running other phpcs
-compatible sniffer? For example. https://github.com/dsheiko/jscodesniffer has the same CLI syntax and mostly the same reports as phpcs
. Theoretically the plugin will go nicely with that sniffer if told how to run it (jscs
executable instead of phpcs
/php phpcs
).
with phpcpd you can't do
--exclude dir,dir2,dir3
instead you have to do
--exlude dir --exclude dir2 --exclude dir3
this issue may be usefull : sebastianbergmann/phpcpd#48
Under the general settings, there's a field for an ignore regex. If you put a true regular expression in there, it fails. The method in use in code is [java.util.regex.Pattern.matches](http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html#matches%28java.lang.String, java.lang.CharSequence%29) which is a convenience method that maps to java.util.regex.Matcher.matches after compiling the regular expression. The thing is...Matcher.matches() does not do true regular expression matching - it kinda does work, sorta. The string passed to Matcher.matches() as a regex might as well have ^ and $ wrapped around it, because it evaluates whether the passed in regex is the same as the string passed for comparison.
In phpcsmd/src/de/foopara/phpcsmd/generics/GenericHelper.java, you should be using Matcher.find(), in stead, as it actually runs a true comparison.
How I found this out: I elaborated on the pre-populated regex in the field to come up with the following:
\.(svn|git|DS_Store)|(nbproject|vendor|(doc|test)(s)?)|(README|LICENSE|CHANGELOG)(\.txt|\.md)?$|\.(js|(c|le|sc)ss|(sv|jp|pn)g|(tx|od)t|(y|pht|xht|ht|x)ml|(pd|gi)f|(b|g)?z(ip)?(2)?|java|sql|doc|tar|xls|csv)$
The failures started happening immediately on .Ds_Store and README files in my project directory. Here are a couple example paths:
I tested the regex in PHP and JS interpreters. It works. I found on online Java Regular Expression Test Page (because I don't write Java) and it was able to test the regular expression against Matcher's many methods and link me to the JavaDoc, where I read this:
Once created, a matcher can be used to perform three different kinds of match operations:
- The matches method attempts to match the entire input sequence against the pattern.
- The lookingAt method attempts to match the input sequence, starting at the beginning, against the pattern.
- The find method scans the input sequence looking for the next subsequence that matches the pattern.
Each of these methods returns a boolean indicating success or failure.
Please, if you're going to offer me the opportunity to write my own regular expression, do not crimp my style. Give me the find method and lemme go hog wild.
I have no mechanism for testing any code I might supply (because I don't write Java), so here's my suggested resolution:
Starting at line 157, something like:
Pattern p = Pattern.compile(pattern);
Matcher m = p.matcher(file.getAbsolutePath().toLowerCase());
if (m.find()) {
Logger.getInstance().logPre(file.getAbsolutePath() + " matches " + pattern + " " + retMatched, "ignore", Logger.Severity.EXCEPTION);
return retMatched;
}
I'm sorry for the very long winded message. This is the third project I've run into this week where an author has said "Put regex here:", and when I did, something funny was happening behind the scenes, and the lovely regex I'd crafted didn't work.
This is giving exception when installing (? - not confirmed)
You are not using "-" corretly.
See:
http://stackoverflow.com/questions/5260364/java-regexp-error-is-not-a-valid-character
And maybe you should remove this char too?
I suggest that you take a closer look at the function that i post in Issue #2. This doesn't mean that you have to use that function but maybe its logic.
Logs are certainly important. When users configures this plugin logs are the only thing that they have to check what's working and what's not.
To fix this you may simple do:
.replaceAll("[^A-Za-z0-9\\.\\n\\r\\w\\\\\\/\\!\\$%&:,;\\(\\)=\\?\"'<>\\-\\*]", "⊗")
(I think...)
Not sure if its plugin related or something else, just reporting...
http://statistics.netbeans.org/analytics/exception.do?id=680206
Hi everyone,
I've setup my project to automatically format the code on save by using Netbeans internal function (Source -> Format or 'Alt+Shift+F') but it mess up the formatting valid for PHP CS (like opening brace, for example)
Is there any solution to this?
Thanks!
From https://netbeans.org/bugzilla/show_bug.cgi?id=238237
User Comments:
jerry.lindahl: Opened a PHP file in Files explorer. File is part of a pretty large project. 100% cpu usage while being frozen. Happens often and is why I tried the development version. Can also happen when:ctrl click on function name, find usages or using other features that do some sort of project scannning.
Method de.foopara.phpcsmd.generics.GenericAnnotationBuilder.annotateLine() calls
LineCookie.getLineSet().getLines().size(), which is quite slow, in EDT.
I'm not sure it can be fixed in openide.text (see bug 223634), but it can be
probably fixed in the plugin (if LineSet is processed in a background thread).
Reassigning to owner to the plugin.
Please evaluate it. Thank you.
phpcsmd should emphasize the file that is currently being scanned when in folder scan
We can currently only install PHPCSMD manually for NetBeans 8.1.
What is involved in getting this fork listed so we can use the tool in 8.1 through the portal?
Offering to help but I'm not sure what I can do.
I think that this functionality is unstable at the moment.
I've found some issues that should be reviewed:
It seams to me that it's related to phpcpd but...I still couldn't figure out why is that.
I can give you the log details stack-trace if needed.
standard for phpcs may be a xml file or a folder (with the standard xml inside) so it would be better if it was possible to choose that file/folder with "JFileChooser"
Being a Drupal developer, this extension is really valuable for me to adhere to Drupal coding standards.
I found some misbehaviors and I'd like to suggest some fixes.
Menu action Tools->Scan for violations did nothing (and exits without an error) if clicked with one (or more) file selected.
It took some time for me to understand it (I thought it also worked with a single file selected).
After looking at the plugin source code I understood how it works (and documentation is not so clear), so I suggest to (in order of preference):
*) make it visible for both files and folder selection and run a "single file" check when a file is selected (like the project context menu item) and a "folder scan" otherwise
OR
*) add an error message to warn the user that this action should be only run on a folder
OR
*) change its caption to "Scan folder for violations"
I found another misbehavior on the project files context menu.
Item "Check for violations" is enabled both for single and multiple selection BUT its action only runs if a single file is selected (and exits silently if more than one file is selected), so I suggest to:
*) let it work like the first suggestion above: make it visible for both files and folder selection and run a "single file" check when a file is selected (like the project context menu item) and a "folder scan" otherwise
OR
*) let it work with more than one file selected
OR
*) disable it when a folder or more than one file is selected
I looked at source code, but I'm not an experienced NetBeans Plugin developer so I only changed item caption to avoid me falling again into this error.
Best regards
Claudio
Here my log output example:
php-cpd command
/home/hugofonseca/phpcpd.phar --min-lines 5 --min-tokens 70 /tmp/phpcsmd-phpcpdDistractor8527690237324806460.php
/var/www/project/apps/actions/file2.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
/var/www/project/apps/actions/file.php
(I've simplified this my self for readability)
rules from phpmd may be a xml file so it would be better if it was possible to choose that file with "JFileChooser"
this behaviour is due to phpmd itself that will ignore the --exclude when you put only one file to the test
e.g.:
Take a look at: phpmd/phpmd#102 that I open recently (I don't really think that they will fix that)
By using Composer (which has some advantages) the script location will be inside each project so it would be a nice improvement if we could set this "script location" for each project.
phpcmmd has many settings and it may seams a little confusing at first, so you could do a little cleaning by hiding "Extras" options when Extras's checkbox isn't enable.
(don't know if that's possible thought)
Hello,
I used since years this great extension to see all action items when a file was loaded / saved.
But in currently 11.3 it stops working?
Really or do I have configuration errors?
Sometimes I let codeSniffer scan minimized files (css and js) and when that happens the codeSniffer will take looong time (maybe forever ?) So i need an option to stop immediately. Cancel doesn't work that way.
Is there a way to toggle (only) the annotations that phpcsmd makes in the source code?
Maybe the "ignore regex" should be changed so phpcsmd doesn't check for doc, xls, pdf, etc...
I suggest something like this:
^.*\.(?!php$|js$|css$|yml$|inc$|php3$|php4$|php5$|phps$|phtml$)[^.]+$
This way it will ignore everything that's not "checkable".
All in the title, two methods for doing this:
1 - A path to the generated PMD report
2 - A command, when executed it return a PMD report on it's output
It is possible to get a version of the plugin available for 8.1? I only install the PHP elements of netbeans so can't install the plugin from source.
also
field.setBackground(Color.red);
Isn't changing the background.
A scan does not appear to do anything, and there are a bunch of errors in the log:
Netbeans settings, phpcsmd options:
Resulting scan window:
This is what I get in the error log when I attempt to do a scan by any method:
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\admin\approvaladmin.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\addmfgprofile.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\addmfgprofilesuccess.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\addquote.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\editmfgprofile.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\index.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\updateconfirmation.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\viewmfgprofile.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\mfg.js matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\partials\featured-items.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\partials\viewprofiledetails.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\mfg.js matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\partials\featured-items.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\partials\viewprofiledetails.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\admin\approvaladmin.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\updateconfirmation.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\addmfgprofilesuccess.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\index.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\addmfgprofile.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\viewmfgprofile.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\addquote.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
ignore
C:\Users\z1m\Documents\NetBeansProjects\new p4\mysw_tst\mysw\mainline\my\application\modules\mfg\views\scripts\index\editmfgprofile.phtml matches .(svn⊗git)⊗.(phtml⊗html⊗xml⊗js⊗css⊗xml⊗txt⊗java⊗svg⊗sql⊗png⊗jpg⊗gif⊗doc⊗pdf⊗odt)$ true
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:152)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Exception: Content is not allowed in prolog.
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
de.foopara.phpcsmd.exec.phpcs.PhpcsXMLParser.parse(PhpcsXMLParser.java:47)
de.foopara.phpcsmd.exec.phpcs.Phpcs.run(Phpcs.java:103)
de.foopara.phpcsmd.generics.GenericExecute.execute(GenericExecute.java:27)
de.foopara.phpcsmd.threads.QAThread.qarun(QAThread.java:139)
de.foopara.phpcsmd.threads.QAThread.run(QAThread.java:93)
de.foopara.phpcsmd.threads.RescanThread.count(RescanThread.java:144)
de.foopara.phpcsmd.threads.RescanThread.qarun(RescanThread.java:84)
de.foopara.phpcsmd.threads.RescanThread.run(RescanThread.java:80)
Am I doing something wrong here?
I am having trouble getting the PHP CPD test results to be properly shown. The test seems to execute fine, but the results are not shown in the ScanReport screen (empty column under phpcpd) or the file itself.
Platform: Windows 8.1
IDE: Netbeans 7.4
Relevant PHPCSMD settings:
Relevant lines from the phpcsdm debug log:
php-cpd command (folder scan)
C:\wamp\bin\php\php5.4.12\phpcpd.bat --min-lines 5 --min-tokens 70 C:\Users\Marco\AppData\Local\Temp\phpcsmd-phpcpdDistractor9109165492856440257.php S:/www/assessmenttool_nl/inuse/trunk/core/controllers
Output
phpcpd 2.0.0 by Sebastian Bergmann. Found 1 exact clones with 38 duplicated lines in 2 files:
⊗S:\www\assessmenttool_nl\inuse\trunk\core\controllers\AssessmentDefinitionController.php:95-133
⊗S:\www\assessmenttool_nl\inuse\trunk\core\controllers\QuickscanController.php:87-125 0.69% duplicated lines out of 5489 total lines of code. Time: 300 ms, Memory: 8.75Mb
As you can see, results are being found. I verified this by running phpcpd on the command line.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.