Java CheckList
Java CheckList
Center
Work product:
Date :
I - DEVIATION OBJECTIVE
#
I.1 DEVIATION
1.
Does the code correctly implement the design?
2.
Does the code implement more than the design?
3.
Is every parameter of every method passing mechanism (value or reference) appropriate?
4.
Does every method return the correct value at every method return point?
II OMISSION OBJECTIVE
#
II.1 OMISSION
5.
Does the code completely implement the design?
6.
Are there any requirements of design that were not implemented?
III - DEFECT OBJECTIVE
#
III.1 Variable and Constant Declaration
7.
Are descriptive variable and constant names used in accord with naming conventions?
8.
Is every variable correctly typed?
9.
Is every variable properly initialized?
10.
Are all for-loop control variables declared in the loop header?
11.
Are there variables that should be constants?
12.
Are there attributes that should be local variables?
13.
Do all attributes have appropriate access modifiers (private, protected, public)?
14.
Are there static attributes that should be non-static or vice-versa?
#
III.2 Method Definition
15.
Are descriptive method names used in accord with naming conventions?
16.
Do all methods have appropriate access modifiers (private, protected, public)?
17.
Is every method parameter value checked before being used?
18.
Are there static methods that should be non-static or vice-versa?
#
III.3 Class Definition
19.
Does each class have an appropriate constructor?
20.
Do any subclasses have common members that should be in the superclass?
21.
Can the class inheritance hierarchy be simplified?
#
III.4 Data Reference
22.
For every array reference: Is each subscript value within the defined bounds?
23.
For every object or array reference: Is the value certain to be non-null?
#
III.5 Computation/Numeric
24.
Are there any computations with mixed data types?
25.
Is overflow or underflow possible during a computation?
26.
For each expressions with more than one operator: Are the assumptions about order of evaluation
and precedence correct?
27.
Are parentheses used to avoid ambiguity?
28.
Does the code systematically prevent rounding errors?
29.
Does the code avoid additions and subtractions on numbers with greatly different magnitudes?
TMA Confidential
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Page 1 of 4
Quality
Management
System
TMA Confidential
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Page 2 of 4
Quality
Management
System
Yes No NA
70.
71.
72.
TMA Confidential
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Yes No NA
Page 3 of 4
Quality
Management
System
After changing of prototype of method, Have class which calls it considered yet?
VII.2 Data Base
Do Upgrading and Migration process follow up changing of structures or contents of a projects
data base?
TMA Confidential
Yes No NA
Page 4 of 4