Uses of Interface
net.sourceforge.pmd.lang.apex.ast.ApexParserVisitor
-
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.ast
Classes in net.sourceforge.pmd.lang.apex.ast that implement ApexParserVisitor Modifier and Type Class Description class
ApexParserVisitorAdapter
Deprecated.Methods in net.sourceforge.pmd.lang.apex.ast with parameters of type ApexParserVisitor Modifier and Type Method Description default Object
ApexNode. jjtAccept(ApexParserVisitor visitor, Object data)
Deprecated. -
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule
Classes in net.sourceforge.pmd.lang.apex.rule that implement ApexParserVisitor Modifier and Type Class Description class
AbstractApexRule
class
AbstractApexUnitTestRule
Deprecated.Internal API -
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.bestpractices
Classes in net.sourceforge.pmd.lang.apex.rule.bestpractices that implement ApexParserVisitor Modifier and Type Class Description class
ApexAssertionsShouldIncludeMessageRule
class
ApexUnitTestClassShouldHaveAssertsRule
Apex unit tests should have System.assert methods in themclass
ApexUnitTestClassShouldHaveRunAsRule
Apex unit tests should have System.runAs methods in themclass
ApexUnitTestShouldNotUseSeeAllDataTrueRule
It's a very bad practice to use @isTest(seeAllData=true) in Apex unit tests, because it opens up the existing database data for unexpected modification by tests.class
AvoidGlobalModifierRule
class
AvoidLogicInTriggerRule
class
UnusedLocalVariableRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.codestyle
Classes in net.sourceforge.pmd.lang.apex.rule.codestyle that implement ApexParserVisitor Modifier and Type Class Description class
ClassNamingConventionsRule
class
FieldDeclarationsShouldBeAtStartRule
class
FieldNamingConventionsRule
class
FormalParameterNamingConventionsRule
class
LocalVariableNamingConventionsRule
class
MethodNamingConventionsRule
class
PropertyNamingConventionsRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.design
Classes in net.sourceforge.pmd.lang.apex.rule.design that implement ApexParserVisitor Modifier and Type Class Description class
AbstractNcssCountRule<T extends ApexNode<?>>
Deprecated.Internal APIclass
AvoidDeeplyNestedIfStmtsRule
class
CognitiveComplexityRule
class
CyclomaticComplexityRule
Cyclomatic complexity rule using metrics.class
ExcessiveClassLengthRule
This rule detects when a class exceeds a certain threshold.class
ExcessiveParameterListRule
This rule detects an abnormally long parameter list.class
ExcessivePublicCountRule
Rule attempts to count all public methods and public attributes defined in a class.class
NcssConstructorCountRule
Non-commented source statement counter for constructors.class
NcssMethodCountRule
Non-commented source statement counter for methods.class
NcssTypeCountRule
Non-commented source statement counter for type declarations.class
StdCyclomaticComplexityRule
Implements the standard cyclomatic complexity ruleclass
TooManyFieldsRule
class
UnusedMethodRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.documentation
Classes in net.sourceforge.pmd.lang.apex.rule.documentation that implement ApexParserVisitor Modifier and Type Class Description class
ApexDocRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.errorprone
Classes in net.sourceforge.pmd.lang.apex.rule.errorprone that implement ApexParserVisitor Modifier and Type Class Description class
ApexCSRFRule
Constructor and init method might contain DML, which constitutes a CSRF vulnerabilityclass
AvoidHardcodingIdRule
class
AvoidNonExistentAnnotationsRule
Apex supported non existent annotations for legacy reasons.class
InaccessibleAuraEnabledGetterRule
In the Summer '21 release, a mandatory security update enforces access modifiers on Apex properties in Lightning component markup.class
MethodWithSameNameAsEnclosingClassRule
class
OverrideBothEqualsAndHashcodeRule
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.internal
Classes in net.sourceforge.pmd.lang.apex.rule.internal with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw ApexParserVisitor Modifier and Type Class Description class
net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule<T extends ApexNode<?>>
Abstract class for rules counting some integer metric on some node.static class
net.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule.AbstractLineLengthCheckRule<T extends ApexNode<?>>
-
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.performance
Classes in net.sourceforge.pmd.lang.apex.rule.performance that implement ApexParserVisitor Modifier and Type Class Description class
AvoidDmlStatementsInLoopsRule
Deprecated.class
AvoidSoqlInLoopsRule
Deprecated.class
AvoidSoslInLoopsRule
Deprecated.class
OperationWithLimitsInLoopRule
Warn users when code that could trigger governor limits is executing within a looping construct. -
Uses of ApexParserVisitor in net.sourceforge.pmd.lang.apex.rule.security
Classes in net.sourceforge.pmd.lang.apex.rule.security that implement ApexParserVisitor Modifier and Type Class Description class
ApexBadCryptoRule
Finds encryption schemes using hardcoded IV, hardcoded keyclass
ApexCRUDViolationRule
Finding missed CRUD checks for SOQL and DML operations.class
ApexDangerousMethodsRule
Flags dangerous method calls, e.g.class
ApexInsecureEndpointRule
Insecure HTTP endpoints passed to (req.setEndpoint) req.setHeader('Authorization') should use named credentialsclass
ApexOpenRedirectRule
Looking for potential Open redirect via PageReference variable inputclass
ApexSharingViolationsRule
Finds Apex class that do not define sharingclass
ApexSOQLInjectionRule
Detects if variables in Database.query(variable) or Database.countQuery is escaped with String.escapeSingleQuotesclass
ApexSuggestUsingNamedCredRule
Flags usage of http request.setHeader('Authorization',..) and suggests using named credentials which helps store credentials for the callout in a safe place.class
ApexXSSFromEscapeFalseRule
Finds all .addError method calls that are not HTML escaped on purposeclass
ApexXSSFromURLParamRule
Detects potential XSS when controller extracts a variable from URL query and uses it without escaping first
-