Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some of these guidelines are stylistic, but they are nonetheless important for readability and maintainability of the code. For Java, Oracle provides a set of Code Conventions [Conventions 2009] to help programmers produce a consistent programming style, and these conventions are widely adopted by Java programmers.

The CERT® Oracle® Secure Coding Standard for Java  

Java™ Coding Guidelines is written by the authors of The CERT® Oracle® Secure Coding Standard for Java [Long 2011]. That coding standard provides a set of rules for secure coding in the Java programming language. The goal of those rules is to eliminate insecure coding practices that can lead to exploitable vulnerabilities. The Secure Coding Standard establishes normative requirements for software systems. These software systems can then be evaluated for conformance to the coding standard, for example, by using the Source Code Analysis Laboratory (SCALe) [Seacord 2013]. However, there are poor Java coding practices that, despite not warranting inclusion in a secure coding standard for Java, can lead to unreliable or insecure programs. Java Coding Guidelines serves to document and warn against such coding practices.

...

Rec.: Scope

Rec.: Audience

Rules and Recommendations

Rec.: Contents and Organization

Rec.: Guidelines

Rec.: Usage

Rec.: System Qualities

Rec.: Priority and Levels

Rec.: Automatically Generated Code

Rec.: Source Code Validation

Rec.: Tool Selection and Validation

Acknowledgments

 

 

...