You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2014/03/11 21:12:55 UTC
svn commit: r901148 [18/48] - in
/websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST:
./ apidocs/ apidocs/org/apache/maven/plugin/pmd/
apidocs/org/apache/maven/plugin/pmd/class-use/
apidocs/org/apache/maven/plugin/pmd/model/ api...
Modified: websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/rat-report.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/rat-report.html (original)
+++ websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/rat-report.html Tue Mar 11 20:12:51 2014
@@ -35,7 +35,7 @@
<div class="xleft">
- Derni�re publication: 03/04/2013
+ Last Published: 03/11/2014
</div>
<div class="xright">
@@ -58,8 +58,8 @@
- <a href="http://maven.apache.org/" title="Produit par Maven" id="poweredBy">
- <img alt="Produit par Maven" src="./images/logos/maven-feather.png"></img>
+ <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
</a>
@@ -76,52 +76,24 @@
*****************************************************
Summary
-------
-Generated at: 2013-03-04T22:03:05+01:00
+Generated at: 2014-03-11T20:58:06+01:00
Notes: 0
Binaries: 0
Archives: 0
-Standards: 136
+Standards: 169
-Apache Licensed: 108
+Apache Licensed: 169
Generated Documents: 0
JavaDocs are generated and so license header is optional
Generated files do not required license headers
-28 Unknown Licenses
+0 Unknown Licenses
*******************************
Unapproved licenses:
- src/it/mpmd-138/invoker.properties
- src/it/mpmd-138/mod-1/src/main/java/test/MyClass.java
- src/it/mpmd-138/mod-2/src/main/java/test/MyClass.java
- src/it/mpmd-138/mod-3/src/main/java/test/MyClass.java
- src/it/mpmd-138/mod-3/src/main/java/test/sub/MyClass.java
- src/it/mpmd-138/mod-4/src/main/java/test/MyClass.java
- src/it/mpmd-138/mod-4/src/main/java/test/OtherClass.java
- src/it/mpmd-138/mod-4/src/main/java/test/sub/MyClass.java
- src/it/mpmd-142/invoker.properties
- src/it/mpmd-142/src/main/java/test/MyClass.java
- src/it/MPMD-163/invoker.properties
- src/it/MPMD-163/src/main/java/com/mycompany/app/App.java
- src/it/MPMD-163/src/main/java/com/mycompany/app/Foo.java
- src/it/mpmd-89/invoker.properties
- src/it/mpmd-89/verify.bsh
- src/it/multi-module/mod-1/src/main/config/pmd/latin-1.xml
- src/it/multi-module/mod-1/src/main/config/pmd/utf-8.xml
- src/it/multi-module/mod-1/src/main/java/test/MyClass.java
- src/it/multi-module/mod-2/rulesets/basic.xml
- src/it/multi-module/mod-2/src/main/java/test/MyClass.java
- src/it/multi-module/mod-3/src/main/config/pmd/abs.xml
- src/it/multi-module/mod-3/src/main/config/pmd/rel.xml
- src/it/multi-module/mod-3/src/main/java/test/MyClass.java
- src/it/multi-module/mod-4/src/main/java/test/MyClass.java
- src/it/multi-module/verify.bsh
- src/main/mdo/cpd.mdo
- src/main/mdo/pmd.mdo
- src/test/resources/unit/default-configuration/js/Sample.js
*******************************
@@ -133,53 +105,78 @@ Archives:
Compressed archives will be marked A
Notices, licenses etc will be marked N
AL pom.xml
- !????? src/it/mpmd-138/invoker.properties
+ AL src/it/empty-rulesets/invoker.properties
+ AL src/it/empty-rulesets/pom.xml
+ AL src/it/empty-rulesets/src/main/java/com/mycompany/app/App.java
+ AL src/it/empty-rulesets/src/main/java/com/mycompany/app/Foo.java
+ AL src/it/empty-rulesets/verify.groovy
+ AL src/it/mpmd-138/invoker.properties
AL src/it/mpmd-138/mod-1/pom.xml
- !????? src/it/mpmd-138/mod-1/src/main/java/test/MyClass.java
+ AL src/it/mpmd-138/mod-1/src/main/java/test/MyClass.java
AL src/it/mpmd-138/mod-2/pom.xml
- !????? src/it/mpmd-138/mod-2/src/main/java/test/MyClass.java
+ AL src/it/mpmd-138/mod-2/src/main/java/test/MyClass.java
AL src/it/mpmd-138/mod-3/pom.xml
- !????? src/it/mpmd-138/mod-3/src/main/java/test/MyClass.java
- !????? src/it/mpmd-138/mod-3/src/main/java/test/sub/MyClass.java
+ AL src/it/mpmd-138/mod-3/src/main/java/test/MyClass.java
+ AL src/it/mpmd-138/mod-3/src/main/java/test/sub/MyClass.java
AL src/it/mpmd-138/mod-4/pom.xml
- !????? src/it/mpmd-138/mod-4/src/main/java/test/MyClass.java
- !????? src/it/mpmd-138/mod-4/src/main/java/test/OtherClass.java
- !????? src/it/mpmd-138/mod-4/src/main/java/test/sub/MyClass.java
+ AL src/it/mpmd-138/mod-4/src/main/java/test/MyClass.java
+ AL src/it/mpmd-138/mod-4/src/main/java/test/OtherClass.java
+ AL src/it/mpmd-138/mod-4/src/main/java/test/sub/MyClass.java
AL src/it/mpmd-138/pom.xml
AL src/it/mpmd-138/verify.groovy
- !????? src/it/mpmd-142/invoker.properties
+ AL src/it/mpmd-142/invoker.properties
AL src/it/mpmd-142/pom.xml
- !????? src/it/mpmd-142/src/main/java/test/MyClass.java
- !????? src/it/MPMD-163/invoker.properties
+ AL src/it/mpmd-142/src/main/java/test/MyClass.java
+ AL src/it/MPMD-163/invoker.properties
AL src/it/MPMD-163/pom.xml
- !????? src/it/MPMD-163/src/main/java/com/mycompany/app/App.java
- !????? src/it/MPMD-163/src/main/java/com/mycompany/app/Foo.java
+ AL src/it/MPMD-163/src/main/java/com/mycompany/app/App.java
+ AL src/it/MPMD-163/src/main/java/com/mycompany/app/Foo.java
AL src/it/MPMD-163/verify.groovy
+ AL src/it/mpmd-168/invoker.properties
+ AL src/it/mpmd-168/pom.xml
+ AL src/it/mpmd-168/src/main/java/def/Hello.java
+ AL src/it/mpmd-168/verify.groovy
+ AL src/it/mpmd-168-empty-report/invoker.properties
+ AL src/it/mpmd-168-empty-report/pom.xml
+ AL src/it/mpmd-168-empty-report/src/main/java/def/Hello.java
+ AL src/it/mpmd-168-empty-report/verify.groovy
+ AL src/it/MPMD-172/invoker.properties
+ AL src/it/MPMD-172/pom.xml
+ AL src/it/MPMD-172/src/main/resources/my.properties
+ AL src/it/MPMD-172/verify.groovy
+ AL src/it/MPMD-181-benchmark/invoker.properties
+ AL src/it/MPMD-181-benchmark/pom.xml
+ AL src/it/MPMD-181-benchmark/src/main/java/com/mycompany/app/Hello.java
+ AL src/it/MPMD-181-benchmark/verify.groovy
+ AL src/it/MPMD-181-no-benchmark/invoker.properties
+ AL src/it/MPMD-181-no-benchmark/pom.xml
+ AL src/it/MPMD-181-no-benchmark/src/main/java/com/mycompany/app/Hello.java
+ AL src/it/MPMD-181-no-benchmark/verify.groovy
AL src/it/mpmd-80-included/pom.xml
AL src/it/mpmd-80-included/verify.groovy
AL src/it/mpmd-80-not-included/pom.xml
AL src/it/mpmd-80-not-included/verify.groovy
- !????? src/it/mpmd-89/invoker.properties
+ AL src/it/mpmd-89/invoker.properties
AL src/it/mpmd-89/pom.xml
AL src/it/mpmd-89/src/main/pmd/ruleset.xml
AL src/it/mpmd-89/src/test/java/it/NoTestsHere.java
AL src/it/mpmd-89/src/test/java/it/TestSupport.java
- !????? src/it/mpmd-89/verify.bsh
+ AL src/it/mpmd-89/verify.groovy
AL src/it/multi-module/mod-1/pom.xml
- !????? src/it/multi-module/mod-1/src/main/config/pmd/latin-1.xml
- !????? src/it/multi-module/mod-1/src/main/config/pmd/utf-8.xml
- !????? src/it/multi-module/mod-1/src/main/java/test/MyClass.java
+ AL src/it/multi-module/mod-1/src/main/config/pmd/latin-1.xml
+ AL src/it/multi-module/mod-1/src/main/config/pmd/utf-8.xml
+ AL src/it/multi-module/mod-1/src/main/java/test/MyClass.java
AL src/it/multi-module/mod-2/pom.xml
- !????? src/it/multi-module/mod-2/rulesets/basic.xml
- !????? src/it/multi-module/mod-2/src/main/java/test/MyClass.java
+ AL src/it/multi-module/mod-2/rulesets/java/basic.xml
+ AL src/it/multi-module/mod-2/src/main/java/test/MyClass.java
AL src/it/multi-module/mod-3/pom.xml
- !????? src/it/multi-module/mod-3/src/main/config/pmd/abs.xml
- !????? src/it/multi-module/mod-3/src/main/config/pmd/rel.xml
- !????? src/it/multi-module/mod-3/src/main/java/test/MyClass.java
+ AL src/it/multi-module/mod-3/src/main/config/pmd/abs.xml
+ AL src/it/multi-module/mod-3/src/main/config/pmd/rel.xml
+ AL src/it/multi-module/mod-3/src/main/java/test/MyClass.java
AL src/it/multi-module/mod-4/pom.xml
- !????? src/it/multi-module/mod-4/src/main/java/test/MyClass.java
+ AL src/it/multi-module/mod-4/src/main/java/test/MyClass.java
AL src/it/multi-module/pom.xml
- !????? src/it/multi-module/verify.bsh
+ AL src/it/multi-module/verify.bsh
AL src/it/settings.xml
AL src/main/java/org/apache/maven/plugin/pmd/AbstractPmdReport.java
AL src/main/java/org/apache/maven/plugin/pmd/AbstractPmdViolationCheckMojo.java
@@ -188,11 +185,13 @@ Archives:
AL src/main/java/org/apache/maven/plugin/pmd/CpdViolationCheckMojo.java
AL src/main/java/org/apache/maven/plugin/pmd/PmdFileInfo.java
AL src/main/java/org/apache/maven/plugin/pmd/PmdReport.java
+ AL src/main/java/org/apache/maven/plugin/pmd/PmdReportGenerator.java
AL src/main/java/org/apache/maven/plugin/pmd/PmdReportListener.java
AL src/main/java/org/apache/maven/plugin/pmd/PmdViolationCheckMojo.java
+ AL src/main/java/org/apache/maven/plugin/pmd/rules/DummyRule.java
AL src/main/java/org/apache/maven/plugin/pmd/ViolationDetails.java
- !????? src/main/mdo/cpd.mdo
- !????? src/main/mdo/pmd.mdo
+ AL src/main/mdo/cpd.mdo
+ AL src/main/mdo/pmd.mdo
AL src/main/resources/cpd-report.properties
AL src/main/resources/cpd-report_de.properties
AL src/main/resources/cpd-report_en.properties
@@ -209,6 +208,7 @@ Archives:
AL src/main/resources/pmd-report_nl.properties
AL src/main/resources/pmd-report_pt_BR.properties
AL src/main/resources/pmd-report_sv.properties
+ AL src/main/resources/rulesets/dummy.xml
AL src/main/resources/rulesets/maven.xml
AL src/site/apt/examples/javascriptReport.apt.vm
AL src/site/apt/examples/removeReport.apt.vm
@@ -245,7 +245,7 @@ Archives:
AL src/test/resources/unit/default-configuration/def/configuration/AppSample.java
AL src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml
AL src/test/resources/unit/default-configuration/javascript-configuration-plugin-config.xml
- !????? src/test/resources/unit/default-configuration/js/Sample.js
+ AL src/test/resources/unit/default-configuration/js/Sample.js
AL src/test/resources/unit/default-configuration/jxr-files/xref/allclasses-frame.html
AL src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/App.html
AL src/test/resources/unit/default-configuration/jxr-files/xref/def/configuration/AppSample.html
@@ -261,6 +261,11 @@ Archives:
AL src/test/resources/unit/default-configuration/pmd-check-failonpriority-plugin-config.xml
AL src/test/resources/unit/default-configuration/pmd-check-notfailonviolation-plugin-config.xml
AL src/test/resources/unit/default-configuration/pmd-check-pmd-exclusions-configuration-plugin-config.xml
+ AL src/test/resources/unit/empty-report/cpd-empty-report-plugin-config.xml
+ AL src/test/resources/unit/empty-report/cpd-skip-empty-report-plugin-config.xml
+ AL src/test/resources/unit/empty-report/empty-report-plugin-config.xml
+ AL src/test/resources/unit/empty-report/java/def/Hello.java
+ AL src/test/resources/unit/empty-report/skip-empty-report-plugin-config.xml
AL src/test/resources/unit/excludes/cpd_exclude.txt
AL src/test/resources/unit/excludes/pmd_exclude.properties
AL src/test/resources/unit/invalid-format/cpd-invalid-format-plugin-config.xml
@@ -272,626 +277,7 @@ Archives:
*****************************************************
Printing headers for files without AL header...
-
- =======================================================================
- ==src/it/mpmd-138/invoker.properties
- =======================================================================
-invoker.goals = clean verify
-
- =======================================================================
- ==src/it/mpmd-138/mod-1/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
- public static void main( String[] args )
- {
- ;
- return;
- }
-
-}
-
- =======================================================================
- ==src/it/mpmd-138/mod-2/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
- private String x;
-}
-
- =======================================================================
- ==src/it/mpmd-138/mod-3/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
-
- /**
- *
- * @param args
- */
- public static void main( String[] args )
- {
- int nullArgs = 0;
- int emptyArgs = 0;
- int notEmptyArgs = 0;
- for ( int i = 0; i < args.length; i++ )
- {
- if( args[i] == null )
- {
- nullArgs++;
- System.out.println( "arg[" + i + "] is null, weird" );
- }
- else if( args[i] == "" )
- {
- emptyArgs++;
- System.out.println( "arg[" + i + "] is empty" );
- }
- else
- {
- notEmptyArgs++;
- System.out.println( "arg[" + i + "] is not empty" );
- }
- System.out.print( "Number of null args: " + nullArgs );
- System.out.print( "Number of empty args: " + emptyArgs );
- System.out.print( "Number of not empty args: " + notEmptyArgs );
- }
- }
-
-}
-
- =======================================================================
- ==src/it/mpmd-138/mod-3/src/main/java/test/sub/MyClass.java
- =======================================================================
-package test.sub;
-
-public class MyClass
-{
-
-
-
-
- /**
- *
- * @param args
- */
- public static void main( String[] args )
- {
- int nullArgs = 0;
- int emptyArgs = 0;
- int notEmptyArgs = 0;
- for ( int i = 0; i < args.length; i++ )
- {
- if( args[i] == null )
- {
- nullArgs++;
- System.out.println( "arg[" + i + "] is null, weird" );
- }
- else if( args[i] == "" )
- {
- emptyArgs++;
- System.out.println( "arg[" + i + "] is empty" );
- }
- else
- {
- notEmptyArgs++;
- System.out.println( "arg[" + i + "] is not empty" );
- }
- System.out.print( "Number of null args: " + nullArgs );
- System.out.print( "Number of empty args: " + emptyArgs );
- System.out.print( "Number of not empty args: " + notEmptyArgs );
- }
- }
-}
-
- =======================================================================
- ==src/it/mpmd-138/mod-4/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
- /**
- *
- * @param args
- */
- public static void main( String[] args )
- {
- int nullArgs = 0;
- int emptyArgs = 0;
- int notEmptyArgs = 0;
- for ( int i = 0; i < args.length; i++ )
- {
- if( args[i] == null )
- {
- nullArgs++;
- System.out.println( "arg[" + i + "] is null, weird" );
- }
- else if( args[i] == "" )
- {
- emptyArgs++;
- System.out.println( "arg[" + i + "] is empty" );
- }
- else
- {
- notEmptyArgs++;
- System.out.println( "arg[" + i + "] is not empty" );
- }
- System.out.print( "Number of null args: " + nullArgs );
- System.out.print( "Number of empty args: " + emptyArgs );
- System.out.print( "Number of not empty args: " + notEmptyArgs );
- }
- }
-}
-
- =======================================================================
- ==src/it/mpmd-138/mod-4/src/main/java/test/OtherClass.java
- =======================================================================
-package test;
-
-public class OtherClass
-{
-
-
-
-
- /**
- *
- * @param args
- */
- public static void main( String[] args )
- {
- int nullArgs = 0;
- int emptyArgs = 0;
- int notEmptyArgs = 0;
- for ( int i = 0; i < args.length; i++ )
- {
- if( args[i] == null )
- {
- nullArgs++;
- System.out.println( "arg[" + i + "] is null, weird" );
- }
- else if( args[i] == "" )
- {
- emptyArgs++;
- System.out.println( "arg[" + i + "] is empty" );
- }
- else
- {
- notEmptyArgs++;
- System.out.println( "arg[" + i + "] is not empty" );
- }
- System.out.print( "Number of null args: " + nullArgs );
- System.out.print( "Number of empty args: " + emptyArgs );
- System.out.print( "Number of not empty args: " + notEmptyArgs );
- }
- }
-}
-
- =======================================================================
- ==src/it/mpmd-138/mod-4/src/main/java/test/sub/MyClass.java
- =======================================================================
-package test.sub;
-
-public class MyClass
-{
- /**
- *
- * @param args
- */
- public static void main( String[] args )
- {
- int nullArgs = 0;
- int emptyArgs = 0;
- int notEmptyArgs = 0;
- for ( int i = 0; i < args.length; i++ )
- {
- if( args[i] == null )
- {
- nullArgs++;
- System.out.println( "arg[" + i + "] is null, weird" );
- }
- else if( args[i] == "" )
- {
- emptyArgs++;
- System.out.println( "arg[" + i + "] is empty" );
- }
- else
- {
- notEmptyArgs++;
- System.out.println( "arg[" + i + "] is not empty" );
- }
- System.out.print( "Number of null args: " + nullArgs );
- System.out.print( "Number of empty args: " + emptyArgs );
- System.out.print( "Number of not empty args: " + notEmptyArgs );
- }
- }
-}
-
- =======================================================================
- ==src/it/mpmd-142/invoker.properties
- =======================================================================
-invoker.goals = clean site
-
- =======================================================================
- ==src/it/mpmd-142/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
- public static void main( String[] args )
- {
- ;
- return;
- }
-
-}
-
- =======================================================================
- ==src/it/MPMD-163/invoker.properties
- =======================================================================
-invoker.goals = clean pmd:check
-
- =======================================================================
- ==src/it/MPMD-163/src/main/java/com/mycompany/app/App.java
- =======================================================================
-package com.mycompany.app;
-
-
-public class App
-{
-
-
-}
-
- =======================================================================
- ==src/it/MPMD-163/src/main/java/com/mycompany/app/Foo.java
- =======================================================================
-import java.util.ArrayList;
-public class Foo
-{
- public Foo(final ArrayList<String> foo)
- {
- }
-
-}
-
- =======================================================================
- ==src/it/mpmd-89/invoker.properties
- =======================================================================
-invoker.goals = clean test-compile
-invoker.buildResult = failure
-
- =======================================================================
- ==src/it/mpmd-89/verify.bsh
- =======================================================================
-File pmdXml = new File( basedir, "target/pmd.xml" );
-if (!pmdXml.isFile())
-{
- throw new IllegalStateException( pmdXml + " does not exist" );
-}
-
- =======================================================================
- ==src/it/multi-module/mod-1/src/main/config/pmd/latin-1.xml
- =======================================================================
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<ruleset name="Custom ruleset"
- xmlns="http://pmd.sf.net/ruleset/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
- xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
- <description>
- This ruleset is encoded with ISO-8859-1 to check proper encoding handling.
- </description>
- <rule ref="rulesets/basic.xml/UnnecessaryReturn" message="LATIN-1-CHARS: ������߼���"/>
- <!-- note: ���� = 0xBC 0xBD 0xBE 0xA4 don't exist any more in Latin 15, replaced by OE oe Y" and euro -->
-</ruleset>
-
- =======================================================================
- ==src/it/multi-module/mod-1/src/main/config/pmd/utf-8.xml
- =======================================================================
-<?xml version="1.0" encoding="UTF-8"?>
-<ruleset name="Custom ruleset"
- xmlns="http://pmd.sf.net/ruleset/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
- xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
- <description>
- This ruleset is encoded with UTF-8 to check proper encoding handling.
- </description>
- <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop" message="UTF-8-CHARS: ÃÃÃäöüü½¾¤"/>
-</ruleset>
-
- =======================================================================
- ==src/it/multi-module/mod-1/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
- public static void main( String[] args )
- {
- ;
- return;
- }
-
-}
-
- =======================================================================
- ==src/it/multi-module/mod-2/rulesets/basic.xml
- =======================================================================
-<?xml version="1.0" encoding="UTF-8"?>
-<ruleset name="Custom ruleset"
- xmlns="http://pmd.sf.net/ruleset/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
- xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
- <description>
- The relative path of this ruleset matches the built-in ruleset "basic".
- </description>
- <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop" message="TEST: LOCAL-FILE-RULESET"/>
-</ruleset>
-
- =======================================================================
- ==src/it/multi-module/mod-2/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
- public static void main( String[] args )
- {
- ;
- return;
- }
-
-}
-
- =======================================================================
- ==src/it/multi-module/mod-3/src/main/config/pmd/abs.xml
- =======================================================================
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<ruleset name="Custom ruleset"
- xmlns="http://pmd.sf.net/ruleset/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
- xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
- <description>
- This ruleset is specified via an absolute filesystem path.
- </description>
- <rule ref="rulesets/basic.xml/UnnecessaryReturn" message="TEST: ABSOLUTE-PATH"/>
-</ruleset>
-
- =======================================================================
- ==src/it/multi-module/mod-3/src/main/config/pmd/rel.xml
- =======================================================================
-<?xml version="1.0" encoding="UTF-8"?>
-<ruleset name="Custom ruleset"
- xmlns="http://pmd.sf.net/ruleset/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
- xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
- <description>
- This ruleset is specified via a relative filesystem path.
- </description>
- <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop" message="TEST: RELATIVE-PATH"/>
-</ruleset>
-
- =======================================================================
- ==src/it/multi-module/mod-3/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
- public static void main( String[] args )
- {
- ;
- return;
- }
-
-}
-
- =======================================================================
- ==src/it/multi-module/mod-4/src/main/java/test/MyClass.java
- =======================================================================
-package test;
-
-public class MyClass
-{
-
- public static void main( String[] args )
- {
- ;
- return;
- }
-
-}
-
- =======================================================================
- ==src/it/multi-module/verify.bsh
- =======================================================================
-import org.codehaus.plexus.util.FileUtils;
-
-import java.io.*;
-import java.util.*;
-
-String[] modules = { "mod-1", "mod-2", "mod-3" };
-String[] paths =
-{
- "target/site/pmd.html",
- "target/site/cpd.html",
- "target/pmd.xml",
- "target/cpd.xml",
-};
-
-// files must exist in every module
-for ( String module : modules )
-{
- // PMD and CPD reports
- for ( String path : paths )
- {
- File file = new File( basedir, module + '/' + path );
- System.out.println( "Checking for existence of " + file );
- if ( !file.isFile() )
- {
- throw new FileNotFoundException( "Missing: " + file.getAbsolutePath() );
- }
- }
-}
-
-// files must not exist in parent
-for ( String path : paths )
-{
- File file = new File( basedir, path );
- System.out.println( "Checking for absence of " + file );
- if ( file.exists() )
- {
- throw new IOException( "Banned: " + file.getAbsolutePath() );
- }
-}
-
-
-// check PMD rulesets target copy
-File rule = new File( basedir, "mod-1/target/latin-1.xml" );
-String nonascii = "-CHARS: \u00C4\u00D6\u00DC\u00E4\u00F6\u00FC\u00DF\u00BC\u00BD\u00BE\u00A4";
-String content = FileUtils.fileRead( rule, "ISO-8859-1" );
-if ( content.indexOf( nonascii ) < 0 )
-{
- throw new IOException( "non-ascii content corrupted in Latin1." );
-}
-rule = new File( basedir, "mod-1/target/utf-8.xml" );
-
- =======================================================================
- ==src/main/mdo/cpd.mdo
- =======================================================================
-<model xmlns="http://modello.codehaus.org/MODELLO/1.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://modello.codehaus.org/MODELLO/1.4.0 http://modello.codehaus.org/xsd/modello-1.4.0.xsd">
-
- <!-- Source: http://www.jcoderz.org/fawkez/browser/trunk/src/xml/schema/cpd.xsd -->
-
- <name>Cpd</name>
-
- <defaults>
- <default>
- <key>package</key>
- <value>org.apache.maven.plugin.pmd.model</value>
- </default>
- </defaults>
- <versionDefinition>
- <type>namespace</type>
- <value>1.0+</value>
- </versionDefinition>
-
- <classes>
- <class xml.tagName="pmd-cpd" rootElement="true">
- <name>CpdErrorDetail</name>
- <fields>
- <field>
- <name>duplications</name>
- <association xml.tagName="duplication" xml.itemsStyle="flat">
- <type>Duplication</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- </fields>
- </class>
- <class>
- <name>Duplication</name>
- <fields>
- <field xml.attribute="true">
- <name>lines</name>
- <type>int</type>
- </field>
- <field xml.attribute="true">
- <name>tokens</name>
- <type>int</type>
- </field>
- <field xml.tagName="file">
- <name>files</name>
- <association xml.tagName="file" xml.itemsStyle="flat">
- <type>CpdFile</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <field>
-
- =======================================================================
- ==src/main/mdo/pmd.mdo
- =======================================================================
-<model xmlns="http://modello.codehaus.org/MODELLO/1.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://modello.codehaus.org/MODELLO/1.4.0 http://modello.codehaus.org/xsd/modello-1.4.0.xsd">
-
- <!-- Source: http://www.jcoderz.org/fawkez/browser/trunk/src/xml/schema/pmd.xsd -->
-
- <name>Pmd</name>
-
- <defaults>
- <default>
- <key>package</key>
- <value>org.apache.maven.plugin.pmd.model</value>
- </default>
- </defaults>
- <versionDefinition>
- <type>namespace</type>
- <value>1.0+</value>
- </versionDefinition>
-
- <classes>
- <class rootElement="true" xml.tagName="pmd">
- <name>PmdErrorDetail</name>
- <fields>
- <field>
- <name>files</name>
- <association xml.tagName="file" xml.itemsStyle="flat">
- <type>PmdFile</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- <!--
- <field>
- <name>errors</name>
- <association xml.tagName="error" xml.itemsStyle="flat">
- <type>PmdError</type>
- <multiplicity>*</multiplicity>
- </association>
- </field>
- -->
- </fields>
- </class>
- <class>
- <name>PmdFile</name>
- <fields>
- <field xml.attribute="true">
- <name>name</name>
- <type>String</type>
- </field>
- <field>
- <name>violations</name>
- <association xml.tagName="violation" xml.itemsStyle="flat">
-
- =======================================================================
- ==src/test/resources/unit/default-configuration/js/Sample.js
- =======================================================================
-(function() {
-
- globalVariable = 1;
-
-})();
-</pre></div></p></div>
+ </pre></div></p></div>
</div>
</div>
<div class="clear">
Modified: websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/sonar.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/sonar.html (original)
+++ websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/sonar.html Tue Mar 11 20:12:51 2014
@@ -1,21 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Mar 4, 2013
+ | Generated by Apache Maven Doxia at 2014-03-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Sonar</title>
+ <title>Apache Maven PMD Plugin - Sonar</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20130304" />
+ <meta name="Date-Revision-yyyymmdd" content="20140311" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
@@ -41,13 +41,13 @@
>
<a href="../index.html">Plugins</a>
>
- <a href="./">Maven PMD plugin</a>
+ <a href="./">Apache Maven PMD Plugin</a>
>
Sonar
</div>
<div class="xright">
- Last Published: 2013-03-04
- | Version: 3.0.1
+ Last Published: 2014-03-11
+ | Version: 3.1
</div>
<div class="clear">
<hr/>
@@ -97,7 +97,7 @@
<li class="collapsed">
<a href="project-info.html">Project Information</a>
</li>
- <li class="expanded">
+ <li class="expanded">
<a href="project-reports.html">Project Reports</a>
<ul>
<li class="none">
@@ -107,10 +107,7 @@
<a href="checkstyle.html">Checkstyle</a>
</li>
<li class="none">
- <a href="cpd.html">CPD Report</a>
- </li>
- <li class="none">
- <a href="pmd.html">PMD Report</a>
+ <a href="pmd.html">PMD</a>
</li>
<li class="none">
<a href="xref/index.html">Source Xref</a>
@@ -218,7 +215,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/source-repository.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/source-repository.html (original)
+++ websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/source-repository.html Tue Mar 11 20:12:51 2014
@@ -1,21 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Mar 4, 2013
+ | Generated by Apache Maven Doxia at 2014-03-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Source Repository</title>
+ <title>Apache Maven PMD Plugin - Source Repository</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20130304" />
+ <meta name="Date-Revision-yyyymmdd" content="20140311" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
@@ -41,13 +41,13 @@
>
<a href="../index.html">Plugins</a>
>
- <a href="./">Maven PMD plugin</a>
+ <a href="./">Apache Maven PMD Plugin</a>
>
Source Repository
</div>
<div class="xright">
- Last Published: 2013-03-04
- | Version: 3.0.1
+ Last Published: 2014-03-11
+ | Version: 3.1
</div>
<div class="clear">
<hr/>
@@ -141,7 +141,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html">Project Reports</a>
</li>
</ul>
@@ -213,7 +213,39 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>This project uses <a class="externalLink" href="http://subversion.apache.org/">Subversion</a> to manage its source code. Instructions on Subversion use can be found at <a class="externalLink" href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.</p></div><div class="section"><h2>Web Access<a name="Web_Access"></a></h2><a name="Web_Access"></a><p>The following is a link to the online source repository.</p><div class="source"><pre><a class="externalLink" href="http://svn.apache.org/viewvc/maven/plugins/tags/maven-pmd-plugin-3.0.1">http://svn.apache.org/viewvc/maven/plugins/tags/maven-pmd-plugin-3.0.1</a></pre></div></div><div class="section"><h2>Anonymous access<a name="Anonymous_access"></a></h2><a name="Anonymous_access"></a><p>The source can be checked out anonymously from SVN with this command:</p><div class="source"><pre>$ svn checkout http://svn.apache.org/repos/asf/mav
en/plugins/tags/maven-pmd-plugin-3.0.1 maven-pmd-plugin</pre></div></div><div class="section"><h2>Developer access<a name="Developer_access"></a></h2><a name="Developer_access"></a><p>Everyone can access the Subversion repository via HTTP, but Committers must checkout the Subversion repository via HTTPS.</p><div class="source"><pre>$ svn checkout https://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.0.1 maven-pmd-plugin</pre></div><p>To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)</p><div class="source"><pre>$ svn commit --username your-username -m "A message"</pre></div></div><div class="section"><h2>Access from behind a firewall<a name="Access_from_behind_a_firewall"></a></h2><a name="Access_from_behind_a_firewall"></a><p>For those users who are stuck behind a corporate firewall which is blocking HTTP access to the Subversion repository, you can try to access it via the dev
eloper connection:</p><div class="source"><pre>$ svn checkout https://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.0.1 maven-pmd-plugin</pre></div></div><div class="section"><h2>Access through a proxy<a name="Access_through_a_proxy"></a></h2><a name="Access_through_a_proxy"></a><p>The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The file's location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)</p><p>There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.</p><p>Example: Edit the 'servers' file and add something like:
</p><div class="source"><pre>[global]
+ <div class="section">
+<h2>Overview<a name="Overview"></a></h2><a name="Overview"></a>
+<p>This project uses <a class="externalLink" href="http://subversion.apache.org/">Subversion</a> to manage its source code. Instructions on Subversion use can be found at <a class="externalLink" href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.</p></div>
+<div class="section">
+<h2>Web Access<a name="Web_Access"></a></h2><a name="Web_Access"></a>
+<p>The following is a link to the online source repository.</p>
+<div class="source">
+<pre><a class="externalLink" href="http://svn.apache.org/viewvc/maven/plugins/tags/maven-pmd-plugin-3.1">http://svn.apache.org/viewvc/maven/plugins/tags/maven-pmd-plugin-3.1</a></pre></div></div>
+<div class="section">
+<h2>Anonymous access<a name="Anonymous_access"></a></h2><a name="Anonymous_access"></a>
+<p>The source can be checked out anonymously from SVN with this command:</p>
+<div class="source">
+<pre>$ svn checkout http://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.1 maven-pmd-plugin</pre></div></div>
+<div class="section">
+<h2>Developer access<a name="Developer_access"></a></h2><a name="Developer_access"></a>
+<p>Everyone can access the Subversion repository via HTTP, but Committers must checkout the Subversion repository via HTTPS.</p>
+<div class="source">
+<pre>$ svn checkout https://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.1 maven-pmd-plugin</pre></div>
+<p>To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)</p>
+<div class="source">
+<pre>$ svn commit --username your-username -m "A message"</pre></div></div>
+<div class="section">
+<h2>Access from behind a firewall<a name="Access_from_behind_a_firewall"></a></h2><a name="Access_from_behind_a_firewall"></a>
+<p>For those users who are stuck behind a corporate firewall which is blocking HTTP access to the Subversion repository, you can try to access it via the developer connection:</p>
+<div class="source">
+<pre>$ svn checkout https://svn.apache.org/repos/asf/maven/plugins/tags/maven-pmd-plugin-3.1 maven-pmd-plugin</pre></div></div>
+<div class="section">
+<h2>Access through a proxy<a name="Access_through_a_proxy"></a></h2><a name="Access_through_a_proxy"></a>
+<p>The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The file's location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)</p>
+<p>There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.</p>
+<p>Example: Edit the 'servers' file and add something like:</p>
+<div class="source">
+<pre>[global]
http-proxy-host = your.proxy.name
http-proxy-port = 3128
</pre></div></div>
@@ -224,7 +256,7 @@ http-proxy-port = 3128
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/surefire-report.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/surefire-report.html (original)
+++ websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/surefire-report.html Tue Mar 11 20:12:51 2014
@@ -1,21 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Mar 4, 2013
+ | Generated by Apache Maven Doxia at 2014-03-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Surefire Report</title>
+ <title>Apache Maven PMD Plugin - Surefire Report</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20130304" />
+ <meta name="Date-Revision-yyyymmdd" content="20140311" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
@@ -41,13 +41,13 @@
>
<a href="../index.html">Plugins</a>
>
- <a href="./">Maven PMD plugin</a>
+ <a href="./">Apache Maven PMD Plugin</a>
>
Surefire Report
</div>
<div class="xright">
- Last Published: 2013-03-04
- | Version: 3.0.1
+ Last Published: 2014-03-11
+ | Version: 3.1
</div>
<div class="clear">
<hr/>
@@ -97,7 +97,7 @@
<li class="collapsed">
<a href="project-info.html">Project Information</a>
</li>
- <li class="expanded">
+ <li class="expanded">
<a href="project-reports.html">Project Reports</a>
<ul>
<li class="none">
@@ -107,10 +107,7 @@
<a href="checkstyle.html">Checkstyle</a>
</li>
<li class="none">
- <a href="cpd.html">CPD Report</a>
- </li>
- <li class="none">
- <a href="pmd.html">PMD Report</a>
+ <a href="pmd.html">PMD</a>
</li>
<li class="none">
<a href="xref/index.html">Source Xref</a>
@@ -226,7 +223,212 @@ function toggleDisplay(elementId) {
}
}
//]]>
-</script><div class="section"><h2>Surefire Report<a name="Surefire_Report"></a></h2></div><div class="section"><h2>Summary<a name="Summary"></a></h2><a name="Summary"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br /><table border="1" class="bodyTable"><tr class="a"><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td>21</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>5.676</td></tr></table><br /><p>Note: failures are anticipated and checked for with assertions while errors are unanticipated.</p><br /></div><div class="section"><h2>Package List<a name="Package_List"></a></h2><a name="Package_List"></a><p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br /><table border="1" class="bodyTable"><tr class="a"><th>Package</th><th>Tests</th><th>Errors </th><th>Failures</
th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.maven.plugin.pmd">org.apache.maven.plugin.pmd</a></td><td>21</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>5.676</td></tr></table><br /><p>Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.</p><div class="section"><h3>org.apache.maven.plugin.pmd<a name="org.apache.maven.plugin.pmd"></a></h3><a name="org.apache.maven.plugin.pmd"></a><table border="1" class="bodyTable"><tr class="a"><th></th><th>Class</th><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.maven.plugin.pmdCpdReportTest"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.maven.plugin.pmdCpdReportTest">CpdReportTest</a></td><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>2.163</td></tr><tr class="a"><td><a href="#org.apache.maven.plugin.pmdCp
dViolationCheckMojoTest"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.maven.plugin.pmdCpdViolationCheckMojoTest">CpdViolationCheckMojoTest</a></td><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.366</td></tr><tr class="b"><td><a href="#org.apache.maven.plugin.pmdPmdReportTest"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.maven.plugin.pmdPmdReportTest">PmdReportTest</a></td><td>8</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>2.305</td></tr><tr class="a"><td><a href="#org.apache.maven.plugin.pmdPmdViolationCheckMojoTest"><img src="images/icon_success_sml.gif" alt="" /></a></td><td><a href="#org.apache.maven.plugin.pmdPmdViolationCheckMojoTest">PmdViolationCheckMojoTest</a></td><td>5</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.842</td></tr></table></div><br /></div><div class="section"><h2>Test Cases<a name="Test_Cases"></a></h2><a name="Test_Cases"></a><p>[<a href="#Summary">Summary</a>]
[<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><div class="section"><h3>CpdReportTest<a name="CpdReportTest"></a></h3><a name="org.apache.maven.plugin.pmdCpdReportTest"></a><table border="1" class="bodyTable"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testDefaultConfiguration</td><td>1.667</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testCustomConfiguration</td><td>0.36</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testInvalidFormat</td><td>0.067</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testWriteNonHtml</td><td>0.069</td></tr></table></div><div class="section"><h3>CpdViolationCheckMojoTest<a name="CpdViolationCheckMojoTest"></a></h3><a name="org.apache.maven.plugin.pmdCpdViolationCheckMojoTest"></a><table border="1" class="bodyTable"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="
" /></td><td>testDefaultConfiguration</td><td>0.032</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testNotFailOnViolation</td><td>0.173</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testException</td><td>0.025</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testExclusionsConfiguration</td><td>0.136</td></tr></table></div><div class="section"><h3>PmdReportTest<a name="PmdReportTest"></a></h3><a name="org.apache.maven.plugin.pmdPmdReportTest"></a><table border="1" class="bodyTable"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testDefaultConfiguration</td><td>0.728</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testCustomConfiguration</td><td>0.771</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testInvalidFormat</td><td>0.055</td></tr><tr class="b"><td><img src="images/icon_
success_sml.gif" alt="" /></td><td>testJavascriptConfiguration</td><td>0.359</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testFileURL</td><td>0.307</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testSkipConfiguration</td><td>0.03</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testInvalidTargetJdk</td><td>0.028</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testLocationTemp</td><td>0.027</td></tr></table></div><div class="section"><h3>PmdViolationCheckMojoTest<a name="PmdViolationCheckMojoTest"></a></h3><a name="org.apache.maven.plugin.pmdPmdViolationCheckMojoTest"></a><table border="1" class="bodyTable"><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testDefaultConfiguration</td><td>0.025</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testNotFailOnViolation</td><td>0.363</
td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testException</td><td>0.021</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testFailurePriority</td><td>0.222</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" alt="" /></td><td>testViolationExclusion</td><td>0.211</td></tr></table></div><br /></div>
+</script>
+<div class="section">
+<h2>Surefire Report<a name="Surefire_Report"></a></h2></div>
+<div class="section">
+<h2>Summary<a name="Summary"></a></h2><a name="Summary"></a>
+<p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br />
+<table border="1" class="bodyTable">
+<tr class="a">
+<th>Tests</th>
+<th>Errors </th>
+<th>Failures</th>
+<th>Skipped</th>
+<th>Success Rate</th>
+<th>Time</th></tr>
+<tr class="b">
+<td>25</td>
+<td>0</td>
+<td>0</td>
+<td>0</td>
+<td>100%</td>
+<td>11.125</td></tr></table><br />
+<p>Note: failures are anticipated and checked for with assertions while errors are unanticipated.</p><br /></div>
+<div class="section">
+<h2>Package List<a name="Package_List"></a></h2><a name="Package_List"></a>
+<p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p><br />
+<table border="1" class="bodyTable">
+<tr class="a">
+<th>Package</th>
+<th>Tests</th>
+<th>Errors </th>
+<th>Failures</th>
+<th>Skipped</th>
+<th>Success Rate</th>
+<th>Time</th></tr>
+<tr class="b">
+<td><a href="#org.apache.maven.plugin.pmd">org.apache.maven.plugin.pmd</a></td>
+<td>25</td>
+<td>0</td>
+<td>0</td>
+<td>0</td>
+<td>100%</td>
+<td>11.125</td></tr></table><br />
+<p>Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.</p>
+<div class="section">
+<h3>org.apache.maven.plugin.pmd<a name="org.apache.maven.plugin.pmd"></a></h3><a name="org.apache.maven.plugin.pmd"></a>
+<table border="1" class="bodyTable">
+<tr class="a">
+<th></th>
+<th>Class</th>
+<th>Tests</th>
+<th>Errors </th>
+<th>Failures</th>
+<th>Skipped</th>
+<th>Success Rate</th>
+<th>Time</th></tr>
+<tr class="b">
+<td><a href="#org.apache.maven.plugin.pmdCpdReportTest"><img src="images/icon_success_sml.gif" alt="" /></a></td>
+<td><a href="#org.apache.maven.plugin.pmdCpdReportTest">CpdReportTest</a></td>
+<td>6</td>
+<td>0</td>
+<td>0</td>
+<td>0</td>
+<td>100%</td>
+<td>3.486</td></tr>
+<tr class="a">
+<td><a href="#org.apache.maven.plugin.pmdCpdViolationCheckMojoTest"><img src="images/icon_success_sml.gif" alt="" /></a></td>
+<td><a href="#org.apache.maven.plugin.pmdCpdViolationCheckMojoTest">CpdViolationCheckMojoTest</a></td>
+<td>4</td>
+<td>0</td>
+<td>0</td>
+<td>0</td>
+<td>100%</td>
+<td>0.625</td></tr>
+<tr class="b">
+<td><a href="#org.apache.maven.plugin.pmdPmdReportTest"><img src="images/icon_success_sml.gif" alt="" /></a></td>
+<td><a href="#org.apache.maven.plugin.pmdPmdReportTest">PmdReportTest</a></td>
+<td>10</td>
+<td>0</td>
+<td>0</td>
+<td>0</td>
+<td>100%</td>
+<td>5.394</td></tr>
+<tr class="a">
+<td><a href="#org.apache.maven.plugin.pmdPmdViolationCheckMojoTest"><img src="images/icon_success_sml.gif" alt="" /></a></td>
+<td><a href="#org.apache.maven.plugin.pmdPmdViolationCheckMojoTest">PmdViolationCheckMojoTest</a></td>
+<td>5</td>
+<td>0</td>
+<td>0</td>
+<td>0</td>
+<td>100%</td>
+<td>1.62</td></tr></table></div><br /></div>
+<div class="section">
+<h2>Test Cases<a name="Test_Cases"></a></h2><a name="Test_Cases"></a>
+<p>[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</p>
+<div class="section">
+<h3>CpdReportTest<a name="CpdReportTest"></a></h3><a name="org.apache.maven.plugin.pmdCpdReportTest"></a>
+<table border="1" class="bodyTable">
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testDefaultConfiguration</td>
+<td>2.369</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testCustomConfiguration</td>
+<td>0.55</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testInvalidFormat</td>
+<td>0.119</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testWriteNonHtml</td>
+<td>0.113</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testSkipEmptyReportConfiguration</td>
+<td>0.096</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testEmptyReportConfiguration</td>
+<td>0.239</td></tr></table></div>
+<div class="section">
+<h3>CpdViolationCheckMojoTest<a name="CpdViolationCheckMojoTest"></a></h3><a name="org.apache.maven.plugin.pmdCpdViolationCheckMojoTest"></a>
+<table border="1" class="bodyTable">
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testDefaultConfiguration</td>
+<td>0.052</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testNotFailOnViolation</td>
+<td>0.275</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testException</td>
+<td>0.062</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testExclusionsConfiguration</td>
+<td>0.236</td></tr></table></div>
+<div class="section">
+<h3>PmdReportTest<a name="PmdReportTest"></a></h3><a name="org.apache.maven.plugin.pmdPmdReportTest"></a>
+<table border="1" class="bodyTable">
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testDefaultConfiguration</td>
+<td>1.651</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testCustomConfiguration</td>
+<td>1.127</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testInvalidFormat</td>
+<td>0.384</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testSkipEmptyReportConfiguration</td>
+<td>0.281</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testEmptyReportConfiguration</td>
+<td>0.351</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testJavascriptConfiguration</td>
+<td>0.53</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testFileURL</td>
+<td>0.777</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testSkipConfiguration</td>
+<td>0.178</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testInvalidTargetJdk</td>
+<td>0.057</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testLocationTemp</td>
+<td>0.058</td></tr></table></div>
+<div class="section">
+<h3>PmdViolationCheckMojoTest<a name="PmdViolationCheckMojoTest"></a></h3><a name="org.apache.maven.plugin.pmdPmdViolationCheckMojoTest"></a>
+<table border="1" class="bodyTable">
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testDefaultConfiguration</td>
+<td>0.042</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testNotFailOnViolation</td>
+<td>0.497</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testException</td>
+<td>0.045</td></tr>
+<tr class="b">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testFailurePriority</td>
+<td>0.557</td></tr>
+<tr class="a">
+<td><img src="images/icon_success_sml.gif" alt="" /></td>
+<td>testViolationExclusion</td>
+<td>0.479</td></tr></table></div><br /></div>
</div>
</div>
<div class="clear">
@@ -234,7 +436,7 @@ function toggleDisplay(elementId) {
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
Modified: websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/taglist.html
==============================================================================
--- websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/taglist.html (original)
+++ websites/production/maven/content/plugins-archives/maven-pmd-plugin-LATEST/taglist.html Tue Mar 11 20:12:51 2014
@@ -1,21 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
- | Generated by Apache Maven Doxia at Mar 4, 2013
+ | Generated by Apache Maven Doxia at 2014-03-11
| Rendered using Apache Maven Stylus Skin 1.5
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Maven PMD plugin - Tag List report</title>
+ <title>Apache Maven PMD Plugin - Tag List report</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
- <meta name="Date-Revision-yyyymmdd" content="20130304" />
+ <meta name="Date-Revision-yyyymmdd" content="20140311" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
@@ -41,13 +41,13 @@
>
<a href="../index.html">Plugins</a>
>
- <a href="./">Maven PMD plugin</a>
+ <a href="./">Apache Maven PMD Plugin</a>
>
Tag List report
</div>
<div class="xright">
- Last Published: 2013-03-04
- | Version: 3.0.1
+ Last Published: 2014-03-11
+ | Version: 3.1
</div>
<div class="clear">
<hr/>
@@ -97,7 +97,7 @@
<li class="collapsed">
<a href="project-info.html">Project Information</a>
</li>
- <li class="expanded">
+ <li class="expanded">
<a href="project-reports.html">Project Reports</a>
<ul>
<li class="none">
@@ -107,10 +107,7 @@
<a href="checkstyle.html">Checkstyle</a>
</li>
<li class="none">
- <a href="cpd.html">CPD Report</a>
- </li>
- <li class="none">
- <a href="pmd.html">PMD Report</a>
+ <a href="pmd.html">PMD</a>
</li>
<li class="none">
<a href="xref/index.html">Source Xref</a>
@@ -210,7 +207,51 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Tag List Report<a name="Tag_List_Report"></a></h2><p>The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.</p><table border="0" class="bodyTable"><tr class="a"><th>Tag Class</th><th>Total number of occurrences</th><th>Tag strings used by tag class</th></tr><tr class="b"><td>@todo</td><td>0</td><td>@todo</td></tr><tr class="a"><td><a href="#tag_class_2">TODO</a></td><td>7</td><td>TODO</td></tr></table><p>Each tag is detailed below:</p><div class="section"><h3><a name="tag_class_2">TODO</a><a name="TODO"></a></h3><p><b>Number of occurrences found in the code: 7</b></p><table border="0" class="bodyTable"><tr class="b"><th>org.apache.maven.plugin.pmd.CpdReport</th><th>Line</th></tr><tr class="a"><td>pmd should provide a better way to specify the output encoding (getOutputEncoding());</td><td><a href="./xref/org/apache/maven/plugin/pmd/CpdReport.html#286">286</a></td></tr><tr class="b"
><th>org.apache.maven.plugin.pmd.CpdReportGenerator</th><th>Line</th></tr><tr class="a"><td>overall summary</td><td><a href="./xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html#95">95</a></td></tr><tr class="b"><td>files summary</td><td><a href="./xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html#102">102</a></td></tr><tr class="a"><td>Cleaner way to do this?</td><td><a href="./xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html#202">202</a></td></tr><tr class="b"><th>org.apache.maven.plugin.pmd.PmdReportListener</th><th>Line</th></tr><tr class="a"><td>overall summary</td><td><a href="./xref/org/apache/maven/plugin/pmd/PmdReportListener.html#269">269</a></td></tr><tr class="b"><td>files summary</td><td><a href="./xref/org/apache/maven/plugin/pmd/PmdReportListener.html#276">276</a></td></tr><tr class="a"><td>Determine if we are going to just ignore metrics.</td><td><a href="./xref/org/apache/maven/plugin/pmd/PmdReportListener.html#353">353</a></td></tr></table></di
v></div>
+ <div class="section">
+<h2>Tag List Report<a name="Tag_List_Report"></a></h2>
+<p>The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.</p>
+<table border="0" class="bodyTable">
+<tr class="a">
+<th>Tag Class</th>
+<th>Total number of occurrences</th>
+<th>Tag strings used by tag class</th></tr>
+<tr class="b">
+<td>@todo</td>
+<td>0</td>
+<td>@todo</td></tr>
+<tr class="a">
+<td><a href="#tag_class_2">TODO</a></td>
+<td>6</td>
+<td>TODO</td></tr></table>
+<p>Each tag is detailed below:</p>
+<div class="section">
+<h3><a name="tag_class_2">TODO</a><a name="TODO"></a></h3>
+<p><b>Number of occurrences found in the code: 6</b></p>
+<table border="0" class="bodyTable">
+<tr class="b">
+<th>org.apache.maven.plugin.pmd.CpdReportGenerator</th>
+<th>Line</th></tr>
+<tr class="a">
+<td>overall summary</td>
+<td><a href="./xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html#95">95</a></td></tr>
+<tr class="b">
+<td>files summary</td>
+<td><a href="./xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html#102">102</a></td></tr>
+<tr class="a">
+<td>Cleaner way to do this?</td>
+<td><a href="./xref/org/apache/maven/plugin/pmd/CpdReportGenerator.html#202">202</a></td></tr>
+<tr class="b">
+<th>org.apache.maven.plugin.pmd.PmdReportGenerator</th>
+<th>Line</th></tr>
+<tr class="a">
+<td>overall summary</td>
+<td><a href="./xref/org/apache/maven/plugin/pmd/PmdReportGenerator.html#263">263</a></td></tr>
+<tr class="b">
+<td>files summary</td>
+<td><a href="./xref/org/apache/maven/plugin/pmd/PmdReportGenerator.html#270">270</a></td></tr>
+<tr class="a">
+<td>Determine if we are going to just ignore metrics.</td>
+<td><a href="./xref/org/apache/maven/plugin/pmd/PmdReportGenerator.html#351">351</a></td></tr></table></div></div>
</div>
</div>
<div class="clear">
@@ -218,7 +259,7 @@
</div>
<div id="footer">
<div class="xright">
- © 2005-2013
+ © 2005-2014
The Apache Software Foundation
- <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.