Versions Compared

Key

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

...

C++ Secure Coding Standard

"OOP00-CPP. Declare data members private"

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3409b6c5-bebd-4c32-95d7-22b5517f4135"><ac:plain-text-body><![CDATA[

[[SCG 2009AA. Bibliography#SCG 09]]

Guideline 3-2 : " Define wrapper methods around modifiable internal state "

]]></ac:plain-text-body></ac:structured-macro>

MITRE CWE

CWE ID 766, "Critical Variable Declared Public"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="27a9c1e661150fa7-aff3763b-48884e4d-b210bcdf-3ebefaf0ad8c8b1625709183"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. Bibliography#Bloch 08]]

Items 13: Minimize the accessibility of classes and members; 14: In public classes, use accessor methods, not public fields

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="34e45fdbc37cdf9d-7ad833f2-4b0d4f92-b328a1f5-4ff5f819ac0e60d8dc8536df"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. Bibliography#JLS 05]]

[§6.6 "Access Control"

http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.6]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a1319f9a2e00a811-ea7fc049-43684dcd-b4ba80bb-2835cfd68dbd6fe54736a00b"><ac:plain-text-body><![CDATA[

[[Long 2005

AA. Bibliography#Long 05]]

§2.2, Public Fields

]]></ac:plain-text-body></ac:structured-macro>

...