没有合适的资源?快使用搜索试试~ 我知道了~
Java Code review checklist.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 129 浏览量
2022-06-09
11:19:48
上传
评论
收藏 209KB DOC 举报
温馨提示
试读
4页
Java Code review checklist
资源推荐
资源详情
资源评论
SW-DI-005-06 –Java Checklist
TMA Training
Center
Code Review Check List
For Java Language
Project ID: Work product:
Checked By: Date :
Note:
I - DEVIATION OBJECTIVE
# I.1 – DEVIATION Yes No NA
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
Yes No NA
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 Yes No NA
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
Yes No NA
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 Yes No NA
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 Yes No NA
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
Yes No NA
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?
30.
Are divisors tested for zero or noise?
TMA Confidential TMA Solution, 2004 Page 1 of 4
资源评论
- heck9992023-08-01资源很赞,希望多一些这类资源。
- gongxuegang2022-07-01资源内容详细,总结地很全面,与描述的内容一致,对我启发很大,学习了。
oligaga
- 粉丝: 50
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于c++的个人收支管理系统设计
- docker一键安装包
- Screenshot_20240430_144340_com.ss.android.ugc.live.jpg
- 回到山沟沟.mp3
- 基于matlab实现自适应波束形成RLS及LMS算法仿真源程序1.rar
- 基于matlab实现自己编写的基于卡尔曼滤波的利用加速度传感器的计步器,测试数据是传感器放在腰部和手臂 .rar
- 基于matlab实现阵列信号处理,波束形成.rar
- 111111111111111111
- 基于matlab实现计步器编程;对当前的计步器装置的数值算法模拟 .rar
- Mdb学习查看PW;access;mdb;pw;password;patch
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功