Code Review Flashcards
how does code review compare to unit testing
code review finds up to 60% of defects
unit testing finds 25%
pros and cons of code review
pros:
homogenise and improve coding across team
cons:
cost
time
what is buddy reivew
pairs of equal status
performed as needed
what is team based review
formal structure
walkthrough- meeting
what is formal review
external team comes in and performs an inspection
more senior staff
most expensive
what is promiscuous reviewing
everyone review everyon
what comments are made in code review (9)
defects
flaws
design
naming
smells
use of git
build
team metric effects
good practice
give commit message conventions
first line: begins with imperative, less than 50 characters in length, no full stop
second line: blank
subsequent lines: less than 72 characters, descriptions
end: external references such as big tracking