views:

31

answers:

0

Ok I have a class with methods that has high McCabe Cyclomatic Complexity. I have a school assignment to do graph coverage of that beast. The real problem is that it's hard to set up the inputs.

Concretely, the program is a mario platform game and the job of the class is to compute mario states. There is a procedure that move mario and does collisions checking based on the level description and other sprites. I was thinking coding a scene editor to manually design a part of a level, position sprites, etc.