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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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 is Agile Development Processes  1
Can Regression test be done at all levels  2
How do we measure the quality of a product? Satyam2
In an Interview I have been asked the following questions, 1) How would allocate job to your team members if you are assigned a role of Team Lead. 2) The second question was, do you follow any technique for the distribution of time while assigning jobs to your team members. For, both the questions I was clueless to answer. Please give me a practical approach for the above questions.  3
where can i find latest software quality interviews questions  1
waht is the difference b/w test caes and test data?  2
What is Cause and Effect Diagram, how it helps in software testing?.  2
I have heard about Zephyr as a good test management system. Would like to hear from those who have actually used it?  1
Can u plz tell me the latest version in QTP,WinRunner,Test Director,Quality Center?  5
How do you differentiate the roles of Quality Assurance Manager and Project Manager? IBM1
What is a non-conformance report (NCR)?  3
hi guys ! tel me the adress of the ordian solutions..?whr it is ..?  2
what is a scope? Thatavarti-Technologies2
What is Release Note and its contents?  3
What is the difference between a test scenario and test condition? Please explain with an example  1
anyone can explain about SDLC models??  3
In the Test Plan,Features to be tested and Features not to be tested are there.Can u explain these in Detail?  3
why are you leaving present company(pls give me answer other than contract employee)and give me the good reason QA2
Any quality test-tracking tool which has live & automated dashboards so that the entire team is updated at any given point of time? GE3
What is Bidirectional Traceability and how it is achieved?  3
 
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