FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
scribejava/pmd.xml at master · elileshem/scribejava · GitHub
elileshem
/
scribejava
Public
forked from
scribejava/scribejava
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
scribejava
/
pmd.xml
Copy path
More file actions
More file actions
Latest commit
History
History
History
127 lines (124 loc) · 8.11 KB
Breadcrumbs
scribejava
/
pmd.xml
Copy path
File metadata and controls
127 lines (124 loc) · 8.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?
xml
version
=
"
1.0
"
?>
<
ruleset
name
=
"
ScribeJava PMD ruleset
"
xmlns
=
"
http://pmd.sourceforge.net/ruleset/2.0.0
"
xmlns
:
xsi
=
"
http://www.w3.org/2001/XMLSchema-instance
"
xsi
:
schemaLocation
=
"
http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd
"
>
<
description
>
This ruleset defines the PMD rules for project "ScribeJava".
</
description
>
<
rule
ref
=
"
category/java/bestpractices.xml/AvoidPrintStackTrace
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/MissingOverride
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/OneDeclarationPerLine
"
>
<
properties
>
<
property
name
=
"
strictMode
"
>true</
property
>
</
properties
>
</
rule
>
<
rule
ref
=
"
category/java/bestpractices.xml/SwitchStmtsShouldHaveDefault
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/SystemPrintln
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/UnusedImports
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/UnusedLocalVariable
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/UseAssertNullInsteadOfAssertTrue
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/UseAssertSameInsteadOfAssertTrue
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/UseAssertTrueInsteadOfAssertEquals
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/UseCollectionIsEmpty
"
/>
<
rule
ref
=
"
category/java/bestpractices.xml/UseTryWithResources
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/AvoidDollarSigns
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/AvoidProtectedFieldInFinalClass
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/AvoidProtectedMethodInFinalClassNotExtending
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/BooleanGetMethodName
"
>
<
properties
>
<
property
name
=
"
checkParameterizedMethods
"
>true</
property
>
</
properties
>
</
rule
>
<
rule
ref
=
"
category/java/codestyle.xml/ControlStatementBraces
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/DontImportJavaLang
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/DuplicateImports
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/ExtendsObject
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/FieldNamingConventions
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/ForLoopShouldBeWhileLoop
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/FormalParameterNamingConventions
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/IdenticalCatchBranches
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/LocalVariableNamingConventions
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/MethodNamingConventions
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/NoPackage
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/PackageCase
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/UnnecessaryAnnotationValueElement
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/UnnecessaryConstructor
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/UnnecessaryFullyQualifiedName
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/UnnecessaryModifier
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/UnnecessaryReturn
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/UselessParentheses
"
/>
<
rule
ref
=
"
category/java/codestyle.xml/UselessQualifiedThis
"
/>
<
rule
ref
=
"
category/java/design.xml/AbstractClassWithoutAnyMethod
"
/>
<
rule
ref
=
"
category/java/design.xml/AvoidThrowingNewInstanceOfSameException
"
/>
<
rule
ref
=
"
category/java/design.xml/CollapsibleIfStatements
"
/>
<
rule
ref
=
"
category/java/design.xml/DoNotExtendJavaLangError
"
/>
<
rule
ref
=
"
category/java/design.xml/LogicInversion
"
/>
<
rule
ref
=
"
category/java/design.xml/SimplifiedTernary
"
/>
<
rule
ref
=
"
category/java/design.xml/SimplifyBooleanAssertion
"
/>
<
rule
ref
=
"
category/java/design.xml/SimplifyBooleanExpressions
"
/>
<
rule
ref
=
"
category/java/design.xml/SimplifyBooleanReturns
"
/>
<
rule
ref
=
"
category/java/design.xml/SimplifyConditional
"
/>
<
rule
ref
=
"
category/java/design.xml/UseUtilityClass
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/AvoidAssertAsIdentifier
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/AvoidBranchingStatementAsLastInLoop
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/AvoidCallingFinalize
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/AvoidEnumAsIdentifier
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/AvoidLosingExceptionInformation
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/AvoidMultipleUnaryOperators
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/BrokenNullCheck
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/ClassCastExceptionWithToArray
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/CloneMethodMustBePublic
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/CloneMethodMustImplementCloneable
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/CloneMethodReturnTypeMustMatchClassName
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/ConstructorCallsOverridableMethod
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/DoNotExtendJavaLangThrowable
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/DontImportSun
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyFinalizer
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyFinallyBlock
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyIfStmt
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyInitializer
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyStatementBlock
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyStatementNotInLoop
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptySwitchStatements
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyTryBlock
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EmptyWhileStmt
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/EqualsNull
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/FinalizeDoesNotCallSuperFinalize
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/FinalizeOnlyCallsSuperFinalize
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/FinalizeShouldBeProtected
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/IdempotentOperations
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/ImportFromSamePackage
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/InstantiationToGetClass
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/InvalidLogMessageFormat
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/MissingStaticMethodInNonInstantiatableClass
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/StringBufferInstantiationWithChar
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/UnconditionalIfStatement
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/UnnecessaryBooleanAssertion
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/UnnecessaryConversionTemporary
"
/>
<
rule
ref
=
"
category/java/errorprone.xml/UselessOperationOnImmutable
"
/>
<
rule
ref
=
"
category/java/multithreading.xml/DoubleCheckedLocking
"
/>
<
rule
ref
=
"
category/java/multithreading.xml/NonThreadSafeSingleton
"
/>
<
rule
ref
=
"
category/java/multithreading.xml/UnsynchronizedStaticFormatter
"
/>
<
rule
ref
=
"
category/java/performance.xml/AddEmptyString
"
/>
<
rule
ref
=
"
category/java/performance.xml/AppendCharacterWithChar
"
/>
<
rule
ref
=
"
category/java/performance.xml/AvoidArrayLoops
"
/>
<
rule
ref
=
"
category/java/performance.xml/BigIntegerInstantiation
"
/>
<
rule
ref
=
"
category/java/performance.xml/BooleanInstantiation
"
/>
<
rule
ref
=
"
category/java/performance.xml/ByteInstantiation
"
/>
<
rule
ref
=
"
category/java/performance.xml/ConsecutiveAppendsShouldReuse
"
/>
<
rule
ref
=
"
category/java/performance.xml/ConsecutiveLiteralAppends
"
/>
<
rule
ref
=
"
category/java/performance.xml/InefficientEmptyStringCheck
"
/>
<
rule
ref
=
"
category/java/performance.xml/IntegerInstantiation
"
/>
<
rule
ref
=
"
category/java/performance.xml/LongInstantiation
"
/>
<
rule
ref
=
"
category/java/performance.xml/OptimizableToArrayCall
"
/>
<
rule
ref
=
"
category/java/performance.xml/RedundantFieldInitializer
"
/>
<
rule
ref
=
"
category/java/performance.xml/ShortInstantiation
"
/>
<
rule
ref
=
"
category/java/performance.xml/StringInstantiation
"
/>
<
rule
ref
=
"
category/java/performance.xml/StringToString
"
/>
<
rule
ref
=
"
category/java/performance.xml/UnnecessaryWrapperObjectCreation
"
/>
<
rule
ref
=
"
category/java/performance.xml/UseIndexOfChar
"
/>
<
rule
ref
=
"
category/java/performance.xml/UseStringBufferLength
"
/>
<
rule
ref
=
"
category/java/security.xml/HardCodedCryptoKey
"
/>
<
rule
ref
=
"
category/java/security.xml/InsecureCryptoIv
"
/>
</
ruleset
>
Back
|
FazBrowse Home
|
New Git URL