CWE-1078 · Słabość
Inappropriate Source Code Style or Formatting
- Abstrakcja
- Klasa
- Status
- Niekompletny
- Dodano
- 2 lipca 2018
- Ostatnia zmiana
- 30 kwietnia 2026
Opis
The source code does not follow desired style or formatting for indentation, white space, comments, etc.
Skutki
Other
Increase Analytical Complexity
Variations in indentation and other white space, comments, etc. can make it more difficult for human analysts to understand the actual behavior that is being implemented.
Słabość nadrzędna
Słabości podrzędne
- CWE-546 Suspicious Comment
- CWE-547 Use of Hard-coded, Security-relevant Constants
- CWE-1085 Invokable Control Element with Excessive Volume of Commented-out Code
- CWE-1099 Inconsistent Naming Conventions for Identifiers
- CWE-1106 Insufficient Use of Symbolic Constants
- CWE-1107 Insufficient Isolation of Symbolic Constant Definitions
- CWE-1109 Use of Same Variable for Multiple Purposes
- CWE-1113 Inappropriate Comment Style
- CWE-1114 Inappropriate Whitespace Style
- CWE-1115 Source Code Element without Standard Prologue
- CWE-1116 Inaccurate Source Code Comments
- CWE-1117 Callable with Insufficient Behavioral Summary
Kiedy powstaje
- Implementation
Dotyczy
Not Language-Specific
Wpis z katalogu CWE 4.20.