Package net.sourceforge.pmd.lang.apex.rule.bestpractices
See: Description
-
Class Summary Class Description 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. ApexAssertionsShouldIncludeMessageRule ApexUnitTestClassShouldHaveRunAsRule Apex unit tests should have System. AvoidLogicInTriggerRule AvoidGlobalModifierRule QueueableWithoutFinalizerRule Scans classes which implement the `Queueable` interface. ApexUnitTestClassShouldHaveAssertsRule Apex unit tests should have System. UnusedLocalVariableRule