Static code analysis in Visual Studio

[Author: Benjamin Hinson] This article shows how to use static code analysis in Visual Studio so that you can adhere to acceptable style guides and coding standards for your Visual Studio-based projects. Understanding static code analysis in Visual Studio Static Code Analysis can help developers identify potential issues in their code that could affect quality. Microsoft has a standard set …

Eclipse Google Java Style Guide

[Author: Jonathan Frankel] This article shows how to use the Google Java style guide with Eclipse IDE. The benefit of doing this is that it will be easier for you to adhere to your organisation’s style guide by automatically highlighting deviations from it as you write code. Step 1: Download the Google Java Style guide definition for Eclipse The definition …

IntelliJ Checkstyle Google Java Style Guide

[Author: Jonathan Frankel] This article shows how to use the Google Java style guide with IntelliJ IDE. The benefit of doing this is that it will be easier for you to adhere to your organisation’s style guide by automatically highlighting deviations from it as you write code. Step 1: Download the Checkstyle plugin Download the latest Checkstyle plugin for IntelliJ. …

Local Conventions and Code Complexity

[Author: Peter Moon] The complexity of software limits the ability of teams to maintain and change the software. This complexity is often described in terms of accidental complexity and essential complexity (See “No Silver Bullet” by FP Brooks). Accidental complexity relates to problems created by software engineering that can be fix in principle. Essential complexity is caused by the problem to …