Cyclomatic Complexity -Definition - Software Testing Techniques

Q.  Which of the following is a software metric that provides a quantitative measure of the logical complexity of a program?
- Published on 30 Jul 15

a. Cyclomatic Complexity
b. LOC
c. Function Point
d. None of the above.

ANSWER: Cyclomatic Complexity
 

    Discussion

  • Prajakta Pandit   -Posted on 24 Nov 15
    Cyclomatic complexity is a software metric that provides a quantitative measure of the logical complexity of a program.

    It is a white box testing.

    It is used to indicate the complexity of a program.

    It is computed using the control flow graph of the program.

    It is a quantitative measure of the number of linearly independent paths through a program's source code.

    When calculating cyclomatic complexity from source code is to be consistent with the interpretation of language constructs in the flow graph.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)