Prev | Current Page 283 | Next

Peter Farrell-Vinay

"Manage Software Testing"

24.
7.9 Dynamic Analyzers
Dynamic analyzers have two uses. First, they collect data to provide quantitative information concerning
test coverage. Second, they can identify those portions of code that are used frequently or rarely during
normal execution, thus exposing any potential performance bottlenecks.
FIGURE 7.23 Example of parameter analysis output

===================================
PROCEDURE PARAMETER ANALYSIS
===================================
PROCEDURE ONE
PARAMETER X IS REFERENCED INSIDE THE PROCEDURE
PARAMETER Y IS DEFINED INSIDE THE PROCEDURE
PARAMETER Z IS REFERENCED and DEFINED INSIDE THE PROCEDURE
PROCEDURE TWO DOES NOT HAVE ANY PARAMETERS
120 Manage Software Testing
Test coverage quantification serves two purposes. First, quality control requirements may include a
need to demonstrate that each code path, branch, or statement has been executed in the testing process.
Second, dynamic analysis tells the programmer how he is progressing in his testing, and helps him to
identify those areas of the code that still need to be addressed.
7.9.1 Dynamic Analysis Outputs
Dynamic analysis can clearly indicate a program??™s resilience and therefore its reliability. Some Dynamic
analysis tools report on the effectiveness of test data using Test Effectiveness Ratios (TERs) as shown in
Figure 7.25 through Figure 7.29.
The coverage, i.e., the values of the TERs, can be increased by rerunning the instrumented code with
extra, different test data sets.


Pages:
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295