0
0
Software Engineeringknowledge~10 mins

Quality metrics and measurement in Software Engineering - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the sentence to define a common quality metric.

Software Engineering
The metric that measures the number of defects per thousand lines of code is called [1].
Drag options to blanks, or click blank then click option'
ADefect Density
BCode Coverage
CMean Time To Repair
DCyclomatic Complexity
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing it with code coverage which measures test completeness.
2fill in blank
medium

Complete the sentence to identify a metric used to measure software reliability.

Software Engineering
The average time a system operates without failure is called [1].
Drag options to blanks, or click blank then click option'
ADefect Density
BCode Coverage
CMean Time Between Failures
DResponse Time
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing it up with Mean Time To Repair which measures repair duration.
3fill in blank
hard

Fix the error in the definition of a metric that measures test thoroughness.

Software Engineering
The percentage of source code executed by tests is called [1].
Drag options to blanks, or click blank then click option'
ACode Coverage
BDefect Density
CMean Time Between Failures
DCyclomatic Complexity
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing it with defect density or reliability metrics.
4fill in blank
hard

Fill both blanks to complete the formula for Defect Density.

Software Engineering
Defect Density = [1] / [2]
Drag options to blanks, or click blank then click option'
ANumber of Defects
BLines of Code
CTest Cases Executed
DExecution Time
Attempts:
3 left
💡 Hint
Common Mistakes
Using test cases or execution time instead of code size.
5fill in blank
hard

Fill all three blanks to complete the description of Cyclomatic Complexity calculation.

Software Engineering
Cyclomatic Complexity = [1] - [2] + 2 * [3]
Drag options to blanks, or click blank then click option'
AEdges
BNodes
CConnected Components
DLines of Code
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing lines of code with graph elements.