Arm Compiler can detect basic syntax problems in the code but for deeper code inspection it is recommended to use static code analysis tools. Such tools automatically examine your source code without executing the program itself. They report vulnerabilities in the code that can lead to potential issues. This includes bugs, glitches, inconsistencies, non-portable constructs, redundant code, and other weaknesses.
Integrating static code analysis in the development flow brings multiple benefits such as:
- Better maintainable code conforming to specified code-style
- Reduced error-rate, more reliable and secure software
- Fulfilling requirements of safety standards