CodeReview(代码评审)评审项目组针对代码培训的资料总结。WhatisCodeReview(什么是代码评审)Codereviewissystematicexamination(oftenaspeerreview)putersourcecodeintendedtofindandfixmistakesoverlookedintheinitialdevelopmentphase,improvingboththeoverallqualityofsoftwareandthedevelopers’,通过对源代码进行系统性检查的过程。通常的目的是查找系统缺陷,保证软件总体质量和提高开发者自身水平。WhywedoCodeReview(为什么进行代码评审)提高质量及早发现潜在缺陷与BUG,降低事故成本。促进团队内部知识共享,提高团队整体水平评审过程对于评审人员来说,也是一种思路重构的过程。帮助更多的人理解系统。……TypesofCodeReview(代码评审的几种类型)Codereviewpracticesfallintotwomaincategories:,(正式代码评审)Faganinspection(著名的范根检查法):Faganinspectionreferstoastructuredprocessoftryingtofinddefectsindevelopmentdocumentssuchasprogrammingcode,specifications,,结构化的软件评审方式,它针对的对象包含了软件开发生命周期中的需求说明、系统设计、测试样例以及程序代码等大部分输出物。RolesAuthor/Designer/Coder:作者Reader:paraphrasesthedocument(阅读者)Tester:reviewsthedocumentfromatestingstandpoint(评审员)Moderator:responsiblefortheinspectionsession,functionsasacoach(协调人)Recorder:recorddetects.(记录员)FlowLightweightCodeReview(轻量级代码评审)Lightweightcodereviewtypicallyrequireslessoverheadthanformalcodeinspections,
代码评审文档总结CodeReview 来自淘豆网www.taodocs.com转载请标明出处.