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.
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.
7 freelance ont fait une offre moyenne de 89 $ pour ce travail
Dear Friend. We're able to complete your project professionally and in time. Please, contact us to discuss detailed requirements and we'll tell you the final price and termination date. Regards, Viaden Inc.