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 classApexParserVisitorAdapterDeprecated.Methods in net.sourceforge.pmd.lang.apex.ast with parameters of type ApexParserVisitor Modifier and Type Method Description default ObjectApexNode. 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 classAbstractApexRuleclassAbstractApexUnitTestRuleDeprecated.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 classApexAssertionsShouldIncludeMessageRuleclassApexUnitTestClassShouldHaveAssertsRuleApex unit tests should have System.assert methods in themclassApexUnitTestClassShouldHaveRunAsRuleApex unit tests should have System.runAs methods in themclassApexUnitTestShouldNotUseSeeAllDataTrueRuleIt'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.classAvoidGlobalModifierRuleclassAvoidLogicInTriggerRuleclassUnusedLocalVariableRule -
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 classClassNamingConventionsRuleclassFieldDeclarationsShouldBeAtStartRuleclassFieldNamingConventionsRuleclassFormalParameterNamingConventionsRuleclassLocalVariableNamingConventionsRuleclassMethodNamingConventionsRuleclassPropertyNamingConventionsRule -
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 classAbstractNcssCountRule<T extends ApexNode<?>>Deprecated.Internal APIclassAvoidDeeplyNestedIfStmtsRuleclassCognitiveComplexityRuleclassCyclomaticComplexityRuleCyclomatic complexity rule using metrics.classExcessiveClassLengthRuleThis rule detects when a class exceeds a certain threshold.classExcessiveParameterListRuleThis rule detects an abnormally long parameter list.classExcessivePublicCountRuleRule attempts to count all public methods and public attributes defined in a class.classNcssConstructorCountRuleNon-commented source statement counter for constructors.classNcssMethodCountRuleNon-commented source statement counter for methods.classNcssTypeCountRuleNon-commented source statement counter for type declarations.classStdCyclomaticComplexityRuleImplements the standard cyclomatic complexity ruleclassTooManyFieldsRuleclassUnusedMethodRule -
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 classApexDocRule -
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 classApexCSRFRuleConstructor and init method might contain DML, which constitutes a CSRF vulnerabilityclassAvoidHardcodingIdRuleclassAvoidNonExistentAnnotationsRuleApex supported non existent annotations for legacy reasons.classInaccessibleAuraEnabledGetterRuleIn the Summer '21 release, a mandatory security update enforces access modifiers on Apex properties in Lightning component markup.classMethodWithSameNameAsEnclosingClassRuleclassOverrideBothEqualsAndHashcodeRule -
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 classnet.sourceforge.pmd.lang.apex.rule.internal.AbstractCounterCheckRule<T extends ApexNode<?>>Abstract class for rules counting some integer metric on some node.static classnet.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 classAvoidDmlStatementsInLoopsRuleDeprecated.classAvoidSoqlInLoopsRuleDeprecated.classAvoidSoslInLoopsRuleDeprecated.classOperationWithLimitsInLoopRuleWarn 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 classApexBadCryptoRuleFinds encryption schemes using hardcoded IV, hardcoded keyclassApexCRUDViolationRuleFinding missed CRUD checks for SOQL and DML operations.classApexDangerousMethodsRuleFlags dangerous method calls, e.g.classApexInsecureEndpointRuleInsecure HTTP endpoints passed to (req.setEndpoint) req.setHeader('Authorization') should use named credentialsclassApexOpenRedirectRuleLooking for potential Open redirect via PageReference variable inputclassApexSharingViolationsRuleFinds Apex class that do not define sharingclassApexSOQLInjectionRuleDetects if variables in Database.query(variable) or Database.countQuery is escaped with String.escapeSingleQuotesclassApexSuggestUsingNamedCredRuleFlags usage of http request.setHeader('Authorization',..) and suggests using named credentials which helps store credentials for the callout in a safe place.classApexXSSFromEscapeFalseRuleFinds all .addError method calls that are not HTML escaped on purposeclassApexXSSFromURLParamRuleDetects potential XSS when controller extracts a variable from URL query and uses it without escaping first
-