Automated code review

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Automated code review software checks source code for compliance with a predefined set of rules or best practices. The use of analytical methods to inspect and review source code to detect bugs has been a standard development practice. This process can be accomplished both manually and in an automated fashion.[1] With automation, software tools provide assistance with the code review and inspection process. The review program or tool typically displays a list of warnings (violations of programming standards). A review program can also provide an automated or a programmer-assisted way to correct the issues found.

Some static code analysis tools can be used to assist with automated code review. They do not compare favorably to manual reviews, however they can be done faster and more efficiently. These tools also encapsulate deep knowledge of underlying rules and semantics required to perform this type analysis such that it does not require the human code reviewer to have the same level of expertise as an expert human auditor.[1] Many Integrated Development Environments also provide basic automated code review functionality. For example the Eclipse[2] and Microsoft Visual Studio[3] IDEs support a variety of plugins that facilitate code review.

Next to static code analysis tools, there are also tools that analyze and visualize software structures and help humans to better understand these. Such systems are geared more to analysis because they typically do not contain a predefined set of rules to check software against. Some of these tools (e.g. Imagix 4D, Resharper, SonarJ, Sotoarc, Structure101, ACTool[4]) allow one to define target architectures and enforce that target architecture constraints are not violated by the actual software implementation.

Automated code review tools[edit]

See also[edit]


  1. ^ a b Gomes, Ivo; Morgado, Pedro; Gomes, Tiago; Moreira, Rodrigo (2009). "An overview of the Static Code Analysis approach in Software Development". Universadide do Porto. Retrieved 2010-10-03. 
  2. ^ "Collaborative Code Review Tool Development". Retrieved 2010-10-13. 
  3. ^ "Code Review Plug-in for Visual Studio 2008, ReviewPal". Retrieved 2010-10-13. 
  4. ^ Architecture Consistency plugin for Eclipse