Session
Comparing Complexity Measures
There are many different ways to measure code complexity, cognitive, cyclomatic, ABC, indentation level, lines of code, and more. Which measure is the best? Let’s compare these measures across the history of an actual project and see what we can learn.
Learning Outcome
Attendees of this talk will learn about many different complexity measures and how they compare to each other as a project changes over time.
Outline
Background
Why should we care about complexity?
The Measures
Cyclomatic complexity
Cognitive complexity
ABC complexity
Indentation level complexity
Lines of code count
In Practice
Applying the measures on a project’s history
I recently heard someone claim that many complexity measures are no better than measuring number of lines of code, especially when examining how a project changes over time. I want to do a deep dive to explore this further by using a few different open source projects for source material. In addition to learning about the different complexity measures we’ll all learn how they compare with each other.
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top