forked from phoedos/pmd
43 lines
4.1 KiB
HTML
43 lines
4.1 KiB
HTML
<html><head><title>PMD</title></head><style type="text/css"><!--
|
|
body { background-color: white; font-family:verdana, arial, helvetica, geneva; font-size: 16px; font-style: italic; color: black; }
|
|
.title { font-family: verdana, arial, helvetica,geneva; font-size: 12px; font-weight:bold; color: white; }
|
|
.body { font-family: verdana, arial, helvetica, geneva; font-size: 12px; font-weight:plain; color: black; }
|
|
#TableHeader { background-color: #003366; }
|
|
#RowColor1 { background-color: #eeeeee; }
|
|
#RowColor2 { background-color: white; }
|
|
--></style><body><center><table border="0" width="80%"><tr id=TableHeader><td colspan="2"><font class=title> /home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java</font></tr>
|
|
<tr id=RowColor2><td width="50" align="right"><font class=body>124 </font></td><td><font class=body>Logger calls should be surrounded by log level guards.</font></td></tr>
|
|
</table><table border="0" width="80%"><tr id=TableHeader><td colspan="2"><font class=title> /home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/benchmark/Benchmarker.java</font></tr>
|
|
<tr id=RowColor2><td width="50" align="right"><font class=body>58 </font></td><td><font class=body>This for loop can be replaced by a foreach loop</font></td></tr>
|
|
</table><br><table border="0" width="80%"><tr id=TableHeader><td colspan="2"><font class=title> Problems found</font></td></tr><tr id=RowColor2><td><font class=body>/home/pmd/source/pmd-core/src/test/resources/net/sourceforge/pmd/cpd/files/file_with_ISO-8859-1_encoding.java</font></td><td><font class=body><pre>net.sourceforge.pmd.PMDException: Error while parsing /home/pmd/source/pmd-core/src/test/resources/net/sourceforge/pmd/cpd/files/file_with_ISO-8859-1_encoding.java
|
|
at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:110)
|
|
at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:89)
|
|
at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:51)
|
|
at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:78)
|
|
at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:24)
|
|
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
|
|
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
|
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
|
|
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
|
|
at java.base/java.lang.Thread.run(Thread.java:832)
|
|
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Encountered " "-" "- "" at line 6, column 30.
|
|
Was expecting one of:
|
|
"extends" ...
|
|
"implements" ...
|
|
"{" ...
|
|
"<" ...
|
|
|
|
at net.sourceforge.pmd.lang.java.ast.JavaParser.generateParseException(JavaParser.java:12713)
|
|
at net.sourceforge.pmd.lang.java.ast.JavaParser.jj_consume_token(JavaParser.java:12597)
|
|
at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1554)
|
|
at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:732)
|
|
at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:639)
|
|
at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:373)
|
|
at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
|
|
at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:121)
|
|
at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:185)
|
|
at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:107)
|
|
... 10 more
|
|
</pre></font></td></tr></table><table border="0" width="80%"><tr id=TableHeader><td colspan="2"><font class=title> Configuration problems found</font></td></tr><tr id=RowColor2><td><font class=body>LoosePackageCoupling</font></td><td><font class=body>No packages or classes specified</font></td></tr></table></center></body></html>
|