<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sonar</title>
    <description>The latest articles on DEV Community by Sonar (sonar).</description>
    <link>https://dev.to/sonar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F6839%2F21bce1f3-5123-405b-b44a-655bce635939.png</url>
      <title>DEV Community: Sonar</title>
      <link>https://dev.to/sonar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sonar"/>
    <language>en</language>
    <item>
      <title>Introducing Sonar</title>
      <dc:creator>Steve</dc:creator>
      <pubDate>Wed, 28 Oct 2026 19:00:30 +0000</pubDate>
      <link>https://dev.to/sonar/introducing-sonar-239h</link>
      <guid>https://dev.to/sonar/introducing-sonar-239h</guid>
      <description>&lt;p&gt;If you've worked on a team with a CI pipeline in the last 18 years, there's a good chance SonarQube has failed one of your builds. That part hasn't changed. What has changed is who writes the code. Here's what Sonar looks like when your teammate is an agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  For those about to ship: Sonar's Agent Centric Development Cycle (AC/DC)
&lt;/h2&gt;

&lt;p&gt;Sonar's Agent Centric Development Cycle (AC/DC) is the simplest way to understand what Sonar does in 2026 and where each of our products fits.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dev.to/dailycontext/code-is-abundant-confidence-is-a-formula-gn6"&gt;Code is becoming more and more abundant&lt;/a&gt; from AI-driven and AI-assisted development and now, software factories.&lt;/p&gt;

&lt;p&gt;The former dev-written 300-line pull request is now an over 1,000-line AI-assisted one. When Sonar surveyed developers, they said 65% of the code they commit is AI-generated or assisted (&lt;a href="https://www.sonarsource.com/resources/state-of-code-developer-survey-2027/" rel="noopener noreferrer"&gt;source&lt;/a&gt;). And PRs written by agents wait 5.3× longer than unassisted ones before a reviewer even picks them up, per &lt;a href="https://linearb.io/resources/software-engineering-benchmarks-report" rel="noopener noreferrer"&gt;LinearB&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The bottleneck is now verification. It usually happens too late: failing tests, rework, and security findings show up after the agent has moved on, and the code that's left behind is the developer's problem. We call this verification debt.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Agent Centric Development Cycle (AC/DC)
&lt;/h2&gt;

&lt;p&gt;Every loop runs the same three stages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Guide:&lt;/strong&gt; give the agent the right context before it writes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify:&lt;/strong&gt; check the output with zero-trust, multilayered verification, never with the model that wrote it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Solve:&lt;/strong&gt; fix what's left, then feed what you learned into the next round.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That loop runs in three places:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Loop&lt;/th&gt;
&lt;th&gt;Where it runs&lt;/th&gt;
&lt;th&gt;When&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. Agentic loop&lt;/td&gt;
&lt;td&gt;Inside your coding agent&lt;/td&gt;
&lt;td&gt;While it writes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. CI verification loop&lt;/td&gt;
&lt;td&gt;At the pull request&lt;/td&gt;
&lt;td&gt;Before merge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. Code maintenance loop&lt;/td&gt;
&lt;td&gt;In the background&lt;/td&gt;
&lt;td&gt;On code you've already merged&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Loop 1: Inside your agent
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Sonar Vortex 🌀
&lt;/h3&gt;

&lt;p&gt;Agents don't know your architecture, standards or which packages are safe. Vortex gives context to the agents before they write and checks every file as they write. Customers report up to 92% fewer issues introduced by the agent, and Sonar's benchmarks show up to 36% fewer tokens on navigation-heavy refactoring tasks.&lt;/p&gt;

&lt;p&gt;Also in this loop, and free: SonarQube for IDE flags issues as you (or your agent) type in VS Code, Cursor, JetBrains, and other IDEs. The SonarQube MCP Server and SonarQube CLI let agents like Claude Code, Cursor, and Codex call SonarQube analysis directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Loop 2: At the pull request
&lt;/h2&gt;

&lt;h3&gt;
  
  
  SonarQube - Deterministic quality gates ⛩️
&lt;/h3&gt;

&lt;p&gt;What Sonar is known for. The deterministic quality gate for every change, across 45+ languages and frameworks. It runs as SonarQube Cloud or SonarQube Server.&lt;/p&gt;

&lt;h3&gt;
  
  
  SonarQube Advanced Security 🔐
&lt;/h3&gt;

&lt;p&gt;Checks every installed open-source package for vulnerabilities, malware and license risk, and follows untrusted data into your dependencies. Reachability shows which vulnerabilities your code actually calls, so you can fix those first.&lt;/p&gt;

&lt;p&gt;It's an add-on product that extends SonarQube's core security  capabilities (SAST, taint analysis, secrets detection, IaC scanning) with Advanced SAST and Software Composition Analysis (SCA).&lt;/p&gt;

&lt;h3&gt;
  
  
  Gitar - The code verification agent 🔎
&lt;/h3&gt;

&lt;p&gt;Gitar reviews every PR with the context of your codebase and your team's conventions, and it's tuned for signal: one consolidated comment, with inline notes only where they matter. Because it reads what a change is trying to do, it catches the logic and behavior bugs that deterministic rules aren't built for. SonarQube covers the known issues; Gitar covers intent. Together they form multilayered verification: deterministic analysis for known issues, agentic review for intent, and neither trusts the agent to check its own work.&lt;/p&gt;

&lt;p&gt;When CI breaks, Gitar reads your pipeline, separates real breakage from flaky tests and infrastructure noise, and finds the root cause. Then it commits a fix to the branch, within the rules you define, and keeps going until CI is green. You write those rules in plain English, and they live in your repo next to your code. It works with GitHub, GitLab, Bitbucket, and Azure DevOps, and with the CI you already run: GitHub Actions, GitLab Pipelines, CircleCI, Buildkite, Jenkins, and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  Loop 3: In the background
&lt;/h2&gt;

&lt;h3&gt;
  
  
  SonarQube Hunter Agent 🏹
&lt;/h3&gt;

&lt;p&gt;Hunter Agent is an AI security agent built for this class of flaw: broken access control (like IDOR), business logic abuse (skipped workflow steps, missing rate limits), and authentication and session gaps. It works like a security researcher, running Sonar's security playbooks across your whole codebase and following data and identity flows between files. It confirms every lead before reporting it, which gets it to 90% precision. And it's repeatable: scan twice, get the same results.&lt;/p&gt;

&lt;p&gt;Confirmed findings land in your SonarQube issues with a severity, a plain explanation, and the exact line, ready to assign and fix. So far it has uncovered 200+ zero-day vulnerabilities in open-source applications.&lt;/p&gt;

&lt;h3&gt;
  
  
  SonarQube Remediation Agent 🛠️
&lt;/h3&gt;

&lt;p&gt;Every codebase has a backlog of known issues nobody gets to. The Remediation Agent works through it. Pick issues in SonarQube by severity, or project and send issues in batches, or put it on a daily or weekly schedule. It also picks up PRs that failed their quality gate.&lt;/p&gt;

&lt;p&gt;For each fix, it applies the change in a sandbox and re-runs Sonar's analysis, the same engine that raised the issue. If the issue isn't gone, or a new one shows up, the fix is thrown away. Only fixes that pass your quality gate become pull requests, grouped by rule and file type so one review covers a batch. It never merges: your branch protection and reviewers apply as usual.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tutorial: Get riffing with Gitar 🎸
&lt;/h2&gt;

&lt;p&gt;If you want to see one of these loops running today, I'd start with Gitar. There's a free 14-day trial, and it doesn't require a credit card.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-by-step using GitHub&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Sign in at &lt;a href="https://app.gitar.ai" rel="noopener noreferrer"&gt;app.gitar.ai&lt;/a&gt; using GitHub.&lt;/li&gt;
&lt;li&gt;Connect your code. On GitHub you install the Gitar app, then choose all your repos or just a few. GitLab's a bit different. There, you make a personal access token for a dedicated user (a service account works too) and paste that into the Gitar dashboard.&lt;/li&gt;
&lt;li&gt;Now open a PR. Already have a few open? Gitar can run on those, straight from the dashboard.&lt;/li&gt;
&lt;li&gt;Wait a couple of minutes. gitar-bot 🤖 leaves a summary comment on the PR, plus inline comments where it found something.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;See something in there you want fixed? Tell it. A plain reply on the comment is enough, and Gitar comes back with a new commit. Want it to apply fixes without asking? Post this as a comment on the PR:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gitar auto-apply:on
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Bitbucket or Azure DevOps? Setup for both is in the &lt;a href="https://docs.gitar.ai/quickstart" rel="noopener noreferrer"&gt;Gitar docs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;AI agents write code fast, verifying and shipping that code is the bottleneck.&lt;/li&gt;
&lt;li&gt;Sonar runs one loop (Guide, Verify, Solve) in three places: in your agent, at the pull request, and in the background.&lt;/li&gt;
&lt;li&gt;Each product has a home in one of those places, and SonarQube's analysis runs under all three.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Want more? Check out our &lt;a href="https://www.sonarsource.com/developers/blueprints/" rel="noopener noreferrer"&gt;Developer Guides&lt;/a&gt; or our blueprints on &lt;a href="http://github.com/sonar-samples" rel="noopener noreferrer"&gt;github.com/sonar-samples&lt;/a&gt; and get started.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>code</category>
      <category>beginners</category>
    </item>
    <item>
      <title>The Power of Clean Code, by Sonar CEO Olivier Gaudin</title>
      <dc:creator>Sonar Blog</dc:creator>
      <pubDate>Fri, 07 Apr 2023 16:20:49 +0000</pubDate>
      <link>https://dev.to/sonar/the-power-of-clean-code-by-sonar-ceo-olivier-gaudin-35d</link>
      <guid>https://dev.to/sonar/the-power-of-clean-code-by-sonar-ceo-olivier-gaudin-35d</guid>
      <description>&lt;p&gt;We relaunched our website earlier this year and started to talk about Clean Code—a term you may have casually used or heard before but may not have synthesized or internalized its true essence. In this post, I will discuss Clean Code and why it matters.  &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The world runs on code&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Software is at the core of every organization and is used to operate its business. Companies realize that the DNA of their software—the source code—is what really matters. It is the most valuable asset of software. Source code not only directs how the application will behave but also how it will perform. Keeping this asset clean will prevent it from becoming a liability. &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What is Clean Code?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;At a very high level, there are two “qualities” of software that you directly control with source code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;How the software will evolve, i.e., what is its intrinsic level of changeability. This is such an important criteria that it’s even embedded in the name: ‘soft-ware’. If you cannot change the software anymore, you should probably call it something else!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How the software will perform when being executed, i.e. will it be robust, reliable, secure, safe? In other words, will it perform correctly?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What is also interesting with Clean Code, is that Clean can mean two things, depending on how it’s used: &lt;/p&gt;

&lt;p&gt;as an attribute, it refers to the state of the code, i.e., code that does not contain problems and is flawless. &lt;br&gt;
as a verb, it refers to the practice of improving existing code.&lt;br&gt;
We love and embrace this multiplicity! &lt;/p&gt;

&lt;p&gt;At Sonar, this is how we look at code, all code. &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Imagine a world of Clean Code&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Would things be any different if your application’s source code consistently followed high standards?  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Maintenance time and costs would be drastically reduced&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not only that, but technical debt would be non-existent and the need to remediate would be absent. Making any change to the application would be so much faster. Instead of constant re-work, developers could be spending more time on innovation and solving interesting and important problems.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Developers’ work environment would be better&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;As code follows best practices, imagine how easy and pleasant it would be to own this source. Collective code ownership would become the norm–generating emulation and collaboration between developers. &lt;/p&gt;

&lt;p&gt;Developers spend most of their time reading and writing code, and having this code clean would mean a significant upgrade to their work environment. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Software longevity would noticeably increase&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A clean codebase would make it easier to introduce changes. No more tangled or rigid code and no more fear or frustration around it. The ‘soft’ attribute of code can continue to support changes in business without the need for it to be replaced (which can be costly and disruptive for organizations). &lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Risks at runtime would be reduced&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Operational bugs as well as late security vulnerabilities would not crop up when software is ready for production. This would significantly reduce the risk surface for organizations. &lt;/p&gt;

&lt;p&gt;Clean Code provides benefits for every stakeholder.  &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Concluding thoughts&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Software is eating the world. Keeping your code clean creates a better development and operational environment for everyone. Source code is your key asset – build it clean, clean it as you code – avoid it from becoming a liability. The Clean Code movement has begun and Sonar is leading the way.&lt;/p&gt;

&lt;p&gt;Discover more on our unique approach here: &lt;br&gt;
&lt;a href="https://www.sonarsource.com/solutions/our-unique-approach/?utm_medium=social&amp;amp;utm_source=devto&amp;amp;utm_campaign=blog&amp;amp;utm_content=230405" rel="noopener noreferrer"&gt;https://www.sonarsource.com/solutions/our-unique-approach/?utm_medium=social&amp;amp;utm_source=devto&amp;amp;utm_campaign=blog&amp;amp;utm_content=230405&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>devops</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
