Skip to content

Unit Testing – automated Sonarqube or similar Research

Sunoj Jose edited this page Jul 16, 2021 · 1 revision

Jira Link

Code Coverage Tools

1. Cobertura

Features:

  • Allows you to measure coverage without having the source code
  • It is one of the best java code coverage tools which helps you to find which parts of your Java program are lacking test coverage
  • Allows you to represent reports in HTML and XML format
  • Helps you to test lines and branches of the class & method

Download link

2. JaCoCo

Features:

  • JaCoCo offers instructions, line and branch coverage
  • It is one of the best java code coverage tools which supports Java 7 and Java 8
  • Helps you to test lines and branches of classes & methods
  • Offers easy to navigate HTML or XML report

Download link

Static Code Analysis Tools

1. DeepSource

pros

  • Can be integrated with Bitbucket, GitHub, or GitLab account
  • looks for anti-patterns, bug risks, performance problems, and raises issues
  • produces and tracks metrics like dependency count, documentation coverage
  • DeepSource Autofix suggests fixes for issues detected and create a pull request with the recommended changes

cons

  • No support for PHP

Price: Free for personal accounts and small teams. Info

2. SonarQube

pros

  • automated code review with CI/CD Integration
  • Security Analysis
  • Release Quality Code
  • Maintainability
  • It can identify tricky issues

cons

  • Not every IDE supports SonarQube
  • Don't have the option to ignore the issues that are intentional or the team decides not to fix them

Price: Free community edition. Info

3. Codacy

Features

  • Code review automation
  • Code quality analytics
  • Security code analysis

Price: Free for open source. Info

4. Embold

Features

  • Visual and intuitive UI
  • Deeper and faster checks
  • Intelligently increases performance
  • Integrates seamlessly

Price: Free for 2 users. Info

5. Reshift

Features

  • Quick Set-up
  • Security scanning
  • Security blame

Cons

  • support only for Java

Price: Free for one user. Info

6.Code Inspector

Features

  • Static code analysis
  • Automated code review
  • Code health
  • Stack integration
  • 100% API
  • Chrome extension for GitHub

Price: Free basic plan. Info

Referenced Sources