what is cyclomatic complexity and what is the formula used
for it

Answer Posted / sunny

Cyclomatic complexity: Is a metric that provides a
quantitative measure of the logical complexity of a
program.It defines number of independent paths in the basis
set.

Cyclomatic comlexity V(G)=

--> Number of edges-number of nodes + 1
--> Number of predicate nodes + 1
--> Independent region + 1

Note: Predicate nodes means conditions.

thanx

Is This Answer Correct ?    20 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Test Design?

1751


define Testing of Procedure, Triggers and Functions in data base testing ?

3052


how to test a store procedure?

1587


What are the standard you follow in your company to prepare test plan document? Content is same in every standard or not. Also is there any document to read about the testing standards? Thanks in advance for giving me the answer.

1555


Unit Testing can be done by using Nunit?

722






What are the disadvantages of manual testing?

660


please give information about ERP Projects and how V-model use in project

2379


What is unit level testing?

657


If you are handling a product testing and if there are around 100 test cases and in them few test cases are failed then at the end of the day how will you treat whether the product is pass/fail.? consider the failed test cases are in functional requirements.

1590


What makes a good software qa engineer?

652


What is the role of the test group vis-?is documentation, tech support, and so forth?

1610


write 5 critical test cases on product payment form on flipkart.com?

1506


In Manual testing how to test proxy servers? can u please explain with example?

1578


I studied MBA, I want learn any softwarecourse, which course is better hadoop or testing tools(manual+selenium?)

1212


What is meant by Boundary value analisis and Equalence partitioning? Can give derive this using these methods? In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10% The next £28000 is taxed at 22% Any further amount is taxed at 40% Which of these groups of numbers would fall into the same equivalence class? a) £4800; £14000; £28000 b) £5200; £5500; £28000 c) £28001; £32000; £35000 d) £5800; £28000; £32000

1593