rulesets.concurrency.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CodeNarc Show documentation
Show all versions of CodeNarc Show documentation
The CodeNarc project provides a static analysis tool for Groovy code.
<ruleset xmlns="http://codenarc.org/ruleset/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd" xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd"> <description> Concurrency rule set. These rules check for unsafe or unrecommended practices related to concurrency. </description> <rule class='org.codenarc.rule.concurrency.BusyWaitRule'/> <rule class='org.codenarc.rule.concurrency.DoubleCheckedLockingRule'/> <rule class='org.codenarc.rule.concurrency.InconsistentPropertyLockingRule'/> <rule class='org.codenarc.rule.concurrency.InconsistentPropertySynchronizationRule'/> <rule class='org.codenarc.rule.concurrency.NestedSynchronizationRule'/> <rule class='org.codenarc.rule.concurrency.StaticCalendarFieldRule'/> <rule class='org.codenarc.rule.concurrency.StaticConnectionRule'/> <rule class='org.codenarc.rule.concurrency.StaticDateFormatFieldRule'/> <rule class='org.codenarc.rule.concurrency.StaticMatcherFieldRule'/> <rule class='org.codenarc.rule.concurrency.StaticSimpleDateFormatFieldRule'/> <rule class='org.codenarc.rule.concurrency.SynchronizedOnBoxedPrimitiveRule'/> <rule class='org.codenarc.rule.concurrency.SynchronizedMethodRule'/> <rule class='org.codenarc.rule.concurrency.SynchronizedOnThisRule'/> <rule class='org.codenarc.rule.concurrency.SynchronizedOnGetClassRule'/> <rule class='org.codenarc.rule.concurrency.SynchronizedOnReentrantLockRule'/> <rule class='org.codenarc.rule.concurrency.SynchronizedOnStringRule'/> <rule class='org.codenarc.rule.concurrency.SynchronizedReadObjectMethodRule'/> <rule class='org.codenarc.rule.concurrency.SystemRunFinalizersOnExitRule'/> <rule class='org.codenarc.rule.concurrency.ThisReferenceEscapesConstructorRule'/> <rule class='org.codenarc.rule.concurrency.ThreadGroupRule'/> <rule class='org.codenarc.rule.concurrency.ThreadLocalNotStaticFinalRule'/> <rule class='org.codenarc.rule.concurrency.ThreadYieldRule'/> <rule class='org.codenarc.rule.concurrency.UseOfNotifyMethodRule'/> <rule class='org.codenarc.rule.concurrency.VolatileArrayFieldRule'/> <rule class='org.codenarc.rule.concurrency.VolatileLongOrDoubleFieldRule'/> <rule class='org.codenarc.rule.concurrency.WaitOutsideOfWhileLoopRule'/> </ruleset>