Hi all
Im having problems coding the following Coursework, i just dont know where to start in the coding after reading in the text file. Would be most grateful for any help as Im now getting desperate.
Introduction:
Judging a software module’s complexity is somewhat objective. Objective measures are difficult to formulate. One such measure has been proposed by McCabe, who argues that the complexity of a module is directly related to the possible number of different paths through the module.
McCabe defines Cyclomatic Complexity of a module to be = Number of simple conditional statements (ifs, whiles, repeats, etc) + 1.
Problem:
Design, code and test a Java program that will determine the Cyclomatic Complexity (CC) of any given Java source code module held in a text file. The program is to display the CC and also to indicate if, according to McCabe, the module is too complex.
You will need to provide word processed algorithms and printouts of suitably commented Java source code.
You should also provide a word processed explanation of the design decisions taken.
NOTE:This assessment represents 100% of the coursework assessment for the module and 70% of the total assessment
EXPLANATION (of design decisions) Coursework: Programming Assignment
Basically, the reasoning behind the way in which you have written (designed) the program. I’d include:
· Assumptions made· Limitations of the program· How you decided on the functionalities to do the job· How you chose to distribute these functionalities across different methods· Justification for incorporating any standard Java utilities