Difference between revisions of "Code Review"

From Agility
Jump to: navigation, search
m
Line 12: Line 12:
  
 
Main goals:
 
Main goals:
# Code review as a process is not focused on code styling.  
+
# Do not focus on code styling.  
 
# Foster a positive code review culture
 
# Foster a positive code review culture
# Author had a good intentions while he was writing the code.
+
# Assume that author had a good intentions while he was writing the code.
# In order to solve any resolution conflicts, second person may be required.
+
# Ask other persons to solve any resolution conflict.
 
# Contact with author as a replacement of source code annotations.
 
# Contact with author as a replacement of source code annotations.
# Lines of code under review should be less than 200, not exceeding 400
+
# Lines of code under review should be less than 400
 
# Inspection rates should under 500 lines of code per hour
 
# Inspection rates should under 500 lines of code per hour
 
# Do not review for more than 60 minutes at a time
 
# Do not review for more than 60 minutes at a time

Revision as of 12:59, 6 September 2017


Code review is a process designed to:

  • keep code quality
  • catch possible bugs
  • find logical mistakes
  • check for performance issues
  • ensure code is readable and maintainable
  • spread knowledge of the code base throughout the team
  • get new people up to speed with the ways of working
  • expose everyone to different approaches

Main goals:

  1. Do not focus on code styling.
  2. Foster a positive code review culture
  3. Assume that author had a good intentions while he was writing the code.
  4. Ask other persons to solve any resolution conflict.
  5. Contact with author as a replacement of source code annotations.
  6. Lines of code under review should be less than 400
  7. Inspection rates should under 500 lines of code per hour
  8. Do not review for more than 60 minutes at a time