Complete the sentence to define a common quality metric.
The metric that measures the number of defects per thousand lines of code is called [1].Defect Density measures how many defects are found per thousand lines of code, helping assess software quality.
Complete the sentence to identify a metric used to measure software reliability.
The average time a system operates without failure is called [1].Mean Time Between Failures (MTBF) measures the average operational time between failures, indicating reliability.
Fix the error in the definition of a metric that measures test thoroughness.
The percentage of source code executed by tests is called [1].Code Coverage measures how much of the source code is executed during testing, indicating test thoroughness.
Fill both blanks to complete the formula for Defect Density.
Defect Density = [1] / [2]
Defect Density is calculated by dividing the Number of Defects by the Lines of Code to assess software quality.
Fill all three blanks to complete the description of Cyclomatic Complexity calculation.
Cyclomatic Complexity = [1] - [2] + 2 * [3]
Cyclomatic Complexity is calculated as the number of Edges minus the number of Nodes plus twice the number of Connected Components in the control flow graph.