Package net.sourceforge.pmd.lang.apex.rule.bestpractices
-
Class Summary Class Description ApexAssertionsShouldIncludeMessageRule ApexUnitTestClassShouldHaveAssertsRule Apex unit tests should have System.assert methods in themApexUnitTestMethodShouldHaveIsTestAnnotationRule 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.AvoidGlobalModifierRule AvoidLogicInTriggerRule UnusedLocalVariableRule