ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  QA Concepts
 
 


 

 
 Automation Testing interview questions  Automation Testing Interview Questions
 Manual Testing interview questions  Manual Testing Interview Questions
 QA Concepts interview questions  QA Concepts Interview Questions
 Mobile Testing interview questions  Mobile Testing Interview Questions
 Test Cases interview questions  Test Cases Interview Questions
 Test Documents Reporting interview questions  Test Documents Reporting Interview Questions
 Testing AllOther interview questions  Testing AllOther Interview Questions
Question
What is cyclomatic complexity?
 Question Submitted By :: Babitha.b
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is cyclomatic complexity?
Answer
# 1
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 − 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 ?    0 Yes 0 No
Vidya
 

 
 
 
Other QA Concepts Interview Questions
 
  Question Asked @ Answers
 
what do u do when u enter at ur system till end of the day? IBM2
what is meant by positive testing ?  3
What are the 3C's in the todays IT world? Logica-CMG1
What r the advantages of automation? TCS4
if I HAVE 500 TEST CASES ON WHAT BASES I EXECUTE THEM OR PRIORTIZE IT  2
tell me tst cases for "RESUME"which is displayed on monitor CSC2
What is the difference between an activity of QA and QC? Satyam4
How do you promote the concept of phase containment and defect prevention?  2
what are the advantages of process in Quality Assurance?  1
when we want to be a good tester what should we need to be good at... Semantic-Space6
what is the differemce b/w test cases and test scripts?  4
What is User Acceptance testing? Ordain-Solutions6
What is the difference between QA and QC?  2
How many testcases should be there in one project or one requirment?How many test case have you wrote in your last project?  2
What are the various ways of writing test cases? Dataquest1
What is test stratergy? Ordain-Solutions4
In an interview,the Interviewer asked me what are the reasons For the software has bugs? could u pls. explain the General reasons .. Infeneon-Technologies4
what is CAPA?when is root cause analysis done? NIIT1
what is diff b/w load testing and volume testing?  3
what are test metrics? AZTEC4
 
For more QA Concepts Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com