Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is cyclomatic complexity?

Answer Posted / vidya

Cyclomatic complexity is a software metric (measurement).
It was developed by Thomas McCabe and is used to measure
the complexity of a program. It directly measures the
number of linearly independent paths through a program's
source code. It is computed using a graph that describes
the control flow of the program. The nodes of the graph
correspond to the commands of a program. A directed edge
connects two nodes if the second command might be executed
immediately after the first command.


Definition

M = E &#8722; N + 2P

where

M = cyclomatic complexity
E = the number of edges of the graph
N = the number of nodes of the graph
P = the number of connected components.

"M" is alternatively defined to be one larger than the
number of decision points (if/case-statements, while-
statements, etc) in a module (function, procedure, chart
node, etc.), or more generally a system.

Separate subroutines are treated as being independent,
disconnected components of the program's control flow graph.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Procedure and documents for obtaing CMM Certification

2051


What if there is not enough time for thorough testing?

967


What is breadth testing?

992


what is the difference between product and process based projects?

3852


Automation testing regarding with qtp, explain the process of testiing the application with qtp????

2286


What would you do if you have a large suite to execute in very less time?

1186


What is a cookie testing?

1005


What are the actual QA processes run in software compamy ?

2175


Please, list many things You’ll do (effort) as a SQA Tester, in this Company software project from the idea making of the specification, till that software released!

1915


Explain bug leakage and bug release?

1006


What are the factors responsible for the estimation of system integration test cycle and total integration time?

1043


In an example of a Bank Teller requesting that her computer program should include an addition that shows the full Customer Profile on her main screen, what would a Waterfall vs. Agile approach include and/or look like for such a request?

933


What are the key components of a bug report?

961


What is negative testing? How is it different from positive testing?

1029


hello.. i have learnt testing manual and automation tools and im working as test engineer in a software company still i do need more testing skill so where can i get more knowledge about testing . please advice me

2050