Dynamic Analysis

Dynamic Analysis

Dynamic analysis, also called dynamic code analysis, is the process of analyzing a computer software by executing the program in real-time. The objective is to find errors in a program while it is running, rather than by repeatedly examining the code offline — in contrast to static analysis.

What kind of problems can dynamic analysis find?

  1. Lack of code coverage
  2. Errors in memory allocation and leaks
  3. Fault localization according to failing and passing test cases
  4. Concurrency errors such as race conditions, exceptions, resource & memory leaks, and security attack vulnerabilities
  5. Performance bottlenecks and exposed security vulnerabilities

Also see Continuous Quality.

Write clean and secure code with DeepSource

Powerful static analysis that takes 5 minutes to set up and helps you fix code health and security problems on every pull request.