# Differentiate new code and old code with latest version

**URL:** <https://community.sonarsource.com/t/differentiate-new-code-and-old-code-with-latest-version/40869>\
**Category:** SonarQube Server / Community Build\
**Created:** [March 30, 2021, 9:18am UTC](https://community.sonarsource.com/t/differentiate-new-code-and-old-code-with-latest-version/40869 "2021-03-30T09:18:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nagaraju](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@Nagaraju](https://community.sonarsource.com/u/Nagaraju)\
**Post date:** [March 30, 2021, 9:18am UTC](https://community.sonarsource.com/t/differentiate-new-code-and-old-code-with-latest-version/40869/1 "2021-03-30T09:18:33Z")

</div>

I facing an with issue sonar latest version, I enabled the option to see new code in admin level which you suggested and ran the analysis again.

1. New code is not differentiating properly, we couldn’t see what are lines changed and which are introducing the new bugs or vuln’s
2. We do we have clear picture earlier like below screeshot, but currently with the sonar latest version it is not clear for us to check new bugs/vuln’s with the respective code changes

We are expecting something like below.

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/a/8/a882519d7a20c6ad7ba135ccafe81d9f23db24e9.png)

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/2/0/205aa0e038280f07b77a4fa9fcf18930e504a007.png)

Our main view is to see like above and quickly say ok only one bug is getting introduced with the master branch code.

Please guide me how do we setup and display only changes of new code. With the latest version it is difficult for us to search the new/modified lines code. Instead it is showing full code

---

<div class="post-metadata">

**Author:** ![Nagaraju](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@Nagaraju](https://community.sonarsource.com/u/Nagaraju)\
**Post date:** [March 30, 2021, 9:25am UTC](https://community.sonarsource.com/t/differentiate-new-code-and-old-code-with-latest-version/40869/2 "2021-03-30T09:25:34Z")

</div>

Please refer to the ticket - [Differentiating Scanned New code vs Old code](https://community.sonarsource.com/t/differentiating-scanned-new-code-vs-old-code/39812)

As suggested I am starting new thread

---

<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:** [April 2, 2021, 4:10pm UTC](https://community.sonarsource.com/t/differentiate-new-code-and-old-code-with-latest-version/40869/3 "2021-04-02T16:10:31Z")

</div>

Hi,

It’s really not clear to me what you’re expecting that’s not happening.

&nbsp;  
Ann
