版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Parasoft Concerto TrainingPhase 7 Code Review2012The Phased Implementation PlanPhased implementation plan ensures success编辑编辑pptMore about ConcertoTOOLS PRESENTATION编辑编辑pptWhy do Code Review?Find defects earlyFind real functional problemsIncrease breadth of understandingLeads to increased productivi
2、ty编辑编辑pptMethods of Code ReviewCode Review “in a room”Wastes timeDevelopers are inhibitedUsing an automated infrastructureconsistent编辑编辑pptPutting it togetherThe next slides show how to do itPlanningSetting up tasksPerforming the workTwo methods for code reviewPre-commitPost-commitFirst phase of cod
3、e review should be pre-commit编辑编辑pptDetermining ReviewersWho reviews whomHow close are they in the code?Increase code understanding编辑编辑pptDeveloper 1Developer 2Developer 3Developer 4When to use pre-commitShouldnt be for normal experienced developersSetup policies to determine when to useNew develope
4、rsNew team membersSignificant code changesMore than 2-3 files for a single fix编辑编辑pptCode Review Workflow编辑编辑pptWhen is it enough?When everyone agreesPre-commit will hold up other development effortsBalance between full review and getting things done编辑编辑pptCode Review HistoryConcerto stores everythi
5、ngGreat for accountabilityWhat what you sayCONCERTO CR HISTORY DEMO编辑编辑pptReview Classifications编辑编辑pptReading the Review Graph编辑编辑pptReview Task ClassificationNew issues by severityReviewer classifiesNew issues by category编辑编辑pptReviewers Tasks编辑编辑pptReviews and code base编辑编辑pptWhat shouldnt you lo
6、ok atCode formation use static analysisBeautificationNaming conventions Some are related to functionality check thosePattern based should be checked in SA编辑编辑pptWhat should you look at?Metrics violationsThings not covered by static analysisFunctionalityExtend understanding of the code编辑编辑pptThings t
7、o look forMake sure source control comments are meaningfultask ID is in the review comments so you know what the change is related toTry to understand what theyre trying to doWhat is the logicHow does it fit the overall systemHow “clean” is the codeProper design patterns MOST IMPORTANTDoes each clas
8、s do one thingDoes each method do one thingAre methods named according to what they do?Naming should fit编辑编辑pptMore to look forRefactoringWhat is the general impact of the change being made?Do you know other areas the change will affect?Design patterns used are they appropriate?Other policies编辑编辑ppt
9、Reviewing code formattingNormally trust the SA tool to do thisNew developers doing pre-commit get extra scrutinyLegacy code is a challengeContested policies are a challengeThey dont belong in early adoption, or even later.As people used to doing SA and CodeReview it becomes easier to introduce such changes.编辑编辑pptPost-commit code reviewWho reviews whom is keyGuarantees that 100% of modified code is reviewed For experienced developersUse for smaller changes编辑编辑pptMonitoring the processUse the HealthCheck in PolicyCenter编辑编辑pptSetting H
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 胃溃疡合并出血护理指南
- 中小学教辅材料管理专项整治工作方案
- 2025汽车维护考试题及答案
- (完整版)外墙岩棉板保温施工方案
- 2025版妊娠糖尿病常见症状及护理指南探讨
- 2025版强直性脊柱炎常见症状及护理指南培训
- 2025版偏头痛常见症状及护理调理建议
- 餐饮激励奋战一线员工
- 经管类跨专业综合实训总结
- UI设计小图标设计规范与应用
- 中学X校园体育艺术科技节活动方案
- GB/T 25413-2010农田地膜残留量限值及测定
- GB/T 13315-1991锻钢冷轧工作辊超声波探伤方法
- 高等化工传递过程原理(研究生)全册配套完整课件3
- 尿素装置工艺流程介绍课件
- 美容院员工劳动合同书
- DB11-T 2006-2022 既有建筑加固改造工程勘察技术标准
- 囊袋皱缩综合征课件
- 儿童体格生长指标测量演示教学课件
- 软件运维服务合同
- ]非常规油气资源地球物理勘探技术发展现状及趋势-汪忠德
评论
0/150
提交评论