Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
A
t
tachments (0)
Page History
Page Information
Resolved comments
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
Old Categories
Jira links
4. Program Understandability
Created by
Carol J. Lallier
, last modified by
David Svoboda
on
Oct 20, 2014
Program understandability: Introduction
Page:
DCL50-J. Use visually distinct identifiers
Page:
DCL57-J. Avoid ambiguous overloading of variable arity methods
Page:
ERR52-J. Avoid in-band error indicators
Page:
EXP51-J. Do not perform assignments in conditional expressions
Page:
EXP52-J. Use braces for the body of an if, for, or while statement
Page:
EXP53-J. Use parentheses for precedence of operation
Page:
FIO50-J. Do not make assumptions about file creation
Page:
MET50-J. Avoid ambiguous or confusing uses of overloading
Page:
MET53-J. Ensure that the clone() method calls super.clone()
Page:
MSC51-J. Do not place a semicolon immediately following an if, for, or while condition
Page:
MSC52-J. Finish every set of statements associated with a case label with a break statement
Page:
MSC54-J. Avoid inadvertent wrapping of loop counters
Page:
MSC55-J. Use comments consistently and in a readable fashion
Page:
MSC56-J. Detect and remove superfluous code and values
Page:
MSC57-J. Strive for logical completeness
Page:
NUM50-J. Convert integers to floating point for floating-point operations
section
Overview
Content Tools
{"serverDuration": 177, "requestCorrelationId": "d8a9c442ce827394"}