Archived

This topic is now archived and is closed to further replies.

matias suarez

Tips on complexity measurements?

Recommended Posts

I read some years ago about cyclomatic complexity and things like that and i was wondering if there were other measures not oriented to the code itself but to the design in general. I mean, it is considered that a module or function is complex enough to break into smaller and separated ones when it has more than X lines of code (relatively speaking) Is there such studies applied to OOP design in general? like how many attributes on a class are considered too many, how many methods rates the class as ''complex'', how many classes are considered too many for a given subject?

Share this post


Link to post
Share on other sites
I don''t have direct references for you, but I have seen complexity measurements on design. Maybe do a search on citeseer for papers on design complexity measurements..

Most of what I''ve seen dealt with the number of methods a class had, as well as the number of interactions it had with other classes. None of the complexity measurements dealt with code at the design level.

Share this post


Link to post
Share on other sites