Sie sind auf Seite 1von 1

Dynamic analysis techniques

While static analysis techniques do not necessitate the execution of the software, dynamic analysis is
what is generally considered as ``testing``, i.e. it involves running the system. ``The analysis of the
behaviour of a software system before, during and after its execution in an artificial or real applicational
environment characterises dynamic analysis'' . Dynamic analysis techniques involve the running of the
program formally under controlled circumstances and with specific results expected . It shows whether a
system is correct in the system states under examination or not .
Among the most important dynamic analysis techniques are path and branch testing. During dynamic
analysis path testing involves the execution of the program during which as many as possible logical
paths of a program are exercised . The major quality attribute measured by path testing is program
complexity . Branch testing requires that tests be constructed in a way that every branch in a program is
traversed at least once . Problems when running the branches lead to the probability of later program
defects.
Statement Coverage:
In this type of testing the code is executed in such a manner that every statement of the
application is executed at least once. It helps in assuring that all the statements execute without any side
effect.
Branch Coverage:
No software application can be written in a continuous mode of coding, at some point we need to
branch out the code in order to perform a particular functionality. Branch coverage testing helps in
validating of all the branches in the code and making sure that no branching leads to abnormal behavior
of the application.

Das könnte Ihnen auch gefallen