Hibri Marzook Musings on technology and systems thinking

Measuring code readability ?

Thinking of ways to measure code readability. How easy is it to read and understand a  method, or class ?

Number of branches in a method ? more branches -> more complex  hence a more complex method  that is hard to read

Split the camel casing of a method/class into words and run some sort of word analysis to check if the words make sense ?

The analysis has to be automated, and run as part of CI ideally..

 

By Hibri Marzook

Discuss this post with me on @hibri