Rename metrics.metrics to metrics.impl

This commit is contained in:
oowekyala
2017-07-25 15:41:12 +02:00
parent dddf78d443
commit 82d071a102
27 changed files with 53 additions and 53 deletions

View File

@ -5,11 +5,11 @@
package net.sourceforge.pmd.lang.java.metrics.api; package net.sourceforge.pmd.lang.java.metrics.api;
import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration;
import net.sourceforge.pmd.lang.java.metrics.metrics.AtfdMetric.AtfdClassMetric; import net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric.AtfdClassMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric.CycloClassMetric; import net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric.CycloClassMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.LocMetric.LocClassMetric; import net.sourceforge.pmd.lang.java.metrics.impl.LocMetric.LocClassMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric.NcssClassMetric; import net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric.NcssClassMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.WmcMetric; import net.sourceforge.pmd.lang.java.metrics.impl.WmcMetric;
import net.sourceforge.pmd.lang.metrics.api.Metric; import net.sourceforge.pmd.lang.metrics.api.Metric;
import net.sourceforge.pmd.lang.metrics.api.MetricKey; import net.sourceforge.pmd.lang.metrics.api.MetricKey;
@ -21,7 +21,7 @@ public enum JavaClassMetricKey implements MetricKey<ASTAnyTypeDeclaration> {
/** /**
* Access to Foreign Data. * Access to Foreign Data.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.AtfdMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric
*/ */
ATFD(new AtfdClassMetric()), ATFD(new AtfdClassMetric()),
@ -35,21 +35,21 @@ public enum JavaClassMetricKey implements MetricKey<ASTAnyTypeDeclaration> {
/** /**
* Cyclomatic complexity. * Cyclomatic complexity.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric
*/ */
CYCLO(new CycloClassMetric()), CYCLO(new CycloClassMetric()),
/** /**
* Non Commenting Source Statements. * Non Commenting Source Statements.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric
*/ */
NCSS(new NcssClassMetric()), NCSS(new NcssClassMetric()),
/** /**
* Lines of Code. * Lines of Code.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.LocMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.LocMetric
*/ */
LOC(new LocClassMetric()); LOC(new LocClassMetric());

View File

@ -5,10 +5,10 @@
package net.sourceforge.pmd.lang.java.metrics.api; package net.sourceforge.pmd.lang.java.metrics.api;
import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration;
import net.sourceforge.pmd.lang.java.metrics.metrics.AtfdMetric.AtfdOperationMetric; import net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric.AtfdOperationMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric.CycloOperationMetric; import net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric.CycloOperationMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.LocMetric.LocOperationMetric; import net.sourceforge.pmd.lang.java.metrics.impl.LocMetric.LocOperationMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric.NcssOperationMetric; import net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric.NcssOperationMetric;
import net.sourceforge.pmd.lang.metrics.api.Metric; import net.sourceforge.pmd.lang.metrics.api.Metric;
import net.sourceforge.pmd.lang.metrics.api.MetricKey; import net.sourceforge.pmd.lang.metrics.api.MetricKey;
@ -20,28 +20,28 @@ public enum JavaOperationMetricKey implements MetricKey<ASTMethodOrConstructorDe
/** /**
* Access to Foreign Data. * Access to Foreign Data.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.AtfdMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.AtfdMetric
*/ */
ATFD(new AtfdOperationMetric()), ATFD(new AtfdOperationMetric()),
/** /**
* Cyclomatic complexity. * Cyclomatic complexity.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric
*/ */
CYCLO(new CycloOperationMetric()), CYCLO(new CycloOperationMetric()),
/** /**
* Non Commenting Source Statements. * Non Commenting Source Statements.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric
*/ */
NCSS(new NcssOperationMetric()), NCSS(new NcssOperationMetric()),
/** /**
* Lines of Code. * Lines of Code.
* *
* @see net.sourceforge.pmd.lang.java.metrics.metrics.LocMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.LocMetric
*/ */
LOC(new LocOperationMetric()); LOC(new LocOperationMetric());

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration;
import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration.TypeKind; import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration.TypeKind;

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration;
import net.sourceforge.pmd.lang.java.metrics.AbstractJavaMetric; import net.sourceforge.pmd.lang.java.metrics.AbstractJavaMetric;

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import java.util.List; import java.util.List;

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import org.apache.commons.lang3.mutable.MutableInt; import org.apache.commons.lang3.mutable.MutableInt;
@ -11,8 +11,8 @@ import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration;
import net.sourceforge.pmd.lang.java.ast.JavaParserVisitor; import net.sourceforge.pmd.lang.java.ast.JavaParserVisitor;
import net.sourceforge.pmd.lang.java.metrics.JavaMetrics; import net.sourceforge.pmd.lang.java.metrics.JavaMetrics;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
import net.sourceforge.pmd.lang.java.metrics.metrics.visitors.CycloPathUnawareOperationVisitor; import net.sourceforge.pmd.lang.java.metrics.impl.visitors.CycloPathUnawareOperationVisitor;
import net.sourceforge.pmd.lang.java.metrics.metrics.visitors.StandardCycloVisitor; import net.sourceforge.pmd.lang.java.metrics.impl.visitors.StandardCycloVisitor;
import net.sourceforge.pmd.lang.metrics.api.MetricVersion; import net.sourceforge.pmd.lang.metrics.api.MetricVersion;
import net.sourceforge.pmd.lang.metrics.api.ResultOption; import net.sourceforge.pmd.lang.metrics.api.ResultOption;

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration;
import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration;

View File

@ -2,15 +2,15 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import org.apache.commons.lang3.mutable.MutableInt; import org.apache.commons.lang3.mutable.MutableInt;
import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration;
import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration;
import net.sourceforge.pmd.lang.java.ast.JavaParserVisitor; import net.sourceforge.pmd.lang.java.ast.JavaParserVisitor;
import net.sourceforge.pmd.lang.java.metrics.metrics.visitors.DefaultNcssVisitor; import net.sourceforge.pmd.lang.java.metrics.impl.visitors.DefaultNcssVisitor;
import net.sourceforge.pmd.lang.java.metrics.metrics.visitors.JavaNcssVisitor; import net.sourceforge.pmd.lang.java.metrics.impl.visitors.JavaNcssVisitor;
import net.sourceforge.pmd.lang.metrics.api.MetricVersion; import net.sourceforge.pmd.lang.metrics.api.MetricVersion;
/** /**

View File

@ -2,12 +2,12 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTAnyTypeDeclaration;
import net.sourceforge.pmd.lang.java.metrics.JavaMetrics; import net.sourceforge.pmd.lang.java.metrics.JavaMetrics;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
import net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric.CycloVersion; import net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric.CycloVersion;
import net.sourceforge.pmd.lang.metrics.api.MetricVersion; import net.sourceforge.pmd.lang.metrics.api.MetricVersion;
import net.sourceforge.pmd.lang.metrics.api.ResultOption; import net.sourceforge.pmd.lang.metrics.api.ResultOption;

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics.visitors; package net.sourceforge.pmd.lang.java.metrics.impl.visitors;
import org.apache.commons.lang3.mutable.MutableInt; import org.apache.commons.lang3.mutable.MutableInt;
@ -23,7 +23,7 @@ import net.sourceforge.pmd.lang.java.ast.JavaParserVisitorAdapter;
* Visitor calculating cyclo without counting boolean operators. * Visitor calculating cyclo without counting boolean operators.
* *
* @author Clément Fournier * @author Clément Fournier
* @see net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric
*/ */
public class CycloPathUnawareOperationVisitor extends JavaParserVisitorAdapter { public class CycloPathUnawareOperationVisitor extends JavaParserVisitorAdapter {

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics.visitors; package net.sourceforge.pmd.lang.java.metrics.impl.visitors;
import org.apache.commons.lang3.mutable.MutableInt; import org.apache.commons.lang3.mutable.MutableInt;
@ -38,7 +38,7 @@ import net.sourceforge.pmd.lang.java.ast.JavaParserVisitorAdapter;
* Default visitor for the calculation of Ncss. * Default visitor for the calculation of Ncss.
* *
* @author Clément Fournier * @author Clément Fournier
* @see net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric
*/ */
public class DefaultNcssVisitor extends JavaParserVisitorAdapter { public class DefaultNcssVisitor extends JavaParserVisitorAdapter {

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics.visitors; package net.sourceforge.pmd.lang.java.metrics.impl.visitors;
import java.util.List; import java.util.List;
@ -17,7 +17,7 @@ import net.sourceforge.pmd.lang.java.ast.ASTPackageDeclaration;
* JavaNcss compliant visitor for the calculation of Ncss. * JavaNcss compliant visitor for the calculation of Ncss.
* *
* @author Clément Fournier * @author Clément Fournier
* @see net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric
*/ */
public class JavaNcssVisitor extends DefaultNcssVisitor { public class JavaNcssVisitor extends DefaultNcssVisitor {

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics.visitors; package net.sourceforge.pmd.lang.java.metrics.impl.visitors;
import org.apache.commons.lang3.mutable.MutableInt; import org.apache.commons.lang3.mutable.MutableInt;
@ -21,7 +21,7 @@ import net.sourceforge.pmd.lang.java.rule.codesize.NPathComplexityRule;
* Calculates CYCLO following the standard definition. * Calculates CYCLO following the standard definition.
* *
* @author Clément Fournier * @author Clément Fournier
* @see net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric * @see net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric
*/ */
public class StandardCycloVisitor extends CycloPathUnawareOperationVisitor { public class StandardCycloVisitor extends CycloPathUnawareOperationVisitor {

View File

@ -14,7 +14,7 @@ import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration;
import net.sourceforge.pmd.lang.java.metrics.JavaMetrics; import net.sourceforge.pmd.lang.java.metrics.JavaMetrics;
import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
import net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric.CycloVersion; import net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric.CycloVersion;
import net.sourceforge.pmd.lang.java.rule.AbstractJavaMetricsRule; import net.sourceforge.pmd.lang.java.rule.AbstractJavaMetricsRule;
import net.sourceforge.pmd.lang.metrics.api.Metric.Version; import net.sourceforge.pmd.lang.metrics.api.Metric.Version;
import net.sourceforge.pmd.lang.metrics.api.MetricVersion; import net.sourceforge.pmd.lang.metrics.api.MetricVersion;

View File

@ -14,7 +14,7 @@ import net.sourceforge.pmd.lang.java.ast.ASTMethodOrConstructorDeclaration;
import net.sourceforge.pmd.lang.java.metrics.JavaMetrics; import net.sourceforge.pmd.lang.java.metrics.JavaMetrics;
import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
import net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric.NcssVersion; import net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric.NcssVersion;
import net.sourceforge.pmd.lang.java.rule.AbstractJavaMetricsRule; import net.sourceforge.pmd.lang.java.rule.AbstractJavaMetricsRule;
import net.sourceforge.pmd.lang.metrics.api.Metric; import net.sourceforge.pmd.lang.metrics.api.Metric;
import net.sourceforge.pmd.lang.metrics.api.MetricVersion; import net.sourceforge.pmd.lang.metrics.api.MetricVersion;

View File

@ -29,8 +29,8 @@ import net.sourceforge.pmd.lang.java.ast.JavaParserVisitorReducedAdapter;
import net.sourceforge.pmd.lang.java.ast.QualifiedName; import net.sourceforge.pmd.lang.java.ast.QualifiedName;
import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
import net.sourceforge.pmd.lang.java.metrics.metrics.AbstractJavaClassMetric; import net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaClassMetric;
import net.sourceforge.pmd.lang.java.metrics.metrics.AbstractJavaOperationMetric; import net.sourceforge.pmd.lang.java.metrics.impl.AbstractJavaOperationMetric;
import net.sourceforge.pmd.lang.java.metrics.signature.FieldSigMask; import net.sourceforge.pmd.lang.java.metrics.signature.FieldSigMask;
import net.sourceforge.pmd.lang.java.metrics.signature.FieldSignature; import net.sourceforge.pmd.lang.java.metrics.signature.FieldSignature;
import net.sourceforge.pmd.lang.java.metrics.signature.OperationSigMask; import net.sourceforge.pmd.lang.java.metrics.signature.OperationSigMask;

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import net.sourceforge.pmd.Rule; import net.sourceforge.pmd.Rule;
import net.sourceforge.pmd.lang.java.metrics.MetricsHook; import net.sourceforge.pmd.lang.java.metrics.MetricsHook;

View File

@ -2,13 +2,13 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import java.util.Map; import java.util.Map;
import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
import net.sourceforge.pmd.lang.java.metrics.metrics.CycloMetric.CycloVersion; import net.sourceforge.pmd.lang.java.metrics.impl.CycloMetric.CycloVersion;
import net.sourceforge.pmd.lang.metrics.api.MetricVersion; import net.sourceforge.pmd.lang.metrics.api.MetricVersion;
/** /**

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;

View File

@ -2,13 +2,13 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import java.util.Map; import java.util.Map;
import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;
import net.sourceforge.pmd.lang.java.metrics.metrics.NcssMetric.NcssVersion; import net.sourceforge.pmd.lang.java.metrics.impl.NcssMetric.NcssVersion;
import net.sourceforge.pmd.lang.metrics.api.MetricVersion; import net.sourceforge.pmd.lang.metrics.api.MetricVersion;
/** /**

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/ */
package net.sourceforge.pmd.lang.java.metrics.metrics; package net.sourceforge.pmd.lang.java.metrics.impl;
import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaClassMetricKey;
import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey; import net.sourceforge.pmd.lang.java.metrics.api.JavaOperationMetricKey;

View File

@ -11,25 +11,25 @@
<rule name="CycloTest" <rule name="CycloTest"
message = "''{0}'' has value {1}." message = "''{0}'' has value {1}."
class="net.sourceforge.pmd.lang.java.metrics.metrics.CycloTestRule" class="net.sourceforge.pmd.lang.java.metrics.impl.CycloTestRule"
metrics="true"> metrics="true">
</rule> </rule>
<rule name="NcssTest" <rule name="NcssTest"
message = "''{0}'' has value {1}." message = "''{0}'' has value {1}."
class="net.sourceforge.pmd.lang.java.metrics.metrics.NcssTestRule" class="net.sourceforge.pmd.lang.java.metrics.impl.NcssTestRule"
metrics="true"> metrics="true">
</rule> </rule>
<rule name="WmcTest" <rule name="WmcTest"
message = "''{0}'' has value {1}." message = "''{0}'' has value {1}."
class="net.sourceforge.pmd.lang.java.metrics.metrics.WmcTestRule" class="net.sourceforge.pmd.lang.java.metrics.impl.WmcTestRule"
metrics="true"> metrics="true">
</rule> </rule>
<rule name="LocTest" <rule name="LocTest"
message = "''{0}'' has value {1}." message = "''{0}'' has value {1}."
class="net.sourceforge.pmd.lang.java.metrics.metrics.LocTestRule" class="net.sourceforge.pmd.lang.java.metrics.impl.LocTestRule"
metrics="true"> metrics="true">
</rule> </rule>