DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone >

Sonar 2.7

Olivier Gaudin user avatar by
Olivier Gaudin
·
Apr. 29, 11 · · News
Like (0)
Save
Tweet
429 Views

Join the DZone community and get the full member experience.

Join For Free
The Sonar Team is pleased to announce the release of Sonar 2.7. This version focuses on providing further control on technical debt.

Prior to version 2.5, Sonar was really useful to assess application’s technical debt but was not so handy to manage evolution over time. In Sonar 2.5 was added the ability to see metrics evolution and monitor the apparition of new violations over a period of time or since an event. A similar functionality has now been added with version 2.7 for code coverage by unit tests on new / updated source code. It is now possible to follow what percentage of changed code over a period of time is covered by unit tests.

Tighter integration with SCM data
By using the SCM Activity extension, Sonar can retrieve information from the SCM and display them along with the source code.



Coverage of new/updated source code
Monitoring code coverage is crucial to understand the risks associated to changes. But how to do this efficiently in the context of a big legacy application with very low coverage ? All the efforts done to increase coverage are going to be largely diluted and this is going to be almost impossible to make a difference. This is why we added the ability to also monitor the coverage on newly added / updated source code over a period or since an event to track what code was added and is not enough tested.



Drilldown then display details on each file :



Better Coverage viewer

Instead of showing the percentage of branches covered, Sonar now displays both the number of covered branches and the total number of branches



And you have the option to filter only the coverage information you want to see



The release notes of Sonar 2.7 are available in the .

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Debugging Deadlocks and Race Conditions
  • Java Hashtable, HashMap, ConcurrentHashMap: Performance Impact
  • Portfolio Architecture Examples: Retail Collection
  • Modernize Legacy Code in Production: Rebuild Your Airplane Midflight Without Crashing

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo