| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<!DOCTYPE suppressions PUBLIC |
| 4 |
"-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> |
| 5 |
|
| 6 |
<suppressions> |
| 7 |
<!-- Suppress duplicate checking of copyright notice --> |
| 8 |
<suppress checks="StrictDuplicateCode" files=".java" lines="1-15"/> |
| 9 |
<!--Have some duplication until we get rid of Old Lru--> |
| 10 |
<suppress checks="StrictDuplicateCode" files="LruMemoryStore.java" /> |
| 11 |
<suppress checks="StrictDuplicateCode" files="MemoryStore.java" /> |
| 12 |
<suppress checks="StrictDuplicateCode" files="NoOpOnTimeoutStore.java" /> |
| 13 |
|
| 14 |
<suppress checks="StrictDuplicateCode" files="ReadOnlyEhcacheEntityRegionAccessStrategy"/> |
| 15 |
<suppress checks="StrictDuplicateCode" files="ReadOnlyEhcacheCollectionRegionAccessStrategy.java"/> |
| 16 |
<suppress checks="StrictDuplicateCode" files="TransactionalEhcacheCollectionRegionAccessStrategy.java"/> |
| 17 |
<suppress checks="StrictDuplicateCode" files="TransactionalEhcacheEntityRegionAccessStrategy.java"/> |
| 18 |
<suppress checks="StrictDuplicateCode" files="NonStrictReadWriteEhcacheEntityRegionAccessStrategy.java"/> |
| 19 |
<suppress checks="StrictDuplicateCode" files="NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.java"/> |
| 20 |
<suppress checks="StrictDuplicateCode" files="HibernateStats.java"/> |
| 21 |
<suppress checks="StrictDuplicateCode" files="EhcacheStats.java"/> |
| 22 |
|
| 23 |
<!-- the DynamicMBean interface defines the exception set here --> |
| 24 |
<suppress checks="ThrowsCount" files="Store.java"/> |
| 25 |
|
| 26 |
<!-- Candidates for refactoring. Cyclomatic complexity is blown out mostly |
| 27 |
because of the LOG guards (if (LOG.isDebugEnabled) { ...) which are there for |
| 28 |
runtime performance.--> |
| 29 |
<suppress checks="CyclomaticComplexity" files="Cache.java"/> |
| 30 |
<suppress checks="CyclomaticComplexity" files="Segment.java"/> |
| 31 |
<suppress checks="CyclomaticComplexity" files="CacheManager.java"/> |
| 32 |
<suppress checks="CyclomaticComplexity" files="NonstopExecutorServiceImpl.java"/> |
| 33 |
<suppress checks="FileLength" files="CacheManager.java"/> |
| 34 |
<suppress checks="NPathComplexity" files="Cache.java"/> |
| 35 |
<suppress checks="NPathComplexity" files="CacheManager.java"/> |
| 36 |
<suppress checks="ClassDataAbstractionCoupling" files="CacheManager.java"/> |
| 37 |
<suppress checks="ClassDataAbstractionCoupling" files="DiskStore.java"/> |
| 38 |
<suppress checks="ClassDataAbstractionCoupling" files="Cache.java"/> |
| 39 |
<suppress checks="ClassFanOutComplexity" files="DiskStore.java"/> |
| 40 |
<suppress checks="FileLength" files="DiskStore.java"/> |
| 41 |
<suppress checks="FileLength" files="CacheConfiguration.java"/> |
| 42 |
<suppress checks="FileLength" files="CacheSamplerImpl.java"/> |
| 43 |
<suppress checks="ClassFanOutComplexity" files="Cache.java"/> |
| 44 |
<suppress checks="ClassFanOutComplexity" files="CacheManager.java"/> |
| 45 |
<suppress checks="ParameterNumber" files="Cache.java"/> |
| 46 |
<suppress checks="FileLength" files="Cache.java"/> |
| 47 |
<suppress checks="ExecutableStatementCount" files="Cache.java"/> |
| 48 |
<suppress checks="AnonInnerLengthCheck" files="Cache.java"/> |
| 49 |
<suppress checks="ParameterNumber" files="Statistics.java"/> |
| 50 |
<suppress checks="CyclomaticComplexity" files="WriteBehindQueue.java"/> |
| 51 |
<suppress checks="NPathComplexity" files="WriteBehindQueue.java"/> |
| 52 |
<suppress checks="CyclomaticComplexity" files="CacheWriterConfiguration.java"/> |
| 53 |
<suppress checks="NPathComplexity" files="CacheWriterConfiguration.java"/> |
| 54 |
<suppress checks="CyclomaticComplexity" files="FactoryConfiguration.java"/> |
| 55 |
<suppress checks="NPathComplexity" files="FactoryConfiguration.java"/> |
| 56 |
<suppress checks="NPathComplexity" files="ConfigurationElement.java"/> |
| 57 |
<suppress checks="FinalClass" files="TerracottaClusteredInstanceHelper.java"/> |
| 58 |
<suppress checks="UnusedImports" files="Ehcache.java"/> |
| 59 |
<suppress checks="CyclomaticComplexity" files="BaseQueryInterpreter.java"/> |
| 60 |
<suppress checks="ReturnCount" files="BaseQueryInterpreter.java"/> |
| 61 |
|
| 62 |
<suppress checks="DeclarationOrder" files="TimeoutBehaviorConfiguration.java"/> |
| 63 |
<suppress checks="DeclarationOrder" files="TerracottaClusteredInstanceHelper.java"/> |
| 64 |
|
| 65 |
<suppress checks="StrictDuplicateCode" files="NonstopAwareEntityRegionAccessStrategy.java" /> |
| 66 |
<suppress checks="StrictDuplicateCode" files="NonstopAwareCollectionRegionAccessStrategy.java" /> |
| 67 |
|
| 68 |
<suppress checks="MagicNumber" files="JvmInformation.java" /> |
| 69 |
<suppress checks="IllegalImport" files="UnsafeSizeOf.java" /> |
| 70 |
<suppress checks="MutableExceptionCheck" files="MaxDepthExceededException.java"/> |
| 71 |
<suppress checks="BooleanExpressionComplexity" files="DiskStorePathManager.java"/> |
| 72 |
|
| 73 |
<!-- Candidates for refactoring --> |
| 74 |
<suppress checks="CyclomaticComplexity" files="ObjectGraphWalker.java"/> |
| 75 |
<suppress checks="NPathComplexity" files="ObjectGraphWalker.java"/> |
| 76 |
<suppress checks="CyclomaticComplexity" files="LocalTransactionStore.java"/> |
| 77 |
<suppress checks="NPathComplexity" files="LocalTransactionStore.java"/> |
| 78 |
<suppress checks="NestedIfDepth" files="LocalTransactionStore.java"/> |
| 79 |
<suppress checks="NPathComplexity" files="MemoryOnlyStore.java"/> |
| 80 |
<suppress checks="CyclomaticComplexity" files="MemoryOnlyStore.java"/> |
| 81 |
<suppress checks="CyclomaticComplexity" files="AbstractTransactionStore.java"/> |
| 82 |
<suppress checks="NPathComplexity" files="EhcacheXAResourceImpl.java"/> |
| 83 |
<suppress checks="CyclomaticComplexity" files="EhcacheXAResourceImpl.java"/> |
| 84 |
<suppress checks="ExecutableStatementCount" files="SampledCacheStatisticsImpl.java"/> |
| 85 |
<suppress checks="NPathComplexity" files="ReflectionSizeOf.java"/> |
| 86 |
<suppress checks="CyclomaticComplexity" files="ReflectionSizeOf.java"/> |
| 87 |
<suppress checks="ClassDataAbstractionCoupling" files="DiskStorageFactory.java"/> |
| 88 |
<suppress checks="ClassFanOutComplexity" files="DiskStorageFactory.java"/> |
| 89 |
<suppress checks="ExecutableStatementCount" files="DiskStorageFactory.java"/> |
| 90 |
|
| 91 |
<!-- Configuration schema is complex enough that the bean approach blows out the complexity metrics --> |
| 92 |
<suppress checks="ClassFanOutComplexity" files="CacheConfiguration.java"/> |
| 93 |
<suppress checks="CyclomaticComplexity" files="CacheConfiguration.java"/> |
| 94 |
|
| 95 |
<!-- A candidate, maybe... if you know what you do --> |
| 96 |
<suppress checks="NestedIfDepth" files="SlewClock.java"/> |
| 97 |
|
| 98 |
<!-- Contributed code --> |
| 99 |
<suppress checks="" files="ConcurrentHashMap.java"/> |
| 100 |
<suppress checks="" files="VicariousThreadLocal.java"/> |
| 101 |
|
| 102 |
<!-- Contains a thread therefore cannot. --> |
| 103 |
<suppress checks="SuperClone" files="RMIBootstrapCacheLoader.java"/> |
| 104 |
|
| 105 |
<suppress checks="SuperClone" files="ClassLoaderAwareCache.java"/> |
| 106 |
</suppressions> |