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. ApexUnitTestClassShouldHaveRunAsRule Apex unit tests should have System. AvoidGlobalModifierRule ApexAssertionsShouldIncludeMessageRule UnusedLocalVariableRule ApexUnitTestClassShouldHaveAssertsRule Apex unit tests should have System. AvoidLogicInTriggerRule