QuestionQ35

Using AI for Testing

Which ONE of the following would be the MOST effective input for an AI-based defect-prediction tool?

Explanation

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

No comments yet. Be the first to start the discussion!