Uses of Class
net.sourceforge.pmd.lang.apex.rule.AbstractApexRule
-
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule Modifier and Type Class Description class
AbstractApexUnitTestRule
Do special checks for apex unit test classes and methodsclass
AbstractStatisticalApexRule
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.bestpractices
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.bestpractices Modifier and Type Class Description class
ApexUnitTestClassShouldHaveAssertsRule
Apex unit tests should have System.assert 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
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.codestyle
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.codestyle Modifier and Type Class Description class
ClassNamingConventionsRule
class
MethodNamingConventionsRule
class
VariableNamingConventionsRule
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.design
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.design Modifier and Type Class Description class
AbstractNcssCountRule
Abstract superclass for NCSS counting methods.class
AvoidDeeplyNestedIfStmtsRule
class
CyclomaticComplexityRule
Cyclomatic complexity rule using metrics.class
ExcessiveClassLengthRule
This rule detects when a class exceeds a certain threshold. i.e. if a class has more than 1000 lines of code.class
ExcessiveLengthRule
class
ExcessiveNodeCountRule
This is a common super class for things which shouldn't have excessive nodes underneath.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
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.documentation
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.documentation Modifier and Type Class Description class
ApexDocRule
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.errorprone
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.errorprone Modifier and Type Class Description class
AvoidHardcodingIdRule
class
AvoidNonExistentAnnotationsRule
Apex supported non existent annotations for legacy reasons.class
MethodWithSameNameAsEnclosingClassRule
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.performance
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.performance Modifier and Type Class Description class
AvoidDmlStatementsInLoopsRule
class
AvoidSoqlInLoopsRule
class
AvoidSoslInLoopsRule
-
Uses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.security
Subclasses of AbstractApexRule in net.sourceforge.pmd.lang.apex.rule.security 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
ApexCSRFRule
Constructor and init method might contain DML, which constitutes a CSRF vulnerabilityclass
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) 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
-