0
30 April, 2009<br />Introduction to Code Reviewsby Mel Gerats<br />
Definitionhttp://en.wikipedia.org/wiki/Code_review<br />Code review is systematic examination (often as peer review) of co...
Why<br />30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />3<br />
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />4<br />Why<br />Improve quality of code<br />Share Kn...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />5<br />What?<br />Inspection<br />Team Review<br />Pa...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />6<br />Inspection, Team Review<br />Formal<br />Plann...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />7<br />Walkthrough<br />Author takes the lead<br />Le...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />8<br />Pair Programming<br />Lessformal<br />Share kn...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />9<br />Peer review<br />Informal<br />Asynchronous<br...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />10<br />Ad Hoc<br />Can you take a look at this?<br /...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />11<br />How<br />Peer reviews<br />Pair Programming<b...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />12<br />How: Review<br />Code, not the programmer<br ...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />13<br />How: Pair Programming<br />Short sessions<br ...
30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />14<br />Resources<br />IDesign Coding Standard<br />E...
15<br />Introduction to Code Reviews, by Mel Gerats<br />30 April, 2009<br />
Upcoming SlideShare
Loading in...5
×

Introduction to Code Reviews

1,397

Published on

Tips and best practices for conducting code reviews and pair programming.

Published in: Technology
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,397
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
80
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

Transcript of "Introduction to Code Reviews"

  1. 1. 30 April, 2009<br />Introduction to Code Reviewsby Mel Gerats<br />
  2. 2. Definitionhttp://en.wikipedia.org/wiki/Code_review<br />Code review is systematic examination (often as peer review) of computer source code intended to find and fix mistakes overlooked in the initial development phase, improving both the overall quality of software and the developers&apos; skills.<br />30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />2<br />
  3. 3. Why<br />30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />3<br />
  4. 4. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />4<br />Why<br />Improve quality of code<br />Share Knowledge<br />Check conformance<br />Verify completeness<br />Educate<br />Reach a consensus<br />Try other approaches<br />…<br />
  5. 5. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />5<br />What?<br />Inspection<br />Team Review<br />Pair programming<br />Walkthrough<br />Peer review<br />Ad hoc<br />
  6. 6. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />6<br />Inspection, Team Review<br />Formal<br />Planned, prepared<br />Clear roles (moderator, author, reviewers, note taker…)<br />Goal: find defects<br />
  7. 7. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />7<br />Walkthrough<br />Author takes the lead<br />Less detail<br />Higher level<br />Reviewers take notes<br />Goal: knowledge sharing, find defects<br />
  8. 8. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />8<br />Pair Programming<br />Lessformal<br />Share knowledge<br />Short sessions<br />1 task<br />Goal: Prevent defects, share knowledge<br />
  9. 9. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />9<br />Peer review<br />Informal<br />Asynchronous<br />One or more people<br />Find defects, improve quality<br />
  10. 10. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />10<br />Ad Hoc<br />Can you take a look at this?<br />Goal: second opinion<br />
  11. 11. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />11<br />How<br />Peer reviews<br />Pair Programming<br />Ad hoc<br />
  12. 12. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />12<br />How: Review<br />Code, not the programmer<br />Substance, not style<br />Constructive criticism<br />
  13. 13. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />13<br />How: Pair Programming<br />Short sessions<br />One problem at a time<br />Plan!<br />
  14. 14. 30 April, 2009<br />Introduction to Code Reviews, by Mel Gerats<br />14<br />Resources<br />IDesign Coding Standard<br />Effective Code Reviews Without the Pain<br />Pair ProgrammingonWikipedia<br />http://www.processimpact.com/pubs.shtml#pr<br />Seven Truths About Peer Reviews<br />Seven Deadly Sins of Software Reviews<br />When Two Eyes Aren’t Enough<br />http://stackoverflow.com/questions/tagged/code-review<br />http://en.wikipedia.org/wiki/Code_review<br />
  15. 15. 15<br />Introduction to Code Reviews, by Mel Gerats<br />30 April, 2009<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×