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 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
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.