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?

Answers were Sorted based on User's Feedback



What is cyclomatic complexity?..

Answer / mfsi_chinmayb

Hi,
Cyclomatic complexcity is a methodology to measure the
complexity at a certain area of code.In other words it an
another way to reach at defect clustering.
Cyclomatic complexity is to measure the number of
independent paths in a program's source code.
The formula it follow: M = E- N + 2P
where

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

**The easier one is like:n(umber of Decision statements in
the program being tested plus one.)
It provides the degree of testing/review required in a
certain area of code.

Is This Answer Correct ?    1 Yes 0 No

What is cyclomatic complexity?..

Answer / 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

What is cyclomatic complexity?..

Answer / rahat menon

cyclomatic complexity is one practised by phsyco people ...
it is a way to find out how complex dat person is ..

scientist who r making research on this has gone mad n
pissed ..

Is This Answer Correct ?    0 Yes 0 No

What is cyclomatic complexity?..

Answer / guest

RAHAT

Your Psycho spelling wrong. I have a feeling you are the
psyco. Since you are messing with wrong thing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QA Concepts Interview Questions

can anyone explain the working of tsys application in credit card industry

0 Answers  


What is Environment Variable and how to use this in QTP

0 Answers  


How to plan the time estimations for QA cycle ?

2 Answers  


What is basis path testing?

0 Answers  


Whose level is higher in between QA, QC and tester and their role and resposibilities and job profile.

1 Answers  


What is ISO 9003? Why is it important

2 Answers  


What do you think is a good investment, a defect tracking system or a test management system integrated with a defect tracking tool? Please comment.

2 Answers  


What is automated software quality (asq)?

0 Answers  


What is traceability matrix? Is it required for every project?

0 Answers  


what are the tables in testcases?

0 Answers  


Need urgent answers for the interview questions? Interviewer asked 1) when you don't have enough requirements spec how did you perform testing? 2) once the project went live if you come to know that there is a bigger defect(bug) what will you do? 3) when there is a bug in the code but not mentioned in the requirement spec( while testing for some other if you come to know this bug) what will you do? I answered these questions but interviewer was not satisfied can any one please tell me the best answers for these kind of situations. I have other interview next week so please provide me the answers or can email me the answers my I'd is tester582@gmail.com. Thanks in advance

3 Answers   Maxwell,


What would be the test approach for testing an e-commerce website which is coming to us from the vendor for maintenance. What will be the test approach fro the same when we do no have artifacts, test cases, test plan etc.

2 Answers   HCL, Wipro,


Categories