Is there a correlation between complexity and reachability?

Posted by Saladin Akara on Programmers See other posts from Programmers or by Saladin Akara
Published on 2011-11-17T17:44:29Z Indexed on 2011/11/17 18:07 UTC
Read the original article Hit count: 245

Filed under:
|

I've been studying cyclomatic complexity (McCabe) and reachability of software at uni recently. Today my lecturer said that there's no correlation between the two metrics, but is this really the case?

I'd think there would definitely be some correlation, as less complex programs (from the scant few we've looked at) seem to have 'better' results in terms of reachability.

Does anyone know of any attempt to look at the two metrics together, and if not, what would be a good place to find data on both complexity and reachability for a large(ish) number of programs?

(As clarification, this isn't a homework question. Also, if I've put this in the wrong place, let me know.)

© Programmers or respective owner

Related posts about complexity

Related posts about code-analysis