What is difference between Static and Dynamic testing? code example

Example: static testing vs dynamic testing

**Testing documents is called Static Testing.
In static testing we check required documents
and designs documents to prevent errors in 
early stage

It can be done in 3 ways: 
  Review, Walk Through, Inspection
  
**Dynamic testing when we actually execute the code
It can be done in 2 ways: 
1-Functional Testing (clickable, able to select, able to check)

2-NonFunctional Testing (i.e. Security, Installation,
                         Handling Stress, Performance)

Tags:

Misc Example