Which one of the following assertions concerning code inspection and code walkthrough is true?
Which one of the following assertions concerning code inspection and code walkthrough is true? Correct Answer Adherence to coding standards is checked during code inspection
Concept:
Code inspection:
It is the most formal type of review, which is a kind of static testing to avoid the defect multiplication at a later stage. The main purpose of code inspection is to find defects and it can also spot any process improvement if any. It usually involves peer examination of the code and each one has a defined set of roles.
Code walkthrough:
It is a peer review in which a programmer leads the review process and the other team members ask questions and spot possible errors against development standards and other issues. This meeting is usually led by the author of the document under review and attended by other members of the team. Review sessions may be formal or informal.
Explanation:
Option 1 (FALSE)
Reason: Unit testing is not necessary before code inspection.
Option 2 (FALSE)
Reason: Code inspection and code walkthrough are not same as explained.
Option 4 (FALSE)
Reason: Code walkthrough is done by programmer lead members or designer of development team or other interested parties.
Option 3 (TRUE)
Reason: Adherence to coding standards is checked during code inspection.