• Skip to main content
  • assistive.skiplink.to.breadcrumbs
  • assistive.skiplink.to.header.menu
  • assistive.skiplink.to.action.menu
  • assistive.skiplink.to.quick.search

Account disable/deletion announcement

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
SEI CERT Oracle Coding Standard for Java
  • Pages
  • Boards

Space shortcuts

  • Dashboard
  • Secure Coding Home
  • Android
  • C
  • C++
  • Java
  • Perl

Page tree

Browse pages
    • Attachments (0)
    • Page History
    • Page Information
    • Resolved comments
    • View in Hierarchy
    • View Source
    • Export to PDF
    • Export to Word
  1. Pages
  2. SEI CERT Oracle Coding Standard for Java
  3. 3 Recommendations
  • Jira links

Rec. 49. Miscellaneous (MSC)

  • Created by Barbara White, last modified by Will Snavely on Nov 16, 2017

  • Page:
    MSC50-J. Minimize the scope of the @SuppressWarnings annotation
  • 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:
    MSC53-J. Carefully design interfaces before releasing them
  • 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:
    MSC58-J. Prefer using iterators over enumerations
  • Page:
    MSC59-J. Limit the lifetime of sensitive data
  • Page:
    MSC60-J. Do not use assertions to verify the absence of runtime errors
  • Page:
    MSC61-J. Do not use insecure or weak cryptographic algorithms
  • Page:
    MSC62-J. Store passwords using a hash function
  • Page:
    MSC63-J. Ensure that SecureRandom is properly seeded


  

  • recommendation-list
  • msc
Overview
Content Tools
  • Powered by Atlassian Confluence 8.3.2
  • Printed by Atlassian Confluence 8.3.2
  • Report a bug
  • Atlassian News
Atlassian

Carnegie Mellon University
Software Engineering Institute
4500 Fifth Avenue
Pittsburgh, PA 15213-2612
412-268-5800

Contact Us
  • Office Locations|
  • Additional Sites Directory|
  • Legal|
  • Privacy Notice|
  • CMU Ethics Hotline|
  • www.sei.cmu.edu

©2020 Carnegie Mellon University

{"serverDuration": 74, "requestCorrelationId": "bbffb6715b6bfb11"}