mfsi_chinmayb


{ City } bhubaneswar
< Country > india
* Profession * software tester
User No # 83745
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 1
Users Marked my Answers as Wrong # 0
Questions / { mfsi_chinmayb }
Questions Answers Category Views Company eMail




Answers / { mfsi_chinmayb }

Question { ISTQB, 7056 }

What is cyclomatic complexity?


Answer

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