GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing
Go To First  |  Previous Question  |  Next Question 
 Testing  |  Question 339 of 413    Print  
What is Cyclometric Number? Where it is used?

  
Total Answers and Comments: 3 Last Update: March 04, 2009     Asked by: sivaarul S 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 11, 2007 22:19:56   #1  
Ashok.s Member Since: December 2007   Contribution: 1    

RE: What is Cyclometric Number? Where it is used?

Complexity measures the simpleness and understandability of a design. In this

area most of the research on business process metrics has been done (Cardoso

Mendling Neumann & Reijers 2006; Gruhn & Laue 2006 Latva-Koivisto 2001).

For instance both (Gruhn & Laue 2006) and (Cardoso Mendling Neumann & Reijers 2006) consider the adaptation of McCabe's cyclometric number as a complexity metric for business processes. This complexity metric directly measures the number of linearly independent paths through a program’s source code. In practice the industry interpretation of McCabe's cyclomatic complexity thresholds are the following (Frappier Matwin & Mili 1994): from 1 to 10 the program is simple;from 11 to 20 it is slightly complex; from 21 to 50 it is complex; and above 50 it is untestable.


 
Is this answer useful? Yes | No
May 13, 2008 02:46:51   #2  
parsu Member Since: May 2008   Contribution: 4    

RE: What is Cyclometric Number? Where it is used?
Basically its a white box testing technique for generating test cases. The cyclometric complexity indicates the level of the logical complexity of the program. It indicates the number of independent paths that exist in the program. Once we have identifed the number if independent paths and the their number we can write tets cases so that each and very path is executed atleast once.In this we can check the qulaity of the code written by us.
 
Is this answer useful? Yes | No
March 03, 2009 05:40:16   #3  
G.D.S.Prasad Member Since: November 2006   Contribution: 191    

RE: What is Cyclometric Number? Where it is used?

Cyclomatic complexity is software metric that provides a quantitative measure
of the logical complexity of a program. Cyclomatic complexity has a foundation
in graph theory and provides us with extremely useful software metric.
Complexity is computed in one of the three ways:

1. The number of regions of the flow graph corresponds to the Cyclomatic
complexity.

2. Cyclomatic complexity V (G) for a flow graph G is defined as V (G) E-N+2

Where E is the number of flow graph edges N is the number of flow
graph nodes.

3. Cyclomatic complexity V (G) for a flow graph G is also defined as: V (G)
P+1

Where P is the number of predicate nodes contained in the flow
graph G.



 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape