-
Notifications
You must be signed in to change notification settings - Fork 12
Cyclomatic Complexity
coloradokim edited this page Dec 29, 2017
·
1 revision
Cyclomatic Complexity Refactoring Tips for Javascript Developers
- Cycolmatic complexity a way to measure of the number of execution scenarios in your code
- Conditional statements,
while
andfor
loops, switch/case,||
,catch
and ternary operators increase cycolmatic complexity in javascript. - Max complexity is 3
- Write more functions to refactor something