awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jacoco avatar

jacoco/jacoco

0
View on GitHub↗
4,580 Stars·1,200 Forks·Java·1 Aufrufwww.jacoco.org/jacoco↗

Jacoco

JaCoCo ist ein Java-Code-Coverage-Tool und Bytecode-Instrumentierer, der misst, welche Teile des Quellcodes während Tests ausgeführt werden. Er fungiert als Runtime-Agent zur Überwachung der Anwendungsausführung im laufenden Betrieb oder als Bibliothek für Offline-Bytecode-Instrumentierung, wodurch er Ausführungsdaten in Umgebungen erfassen kann, in denen Runtime-Agenten eingeschränkt sind.

Das Projekt zeichnet sich dadurch aus, dass es sowohl dynamische als auch statische Instrumentierungspfade zur Verfolgung der Ausführung bietet. Es enthält einen Runtime-Agenten für die Überwachung im laufenden Betrieb und die Möglichkeit, kompilierte Klassendateien vor der Ausführung zu modifizieren. Es ermöglicht zudem das Abrufen von Ausführungsmetriken aus laufenden Prozessen über Remote-Netzwerkverbindungen, ohne die aktive Anwendung zu unterbrechen.

Das System berechnet quantitative Coverage-Metriken über Anweisungen, Zweige, Zeilen, Methoden und Klassen hinweg, neben Messungen der zyklomatischen Komplexität. Es bietet Funktionen zum Zusammenführen von Daten aus mehreren Testläufen, zur Durchsetzung von Coverage-Schwellenwerten innerhalb von CI/CD-Quality-Gates und zur Generierung von Berichten, die ausgeführten Bytecode auf den Quellcode zurückführen. Eine visuelle Integration ist verfügbar, um diese Ergebnisse direkt in Code-Editoren anzuzeigen.

Das Tool lässt sich in Build-Automatisierungssysteme und Befehlszeilenschnittstellen integrieren, um die Datenerfassung und Berichterstellung zu automatisieren.

Features

  • Code Coverage Analysis - Measures the extent to which Java source code is executed by a test suite to identify untested logic.
  • Java Agents - Functions as a Java agent that monitors application execution on the fly to record coverage data.
  • Code Quality Analysis Tools - Calculates cyclomatic complexity and enforces coverage thresholds to maintain software quality standards.
  • Execution Tracking - Records which specific bytecode instructions and branches are executed during a test run using boolean markers.
  • Bytecode-to-Source Mapping - Links executed bytecode instructions back to original source code lines and methods for report generation.
  • Bytecode Instrumentation Agents - Implements bytecode instrumentation agents to inject tracking probes into compiled Java classes at runtime.
  • Class Definition Hashing - Assigns a unique hash to raw class definitions to distinguish between different versions of the same class.
  • Offline Bytecode Instrumentation - Modifies compiled class files before execution to enable coverage tracking in environments that prohibit runtime agents.
  • Runtime Bytecode Instrumentation - Injects tracking logic into class files during execution via a Java agent to monitor runtime behavior.
  • Branch Coverage Tracking - Analyzes decision statements to determine the number of executed or missed paths in the code.
  • Java Instrumentation Frameworks - Provides a framework for injecting tracking probes into Java class files via runtime or offline instrumentation.
  • Runtime Bytecode Instrumentation - Injects tracking probes into class files at runtime using a Java agent to monitor execution paths.
  • Execution Coverage Metrics - Tracks whether at least one instruction in a method or one method in a class has been executed.
  • Class Version Hashes - Assigns unique identifiers to class definitions to ensure execution data matches the correct version of the source code.
  • Code Coverage Tools - Instruments bytecode to measure the percentage of Java source code executed during automated tests.
  • Threshold Enforcements - Implements validation mechanisms that fail the build process if coverage percentages fall below a predefined minimum.
  • Instrumentation Filters - Provides rules to include or exclude specific packages and classes from instrumentation to limit data collection.
  • Runtime Metrics Extraction - Enables retrieval of execution metrics from running processes via remote network connections without interrupting the application.
  • Large-Scale Codebase Analysis - Uses streaming patterns and depth-first traversals to analyze large projects with thousands of classes while maintaining low memory overhead.
  • Build Tool Integrations - Provides native extensions and tasks to integrate coverage data collection into build automation systems.
  • Remote Execution Data Extraction - Transmits execution metrics from a running process to an external collector via a dedicated network protocol.
  • Cyclomatic Complexity Analyzers - Computes the minimum number of paths through a method to determine the test cases required for full coverage.
  • Coverage Threshold Validation - Enforces minimum code coverage thresholds during the build process to ensure software meets quality standards.
  • Quality Gates - Integrates with CI/CD pipelines to block code progression if specific coverage quality gates are not met.
  • Visual Coverage Mapping - Displays execution data directly within code editors using visual highlights and gutter decorations.
  • Report Generators - Transforms raw binary execution data into human-readable reports to identify untested sections of the application.
  • Code Coverage Reportings - Compares execution metrics against source code to generate reports identifying untested lines and branches.
  • Test-Frameworks - Java code coverage library.

Star-Verlauf

Star-Verlauf für jacoco/jacocoStar-Verlauf für jacoco/jacoco

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Jacoco

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Jacoco.
  • colszowka/simplecovAvatar von colszowka

    colszowka/simplecov

    4,902Auf GitHub ansehen↗

    SimpleCov is a Ruby code coverage tool and analysis engine used to track which lines, branches, and methods of code execute during tests. It functions as a coverage threshold enforcer and test suite aggregator, recording execution data to identify untested areas of an application. The tool distinguishes itself through the ability to merge coverage results from parallel worker processes and subprocesses into a single unified report. It supports baseline comparison to detect coverage regressions and can gather data from code executed via dynamic evaluation methods, such as those used in templat

    Ruby
    Auf GitHub ansehen↗4,902
  • gotwarlost/istanbulAvatar von gotwarlost

    gotwarlost/istanbul

    8,662Auf GitHub ansehen↗

    Istanbul is a JavaScript code coverage tool and instrumentation engine that measures the execution of statements, lines, functions, and branches. It functions as a test coverage analysis tool capable of monitoring code across unit, functional, and browser tests to identify untested areas of a codebase. The project distinguishes itself through a transparent instrumentation engine that uses module loader hooks to inject tracking code without requiring manual source modifications. It supports distributed test reporting by aggregating fragmented coverage data from multiple concurrent processes in

    JavaScript
    Auf GitHub ansehen↗8,662
  • istanbuljs/nycAvatar von istanbuljs

    istanbuljs/nyc

    5,746Auf GitHub ansehen↗

    nyc is a JavaScript code coverage tool and command-line interface that instruments source files to track the execution of lines, branches, and functions during test runs. It acts as a wrapper for Node.js test runners, intercepting the module loading process to collect coverage data. The tool functions as a coverage data merger and build gating tool, allowing users to combine results from multiple independent test runs or child processes into a single unified report. It can automatically fail the build process if code coverage percentages fall below defined minimum thresholds. The project sup

    JavaScriptcode-coverageistanbuljavascript
    Auf GitHub ansehen↗5,746
  • oldmanpushcart/greys-anatomyAvatar von oldmanpushcart

    oldmanpushcart/greys-anatomy

    4,007Auf GitHub ansehen↗

    This project is a Java runtime diagnostic tool and bytecode instrumentation framework. It provides a remote troubleshooting interface for inspecting live Java systems, analyzing execution traces, and monitoring method performance without requiring application restarts. The system distinguishes itself through its ability to modify Java classes at runtime to capture parameters and return values, combined with a JavaScript-based scripting engine for custom diagnostic logic. It further supports collaborative live debugging, allowing multiple users to connect to a single remote process simultaneou

    Javadiagnosisgreysjvmti
    Auf GitHub ansehen↗4,007
Alle 30 Alternativen zu Jacoco anzeigen→

Häufig gestellte Fragen

Was macht jacoco/jacoco?

JaCoCo ist ein Java-Code-Coverage-Tool und Bytecode-Instrumentierer, der misst, welche Teile des Quellcodes während Tests ausgeführt werden. Er fungiert als Runtime-Agent zur Überwachung der Anwendungsausführung im laufenden Betrieb oder als Bibliothek für Offline-Bytecode-Instrumentierung, wodurch er Ausführungsdaten in Umgebungen erfassen kann, in denen Runtime-Agenten eingeschränkt sind.

Was sind die Hauptfunktionen von jacoco/jacoco?

Die Hauptfunktionen von jacoco/jacoco sind: Code Coverage Analysis, Java Agents, Code Quality Analysis Tools, Execution Tracking, Bytecode-to-Source Mapping, Bytecode Instrumentation Agents, Class Definition Hashing, Offline Bytecode Instrumentation.

Welche Open-Source-Alternativen gibt es zu jacoco/jacoco?

Open-Source-Alternativen zu jacoco/jacoco sind unter anderem: colszowka/simplecov — SimpleCov is a Ruby code coverage tool and analysis engine used to track which lines, branches, and methods of code… gotwarlost/istanbul — Istanbul is a JavaScript code coverage tool and instrumentation engine that measures the execution of statements,… istanbuljs/nyc — nyc is a JavaScript code coverage tool and command-line interface that instruments source files to track the execution… oldmanpushcart/greys-anatomy — This project is a Java runtime diagnostic tool and bytecode instrumentation framework. It provides a remote… jbachorik/btrace — btrace is a Java dynamic tracing tool and instrumentation framework designed for real-time diagnostics. It enables the… sebastianbergmann/php-code-coverage — php-code-coverage is a PHP library and analysis tool designed to track runtime execution and determine which parts of…