Tag

JaCoCo

0 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
Aug 9, 2024 · Backend Development

Debugging JaCoCo‑Induced ClassCastException Caused by Synthetic $jacocoData Field in Java

The article explains how integrating JaCoCo introduced a synthetic boolean array field ($jacocoData) that caused a ClassCastException during object encryption, analyzes the root cause by inspecting bytecode and reflection, and provides a fix by filtering synthetic fields using isSynthetic().

ClassCastExceptionJaCoCoJava
0 likes · 9 min read
Debugging JaCoCo‑Induced ClassCastException Caused by Synthetic $jacocoData Field in Java
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.

ClassCastExceptionJaCoCoJava
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.

ASTCode CoverageJaCoCo
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.

AndroidCI/CDCode Coverage
0 likes · 10 min read
Selective Testing to Accelerate CI/CD for Android UI Tests at Agoda
JD Retail Technology
JD Retail Technology
Feb 23, 2024 · Backend Development

Static and Dynamic Code Inspection for Reducing Java Backend Code Corruption

This article explains how to use static analysis tools like IDEA and PMD together with dynamic coverage tools such as JaCoCo to identify, clean up, and refactor unused, duplicated, or dead Java code in large backend projects, improving maintainability and stability.

Dynamic AnalysisJaCoCoJava
0 likes · 9 min read
Static and Dynamic Code Inspection for Reducing Java Backend Code Corruption
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.

Code CoverageJaCoCoJava
0 likes · 12 min read
Using JaCoCo to Analyze Online Java Code Coverage and Eliminate Zombie Code
IT Services Circle
IT Services Circle
Oct 26, 2023 · Fundamentals

Writing Unit Tests in Java: JUnit Basics, Test Implementation, and Report Generation

This article explains what unit testing is, why it’s essential, and provides a step‑by‑step guide for writing Java unit tests with JUnit, integrating them into Maven projects, and generating detailed coverage reports using IDE features and JaCoCo.

JaCoCoJavaJunit
0 likes · 16 min read
Writing Unit Tests in Java: JUnit Basics, Test Implementation, and Report Generation
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/CDCode InstrumentationJaCoCo
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.

CI/CDCode CoverageJaCoCo
0 likes · 12 min read
Design and Implementation of a Java Code Coverage Platform Based on JaCoCo
Dada Group Technology
Dada Group Technology
Nov 12, 2021 · Backend Development

Implementation and Architecture of the Jingwei Java Code Coverage Statistics Tool Using JaCoCo

This article details the design, deployment steps, technical architecture, and operational workflow of the Jingwei system—a Java code‑coverage solution built on JaCoCo that automates coverage collection, merges execution data, and visualizes results to improve testing quality and efficiency.

Code CoverageJaCoCoJava
0 likes · 14 min read
Implementation and Architecture of the Jingwei Java Code Coverage Statistics Tool Using 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.

CI/CDCode CoverageDevOps
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.

Code CoverageJaCoCoJava
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.

AndroidCode CoverageGradle Plugin
0 likes · 19 min read
Incremental Code Coverage Plugin for Android Using JaCoCo: Design and Implementation
DevOps Engineer
DevOps Engineer
Aug 9, 2021 · Fundamentals

An Introduction to Code Coverage: Concepts, Metrics, and Popular Tools

This article explains what code coverage is, why it matters, the different coverage metrics, how coverage measurement works, and reviews several mainstream tools across various programming languages.

Code CoverageInstrumentationIstanbul
0 likes · 6 min read
An Introduction to Code Coverage: Concepts, Metrics, and Popular Tools
转转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.

CI/CDCode CoverageJaCoCo
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.

Code CoverageDiff 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.

CI/CDCode CoverageDiff Coverage
0 likes · 10 min read
Super-Jacoco: A One‑Stop Java Code Coverage Platform for Full and Differential Coverage