Sonar in the news
Welcome to the roundup of blog posts and pages that mentioned Sonar last month...
Code Quality Metrics with Sonar, Part I
By Akrem Saed, 5 March 2012
was fortunate to be able to attend the 2011 edition of No Fluff Just Stuff . One of my favorite presentations was by Matthew McCullough on Sonar . Hence, when the issue of code metrics was raised at a client, Sonar seemed like the right tool to use. Our client wanted to explore ways to measure and enforce software and code quality metrics. Their goals were to have quantitative measurements of their code quality and analyze those metrics to come up with a set of benchmark measurements. They wanted to utilize Sonar to discourage bad practices.
Pros and Cons of the LCOM4 metric in Sonar
By Andreas Ebbert-Karroum, 28 March 2012
In our projects, we use sonar to detect quality flaws in our sources as early as possible. An important metric is LCOM4: Lack of Cohesion of Methods IV. It measures how related the fields and methods in a class are. If everything is related within a class, that’s the best case. If LCOM4 is greater than 1, the class is suspicious to violate the Single Responsibility Principle. The class might be responsible for more than one thing, and is a candidate to be split into two ore more classes in a refactoring. At least in Theory...
The Incredibles: Some of my favorite Java tools.
By Parksy's Recreation, 5 March 2012
I love programming. It gives me a sense of accomplishment when I solve a particularly difficult problem. I occasionally get so wrapped up in what I’m doing I lose track of time and spend a few extra hours at work. Obviously there are a lot of other programmers out there that feel the same way. An old friend of mine coined it something like this: “Managers don’t get it, we love coding so much that we’ll sit and squirm in our chairs until we have to go to the bathroom.”
When creating the ultimate developer image, which Java tools get included?
By Cameron McKenzie, 7 March 2012
About once a year, I recreate a computer image that I will inevitably reinstall time and time again, depending upon whether I'm starting a new project, playing around with a new technology, or just trying to bring my environment back to something that is clean and fresh. Every time I do this, I sit there and think about the key pieces of software that I need...
The Tools You Need To Build Enterprise Software - All You Need is Open Source
By Partha Bhattacharjee, 28 February 2012
Let me share a secret with you. There is only a handful software tools, mostly free, that are sufficient enough for managing design and development activities for most of your java based projects. In my career spanning across the globe for more than a decade now, I have seen so many combinations of (mostly non required, pricey, and inept) supporting software, that I am compelled to write down a list of what I consider are must haves (not necessarily free, but worth the price if they are commercial).
Sonar Code Quality tool – Maven integration
By Suyambu, 2 March 2012
In this blog, i am presenting you the integration of Sonar code quality tool with Maven. Sonar is a powerful code quality tool Which leads the control of quality of code in different phases of the project life cycle. Sonar has got a very efficient way of navigating, a balance between high-level view, dashboard, TimeMachine and defect hunting tools...
Common Sense and Code Quality, Part 1
By Partha Bhattacharjee, 9 March 2012
If you are involved in a software project (as an individual coder, technical team lead, architect or project manager) chances are that code quality might not be the first thing on your mind. However, the truth is, it needs to be on everyone's radar. It is one of those things that needs well thought out strategy and continued focus throughout the project's life-cycle. Otherwise it simply spirals out of control and comes back to bite when the project can ill afford a quality issue.
Dangerous can be dating in java , joda and sonar to the rescue!
By Mestachs, 17 March 2012
How many bugs in 5 lines of code ?
Date date = new Date(2007, 12, 13, 16, 40);
TimeZone zone = TimeZone.getInstance("Europe/Bruxelles");
Calendar cal = new GregorianCalendar(date, zone);
DateFormat fm = new SimpleDateFormat("HH:mm Z");
String str = fm.format(cal);
Just 6 bugs !