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 are the contents of test plans and test cases?

1121


Explain the advantages of implementing cmmi.

980


What is extreme programming and what is it got to do with testing?

1001


List out the roles of quality assurance engineer?

967


What Contains in Business Design Document?

2384


We have a WISPr application making an authentication request to a server running an authentication module. The client application is sending the User--Agent value, but the authentication application logs the User-Agent value as null, please explain the steps i should take to troubleshoot the issue. Please mention the steps by applying your knowledge of the OSI model.

2212


What are the benefits of destructive testing?

1024


Field level test cases are developed using AF TOD to validate individual fields on a screen using a black box testing methodology. IN THIS CONTEXT WHAT IS "AF TOD"

3428


kindly guide me about inspection process with the requried roles in detail?

1907


What is the Differnce B/W Quality Management and Quality Control

1836


What if the project is not big enough to justify extensive testing?

1018


prepare functional requirements and design test cases for a given business requirement as follows(consider all the implicit requirements): A message portal is given,Login into that, check for any e_mail in inbox-if present reply,if not compose a mail and send it.

2024


Explain what is a cause effect graph?

977


What are the responsibilities of a qa analyst?

1010


Could anyone share FAQs for QA/QC position.

1995