This article explains overview of the static code analysis

Static Code Analysis – Overview (c-sharpcorner.com)