- August 9, 2016 at 5:05 pm #13339sarahParticipant@sarah-chandran
Could you pls tell the answer to the below question? I think it is a)computational complexity. Pls. let me know if it is correct.
Which one of the following attributes of a program can be inferred from its Cyclomatic complexity?
a) Computational complexity
b) Lines of code (LoC)
c) Executable code size
d) UnderstandabilityAugust 14, 2016 at 1:13 pm #13388JesperParticipant@jesper-lindholt-ottosen
Cyclomatic complexity is a software metric (measurement), used to indicate the complexity of a program. It is a quantitative measure of the number of linearly independent paths through a program’s source code. It was developed by Thomas J. McCabe, Sr. in 1976.
Cyclomatic complexity – Wikipedia, the free encyclopediaAugust 14, 2016 at 2:38 pm #13389sarahParticipant@sarah-chandran
My professor told d) Understandability is the right answer. But I think both a)Computational complexity and d)Understandability could be answers. Anyway thanks for your reply.August 25, 2016 at 12:44 pm #13463Sneha SinghParticipant@sneha-singh
Hi Sarah ,
The Cyclomatic Complexity Metric is a graphical means of evaluating the complexity of a function and also determining the completeness of coverage of tests for that function. This method is language independent and can be done manually with little difficulty.
For More details refer this book : Fundamentals of Software Engineering -4th Edition by Rajib Mall
- You must be logged in to reply to this topic.