what is cyclomatic complexity? plz explain with example

Answer Posted / hnv bhaskar

Cyclomatic complexity is a white box testing technique, used
for Structural Testing.
CC can be calculated with two types of formulae:
a) M=E-N+2P
b) M=E-N+P (For Strongly connected systems, i.e, Exit point
is connected back to Starting Point.

E= No. of Edges.
N= No. of Nodes.
P= No. of Connected components.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is deferred status in defect life cycle?

721


wat is meant by frontend and backend testing

5262


What are the different types of integration testing?

717


What is sanity?

632


Negative test cases for phone camera

260






State a generalized process for load test? Or explain how you did it previously.

2081


What are the different ways to check a date field in a website?

674


I want to know about satyam manual testing questions

1409


What types of testing is specifically important for web testing?

670


What is mean by incident logging system ?

2030


What is Batch testing? Facets Benefit Configuration

2158


What is smoke testing and user interface testing ?

657


What is the difference between GUI Testing,UI testing and Usability TEsting

1947


What are the different cost elements involved in implementing a process in an organization?

686


what is the difference between website and web based application ?

2252