SlideShare una empresa de Scribd logo
1 de 15
30 April, 2009 Introduction to Code Reviewsby Mel Gerats
Definitionhttp://en.wikipedia.org/wiki/Code_review 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' skills. 30 April, 2009 Introduction to Code Reviews, by Mel Gerats 2
Why 30 April, 2009 Introduction to Code Reviews, by Mel Gerats 3
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 4 Why Improve quality of code Share Knowledge Check conformance Verify completeness Educate Reach a consensus Try other approaches …
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 5 What? Inspection Team Review Pair programming Walkthrough Peer review Ad hoc
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 6 Inspection, Team Review Formal Planned, prepared Clear roles (moderator, author, reviewers, note taker…) Goal: find defects
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 7 Walkthrough Author takes the lead Less detail Higher level Reviewers take notes Goal: knowledge sharing, find defects
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 8 Pair Programming Lessformal Share knowledge Short sessions 1 task Goal: Prevent defects, share knowledge
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 9 Peer review Informal Asynchronous One or more people Find defects, improve quality
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 10 Ad Hoc Can you take a look at this? Goal: second opinion
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 11 How Peer reviews Pair Programming Ad hoc
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 12 How: Review Code, not the programmer Substance, not style Constructive criticism
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 13 How: Pair Programming Short sessions One problem at a time Plan!
30 April, 2009 Introduction to Code Reviews, by Mel Gerats 14 Resources IDesign Coding Standard Effective Code Reviews Without the Pain Pair ProgrammingonWikipedia http://www.processimpact.com/pubs.shtml#pr Seven Truths About Peer Reviews Seven Deadly Sins of Software Reviews When Two Eyes Aren’t Enough http://stackoverflow.com/questions/tagged/code-review http://en.wikipedia.org/wiki/Code_review
15 Introduction to Code Reviews, by Mel Gerats 30 April, 2009

Más contenido relacionado

Destacado

Sistemas Operativos
Sistemas OperativosSistemas Operativos
Sistemas Operativos
Xavier
 
Plaquemines Parish
Plaquemines ParishPlaquemines Parish
Plaquemines Parish
Paul Melton
 
Permanent Magnet Nanoflakes Iasi
Permanent Magnet Nanoflakes IasiPermanent Magnet Nanoflakes Iasi
Permanent Magnet Nanoflakes Iasi
jinfangliu
 
Guia De Aprendizaje CECYTEZ
Guia De Aprendizaje CECYTEZGuia De Aprendizaje CECYTEZ
Guia De Aprendizaje CECYTEZ
moniki
 
CV Channel - How It Works
CV Channel - How It WorksCV Channel - How It Works
CV Channel - How It Works
richardtricker
 

Destacado (16)

Istant report Open Spece Technology "Facciamo il Macello"
Istant report Open Spece Technology "Facciamo il Macello"Istant report Open Spece Technology "Facciamo il Macello"
Istant report Open Spece Technology "Facciamo il Macello"
 
Understanding How We Learn by Steve Dunn
Understanding How We Learn by Steve DunnUnderstanding How We Learn by Steve Dunn
Understanding How We Learn by Steve Dunn
 
Sistemas Operativos
Sistemas OperativosSistemas Operativos
Sistemas Operativos
 
Morin
MorinMorin
Morin
 
Plaquemines Parish
Plaquemines ParishPlaquemines Parish
Plaquemines Parish
 
Report Incontri Ravvicinati 2011
Report Incontri Ravvicinati 2011Report Incontri Ravvicinati 2011
Report Incontri Ravvicinati 2011
 
MTech14: Targeting Audiences with Direct Response Campaigns on Mobile - Ted M...
MTech14: Targeting Audiences with Direct Response Campaigns on Mobile - Ted M...MTech14: Targeting Audiences with Direct Response Campaigns on Mobile - Ted M...
MTech14: Targeting Audiences with Direct Response Campaigns on Mobile - Ted M...
 
009 from concept to product, judy chambers
009   from concept to product, judy chambers009   from concept to product, judy chambers
009 from concept to product, judy chambers
 
Дмитрий Калаев – Три реальных провала при создании ИТ-бизнеса
Дмитрий Калаев – Три реальных провала при создании ИТ-бизнесаДмитрий Калаев – Три реальных провала при создании ИТ-бизнеса
Дмитрий Калаев – Три реальных провала при создании ИТ-бизнеса
 
NEDMAInno14: Innovations in Tracking Your Mail- Kerry Hannify
NEDMAInno14: Innovations in Tracking Your Mail- Kerry HannifyNEDMAInno14: Innovations in Tracking Your Mail- Kerry Hannify
NEDMAInno14: Innovations in Tracking Your Mail- Kerry Hannify
 
Permanent Magnet Nanoflakes Iasi
Permanent Magnet Nanoflakes IasiPermanent Magnet Nanoflakes Iasi
Permanent Magnet Nanoflakes Iasi
 
ASL BT Registro Tumori 2014 - Versione divulgativa
ASL BT Registro Tumori 2014 - Versione divulgativaASL BT Registro Tumori 2014 - Versione divulgativa
ASL BT Registro Tumori 2014 - Versione divulgativa
 
Debt Dr Newsletter December 2010
Debt Dr Newsletter December 2010Debt Dr Newsletter December 2010
Debt Dr Newsletter December 2010
 
Guia De Aprendizaje CECYTEZ
Guia De Aprendizaje CECYTEZGuia De Aprendizaje CECYTEZ
Guia De Aprendizaje CECYTEZ
 
CV Channel - How It Works
CV Channel - How It WorksCV Channel - How It Works
CV Channel - How It Works
 
Social Media 101 - An Introduction to Social Media
Social Media 101 - An Introduction to Social MediaSocial Media 101 - An Introduction to Social Media
Social Media 101 - An Introduction to Social Media
 

Más de Orbit One - We create coherence

Más de Orbit One - We create coherence (20)

ShareCafé: SharePoint - Een doos vol documenten of dé tool om efficiënt samen...
ShareCafé: SharePoint - Een doos vol documenten of dé tool om efficiënt samen...ShareCafé: SharePoint - Een doos vol documenten of dé tool om efficiënt samen...
ShareCafé: SharePoint - Een doos vol documenten of dé tool om efficiënt samen...
 
HoGent tips and tricks van een self-made ondernemer
HoGent tips and tricks van een self-made ondernemer HoGent tips and tricks van een self-made ondernemer
HoGent tips and tricks van een self-made ondernemer
 
Het Nieuwe Werken in de praktijk
Het Nieuwe Werkenin de praktijkHet Nieuwe Werkenin de praktijk
Het Nieuwe Werken in de praktijk
 
ShareCafé: Office365 - Efficiënt samenwerken met minimum aan kosten en comple...
ShareCafé: Office365 - Efficiënt samenwerken met minimum aan kosten en comple...ShareCafé: Office365 - Efficiënt samenwerken met minimum aan kosten en comple...
ShareCafé: Office365 - Efficiënt samenwerken met minimum aan kosten en comple...
 
ShareCafé 3 - Geef je samenwerking een technologische upgrade
ShareCafé 3 - Geef je samenwerking een technologische upgradeShareCafé 3 - Geef je samenwerking een technologische upgrade
ShareCafé 3 - Geef je samenwerking een technologische upgrade
 
ShareCafé 2 - Werk slimmer door geïntegreerde tools
ShareCafé 2 - Werk slimmer door geïntegreerde toolsShareCafé 2 - Werk slimmer door geïntegreerde tools
ShareCafé 2 - Werk slimmer door geïntegreerde tools
 
ShareCafé 1: Hou de Nieuwe Werker gemotiveerd
ShareCafé 1: Hou de Nieuwe Werker gemotiveerdShareCafé 1: Hou de Nieuwe Werker gemotiveerd
ShareCafé 1: Hou de Nieuwe Werker gemotiveerd
 
Business value of Lync integrations
Business value of Lync integrationsBusiness value of Lync integrations
Business value of Lync integrations
 
OneCafé: De toekomst van ledenorganisaties met behulp van CRM en informatie-u...
OneCafé: De toekomst van ledenorganisaties met behulp van CRM en informatie-u...OneCafé: De toekomst van ledenorganisaties met behulp van CRM en informatie-u...
OneCafé: De toekomst van ledenorganisaties met behulp van CRM en informatie-u...
 
Identity in the cloud using Microsoft
Identity in the cloud using MicrosoftIdentity in the cloud using Microsoft
Identity in the cloud using Microsoft
 
OneCafé: The future of membership organizations facilitated by CRM and collab...
OneCafé: The future of membership organizations facilitated by CRM and collab...OneCafé: The future of membership organizations facilitated by CRM and collab...
OneCafé: The future of membership organizations facilitated by CRM and collab...
 
OneCafé: The new world of work and your organisation
OneCafé: The new world of work and your organisationOneCafé: The new world of work and your organisation
OneCafé: The new world of work and your organisation
 
Social Computing in your organization using SharePoint: challenges and benefits
Social Computing in your organization using SharePoint: challenges and benefitsSocial Computing in your organization using SharePoint: challenges and benefits
Social Computing in your organization using SharePoint: challenges and benefits
 
Windows Communication Foundation (WCF) Best Practices
Windows Communication Foundation (WCF) Best PracticesWindows Communication Foundation (WCF) Best Practices
Windows Communication Foundation (WCF) Best Practices
 
Wie is Orbit One Internet Solutions
Wie is Orbit One Internet SolutionsWie is Orbit One Internet Solutions
Wie is Orbit One Internet Solutions
 
Azure Umbraco workshop
Azure Umbraco workshopAzure Umbraco workshop
Azure Umbraco workshop
 
Marketing Automation in Dynamics CRM with ClickDimensions
Marketing Automation in Dynamics CRM with ClickDimensionsMarketing Automation in Dynamics CRM with ClickDimensions
Marketing Automation in Dynamics CRM with ClickDimensions
 
Office 365, is cloud right for your company?
Office 365, is cloud right for your company?Office 365, is cloud right for your company?
Office 365, is cloud right for your company?
 
Who is Orbit One internet solutions?
Who is Orbit One internet solutions?Who is Orbit One internet solutions?
Who is Orbit One internet solutions?
 
Azure and Umbraco CMS
Azure and Umbraco CMSAzure and Umbraco CMS
Azure and Umbraco CMS
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Introduction to Code Reviews

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