testsigma
left-mobile-bg

Metrics in SDLC: Let the Truth Prevail

May 20, 2024
Srinivas Kantipudi
right-mobile-bg
Metrics in SDLC Let the Truth Prevail
image

Start automating your tests 10X Faster in Simple English with Testsigma

Try for free

Communication is the key to managing the stakeholders. Many times, not enough efforts are made to communicate clear details, status, risks on the ongoing projects. On the other hand, not everyone can detail every important aspect or gauge what’s important to communicate without being subjective and setting aside all emotions during communication. 

Usually, Engineering teams are focused on their work and do not put a lot of emphasis on communication and highlighting the risks with all the data. Even when they do, the usual sentences will be ‘should be able to complete on time’, ‘too many bugs’, ‘not ready’, ‘looks good’ which are all subjective in nature and do not really convey the information that helps in making a decision.

Often there are assumptions that communication happened or that everyone knows all the details. This leads to management being in the dark on important aspects.

George Bernard Shaw Quote

One way of ensuring smooth communication is to have proper data to represent the status and risks.

Metrics in SDLC

Metrics are pure data. They show you numbers without emotions which is the most important factor in analyzing the data. The real problem, in SDLC, starts when these metrics are considered as a single source of truth or when they are taken up as absolute measures or when used inappropriately

Goodhart's law

A few notable points on metrics:

  • Metrics are indicators of current or past conditions–they are not THE truth. The proper initial response to any metric anomaly is to investigate, not act.
  • The more a quantitative metric is visible and used to make important decisions, the more it will be gamed.
  • Be careful what you measure because that is what you are going to get. You should measure things, but understand when to make them as targets. 
  • Vanity metrics makes you feel good, they cannot be used for decision making.

Also Know: V model in SDLC

When and when not to use Metrics in SDLC

There are some metrics that are absolutely useful while there are others that are mostly misleading or distracting, more of a Vanity metrics or that can be easily gamed. In other words, not well thought of. Every Manager, every leader at some point goes through the process of picking a wrong metric, getting carried away with the same. 

Always ask questions before you pick a metric:

  • Will they be gamed?
  • Are we choosing Vanity metrics?
  • Do we need to use this metric as a measure?
  • Do we need to publish this metric?

Learn More: Entry and Exit In SDLC

Take for example – ‘Zero technical debt’ as a Metric – this means all bugs identified, during the SDLC, should be fixed and cannot be left in the backlog. If we start measuring teams on this metric, the whole focus will be on fixing every bug even if it’s from a feature that no customer has been using,  even in cases when it’s impacting the new features and so the customer adoption. 

There are a few metrics that we should watch silently, during the SDLC, to understand how the team is doing, to understand what needs to be improved in our process. If you upfront publish these metrics as measures, they will eventually be gamed. 

Testsigma Author - Srinivas Kantipudi

Srinivas Kantipudi

Srinivas Kantipudi is an experienced Software Engineering & Quality Assurance enthusiast with diverse experience driving quality of products in application development space. He has held a wide variety of roles ranging from Developer, Test engineer, head of QA CoE, Engineering head and Product Owner. He is passionate about testing, designed and implemented several tools/frameworks, always ready to try out new things and constantly looks at ways to improve the process.

image

Start automating your tests 10X Faster in Simple English with Testsigma

Try for free
imageimage
Subscribe to get all our latest blogs, updates delivered directly to your inbox.

By submitting the form, you would be accepting the Privacy Policy.

RELATED BLOGS


Scriptless Test Automation | What , Why it Matters & Examples
KIRUTHIKA DEVARAJ
TEST AUTOMATION
Top 6 Game Testing Tools You Need to Know
RAUNAK JAIN
TEST AUTOMATION
POC in Testing | What , Why it Matters & How to Perform ?
VIJAYARAGHAVAN VASUDEVAN
AUTOMATION TESTINGTEST AUTOMATION