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 is the typical situation u faced while collecting the test data?
10 scenarios for security testing using gmail applications?
Why would we not include these?
Please Provide me the link to download Testing Category questions and answers If some body has downloaded it pleae send it to me Pavan : Email pavan_cd@yahoo.com Quetion2 : Can any body Explain me about Testing thumb rules
Is an "A fast database retrieval rate" a testable requirement?
what is localization and globalization.and what are the ways way are going to test the particular application?how can we identify factual, visual, corrupted characters, link errors, formatting errors, etc in locallization?iam going to attend the interview on localization concepts and languages like : German, Japanese, French, Russian, Italian, Chinese, Korean, Portuguese and Spanish .tell me the process how to do testing above concepts let me know its urgent:anilaluvala@gmail.com 9908814046
Can any body tell me in real time how cookies testing is done. And please tell me the steps.And for cookies testing test cases is needed.
What is the difference between GUI Testing,UI testing and Usability TEsting
What is positive and negative testing?
What is Registry?
How can I done a Web Testing? Which steps are include in it?
What are the main key components in client and server applications?
What are the different ways of doing black box testing?
Changes and enhancements to system?
What is Pre UAT and UAT is there any difference ?