Code Review Flashcards

1
Q

how does code review compare to unit testing

A

code review finds up to 60% of defects

unit testing finds 25%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

pros and cons of code review

A

pros:
homogenise and improve coding across team

cons:
cost
time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is buddy reivew

A

pairs of equal status

performed as needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is team based review

A

formal structure

walkthrough- meeting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is formal review

A

external team comes in and performs an inspection

more senior staff

most expensive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is promiscuous reviewing

A

everyone review everyon

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what comments are made in code review (9)

A

defects

flaws

design

naming

smells

use of git

build

team metric effects

good practice

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

give commit message conventions

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly