> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/guides/user-story-coverage/use-cases-by-persona/developers/code-quality-ownership.md).

# Code Quality Ownership

Take control of code quality for your assigned user stories, especially critical ones!  The User Story Coverage Report empowers developers to take ownership and proactively address testing gaps. Track coverage progress seamlessly, identify uncovered code with ease, and deliver well-tested features that shine.

{% hint style="info" %}
**Remember!** Taking ownership of code quality fosters a culture of accountability and leads to higher-quality software. Utilize the User Story Coverage Report regularly to stay informed, proactive, and deliver with confidence!
{% endhint %}

***

## Step-by-Step Tutorial

<details>

<summary><strong>1. Access Your User Story's Coverage</strong></summary>

* Open your user story in Jira and navigate to the "Coverage" tab.\
  ![](/files/CM4j08TkxBpaJw9rn71b)\
  \
  **Note:** If the tab is missing, the user story deployment isn't complete. Refer to the[Deployment Guide](/knowledgebase/guides/user-story-coverage/technical-overview/deployment-guide.md) for further details.

</details>

<details>

<summary><strong>2. Assess Overall Coverage</strong></summary>

* Check the "Modified Coverage" and "Non-Unit Tests Coverage" indicators. Green signals sufficient testing, while orange or red suggests potential gaps.

</details>

<details>

<summary><strong>3. Deep Dive into Subtasks</strong></summary>

* Open the detailed coverage report to scrutinize individual subtasks.\
  \
  ![](/files/1015Kf6lJxP7qcY3diIx)
* **Pro Tip:** Even if overall coverage is green, review subtasks. Crucial functionalities might lack coverage despite good overall numbers.

</details>

<details>

<summary><strong>4. Identify Untested Methods</strong></summary>

* Analyze method-level coverage for each subtask. Orange or red signals insufficient testing. Prioritize addressing these methods.

</details>

<details>

<summary><strong>5. Streamline Workflow (Optional)</strong></summary>

* Use the "Uncovered Methods Report" to directly access and review only untested methods.

</details>

<details>

<summary><strong>6. Focus on Critical Code</strong></summary>

* The report will flag critical code segments red if they have not been tested by all relevant test types.
  * Critical code segments are based on your commit messages that include the word "Critical".&#x20;

</details>

<details>

<summary><strong>7. Collaborate and Act</strong></summary>

* Share your findings and any identified gaps with relevant stakeholders during your daily scrum meeting.
* Encourage immediate action to address uncovered areas and ensure comprehensive testing.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sealights.io/knowledgebase/guides/user-story-coverage/use-cases-by-persona/developers/code-quality-ownership.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
