what is cyclomatic complexity? plz explain with example
Answer Posted / dhakshna
The easiest way is to sum the number of binary decision
statements (e.g. if, while, for, etc.) and add 1 to
it
Below is a simple program as an
example:
IF A = 354
THEN IF B > C
THEN A = B
ELSE A = C
ENDIF
ENDIF
Print A
one may calculate the cyclomatic complexity using the
decision points rule. Since there are two decision points,
the cyclomatic complexity is 2 + 1 = 3.
| Is This Answer Correct ? | 109 Yes | 14 No |
Post New Answer View All Answers
what are your achievements in your organization ? Guyz very very urgent , help me
What is difference in between operating system 2000 and os xp?
what is the general pattern of explanation of projects in interview, can u ans me plz.......... ex: online banking application
How does compatibility testing differ while testing in Internet explorer and testing in Firefox?
What is data flow diagram?
What does entry and exit criteria mean in a project?
What is the Jar file?
I am having 2 years of experience in Manual Testing, 2marrow I have an interview with a Company. Which type of questions they will ask me?How should I prepare for interview?Please guide me so that I will clear the interview.
Hello Varun, Kindly send me the material as well as sample question papers as i am interested in doing the certification. Kindly help me out in this regard. Here is my mail ID: bjyothitesting@gmail.com
hi can anyone tell me about vision plus testing? and what about its future
what is the challenging position faced in the testing not in point of management point of view it must be in the point of while testing the application?
About Hierarchy level in your company.
What is a testbed in manual testing?
how can we do database testing. In database testing we verify the data integrity and data validation. how can we do testing of Index, triggers, views, ransactions,cursors etc
What is your daily process? I have 2+EXP IN MANUAL TESTING.PLEASE SUGGEST ME HOW i ANSWER