Skip to content

Commit 259a093

Browse files
committed
Move query suite selector logic to security-and-quality-suite
1 parent f325f53 commit 259a093

File tree

1 file changed

+158
-2
lines changed

1 file changed

+158
-2
lines changed
Lines changed: 158 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,160 @@
11
- description: Security-and-quality queries for Java
22
- queries: .
3-
- apply: security-and-quality-selectors.yml
4-
from: codeql/suite-helpers
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
precision:
8+
- high
9+
- very-high
10+
- include:
11+
kind:
12+
- problem
13+
- path-problem
14+
precision: medium
15+
problem.severity:
16+
- error
17+
- warning
18+
- include:
19+
kind:
20+
- diagnostic
21+
- include:
22+
kind:
23+
- metric
24+
tags contain:
25+
- summary
26+
- exclude:
27+
deprecated: //
28+
- exclude:
29+
query path:
30+
- /^experimental\/.*/
31+
- Metrics/Summaries/FrameworkCoverage.ql
32+
- /Diagnostics/Internal/.*/
33+
- exclude:
34+
tags contain:
35+
- modeleditor
36+
- modelgenerator
37+
38+
39+
java/abs-of-random
40+
java/abstract-to-concrete-cast
41+
java/call-to-object-tostring
42+
java/call-to-thread-run
43+
java/chained-type-tests
44+
java/class-name-matches-super-class
45+
java/comparison-of-identical-expressions
46+
java/comparison-with-nan
47+
java/confusing-method-name
48+
java/confusing-method-signature
49+
java/constant-comparison
50+
java/constant-loop-condition
51+
java/constants-only-interface
52+
java/continue-in-false-loop
53+
java/contradictory-type-checks
54+
java/database-resource-leak
55+
java/deprecated-call
56+
java/dereferenced-expr-may-be-null
57+
java/dereferenced-value-is-always-null
58+
java/dereferenced-value-may-be-null
59+
java/empty-container
60+
java/empty-zip-file-entry
61+
java/equals-on-arrays
62+
java/equals-on-unrelated-types
63+
java/equals-typo
64+
java/evaluation-to-constant
65+
java/field-masks-super-field
66+
java/hashcode-typo
67+
java/hashing-without-hashcode
68+
java/ignored-error-status-of-call
69+
java/implicit-cast-in-compound-assignment
70+
java/inconsistent-compareto-and-equals
71+
java/inconsistent-equals-and-hashcode
72+
java/inconsistent-javadoc-throws
73+
java/inconsistent-sync-writeobject
74+
java/incorrect-serial-version-uid
75+
java/index-out-of-bounds
76+
java/ineffective-annotation-present-check
77+
java/inefficient-boxed-constructor
78+
java/inefficient-empty-string-test
79+
java/inefficient-key-set-iterator
80+
java/inefficient-output-stream
81+
java/inefficient-string-constructor
82+
java/input-resource-leak
83+
java/integer-multiplication-cast-to-long
84+
java/internal-representation-exposure
85+
java/iterable-wraps-iterator
86+
java/iterator-hasnext-calls-next
87+
java/iterator-implements-iterable
88+
java/iterator-remove-failure
89+
java/jdk-internal-api-access
90+
java/local-shadows-field
91+
java/local-variable-is-never-read
92+
java/lshift-larger-than-type-width
93+
java/misleading-indentation
94+
java/missing-call-to-super-clone
95+
java/missing-case-in-switch
96+
java/missing-clone-method
97+
java/missing-format-argument
98+
java/missing-no-arg-constructor-on-externalizable
99+
java/missing-no-arg-constructor-on-serializable
100+
java/missing-override-annotation
101+
java/missing-space-in-concatenation
102+
java/missing-super-finalize
103+
java/multiplication-of-remainder
104+
java/non-final-call-in-constructor
105+
java/non-null-boxed-variable
106+
java/non-overriding-package-private
107+
java/non-serializable-inner-class
108+
java/non-short-circuit-evaluation
109+
java/non-static-nested-class
110+
java/non-sync-override
111+
java/notify-instead-of-notify-all
112+
java/output-resource-leak
113+
java/print-array
114+
java/random-used-once
115+
java/redundant-assignment
116+
java/reference-equality-of-boxed-types
117+
java/reference-equality-on-strings
118+
java/run-finalizers-on-exit
119+
java/sleep-with-lock-held
120+
java/spin-on-field
121+
java/string-buffer-char-init
122+
java/subtle-inherited-call
123+
java/suspicious-date-format
124+
java/sync-on-boxed-types
125+
java/test-for-negative-container-size
126+
java/thread-start-in-constructor
127+
java/thread-unsafe-dateformat
128+
java/tostring-typo
129+
java/type-bound-extends-final
130+
java/type-mismatch-access
131+
java/type-mismatch-modification
132+
java/type-variable-hides-type
133+
java/uncaught-number-format-exception
134+
java/unchecked-cast-in-equals
135+
java/underscore-identifier
136+
java/unimplementable-interface
137+
java/unknown-javadoc-parameter
138+
java/unreachable-catch-clause
139+
java/unreleased-lock
140+
java/unsafe-double-checked-locking
141+
java/unsafe-double-checked-locking-init-order
142+
java/unsafe-get-resource
143+
java/unsafe-sync-on-field
144+
java/unsynchronized-getter
145+
java/unused-container
146+
java/unused-format-argument
147+
java/unused-label
148+
java/unused-parameter
149+
java/unused-reference-type
150+
java/useless-null-check
151+
java/useless-tostring-call
152+
java/useless-type-test
153+
java/wait-on-condition-interface
154+
java/whitespace-contradicts-precedence
155+
java/wrong-compareto-signature
156+
java/wrong-equals-signature
157+
java/wrong-junit-suite-signature
158+
java/wrong-object-serialization-signature
159+
java/wrong-readresolve-signature
160+
java/wrong-swing-event-adapter-signature

0 commit comments

Comments
 (0)