Code Reviews: Lecture 9 Flashcards

1
Q

Code review items

A

1) Application Source Code
2) Source Code Documentation
3) Test Code
4) Design Descriptions
5) Requirements Specifications

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

Why undertake code reviews?

A
  1. Detect defects in software
  2. Identify refactoring opportunities for poorly structured code
  3. Develop a shared understanding of code between developers
  4. Share good practice between team members
  5. Gain knowledge about legacy systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When do code reviews take place?

A
  1. Periodically on a portion of the accepted code base.
  2. On a proposed change to a code base.
  3. Before a proposed change to a legacy system.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Defect detection rate

A
  1. Total Defects = Um E methods defects(m) + undetected defects
  2. Defect Detection Rate(method) = |defects(m)| / |total defects|
How well did you know this?
1
Not at all
2
3
4
5
Perfectly