The source code does not follow desired style or formatting for indentation, white space, comments, etc.
View on MITRENo consequence information available for this CWE.
No mitigation information available for this CWE.
No detection method information available for this CWE.
The usage of symbolic names instead of hard-coded constants is preferred.
The following is an example of using a hard-coded constant instead of a symbolic name.
The usage of symbolic names instead of hard-coded constants is preferred.
The following is an example of using a hard-coded constant instead of a symbolic name.
No relationship information available for this CWE.
CWE-1078: Inappropriate Source Code Style or Formatting is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The source code does not follow desired style or formatting for indentation, white space, comments, etc.
A CWE (Common Weakness Enumeration) like CWE-1078 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.