Skip to main content

Software Metrics Tools that are 'Pushed' by companies

In the last period of time I have been involved in different projects where quality is extremely important. Because of this we started to look around us and search for tools that can measure the quality of software (of the code itself) – software/code metrics.
This is why, this year I had some posts related to Sonar and different software metrics. Personally I looked on different tools that can measure this metrics and can share the content in a consistent and easy way. Until now, my search stopped over Sonar – that is a great tool, but can give you headaches when you need to configure it.
There are many companies that tracks the software metrics. This is a very good think. But in the same time I observed that this companies usually push only one tool that can be used to measure this metrics – THE TOOL. For them it is not important what kind of language you use for developing or if the given tool suites your needs. For them that tool is a standard and you need to obey.
Is this a good or bad thing?
From my opinion, the main scope of the company should be to ensure that for each project the metrics are measured and the team take them into consideration. The most important thing are the metrics them self, not the tool which is used to measure the metrics.
Why the tool is not important?
First of all different teams may feel conformable with different tools. The team should have the freedom to choose the tools that they like, as long as they respect the client or company standards. We are different and we have different preferences.
Also trying to push ‘the’ perfect tool for a job can create a lot of configuration and management problems. For example what happens if you have 20 teams that use a Sonar server and one of the team say that the update to the new version of Sonar or of a specific plugin cannot be made because there is an issues in the new version (of Sonar/plugin) that affect them? Another case can if you have 3 projects that are over 5M of lines of code.  In this cases you can have performance problems only one instance of the tool to measure and visualize the metrics.
If to push a tool as a standard, after a period of time you can realize that on the market the tool that you use is obsolete and there are new tools that make the job better. If you let each team to use any kind of tool, as long as the tools does what is required than you have better chance to use the best tools that are on the market all the time – natural selection. If one the market there is a tool that is perfect you can be sure that a large number of teams will use it.
The best scenario is to end up with 2 or more teams that wants to use the same tool and wants to share the same server. In this case it is clear that you will have the same tool for multiple teams. But this decision needs to come in a natural way from the team’s itself – not pushed by the management.

From the company perspective, it is important to create standards related to code quality and look at software metrics. This standards should require different metrics to be measured, but the tools that are used to make the measure should not be pushed. I’m not a fan to measure software metrics only to measure them. Because of this, the value of metrics has no value if no one interpret the results and take them into consideration.

Comments

  1. There is a reason some companies try to standardize on a set of tools (for metrics or something else) - learning curve, technical support and/or price.. The projects come and go, the team members come and go in projects that take many years, new projects appear where a few developers must become productive in a matter of days..

    Thats's why a big company usually have to standardize on a set of tools, but let a team choose another tool if they have a good reason for it and can afford the cost of learning it and training new members each time they join the project.

    ReplyDelete

Post a Comment

Popular posts from this blog

Windows Docker Containers can make WIN32 API calls, use COM and ASP.NET WebForms

After the last post , I received two interesting questions related to Docker and Windows. People were interested if we do Win32 API calls from a Docker container and if there is support for COM. WIN32 Support To test calls to WIN32 API, let’s try to populate SYSTEM_INFO class. [StructLayout(LayoutKind.Sequential)] public struct SYSTEM_INFO { public uint dwOemId; public uint dwPageSize; public uint lpMinimumApplicationAddress; public uint lpMaximumApplicationAddress; public uint dwActiveProcessorMask; public uint dwNumberOfProcessors; public uint dwProcessorType; public uint dwAllocationGranularity; public uint dwProcessorLevel; public uint dwProcessorRevision; } ... [DllImport("kernel32")] static extern void GetSystemInfo(ref SYSTEM_INFO pSI); ... SYSTEM_INFO pSI = new SYSTEM_INFO(...

How to audit an Azure Cosmos DB

In this post, we will talk about how we can audit an Azure Cosmos DB database. Before jumping into the problem let us define the business requirement: As an Administrator I want to be able to audit all changes that were done to specific collection inside my Azure Cosmos DB. The requirement is simple, but can be a little tricky to implement fully. First of all when you are using Azure Cosmos DB or any other storage solution there are 99% odds that you’ll have more than one system that writes data to it. This means that you have or not have control on the systems that are doing any create/update/delete operations. Solution 1: Diagnostic Logs Cosmos DB allows us activate diagnostics logs and stream the output a storage account for achieving to other systems like Event Hub or Log Analytics. This would allow us to have information related to who, when, what, response code and how the access operation to our Cosmos DB was done. Beside this there is a field that specifies what was th...

Cloud Myths: Cloud is Cheaper (Pill 1 of 5 / Cloud Pills)

Cloud Myths: Cloud is Cheaper (Pill 1 of 5 / Cloud Pills) The idea that moving to the cloud reduces the costs is a common misconception. The cloud infrastructure provides flexibility, scalability, and better CAPEX, but it does not guarantee lower costs without proper optimisation and management of the cloud services and infrastructure. Idle and unused resources, overprovisioning, oversize databases, and unnecessary data transfer can increase running costs. The regional pricing mode, multi-cloud complexity, and cost variety add extra complexity to the cost function. Cloud adoption without a cost governance strategy can result in unexpected expenses. Improper usage, combined with a pay-as-you-go model, can result in a nightmare for business stakeholders who cannot track and manage the monthly costs. Cloud-native services such as AI services, managed databases, and analytics platforms are powerful, provide out-of-the-shelve capabilities, and increase business agility and innovation. H...