# S8- High code quality bugs on Sonar

### **Why is this a symptom?**

This symptom refers to a high level of code quality bugs as reported by the static code analysis tool Sonarqube/SonarCloud.&#x20;

Code quality bugs are issues in the code that can negatively impact the maintainability, performance, or functionality of the system.&#x20;

High code quality bugs can be an indication of poor coding practices, lack of attention to code quality, or lack of time dedicated to code review and maintenance.&#x20;

High code quality bugs can lead to increased maintenance costs, reduced code maintainability, and decreased ability to add new features in the future. It can also lead to decreased code quality, increased risk of defects, and decreased developer productivity.&#x20;

High code quality bugs can be considered a symptom of the development process, indicating that the team may need to focus on improving their coding practices, increasing time dedicated to code review and maintenance, and paying attention to code quality best practices.

{% hint style="info" %}
**Level:** Team Level, System Level

**Potential Complications:** #quality\_risk
{% endhint %}

### **Possible Causes**

* Lack of attention to code quality
* Lack of time dedicated to code review and maintenance
* Use of poor coding practices
* Lack of training or knowledge on good coding practices
* Lack of established code review processes

### **Improvement Areas**

* Increase the focus on code quality
* Prioritize the reduction of code-quality bugs
* Implement tools and processes to identify and track vulnerabilities
* Encourage collaboration and knowledge sharing on secure coding practices
* Encourage and facilitate automated testing

### **Detection Method**

Oobeya detects this symptom if the level of bugs on Sonar for the selected period exceeds the specified threshold.

**Formula:** (sonar\_bugs) > (threshold) in the selected period

**Example:** The team has **more than 0** open code quality bugs on Sonar.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oobeya.io/team-insights-and-symptoms/symptoms-catalog/s8-high-code-quality-bugs-on-sonar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
