PSD · Question #112
Which three of the following are code quality metrics?
The correct answer is D. Depth of inheritance E. Cyclomatic complexity F. Class coupling. Number of checkins per day says something about whether the developers are committing often enough. Depth of inheritance says some about complexiity, just like class coupling and cyclomatic complexity. Unit tests per class don't say anything about quality, though no unit tests mi
Question
Which three of the following are code quality metrics?
Options
- AUnit tests per class
- BCycle time per product backlog item
- CNumber of check-ins per day
- DDepth of inheritance
- ECyclomatic complexity
- FClass coupling
How the community answered
(69 responses)- A7% (5)
- B4% (3)
- C1% (1)
- D87% (60)
Explanation
Number of checkins per day says something about whether the developers are committing often enough. Depth of inheritance says some about complexiity, just like class coupling and cyclomatic complexity. Unit tests per class don't say anything about quality, though no unit tests might indicate a maintenance problem. Cycle time per product backlog item says something about the scrum process.
Topics
Community Discussion
No community discussion yet for this question.