Advanced Code Quality #cyclomatic-complexity #code-review #refactoring

Cyclomatic Complexity Vocabulary

5 exercises — master the language engineers use in code reviews to discuss complexity scores, thresholds, and refactoring strategies.

0 / 25 completed
1 / 25

A tech lead comments on a pull request: "This function has a complexity score of 15 — it exceeds our threshold of 10. Please refactor before we merge." What does this comment communicate, and what is the engineer expected to do?

Frequently Asked Questions

What does the "Cyclomatic Complexity Vocabulary" exercise practise?

Practice English vocabulary for discussing cyclomatic complexity in code reviews: complexity scores, thresholds, refactoring language, and review comments. 5 exercises.

How many questions are in this exercise?

This exercise has 25 questions, each multiple-choice with a full explanation shown after you answer.

What English level is this exercise for?

This exercise is tagged Advanced. If the vocabulary feels difficult, browse the Code Quality & Metrics category page for an easier module to start with.