2 min read

Software Metrics

Software Metrics

Together with Manfred, I have been working on the second edition of our book “Software Metriken” (formerly “Software in Zahlen”) and now it’s here! Metrics are an exciting topic. Once you have selected suitable metrics from the categories of quality, quantity and complexity, they provide a deeper understanding of the software - and often bring things to light that you might not have wanted to know. We take a look at what we can use metrics for, how to select them and how to integrate them into everyday life.

“If I have 10 test cases, but 500,000 lines of code, then it becomes pretty clear that it might not fit together” - Manfred Baumgartner

Manfred Baumgartner has over 35 years of experience in software development, specializing in quality assurance and software testing. He studied computer science at the Vienna University of Technology and then worked as a developer and test manager before establishing QA consulting services at Nagarro GmbH in Vienna in 2001. Baumgartner is a member of the board of the ASQF e.V. and has written specialist literature on topics such as system testing and agile test procedures.

Highlights of this episode:

  • Manfred Baumgartner is my guest, with whom I have worked for a long time in the field of software testing
  • We have written books together, one of which on software metrics has just gone into its second edition
  • Software metrics help us to understand where we are in our projects, much like a speedometer in a car
  • There are metrics for quantity, quality and complexity
  • Designs, architectures and tests can and should also be measured
  • Metrics are useful for planning, project planning and quality assurance
  • A simple approach to using metrics is to evaluate the complexity of requirements and derive test cases from them
  • It is important to be clear about the goals you want to achieve with metrics
  • Our book provides a comprehensive overview of different software metrics and their application

Deciphering software metrics

Software metrics are essential for understanding and improving software projects. Today I talk to Manfred Baumgartner about the importance of software metrics, their applications and how best to get started with them.

Why software metrics?

Today I spoke with Manfred Baumgartner. Together we have published the second edition of the reference book “Software Metrics” (formerly “Software in Numbers”). The relevance of software metrics cannot be emphasized enough - they are the backbone for understanding and optimizing the processes within a software project. Manfred talks about how metrics can be used in projects to not only measure performance, but also to make development and testing processes more effective.

The diversity of metrics

Software metrics are diverse and can be divided into different categories. Manfred emphasizes the importance of this diversity by referring to quantity, quality and complexity metrics. Each category highlights different aspects of a project and provides valuable insights into areas such as code volume, error density or even the architectural nature of an application.

Use cases of metrics

Manfred shares specific examples of how metrics have been applied in real projects. From measuring code quality to evaluating test coverage, each metric provides crucial data points for project managers and development teams. The role of metrics in decision making, such as selecting technologies or determining the development effort for new features, is particularly emphasized.

Challenges and solutions

Despite their obvious advantages, software metrics also encounter challenges. One of these is acceptance within teams - there is often a fear that metrics could reveal negative aspects. However, Manfred emphasizes that the goal is not to point out mistakes, but to identify opportunities for improvement. He also provides practical tips for getting started with software metrics and emphasizes the importance of targeted implementation.

A pragmatic approach

To fully utilize the benefits of software metrics, Manfred recommends a pragmatic approach. Instead of jumping straight into complex measurement procedures, teams should start with basic metrics and observe their effects. Through iterative adjustments, customized metrics systems can be developed that are specifically tailored to the needs of a project.

The future of software metrics

Manfred talks about the future of software metrics and their role in an ever-changing technological landscape. He foresees a growing awareness of the value of these tools and an increasing integration into the development cycle - a positive step towards more efficient and higher quality software projects.

Agile Testing

Agile Testing

“So, we don’t need testers anymore, because we work agile now!” That was the impetus for writing the first edition of“Agile Testing”more than 10...

Weiterlesen
ChatGPT for Test

ChatGPT for Test

Language models have been around for a long time. But the release of ChatGPT hit like a bomb. Maybe that’s because it’s so easy to access. I think...

Weiterlesen
Practical Tester Training with AI

Practical Tester Training with AI

The Alliance for Qualification (A4Q) supports the qualification of specialists and, as a community partner from the very beginning, also the podcast...

Weiterlesen