Jump to content
  • Advertisement

Archived

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

Tips on complexity measurements?

This topic is 5324 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!