# What is closed(fixed)

**URL:** <https://community.sonarsource.com/t/what-is-closed-fixed/5203>\
**Category:** SonarQube Server / Community Build\
**Created:** [December 18, 2018, 7:07am UTC](https://community.sonarsource.com/t/what-is-closed-fixed/5203 "2018-12-18T07:07:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_saini](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/rahul_saini/32/2890_2.png) [@rahul\_saini](https://community.sonarsource.com/u/rahul_saini)\
**Post date:** [December 18, 2018, 7:07am UTC](https://community.sonarsource.com/t/what-is-closed-fixed/5203/1 "2018-12-18T07:07:21Z")

</div>

Hello,

My understanding is:

1. When you fix any code smell, but do not rescan the code onto sonarqube, you can mark the issue as “Resolved as fixed”. That will change the issue state to Resolved (Fixed).

2. When you fix any code smell & then rescan the code onto sonarqube, the issue will be automatically removed from the issue list & issue count.

But recently I stumbled upon a issue state of Closed (Fixed). Can someone please explain what am I missing. Because it sort of contradicts my #2 understanding.

Thank You

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [December 18, 2018, 1:23pm UTC](https://community.sonarsource.com/t/what-is-closed-fixed/5203/2 "2018-12-18T13:23:16Z")

</div>

Hi,

> [@rahul\_saini](#):
>
> 1. When you fix any code smell & then rescan the code onto sonarqube, the issue will be automatically removed from the issue list & issue count.
> 
> But recently I stumbled upon a issue state of Closed (Fixed). Can someone please explain what am I missing. Because it sort of contradicts my #2 understanding.

Believe it or not, there’s no contradiction here. The Closed/Fixed state is _how_ the new analysis removes issues from the _Open_ issue count (which is what you see by default). When an analysis sees that an issue has been handled, it moves that issue to Closed/Fixed. Eventually those issues are purged from the database. The default housekeeping period is 30 days, but that’s tunable.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![rahul\_saini](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/rahul_saini/32/2890_2.png) [@rahul\_saini](https://community.sonarsource.com/u/rahul_saini)\
**Post date:** [December 20, 2018, 6:00am UTC](https://community.sonarsource.com/t/what-is-closed-fixed/5203/3 "2018-12-20T06:00:52Z")

</div>

Oh ok, thanks Ann 🙂
