Dynamic testing of an application means that you have to run your application. You can perform static analysis at an earlier stage in the development cycle, which allows you to find and correct problems that might be difficult to manage during the test phase.
Static analysis code reviews, for example, compare the source code of an
application with a set of coding standards to ensure that the source code
complies with those standards, to find unwanted dependencies, and to ensure
that the intended structural design of the code is maintained.