Coverage.py
7.3#3 in test coverage toolsFree planFree planAPILinuxmacOSSelf-hosted
Visit| Fact | Coverage.py | JaCoCo |
|---|---|---|
| Integrations | Official examples cover pytest, unittest, and nose, and pytest commonly uses the pytest-cov plugin. | The integration matrix lists tools including Gradle, Eclipse, IntelliJ IDEA, Jenkins, SonarQube, and TeamCity. |
| License | Coverage.py is licensed under the Apache 2.0 License. | The library and its included documentation are made available under the Eclipse Public License 2.0, except where otherwise indicated. |
| Purpose | Coverage.py measures which parts of Python programs ran and identifies executable code that did not run, commonly to gauge test effectiveness. | JaCoCo is a code coverage library for Java and Java VM based environments. |
| Reports | It can produce text, HTML, XML, LCOV, and JSON reports. | It can create coverage reports in HTML, XML, and CSV formats. |
| Security | The project directs vulnerability reports to Tidelift, which it says will coordinate the fix and disclosure. | The agent’s TCP connections and JMX interface have no authentication, and the documentation warns that exposing them to untrusted sources may reveal application information or permit denial-of-service attacks. |
Coverage.py is for developers measuring how much of their Python code their tests exercise. Its report formats and dynamic contexts can help teams inspect coverage in different ways.
JaCoCo suits developers and teams who need Java or JVM code coverage reports and integrations with build or development tools. Users should account for its Java runtime requirement and the conditions for line coverage and source highlighting.