# Quality Assurance

## Access Control

During the assessment, we outline each role within the system along with its corresponding capabilities. This evaluation ensures that robust access controls are established, effectively managing each user's permissions within the system.

## Code Maturity

The Code Maturity Evaluation is based on several key guidelines, as outlined in the table below.

<table><thead><tr><th width="209">Category</th><th>Description</th></tr></thead><tbody><tr><td>Access Control</td><td>The use of robust access controls to handle identification and authorization, as well as ensuring safe interactions with the system.</td></tr><tr><td>Arithmetic</td><td>The proper use of mathematical operations, including addition, subtraction, multiplication, and division, as well as semantics.</td></tr><tr><td>Centralization</td><td>The proper use of permissionless principles for mitigating insider threats and managing risks posed by contract upgrades.</td></tr><tr><td>Code Stability</td><td>The extent to which the code was altered during the audit and the frequency of changes made over time.</td></tr><tr><td>Upgradability</td><td>The presence of upgradeable logic that allow modifications after deployment, ensuring adaptability to future needs.</td></tr><tr><td>Front-Running</td><td>The system’s resistance to front-running attacks, where transactions are manipulated to exploit market conditions.</td></tr><tr><td>Monitoring</td><td>The presence of events that are emitted whenever there are operations that change the state of the system.</td></tr><tr><td>Specification</td><td>The presence of comprehensive and readable codebase documentation outlining the purpose, functionality, and design choices of the system.</td></tr><tr><td>Testing &#x26; Verification</td><td>The presence of robust testing procedures, including unit tests, integration and end-to-end tests, ensuring the reliability and correctness of the system.</td></tr></tbody></table>

This framework helps ensure a comprehensive understanding of the codebase's robustness and identifies areas for improvement.

{% hint style="info" %}
**Note:** Upon completion of this phase, a draft report is provided to the client, summarizing the findings. A brief overview is presented during the Close-out Meeting, after which the engagement transitions into the Fix Review phase.
{% endhint %}
