Tips on complexity measurements?

Started by
0 comments, last by matias suarez 20 years, 5 months ago
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?
Advertisement
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.

Admin for GameDev.net.

This topic is closed to new replies.

Advertisement