Which of the following need not be assessed during unit testing? A. Algorithmic performance. B. Number of lines of code. C. Error handling. D. All possible execution paths. Choose the correct answer from the options given below:
A, B, D only
Unit testing checks one module in isolation. Its standard checklist is the module interface, local data structures, boundary conditions, selected independent (basis) paths through the control structure, and the error-handling paths.
A — Algorithmic performance (speed, throughput, response time) is not a unit-level concern; it is assessed in performance and system testing with realistic loads, so it need not be assessed here.
B — Number of lines of code is a size metric used for estimation, not a property a test verifies, so it need not be assessed.
C — Error handling must be assessed: a unit test deliberately triggers error conditions to see that the module reports and recovers from them correctly.
D — Exhaustive assessment of every execution path is infeasible even for small modules, so unit testing only exercises a selected basis set of paths; assessing the execution paths as a whole is therefore not required at this level.
Every combination that contains C wrongly treats error handling as optional, so only the set of performance, code size and execution paths remains.
A, B, D only option is correct.
Maximum possible value of reliability is
Which one of the following is not a source code metric ?
In software testing, how the error, fault and failure are related to each other ?
Which design metric is used to measure the compactness of the program in terms of lines of code ?
Verification :
In which testing strategy requirements established during requirements analysis are validated against developed software ?
Which one of the following is not a definition of error ?
Assume that a program will experience 200 failures in infinite time. It has now experienced 100 failures. The initial failure intensity was 20 failures/CPU hr. Then the current failure intensity will be
Software testing is
Regression testing is primarily related to
Equivalence partitioning is a ______.
What is the other name of White-box testing?