Static code analysis, or static analysis, is a software verification activity that analyzes source code for quality, reliability, and security without executing the code. Using static analysis, you can identify defects and security vulnerabilities that can compromise the safety and security of your application.\n
"If for example in some code like x=y/n , where x,y and n are integers. Here n has the possibilities of becoming zero i.e. n=0 and thus tests must be written such that we can realise the error even before going onto runtime. Thus static code analysis is required ."