A quick tutorial on the differences between code coverage and test coverage.
Search Results for: Code coverage
Code Coverage with SonarQube and JaCoCo
A guide to measuring code coverage using SonarQube and JaCoCo.
Improving Test Coverage and Readability With Spock’s Data Pipes and Tables
Learn how to use Spock’s data feeds in a where block.
Maven Multi-Module Project Coverage With Jacoco
Learn how to build a Maven multi-module project with Jacoco coverage.
Fail Maven Build if JUnit Coverage Falls Below Certain Threshold
Learn how to cause a Maven build to fail when the JaCoCo code coverage falls below a given threshold.
Code Analysis with SonarQube
Learn how to set up a SonarQube server locally and how to use Quality Gate to define the criteria for the fitness of a project for production release.
Static Code Analysis in Java
Static Code Analysis is a method of analyzing the source code of programs without running them.
Intro to Code Quality Rules with FindBugs and PMD
A quick and practical guide to static analysis’ code quality rules
Introduction to Cobertura
A quick and practical guide to generating code coverage reports with Cobertura.
The Baeldung Weekly Review 40
Some solid articles this week, on code coverage (being a useless metric), interesting JSON Patch Spring experiments and a new installment in the Chess TDD Series.
Java Weekly, Issue 541
The JVM GC leveling up, the Vary HTTP header and of course, records. A solid week.
Java Weekly, Issue 510
Unused variables, pinned threads, class-file API, concurrent undo cycle, strategy pattern, and managerial skills!
Java Weekly, Issue 498
Generational ZGC, reactive database access, health check, Kotlin 1.9, and billions of messages over TCP/IP!
Java Weekly, Issue 443
G1GC, data-oriented programming with project amber, Spring transactions, automated testing, and diversity of browser engines!
Unit Test Private Methods in Java
Why it’s not a good idea to test a private method and how to do it if it’s extremely necessary.
Lombok Configuration System
Learn how to configure Lombok.
Best Practices for Unit Testing in Java
Learn about best practices for unit testing in Java.
Spring Validation Message Interpolation
Learn how default Spring message interpolation works and how to create a custom message interpolation engine
Java Weekly, Issue 278
Red Hat takes the reins from Oracle in assuming control of OpenJDK 8 and 11, bolstering its support for the Java community, especially enterprise developers.
Java Weekly, Issue 213
This week, implementing Post/Redirect/Get pattern in Servlet API, migration from Dropwizard Metrics to Micrometer, and some cool insights in how code analysis in IntelliJ IDEA works.