Tag Archives: sonarqube

Getting coverage reports with .NET Core

Code coverage calculates the percentage of code that is covered by automated (unit) tests. And unit tests are important to ensure ongoing code quality and predictability in our software. Code coverage reports help investigate how well our software development is doing by showing us that percentage. But we know all this right? Tests are important, so test coverage is also

Read more

Improving Angular style and code quality

The Angular CLI makes our lives a lot easier by scaffolding our projects and generating a lot of boilerplate code and this code usually conforms to the Angular Style guide found here https://angular.io/docs/ts/latest/guide/style-guide.html. But we also need to make sure our code stays readable, functional and maintainable and with entire teams working on Angular applications, code reviews are not the

Read more

SonarQube Quality Gates and VSTS builds

SonarQube includes the concept of quality gates and these gates allow you to answer questions about the quality of the code being analyzed. They come as sets of Boolean conditions and can be based on the usual Sonar metrics including blocker issues, code coverage on new code, reliability rating, etc. Here are the default settings: More info here: https://blog.sonarsource.com/quality-gates-shall-your-projects-pass Based

Read more