Tagged articles
45 articles
Page 1 of 1
Woodpecker Software Testing
Woodpecker Software Testing
Dec 25, 2025 · Backend Development

Using ChatGPT to Refine Java Unit Tests – Episode 23

This article walks through adjusting Java unit tests with ChatGPT, measuring coverage using JaCoCo, rewriting test code for User and PasswordRecovery classes, adding Mockito and PowerMock mocks, and showing how the changes raise coverage from 73.7% to over 80% across the project.

ChatGPTJUnitJaCoCo
0 likes · 17 min read
Using ChatGPT to Refine Java Unit Tests – Episode 23
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 23, 2025 · Backend Development

How We Leveraged JVM Agents and JaCoCo to Clean Up Legacy Java Code

This article explains how a long‑standing Java backend service was instrumented with JVM agents and JaCoCo to collect execution coverage, visualize results in an IntelliJ IDEA plugin, and systematically remove dead code, improving maintainability while minimizing impact on production performance.

IDEA PluginJVM agentJaCoCo
0 likes · 24 min read
How We Leveraged JVM Agents and JaCoCo to Clean Up Legacy Java Code
JD Tech
JD Tech
Aug 8, 2024 · Backend Development

Resolving JaCoCo-Induced ClassCastException Caused by Synthetic $jacocoData Field in Java Applications

This article details a Java ClassCastException caused by JaCoCo’s injected $jacocoData boolean array, explains how synthetic fields arise during bytecode instrumentation, analyzes the failing encryptObject method, and presents a fix by filtering synthetic fields using isSynthetic() to restore normal order processing.

ClassCastExceptionDebuggingJaCoCo
0 likes · 11 min read
Resolving JaCoCo-Induced ClassCastException Caused by Synthetic $jacocoData Field in Java Applications
JD Tech
JD Tech
May 6, 2024 · Fundamentals

Static and Runtime Code Scanning to Detect Unused Java Methods

This article presents a design and implementation of both static AST‑based scanning and runtime JaCoCo coverage analysis to automatically detect unused (zombie) Java methods, describing the workflow, required dependencies, code snippets, and how to visualize active versus dead code in the IDE.

ASTDead CodeJaCoCo
0 likes · 8 min read
Static and Runtime Code Scanning to Detect Unused Java Methods
FunTester
FunTester
Apr 18, 2024 · Operations

Selective Testing to Accelerate CI/CD for Android UI Tests at Agoda

This article describes how Agoda engineers tackled slow CI pipelines caused by exhaustive UI testing by implementing selective testing using code‑coverage data, JaCoCo, and a device farm, resulting in faster feedback, reduced flakiness, and more efficient integration for Android applications.

AndroidAutomationDevice Farm
0 likes · 10 min read
Selective Testing to Accelerate CI/CD for Android UI Tests at Agoda
Huolala Tech
Huolala Tech
Feb 28, 2024 · Operations

How Huolala Created an Intelligent Automated Testing System to Raise Coverage & Cut Regression Costs

Facing rapid business expansion, Huolala’s quality assurance team tackled redundant code, high regression costs, and lack of coverage metrics by designing an intelligent automated testing framework that analyzes effective code, provides smart test case recommendations, visualizes progress, and integrates monitoring, resulting in significant coverage improvements and efficiency gains across services.

Automated TestingJaCoCoJava
0 likes · 25 min read
How Huolala Created an Intelligent Automated Testing System to Raise Coverage & Cut Regression Costs
JD Retail Technology
JD Retail Technology
Nov 17, 2023 · Backend Development

How JaCoCo Can Reveal and Eliminate Zombie Code to Boost Backend Efficiency

By instrumenting Java services with JaCoCo’s agent and analyzing runtime coverage data, teams can identify unused (“zombie”) code, safely remove or deactivate it, and consequently reduce maintenance costs, shorten delivery cycles, and improve overall system performance and developer productivity.

JaCoCoJavabackend optimization
0 likes · 12 min read
How JaCoCo Can Reveal and Eliminate Zombie Code to Boost Backend Efficiency
Huolala Tech
Huolala Tech
Nov 16, 2023 · Fundamentals

Why Unit Testing Matters and How to Master It in Java Projects

This article explains what unit testing is, why it is essential for software quality, outlines its benefits such as early bug detection and design improvement, and provides practical guidance on writing effective Java unit tests using JUnit5, Mockito, and JaCoCo, along with CI integration and best‑practice principles.

JUnit5JaCoCoJava
0 likes · 28 min read
Why Unit Testing Matters and How to Master It in Java Projects
JD Tech
JD Tech
Oct 31, 2023 · Backend Development

Using JaCoCo to Analyze Online Java Code Coverage and Eliminate Zombie Code

This article explains how to use JaCoCo probes to analyze online Java code execution, identify and remove zombie code, and improve development efficiency through detailed steps including Maven dependencies, a REST dump endpoint, javaagent configuration, script automation, and coverage analysis results.

BackendJaCoCocode coverage
0 likes · 12 min read
Using JaCoCo to Analyze Online Java Code Coverage and Eliminate Zombie Code
vivo Internet Technology
vivo Internet Technology
Aug 24, 2022 · Fundamentals

Using JaCoCo for Test Coverage in Vivo's Internal Development Platform

The Vivo Internet Server Team describes how they integrated JaCoCo into their internal CI/CD platform to measure Java test coverage, explaining JaCoCo’s probe‑based instrumentation, the need for consistent compilation, handling incremental code and class‑ID changes, and showing that the resulting coverage data improves testing quality despite added effort.

CI/CDJaCoCoJava
0 likes · 13 min read
Using JaCoCo for Test Coverage in Vivo's Internal Development Platform
HomeTech
HomeTech
Apr 13, 2022 · Backend Development

Design and Implementation of a Java Code Coverage Platform Based on JaCoCo

This article presents the design, implementation details, and workflow of a Java code coverage platform built on JaCoCo, covering full and incremental coverage collection, configuration, analysis of diff code, reporting, and future integration plans to improve testing quality and code reliability.

JaCoCoJavaci/cd
0 likes · 12 min read
Design and Implementation of a Java Code Coverage Platform Based on JaCoCo
iQIYI Technical Product Team
iQIYI Technical Product Team
Nov 5, 2021 · Operations

Fine-Grained Code Coverage Integration and Practices at iQIYI

iQIYI integrated JaCoCo with its DevOps pipeline, using Git diff and Jira‑linked branch naming to automatically generate fine‑grained coverage reports at incremental, branch, and requirement levels, enforcing 90 % thresholds that lifted backend service coverage from under 70 % to over 90 % and markedly improved reliability.

DevOpsJaCoCoJava
0 likes · 14 min read
Fine-Grained Code Coverage Integration and Practices at iQIYI
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Oct 29, 2021 · Backend Development

Thoughts and Practical Implementation of a Real-Time Java Code Coverage Platform

This article details the motivation, design, key features, implementation techniques, and evaluation standards of a real‑time Java code‑coverage platform built on Jacoco, covering background industry trends, platform architecture, incremental reporting, visualization, Maven integration, and practical lessons for developers and QA teams.

BackendJaCoCoJava
0 likes · 19 min read
Thoughts and Practical Implementation of a Real-Time Java Code Coverage Platform
Beike Product & Technology
Beike Product & Technology
Sep 30, 2021 · Mobile Development

Incremental Code Coverage Plugin for Android Using JaCoCo: Design and Implementation

This article describes the design and implementation of a Gradle plugin that extends JaCoCo to collect incremental code‑coverage data for Android applications, covering project background, significance, JaCoCo injection mechanisms, compile‑time instrumentation, runtime data handling, report generation, and practical results.

Gradle PluginJaCoCobytecode instrumentation
0 likes · 19 min read
Incremental Code Coverage Plugin for Android Using JaCoCo: Design and Implementation
转转QA
转转QA
May 26, 2021 · Fundamentals

Integrating Incremental Unit Test Coverage into Test Environment Coverage with Maven Surefire and JaCoCo

This article describes a solution that merges incremental unit test coverage into overall test environment coverage by leveraging Maven Surefire Report Plugin and JaCoCo, detailing steps from CI platform integration, plugin configuration, report generation, to coverage platform processing, enabling comprehensive coverage analysis for release admission.

JaCoCoSoftware Testingci/cd
0 likes · 5 min read
Integrating Incremental Unit Test Coverage into Test Environment Coverage with Maven Surefire and JaCoCo
Didi Tech
Didi Tech
Dec 21, 2020 · Backend Development

Super-Jacoco: A One‑Stop Java Code Coverage Platform with Full and Diff Support

Super‑Jacoco is a one‑stop Java code‑coverage platform built on JaCoCo and Git that non‑intrusively gathers both full‑stack and incremental (diff) coverage for unit and manual tests, visualizes results, scales across distributed nodes, and provides REST APIs for triggering and retrieving coverage data.

BackendDiff CoverageJaCoCo
0 likes · 10 min read
Super-Jacoco: A One‑Stop Java Code Coverage Platform with Full and Diff Support
Didi Tech
Didi Tech
Dec 18, 2020 · Backend Development

Super-Jacoco: A One‑Stop Java Code Coverage Platform for Full and Differential Coverage

Super‑Jacoco is an open‑source, one‑stop Java coverage platform that extends JaCoCo with Git diff analysis to provide low‑overhead, non‑intrusive full‑run and incremental (diff) coverage for unit, functional, and environment tests, offering distributed scalability and HTML visual reports for easy insight.

Diff CoverageJaCoCoJava
0 likes · 10 min read
Super-Jacoco: A One‑Stop Java Code Coverage Platform for Full and Differential Coverage
Amap Tech
Amap Tech
Sep 14, 2020 · Operations

JaCoCo Code Coverage Instrumentation Principles and Practices for Android SDK

The article explains how to use JaCoCo to instrument Android SDK classes—detailing probe insertion strategies for methods, branches, and code blocks, offline and Ant/Gradle integration, building instrumented packages, collecting execution data, and generating HTML coverage reports without modifying source code.

ASMAndroidInstrumentation
0 likes · 17 min read
JaCoCo Code Coverage Instrumentation Principles and Practices for Android SDK
JavaEdge
JavaEdge
Apr 1, 2020 · Fundamentals

Understanding JaCoCo: A Lightweight Java Code Coverage Standard

This article explains JaCoCo's mission to provide a lightweight, flexible, and well-documented Java code‑coverage library, outlines its core features, integration options with build tools and IDEs, and details the various coverage counters such as instructions, branches, lines, methods, classes, and cyclomatic complexity.

JaCoCoJavabuild integration
0 likes · 10 min read
Understanding JaCoCo: A Lightweight Java Code Coverage Standard
JavaEdge
JavaEdge
Mar 17, 2020 · Fundamentals

How to Generate JaCoCo Coverage Reports with Ant: Step‑by‑Step Guide

This guide walks you through configuring JaCoCo agent parameters, running Ant tasks to produce a jacoco.exec file, and generating detailed HTML coverage reports, including class and line‑level insights, with practical command examples and visual explanations.

AntJaCoCoJava
0 likes · 4 min read
How to Generate JaCoCo Coverage Reports with Ant: Step‑by‑Step Guide
FunTester
FunTester
Mar 7, 2020 · Backend Development

Curated Collection of Development Tools and Resources

This article compiles a comprehensive list of Java and Python development tools, including JaCoCo code coverage solutions, Moco API mock server tips, various Java utility libraries, Gradle build guides, and multiple Plotly visualization tutorials, providing direct links for each resource.

GradleJaCoCoJava
0 likes · 9 min read
Curated Collection of Development Tools and Resources
FunTester
FunTester
Nov 20, 2019 · Operations

Setting Up Java 8 CI with Ant, Jenkins, SonarQube, and JaCoCo

This tutorial explains how to install and configure Java 8, Ant, JUnit 4, JaCoCo, Jenkins, and SonarQube on Windows or Linux to create a fully functional CI server with code‑coverage and quality analysis for a modular Java project.

AntCIJaCoCo
0 likes · 13 min read
Setting Up Java 8 CI with Ant, Jenkins, SonarQube, and JaCoCo
FunTester
FunTester
Jul 25, 2019 · Operations

Fixing JaCoCo Class Path Errors: The Correct Ant build.xml Configuration

The author explains why JaCoCo coverage failed after changing file paths, reveals that class file paths are flexible but source paths must point to the package root (usually src/main/java), and provides a complete, working Ant build.xml example to generate accurate coverage reports.

AntBuild AutomationJaCoCo
0 likes · 5 min read
Fixing JaCoCo Class Path Errors: The Correct Ant build.xml Configuration
FunTester
FunTester
Jul 15, 2019 · Operations

Integrating JaCoCo Code Coverage into Jenkins CI for Java Services

This article explains how to configure JaCoCo in Java service startup parameters, use Ant build.xml to collect execution data, generate HTML coverage reports, and centralize the results on a dedicated server within a multi‑machine Jenkins CI environment.

AntJaCoCoJava
0 likes · 6 min read
Integrating JaCoCo Code Coverage into Jenkins CI for Java Services
Baidu Intelligent Testing
Baidu Intelligent Testing
Nov 15, 2018 · Backend Development

Precise Testing for Backend Services: Automated Test Case Selection, Impact Assessment, and Incremental Code Coverage Analysis

The article presents a comprehensive approach to improve backend service testing by building a mapping between automated test cases and code coverage, enabling selective test execution, objective impact assessment, and incremental coverage analysis to enhance test efficiency, reliability, and CI stability.

Backend testingCIJaCoCo
0 likes · 16 min read
Precise Testing for Backend Services: Automated Test Case Selection, Impact Assessment, and Incremental Code Coverage Analysis
HomeTech
HomeTech
Sep 11, 2018 · Operations

Incremental Code Coverage with Diff Engine and JaCoCo for Precise Testing

The article discusses challenges of regression testing and proposes an incremental code‑coverage solution using a diff engine, AST analysis, and JaCoCo integration within a Jenkins CI pipeline, enabling precise test scope identification, visual coverage feedback, and improved collaboration between manual and automated testing.

JaCoCoSoftware Testingcode coverage
0 likes · 17 min read
Incremental Code Coverage with Diff Engine and JaCoCo for Precise Testing
JD Tech
JD Tech
Aug 1, 2018 · Operations

Continuous Integration: Concepts, Benefits, Workflow, and Test Coverage Practices

This article explains the concept and advantages of continuous integration, outlines a typical CI workflow including submission, testing, building, deployment and rollback, discusses challenges in test case management, reviews popular CI tools such as Jenkins and Qone, and details code‑coverage measurement using Jacoco with Maven configuration.

CIJaCoCoJenkins
0 likes · 10 min read
Continuous Integration: Concepts, Benefits, Workflow, and Test Coverage Practices
Youzan Coder
Youzan Coder
Jun 15, 2018 · Operations

How We Built an Incremental JaCoCo Coverage Tool for Faster DevOps Feedback

This article explains the design and implementation of an incremental code‑coverage tool built on JaCoCo, detailing how it collects exec files, extracts changed Java methods via JGit, modifies JaCoCo to report only those methods, generates coverage reports, and integrates the whole process into a DevOps platform for automated feedback.

DevOpsJGitJaCoCo
0 likes · 11 min read
How We Built an Incremental JaCoCo Coverage Tool for Faster DevOps Feedback
转转QA
转转QA
May 15, 2018 · Fundamentals

Overview of Code Coverage and Differential Coverage Methods Using JaCoCo

This article explains the concept, measurement dimensions, and practical issues of code coverage, compares full and differential coverage, describes JaCoCo's on‑the‑fly and offline instrumentation techniques, and outlines how to resolve instrumentation conflicts in a Java service environment.

InstrumentationJaCoCoSoftware quality
0 likes · 7 min read
Overview of Code Coverage and Differential Coverage Methods Using JaCoCo