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
To specify the test artifacts involved in testing.
Please can any one tell me 1).Types of reports 2).Types of Meetings.
Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.
write a testing stratgy \ approach for a product that you are use every day (e.g gmail, out look etc)
Hi ALl, Can you please list out Q & A for Test Lead,which Interviewer may ask in interview for Test Lead position
Architectural structure of the insurance project?
What is the difference between static testing and dynamic testing?
anybody there with 3+ exp in software testing looking for change and like to work in bangalore fwd your resume to vinodhanandhan@gmail.com
What is the difference between SIT AND IST?
Hello can anybody list out supported and unsupported browsers for Window OS,Android OS,MAC OS Ubuntu
integration test cases for mouse and keyboard
What is an audit report? Whom is it done by?
1.What is bidirectional traceability ??? and how it is implemented? 2.What is Automation Test frame work ? 3. Define the components present in test strategy? 4. Define the components present in test plan? 5. Have u written Test plan ?…. thank u!plz reply........
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.
Hello everybody, How many people do you think one sprint team can have in average?