2 ms·
Low Cyclomatic Complexity is absolutely the result of careful management of interfaces in the system. The inverse is also true that high CC is a sign of poorly
by hackerfromthefu 5y ago
Low Cyclomatic Complexity is absolutely the result of careful management of interfaces in the system. The inverse is also true that high CC is a sign of poorly structure code, which tends towards spaghetti. Thus I agree it's related to the premise of detecting spaghetti code.
There's nice CC visualizers that can show you at a glance areas that have higher complexity. Sometimes that complexity is related to the problem domain, but sometimes it comes from overhead of poor system architecture.