Software Testing Types
10 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does the depth of inheritance metric measure?

  • The length of the maximum path in the inheritance hierarchy (correct)
  • The number of methods in a class
  • The number of subclasses of a class
  • The number of classes that are coupled to the measured class
  • In which case is the maximum path in the inheritance hierarchy interesting?

  • In the case of a large inheritance hierarchy
  • In the case of no inheritance
  • In the case of single inheritance
  • In the case of multiple inheritance (correct)
  • What does a high number of subclasses indicate?

  • High reusability (correct)
  • High coupling
  • Low testability
  • Low reusability
  • What is coupling between objects?

    <p>A measure of the relationships between classes</p> Signup and view all the answers

    When are two classes considered coupled?

    <p>When methods of one class call or use methods or class variables of the other class</p> Signup and view all the answers

    What does a high CBO value indicate?

    <p>High coupling and low testability</p> Signup and view all the answers

    What is the purpose of NOC metric?

    <p>To examine whether subclasses exist in the inheritance hierarchy</p> Signup and view all the answers

    What is the relationship between the number of subclasses and the degree of reuse?

    <p>The greater the number of subclasses, the higher the degree of reuse</p> Signup and view all the answers

    What is the purpose of CBO metric?

    <p>To measure the relationships between classes</p> Signup and view all the answers

    What can be inferred from a high NOC value?

    <p>The class has a high degree of reuse</p> Signup and view all the answers

    More Like This

    Software Engineering: System Testing
    21 questions
    System Testing Overview
    8 questions
    System Testing Overview
    5 questions

    System Testing Overview

    ForemostConnemara1819 avatar
    ForemostConnemara1819
    Use Quizgecko on...
    Browser
    Browser