Tag

Code Coverage

0 views collected around this technical thread.

DeWu Technology
DeWu Technology
Jun 9, 2025 · Frontend Development

How Frontend Automated Testing Can Supercharge R&D Efficiency and Quality

This article examines the current low self‑testing rates in the frontend team, explains why automated quality‑assurance techniques like code coverage and E2E testing are essential, outlines a comprehensive technical and operational plan—including tooling, rollout, metrics, and future road‑maps—to boost R&D self‑testing ratios and overall delivery quality.

Code CoverageDevOpsR&D efficiency
0 likes · 23 min read
How Frontend Automated Testing Can Supercharge R&D Efficiency and Quality
Beijing SF i-TECH City Technology Team
Beijing SF i-TECH City Technology Team
Feb 6, 2025 · Fundamentals

Implementing Incremental PHP Code Coverage with php-code-coverage and pcov

This article explains how to use php-code-coverage and the pcov extension to collect line, branch, and path coverage for PHP projects, introduces incremental coverage based on diff files, discusses configuration methods, performance optimizations, and practical lessons learned from real‑world deployment.

Code CoveragePHPTesting
0 likes · 14 min read
Implementing Incremental PHP Code Coverage with php-code-coverage and pcov
JD Tech
JD Tech
Nov 28, 2024 · Fundamentals

Comprehensive Guide to Unit Testing Strategies and Tools for Java Projects

This article presents a detailed, step‑by‑step guide on improving unit test coverage in large Java codebases, covering strategies such as mocking, divide‑and‑conquer, tool‑assisted test generation, reflection‑based coverage, Maven configuration, and practical tips for handling static methods, final classes, and test data replay.

Code CoverageJavaJunit
0 likes · 27 min read
Comprehensive Guide to Unit Testing Strategies and Tools for Java Projects
Continuous Delivery 2.0
Continuous Delivery 2.0
Aug 2, 2024 · Fundamentals

Google’s Large‑Scale Code Coverage Infrastructure: Design, Automation, and Adoption Insights

The article presents a comprehensive overview of Google’s code‑coverage system, describing its metrics, integration into the daily development workflow, underlying infrastructure, visualization tools, data‑driven analysis of five years of coverage data, and developer survey results that reveal adoption patterns and perceived usefulness.

Code CoverageContinuous IntegrationGoogle
0 likes · 21 min read
Google’s Large‑Scale Code Coverage Infrastructure: Design, Automation, and Adoption Insights
37 Interactive Technology Team
37 Interactive Technology Team
Jul 29, 2024 · Artificial Intelligence

AI-Generated Unit Test Cases: A Reflection-Based Workflow for Automated Testing

The article describes a reflection‑based workflow that lets an AI iteratively generate, validate, and refine Go unit tests until 70 %+ code coverage is reached, using coverage‑out parsing, role‑based prompts, and automatic error correction, enabling fully autonomous test creation that can be integrated into CI pipelines to dramatically improve developer productivity.

AI testingCI IntegrationCode Coverage
0 likes · 7 min read
AI-Generated Unit Test Cases: A Reflection-Based Workflow for Automated Testing
Continuous Delivery 2.0
Continuous Delivery 2.0
Jun 20, 2024 · Fundamentals

Guidelines and Standards for Setting Code Coverage Targets in Software Testing

The article reviews typical code‑coverage goals such as 70‑80% for system testing, explains how factors like failure cost, resource constraints, testability, and development stage influence target selection, discusses why full coverage is often impractical, and summarizes major industry standards and coverage metrics used in safety‑critical domains.

Code CoverageRisk AssessmentTesting Standards
0 likes · 8 min read
Guidelines and Standards for Setting Code Coverage Targets in Software Testing
Ctrip Technology
Ctrip Technology
Jun 14, 2024 · Frontend Development

Canyon: A JavaScript End‑to‑End Test Coverage Solution for Frontend Projects

Canyon extends the IstanbulJS ecosystem with a Babel‑based instrumentation plugin, real‑time coverage aggregation, and cloud‑native reporting to enable large‑scale end‑to‑end UI automation coverage for modern JavaScript front‑end applications, including SPA, MPA, and React Native environments.

CI/CDCanyonCode Coverage
0 likes · 19 min read
Canyon: A JavaScript End‑to‑End Test Coverage Solution for Frontend Projects
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
转转QA
转转QA
Mar 14, 2024 · Frontend Development

Implementing Incremental Code Coverage for Frontend Projects Using Istanbul

This article describes how the ZhaiZhai team designed and built an incremental code‑coverage solution for frontend projects, covering tool selection, instrumentation, data collection, reporting, handling challenges, and future improvements to improve test efficiency and software quality.

Code CoverageIstanbulJavaScript
0 likes · 15 min read
Implementing Incremental Code Coverage for Frontend Projects Using Istanbul
Amap Tech
Amap Tech
Feb 28, 2024 · Mobile Development

Deep Dive into Android ClassLoader and findLoadedClass Mechanism for Code Coverage

The article details a high‑performance, high‑stability Android code‑coverage technique that creates a surrogate ClassLoader, copies the target PathClassLoader’s private classTable pointer, and invokes findLoadedClass on this loader to query a class’s load state without triggering Android’s native optimization that would otherwise automatically load the class.

AndroidClassLoaderCode Coverage
0 likes · 13 min read
Deep Dive into Android ClassLoader and findLoadedClass Mechanism for Code Coverage
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.

BackendCode CoverageJaCoCo
0 likes · 12 min read
Using JaCoCo to Analyze Online Java Code Coverage and Eliminate Zombie Code
Amap Tech
Amap Tech
Aug 29, 2023 · Mobile Development

Design and Implementation of a High‑Performance Code Coverage Collection Solution for Android Apps

The paper presents a high‑performance Android code‑coverage solution that uses standard reflection to read the ClassLoader’s ClassTable, achieving over five‑times faster collection than existing tools while remaining stable, compatible, multi‑process capable, and enabling incremental, cloud‑based reporting for reducing app size.

AndroidCode CoverageMulti-Process
0 likes · 15 min read
Design and Implementation of a High‑Performance Code Coverage Collection Solution for Android Apps
Baidu Intelligent Testing
Baidu Intelligent Testing
Jun 2, 2023 · Fundamentals

Code‑Level Quality Techniques: Architecture, Understanding, Probes, and Applications

This article introduces code‑level quality technologies, covering their background, architectural layers, code understanding methods, probe techniques, coverage metrics, smart unit testing, static analysis, and isolated‑function detection, and explains how these practices improve software robustness and defect‑recall efficiency.

Code CoverageStatic Analysiscode probes
0 likes · 16 min read
Code‑Level Quality Techniques: Architecture, Understanding, Probes, and Applications
360 Quality & Efficiency
360 Quality & Efficiency
Feb 10, 2023 · Backend Development

Using Go's Built‑in Testing Tools: Unit Tests, Benchmarks, Coverage, Fuzzing, and Race Detection

This article introduces Go's native testing ecosystem—including unit testing, benchmark performance measurement, code‑coverage analysis, fuzz testing, and race‑condition detection—through a practical bookkeeping‑app example, demonstrating how each tool can uncover bugs, improve performance, and raise overall code quality.

Code CoverageGoTesting
0 likes · 11 min read
Using Go's Built‑in Testing Tools: Unit Tests, Benchmarks, Coverage, Fuzzing, and Race Detection
JD Tech Talk
JD Tech Talk
Nov 30, 2022 · Frontend Development

Precise Frontend Testing through Static Code Analysis

This article describes a four‑step approach to precise frontend testing that uses static analysis of routing and import dependencies to identify impacted pages and functions, automatically selects corresponding test cases, runs them, and compares incremental coverage to ensure code changes are fully verified.

Code CoverageFrontend TestingStatic Analysis
0 likes · 5 min read
Precise Frontend Testing through Static Code Analysis
Bilibili Tech
Bilibili Tech
Oct 11, 2022 · Fundamentals

Precise Testing Technology: Definition, Implementation, and Practice

Precise testing technology uses static code scanning and dynamic tracing to build a Neo4j call‑graph, automatically recommends test scopes and cases via diff analysis and weighted relationships—including call‑count, module, text similarity, and GCN—thereby improving test adequacy, cutting regression cycles, and dramatically reducing test execution time.

Code CoverageDynamic AnalysisGCN
0 likes · 9 min read
Precise Testing Technology: Definition, Implementation, and Practice
DaTaobao Tech
DaTaobao Tech
Aug 4, 2022 · Fundamentals

Practical C++ Unit Testing Practices and Lessons Learned

The article details a large‑scale C++ team's unit‑testing workflow, explaining why tests matter, how they set up cross‑platform macOS/Linux environments, adopt Google gtest/gmock with a custom Frida‑based mock, enforce coverage via gcov/lcov, compute incremental coverage, integrate Valgrind, follow deterministic test design principles, avoid common pitfalls, and embed the stable pipeline into CI gates and notifications.

C++Code CoverageContinuous Integration
0 likes · 12 min read
Practical C++ Unit Testing Practices and Lessons Learned
DevOps
DevOps
Jun 24, 2022 · R&D Management

Understanding Software Metrics: Common Pitfalls and Essential Agile Testing Indicators

The article explains the purpose of software metrics, warns against measuring individual performance and isolated indicators, and outlines key agile testing metrics such as code coverage, acceptance test pass rate, defect density per story point, and automation rate to help teams track progress toward quality goals.

Code CoverageSoftware Metricsagile testing
0 likes · 6 min read
Understanding Software Metrics: Common Pitfalls and Essential Agile Testing Indicators