source-code-quality

Telling quality of source code from its shape

This is a jigsaw piece I am maintaining (bonus: green = commented response.write used for debugging) So I am wondering, what kind of shape do good code tend to have? ...

ASP.NET source code quality management

Hello, In the Java world for instance, there are some very sophisticated tools to manage the quality of the source code, and that cover more than one dimension, such as : Coding Rules Comments Complexity Unit testing Code coverage etc. These tools are very useful to manage the technical debt. They connect to a repository of source code...

preferred way to organize callbacks

In my Android project, I define a few callbacks to operate on button clicks, connectivity events, or UI events such as Dilaog.onShow(). For demo purposes, I have chosen a Runnable interface that must be launched from some Activity code. With Java, I have different ways to express myself. One pattern would be to use anonymous class runO...

Sonar Category Explainations

Can anybody suggest a one/two line explanation of the "five" sonar categories, in such a way that a non-developer can understand what the percentage figure means. Efficiency Maintainability Portability Reliability Usability ...