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 difference between three tier and two tier application?
Test cases on send/ receive button of Microsoft outlook.
could u pls anyone tel me .."which is the best instute that provides eficient practical knowledge and also real-time oriented knowldge to do a project in manual and automation testing..in hyd" pls send me to dis mail-id if u find any..? sinducute17@gmail.com
Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.
Which was the most interesting bug you found.
What is the Difference between Network testing and Web Testing?
Our software designers use UML for modeling applications. Based on their use cases, we would like to plan a test strategy. Do you agree with this approach or would this mean more effort for the testers.
What is the difference between static testing and dynamic testing?
what are the testing appraoch that you have tested for Bread toaster
Why performance testing is performed? What are tools of performance testing?
What are the interview question on insurance domain in manual testing
In testing environment have you ever found any areas for improvement while you at work. (Please give some real life example).
what is JAVA TESTING? What Testers will do in JAVA Testing. Can any one Give suitable Ans Pls. it's urgent
How would you do the ollowing Security Testing for web application? 1) Authentication. 2) Authorization. 3) cookies. 4) penetration testing. 5) session testing. 6) encryption and decryption testing pls give examples give example i can't understand so pl
Can you please explain about the erp project