Which ONE of the following would be the MOST effective input for an AI-based defect-prediction tool?
Cyclomatic complexity directly quantifies control-flow complexity. Code with more independent paths requires more thorough testing and is generally harder to understand and maintain, making it a strong predictive feature for defect-proneness.
Community Discussion