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.
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.
Dear Sir, I can easily do it for you. I have done similar project in java which determines the cyclomatic complexity of a C,C++ module. The purpose of that project was to automate the white-box testing test case determination. The first step of that project was to draw a flow-graph of the module(function,method) given to program and represent the same into data structure and after that determine the cyclomatic complexity using McCabe formula.
The cyclomatic complexity in this case gives us number of independent test paths. I have worked a lot in java and I can easily do this project for u.
Hi
I have been working in Java field for 4 years and I can develope your code with well commenting and identation,testing too.I can provide the work with good quality (good implemetation).
I am new to this site and provide me a chance to work on this site.
Thanks & Regards,
Sri.