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
2
Q
Why undertake code reviews?
A
- Detect defects in software
- Identify refactoring opportunities for poorly structured code
- Develop a shared understanding of code between developers
- Share good practice between team members
- Gain knowledge about legacy systems
3
Q
When do code reviews take place?
A
- Periodically on a portion of the accepted code base.
- On a proposed change to a code base.
- Before a proposed change to a legacy system.
4
Q
Defect detection rate
A
- Total Defects = U
m E methods
defects(m) + undetected defects - Defect Detection Rate(method) = |defects(m)| / |total defects|