BaseIncomplete

CWE-1071Empty Code Block

Category: other

Description

The source code contains a block that does not contain any code, i.e., the block is empty.

Common consequences· 1

  • Other — Reduce Reliability

References

  1. https://cwe.mitre.org/data/definitions/1071.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Empty Exception Block
CWE
Empty Synchronized Block
CWE
Incorrect Block Delimitation
CWE
Inappropriate Source Code Style or Formatting
CWE
Source Code File with Excessive Number of Lines of Code
CWE
Dead Code
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.