Code Inspection in Software Development

  What did you do when you have finished coding in software development?
     Testing ? Yes. that was really what most of us did after coding.
     Wait a minute, there may be something worthy of your effort before testing the code you written.

    That is , in briefly, CODE INSPECTION.

so what is code inspection?

      code inspection, in literraly, means inspect your code carefully even before testing your code. It has been proved that best inspections would yield stunning results. Data from many IT service providers such as IBM, AT&T and HP show that  code inspection imporves software quality significantly. (refer to Ganssle’s website for more information) 

How TO

    Now you may wonder how to put the code inspection into practice.Follow me step by step

step one: the inspection team

A well organized inpsection team do help in the process of code inpsection. Normally, there exist four roles: Moderator, Reader, Recoder, and Author of the code.
    Moderator, who must be competent technically, leads the process of code inspection. Note that the project manager may not be a good choice to act as a moderator, for the author of the code is unwilling to show his senior the defects of the code.
     Reader extracts the meaning of code, and try his best to find bugs and defects in the code.
     Recoder fills checklist for code inspection to record defects found.
     Author’s role is to illuminate the unclear code and understand bugs found.

Step Two: Process of Code Inspection

     Planning: The moderator makes a plan for the inspection and distributes “to do” lists to the member of the inspection team.
     Preparation: In the case where members in the inspection team are not familar with project, the author must provide backgroud to them. Also, members in the team must have a basic knowledge on the project.
     Meeting: each of members in the team play his role as he is.

Step Three: Rework

     After the inspection meeting, we fill out checklist that record defects found. It is time for the author correct them and send the code again to the moderator. After check by the moderator, the test for the code begins.

 

更多信息参考:www.info-life.cn 或 http://www.info-life.cn/?p=39 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值