Run SonarScanner with Docker
A scanner container reads your source code and sends an analysis report to an existing SonarQube server. You do not install SonarQube inside the application you want to analyze.
Posts tagged “code-quality”.
A scanner container reads your source code and sends an analysis report to an existing SonarQube server. You do not install SonarQube inside the application you want to analyze.
Adding SonarQube works best in stages: first make analysis accurate, then agree on checks, and finally use those checks to block unsuitable…
Analysis can fail before the scanner starts, while connecting, during report creation or during server processing. Find the first failed sta…
Generated code is produced by a tool rather than edited directly. You can exclude some generated files, but the source definition, generator…
A slow analysis can come from checkout, tests, the scanner, uploading or server processing. Measuring each part helps you change the right s…
A scanner can finish uploading before SonarQube finishes processing. Waiting for the quality gate prevents a pipeline from reporting success…
Coverage compares executed code with code that could be executed. A percentage can change because tests changed, but also because source fil…
A security hotspot marks code that needs a person to check its security context. It is not automatically a confirmed vulnerability, and chan…
The SonarScanner for .NET wraps your build: begin analysis, build, run tests with coverage, then end analysis. Keeping that order lets the s…
One thoughtful letter each week: what I read, what I learned, and one idea worth keeping. No noise, ever.