|
Requirements System should only use the metrics appropriate for the input - eg. text file with only a method --> only use McCabe's number metrics
System should clear out the display area if the user wants to run the program again for a different metrics or input System should only take in a file containing the code in question; must be in Java - select a file
System should contain no errors and well-docuemented (comments, etc.) System should implement the following metrics: - McCabe's number
- Fan-in for a method and Fan-out for a method
- number of methods per class
- number of attributes per class (int, double, myMomma, String, etc.)
^ int, double, void, Object, String, of object, boolean, float, byte, char
System should contain metrics to be implemented in a drop-down menu; the user should select which one to implement from that list
System should be easy to use The inputs for the system should be properly structured
|