Documente Academic
Documente Profesional
Documente Cultură
Transport No:
7. Are the data types and declarations (size, position etc.) proper?
Are all the variables initialized before they are used? Are all the
pointers initialized properly?
8.
a) Are the variables fully declared?
b) Is keyword Constant used for non modifiable declarations?
Are the error conditions handled appropriately? If related to
9.
eGFS, is the return structure properly populated?
Code Review Checklist Wipro Technologies
4/28/2020
Page 1 of 6
Review Checklist
Sl# Checklist Item Yes / Actions to be
No / NA taken/ Remarks
Are the error messages prompts and understandable? Is
translation required?
a) Are ‘divide by zero’ errors checked, by checking value of the
divisor to be nonzero before each division
10. b) Are size errors being checked, by ensuring that the sizes of
variables used for storing totals and additions are large
enough to hold anticipated maximum values
c) Is SY-SUBRC checked after CALL, OPEN, READ, and SQL
statements
Has it been ensured that there are no unreachable portions in
11.
the code?
Are assertions used wherever data is expected to have a valid
12.
value or range?
13. Are errors properly handled each time a function returns?
14. Have all the unwanted debug messages been removed from
Code?
a) Are all the active break points removed from the code
15. Is the code free of unintended infinite loops?
19. Does the bug fix correct all the occurrences of a bug?
51.
Have the user default settings been taken into account while
55.
posting numeric values and dates through BDC
Does the program check for the emptiness of the file and hence
56.
terminate without proceeding further?
Have following been removed :
a) Unused variables
b) Unused text elements
57.
c) Unused tables from TABLES statement
d) Commented out parts of the code
e) Code segments which do nothing
Code Alignment, Spacing and Formatting :
a) Are ‘=’ and ‘TO’ aligned
b) Are ‘TYPE’ and ‘VALUE’ in variable declarations aligned
c) Are Internal Comments aligned
d) Are logically different Coding Blocks separated by blank
58. lines
e) Is each variable and function coded on a separate line for
MOVE and CALL statements
f) Is the format for SQL statements correct
g) Are ‘ENDIF’, ‘ENDLOOP’, ‘ENDAT’ etc. commented (if
necessary) to indicate the IF, LOOP etc. they belong to
Code Review Checklist Wipro Technologies
4/28/2020
Page 4 of 6
Review Checklist
Has the delete where clause been used instead of delete
59.
statement inside a LOOP-ENDLOOP
In case of SMARTFORM have all SELECT statements are
60.
coded in the INITIALIZATION block
Does the program comply with requirements of the Workbench
61.
Organizer
Forms and Modules :
62. a) Are names of the forms and modules self explanatory
b) Are Forms and Modules ordered