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
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 02. Expressions (EXP)
EXP00-J. Do not ignore values returned by methods
Page Information
Title:
EXP00-J. Do not ignore values returned by methods
Author:
Dhruv Mohindra
Aug 02, 2008
Last Changed by:
David Svoboda
Aug 06, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/xzdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (3)
Page:
FIO02-J. Detect and handle file-related errors
Page:
FIO10-J. Ensure the array is filled when using read() to fill an array
Page:
ERR52-J. Avoid in-band error indicators
SEI CERT Perl Coding Standard (1)
Page:
EXP32-PL. Do not ignore function return values
SEI CERT C Coding Standard (1)
Page:
EXP12-C. Do not ignore values returned by functions
Hierarchy
Parent Page
Page:
Rule 02. Expressions (EXP)
Labels
Global Labels (6)
cwe-754
android-applicable
android
rule
exp
analyzable
Recent Changes
Time
Editor
Aug 06, 2025 10:14
Jill Britton
View Changes
REM cost reform
Mar 05, 2025 11:28
Jill Britton
View Changes
Jan 31, 2025 00:11
Amy Gale
View Changes
Localize CodeSonar crossreferences to Java scope
Jan 14, 2025 09:55
David Svoboda
View Changes
Jan 24, 2022 11:49
Winfried Gerlach
View Page History
Outgoing Links
External Links (14)
java.sun.com/javase/6/docs/api/java/lang/String.html#replac…
mindprod.com/jgloss/gotchas.html
https://rules.sonarsource.com/java/RSPEC-2201
https://wiki.sei.cmu.edu/confluence/display/java/Rule+AA.+R…
https://rules.sonarsource.com/java/RSPEC-899
java.sun.com/javase/6/docs/api/java/io/File.html#delete()
https://pvs-studio.com/en/docs/warnings/v6101/
https://pvs-studio.com/en/docs/warnings/v6010/
https://www.safaribooksonline.com/library/view/secure-codin…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/
cwe.mitre.org/data/definitions/252.html
https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT Oracle Coding Standard for Java (14)
Page:
PVS-Studio_V
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
SonarQube
Page:
Coverity
Page:
Klocwork_V
Page:
Parasoft_V
Page:
SpotBugs
Page:
SpotBugs_V
Page:
CodeSonar_V
Page:
Parasoft
Page:
CodeSonar
Page:
Rule AA. References
Page:
Klocwork
Page:
SonarQube_V
SEI CERT C Coding Standard (2)
Home page:
SEI CERT C Coding Standard
Page:
EXP12-C. Do not ignore values returned by functions
SEI CERT C++ Coding Standard (2)
Page:
VOID EXP12-CPP. Do not ignore values returned by functions or methods
Home page:
SEI CERT C++ Coding Standard
Overview
Content Tools
{"serverDuration": 115, "requestCorrelationId": "a179394c8d7d5857"}