<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/code-quality-q-a-x8k2x36fi" -->

---
title: Code Quality Q&A | daily.dev
description: Members of the JetBrains Qodana team answer frequently asked questions about code quality, covering the distinction between technical debt and poor code...
canonical: https://daily.dev/posts/code-quality-q-a-x8k2x36fi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Code Quality Q&A | daily.dev
og:description: Members of the JetBrains Qodana team answer frequently asked questions about code quality, covering the distinction between technical debt and poor code...
og:url: https://daily.dev/posts/code-quality-q-a-x8k2x36fi
og:image: https://api.daily.dev/og/posts/X8k2x36fi.png
og:image:alt: Code Quality Q&A
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Code Quality Q&A

**[JetBrains](https://daily.dev/sources/jetbrains)** · 5 min read · 1 upvotes · 1 comments

## Summary

Members of the JetBrains Qodana team answer frequently asked questions about code quality, covering the distinction between technical debt and poor code quality, strategies for reducing cognitive complexity in nested loops, the difference between mutation testing and code coverage, the role of unit tests in catching regressions, how to measure whether code quality is improving over time using static analysis trends and production incident metrics, and how to reduce false positives in vulnerability scanning by tuning tool configuration or using inline suppression comments like NOLINT.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jetbrains.com/qodana/2026/09/code-quality-q-a>

## Questions this post answers

### what is the difference between technical debt and poor code quality

Technical debt is an intentional compromise made to save time now, creating future work, such as hardcoding values instead of using configs to ship a proof of concept quickly. Poor code quality, by contrast, describes flaws in the code itself, often caused by a lack of knowledge rather than a deliberate trade-off. Technical debt can lead to poor code quality, but poor code quality is not always caused by technical debt.

_daily.dev helps engineers track practical distinctions like this one when arguing for cleanup priorities._

### what is a good mutation testing score to aim for

Mutation scores around 40-60% are generally considered a reasonable starting range, though there is no universal ideal since results vary by project and testing strategy. Mutation testing evaluates test suite quality by introducing small code changes and checking whether tests catch them; if tests still pass, the mutation survives, revealing a gap. Higher scores can indicate stronger suites, but meaningful test quality matters more than hitting a specific number.

_teams weighing mutation testing thresholds can follow these benchmarks on daily.dev._

### how do I reduce false positives in static analysis or vulnerability scanning tools

Give the analysis tool more context about your repository's intended patterns. Repo-wide false positives can be excluded via configuration, such as in a qodana.yaml file, while individual lines or blocks can be silenced with inline comments like // NOLINT(<INSPECTION ID>) and // NOLINTNEXTLINE(<INSPECTION ID>). Common causes include intentional deviations from established practices, older language standards, or unsafe patterns forced by third-party dependencies.

_developers tuning scanner noise can compare these suppression tactics on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@nark3d** · 0 upvotes

> Static analysis trends say quality is improving.  Incidents say it isn't. Which of those signals is allowed to contradict the others is what to pin down.  The honest answer is usually that they're measuring different code paths, so neither is wrong.  What's the triage when they disagree?

## Similar posts on daily.dev

- [JetBrains Qodana](https://daily.dev/posts/jetbrains-qodana-bthpiwtj0) · JetBrains · 0 upvotes · 0 comments
- [Software Quality Assurance Tools](https://daily.dev/posts/software-quality-assurance-tools-h7siaazui) · JetBrains · 1 upvotes · 0 comments
- [Critiquing tests](https://daily.dev/posts/critiquing-tests-wycci2evo) · ploeh blog · 2 upvotes · 0 comments
- [Start With Ugly Code](https://daily.dev/posts/start-with-ugly-code-k1ikjfcaw) · Ruby Flow · 0 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#technical-debt](https://daily.dev/tags/technical-debt)

[View this post on daily.dev](https://daily.dev/posts/code-quality-q-a-x8k2x36fi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Code Quality Q\u0026A","url":"https://daily.dev/posts/code-quality-q-a-x8k2x36fi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/code-quality-q-a-x8k2x36fi"},"datePublished":"2026-09-22T13:57:15.631Z","dateModified":"2026-09-22T14:00:25.190Z","description":"Members of the JetBrains Qodana team answer frequently asked questions about code quality, covering the distinction between technical debt and poor code...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/404c9bbe2f5a06ca38b842d249720966?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/404c9bbe2f5a06ca38b842d249720966?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"JetBrains","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"JetBrains","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/53ecf0c676f34b3896ee109609d91efa","url":"https://daily.dev/sources/jetbrains"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/code-quality-q-a-x8k2x36fi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"testing,technical-debt","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"JetBrains","item":"https://daily.dev/sources/jetbrains"},{"@type":"ListItem","position":3,"name":"Code Quality Q\u0026A"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/code-quality-q-a-x8k2x36fi","comment":[{"@type":"Comment","text":"Static analysis trends say quality is improving.  Incidents say it isn’t. Which of those signals is allowed to contradict the others is what to pin down.  The honest answer is usually that they’re measuring different code paths, so neither is wrong.  What’s the triage when they disagree?","datePublished":"2026-09-23T16:24:33.096Z","url":"https://daily.dev/posts/X8k2x36fi#c-wGZdh33kT","author":{"@type":"Person","name":"Adam","url":"https://daily.dev/nark3d","image":"https://avatars.githubusercontent.com/u/2162621?v=4"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/code-quality-q-a-x8k2x36fi#faq","mainEntity":[{"@type":"Question","name":"what is the difference between technical debt and poor code quality","acceptedAnswer":{"@type":"Answer","text":"Technical debt is an intentional compromise made to save time now, creating future work, such as hardcoding values instead of using configs to ship a proof of concept quickly. Poor code quality, by contrast, describes flaws in the code itself, often caused by a lack of knowledge rather than a deliberate trade-off. Technical debt can lead to poor code quality, but poor code quality is not always caused by technical debt. daily.dev helps engineers track practical distinctions like this one when arguing for cleanup priorities."}},{"@type":"Question","name":"what is a good mutation testing score to aim for","acceptedAnswer":{"@type":"Answer","text":"Mutation scores around 40-60% are generally considered a reasonable starting range, though there is no universal ideal since results vary by project and testing strategy. Mutation testing evaluates test suite quality by introducing small code changes and checking whether tests catch them; if tests still pass, the mutation survives, revealing a gap. Higher scores can indicate stronger suites, but meaningful test quality matters more than hitting a specific number. teams weighing mutation testing thresholds can follow these benchmarks on daily.dev."}},{"@type":"Question","name":"how do I reduce false positives in static analysis or vulnerability scanning tools","acceptedAnswer":{"@type":"Answer","text":"Give the analysis tool more context about your repository's intended patterns. Repo-wide false positives can be excluded via configuration, such as in a qodana.yaml file, while individual lines or blocks can be silenced with inline comments like // NOLINT(\u003cINSPECTION ID\u003e) and // NOLINTNEXTLINE(\u003cINSPECTION ID\u003e). Common causes include intentional deviations from established practices, older language standards, or unsafe patterns forced by third-party dependencies. developers tuning scanner noise can compare these suppression tactics on daily.dev."}}]}
```

