3.1.3 Differences between Static Testing and Dynamic Testing Flashcards
Static testing and dynamic testing practices complement …
They have similar objectives like supporting the detection of “ “ in w… but there are some …
each other.
defects
work products
differences too.
- Static testing and dynamic testing (with analysis of failures) can both lead to the … ; however, there are some … that can only be found by either “ “ or …
detection of defects
defect types
static
dynamic testing.
- Static testing finds defects directly, while … causes failures from which the … are determined through …
dynamic testing
associated defects
subsequent analysis.
- Static testing may more easily detect defects that … through the “ “ that are rarely “ “ or … using …
lay on paths
code
executed
hard to reach
dynamic testing.
- Static testing can be applied to … while … can only be applied to …
non-executable work products,
dynamic testing
executable work products.
- Static testing can be used to measure … that aren’t dependent on … (e.g. “ “), while … can be used to measure … that are dependent on … (e.g. …
quality characteristics
executing code
maintainability
dynamic testing
quality characteristics
executing code
performance efficiency).
Typical defects that are easier and/or cheaper to find through static testing include:
- def… (e.g.
- incon…
- amb…
- cont…
- omi…
- inac…
- dup…
- Defects in requirements
- inconsistencies
- ambiguities
- contradictions
- omissions
- inaccuracies
- duplications )
- Design d… (e.g.
- inefficient d…
- poor m… )
- defects
- database structures
- modularization
- Certain types of … (e.g.
- variables with …
- undeclared “ “
- unreachable or d…
- excessive …
- coding defects
- undefined values
- variables
- duplicated code
- code complexity)
- Deviations from “ “ (e.g. lack of “ “ to n… in c…
- standards
- adherence
naming conventions
coding standards)
- adherence
- Incorrect interface s…
- (e.g. mismatched “ “, “ “ or o…
- specifications
- number
type
order of parameters)
- number
- Specific types of s… (e.g. buffer “ “)
- security vulnerabilities
overflows
- Gaps of “ “ in t… (e.g. missing tests for an …
- inaccuracies
test basis coverage
acceptance criterion