Assessment reports>GTE -- Perp>Informational findings>Lack of documentation
Category: Code Maturity

Lack of documentation

Informational Severity
Informational Impact
N/A Likelihood

Description

The codebase lacks sufficient documentation and NatSpec annotations. Critical functions, complex logic, and mechanisms are not explained, which makes it difficult to fully understand the system's intended behavior. The absence of clear documentation can lead to misunderstandings for future developers, auditors, and integrators, and increases the risk of incorrect implementation or misuse.

Impact

Code maturity is very important in high-assurance projects. Undocumented code may result in developer confusion, potentially leading to future bugs should the code be modified later on.

In general, a lack of documentation impedes the auditors' and external developers' ability to read, understand, and extend the code. The problem is also carried over if the code is ever forked or reused.

Recommendations

We recommend adding comprehensive documentation, including a high-level system overview, clear explanations of complex logic, NatSpec comments for public and external functions and brief comments to reaffirm developers' understanding. This will improve code maintainability, facilitate audits, and reduce the likelihood of misunderstandings or errors.

Remediation

Zellic © 2025Back to top ↑