站长之家排名查询:代码走查和审查的区别?

来源:百度文库 编辑:高考问答 时间:2024/04/28 00:49:40
这次的软设题目。。感觉具变态,搜了一下网上,也找不到满意的答案,所以,请教高手了!

有以下三个区别:
  代码走查(code walkthrough)和代码审查(code inspection)是两种不同的代码评审方法,代码审查是一种正式的评审活动,而代码走查的讨论过程是非正式的。
  代码审查列出问题的类型,并有解决情况报告。
  一般情况代码走查有专门的工具比如:emma,该工具使用与大型项目,为开源的,代码走查完毕之后需要对结论给出一个代码走查报告。

Workthroughs:
Typically, 4-6 individuals in a SQA team. For example, for a specification walkthrough:
1.representative from spec. team
2.manager from spec. team
3.rep. of client
4.rep. of “next” phase in the lifecycle (design)
5.rep. of SQA group, and chairman.

inspections
use checklists of potential faults
E.g. in a design document:
􀂄each item in the spec. should be in design
􀂄 interfaces should be checked
􀂄 error handling
􀂄 hardware resources for the design need to be checked

workthroughs VS inspections
1.inspections are more formal
2.inspections involve checklists and statistics
3.inspections involve fault and resolution documentation