Debian Codegraph @

src/conf/pmd-exclude.properties

raw
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements. See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 # AvoidUsingOctalValues
17 # We use octal values from C ports and documentation
18 org.apache.commons.compress.archivers.cpio.CpioConstants = AvoidUsingOctalValues
19 org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream = AvoidUsingOctalValues
20 org.apache.commons.compress.archivers.dump.PERMISSION = AvoidUsingOctalValues
21 org.apache.commons.compress.archivers.dump.DumpArchiveEntry = AvoidUsingOctalValues
22 org.apache.commons.compress.archivers.tar.TarArchiveEntry = AvoidUsingOctalValues
23 org.apache.commons.compress.archivers.tar.TarConstants = AvoidUsingOctalValues
24 org.apache.commons.compress.archivers.zip.UnixStat = AvoidUsingOctalValues
25 org.apache.commons.compress.archivers.zip.ZipArchiveEntry = AvoidUsingOctalValues
26
27 # UselessParentheses
28 # False positives
29 org.apache.commons.compress.archivers.dump.TapeInputStream = UselessParentheses
30 org.apache.commons.compress.archivers.tar.TarUtils = UselessParentheses
31
32 # UnusedPrivateField
33 # TODO
34 org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader = UnusedPrivateField
35 org.apache.commons.compress.archivers.zip.ZipArchiveInputStream = UnusedPrivateField
36 org.apache.commons.compress.harmony.pack200.IntList = UnusedPrivateField
37 org.apache.commons.compress.harmony.unpack200.BcBands = UnusedPrivateField
38 org.apache.commons.compress.harmony.unpack200.SegmentHeader = UnusedPrivateField
39
40 # UnusedPrivateMethod
41 # False positives
42 org.apache.commons.compress.changes.ChangeSet = UnusedPrivateMethod
43
44 # UnusedFormalParameter
45 # Binary compatibility
46 org.apache.commons.compress.harmony.unpack200.bytecode.InnerClassesAttribute = UnusedFormalParameter
47
48 # JumbledIncrementer, AvoidBranchingStatementAsLastInLoop
49 # Ported from C
50 org.apache.commons.compress.compressors.bzip2.BlockSort = JumbledIncrementer, AvoidBranchingStatementAsLastInLoop
51
52 # TODO?
53 org.apache.commons.compress.archivers.zip.ZipArchiveInputStream = JumbledIncrementer
54
55 # OverrideBothEqualsAndHashcode
56 # TODO Needs review
57 org.apache.commons.compress.harmony.unpack200.AttributeLayout = OverrideBothEqualsAndHashcode
58 org.apache.commons.compress.harmony.unpack200.bytecode.AnnotationDefaultAttribute = OverrideBothEqualsAndHashcode
59 org.apache.commons.compress.harmony.unpack200.bytecode.CPInterfaceMethodRef = OverrideBothEqualsAndHashcode
60 org.apache.commons.compress.harmony.unpack200.bytecode.CPMethod = OverrideBothEqualsAndHashcode
61 org.apache.commons.compress.harmony.unpack200.bytecode.CPMethodRef = OverrideBothEqualsAndHashcode
62 org.apache.commons.compress.harmony.unpack200.bytecode.CPRef = OverrideBothEqualsAndHashcode
63 org.apache.commons.compress.harmony.unpack200.bytecode.CPString = OverrideBothEqualsAndHashcode
64 org.apache.commons.compress.harmony.unpack200.bytecode.LineNumberTableAttribute = OverrideBothEqualsAndHashcode