JaCoCo VS proguard-core

Compare JaCoCo vs proguard-core and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
JaCoCo proguard-core
7 9
4,014 269
1.3% 1.9%
8.3 9.0
6 days ago 13 days ago
Java Java
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

JaCoCo

Posts with mentions or reviews of JaCoCo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-27.
  • Apache Maven JaCoCo Configuration
    3 projects | dev.to | 27 Oct 2023
    I will use here JaCoCo, where also the JaCoCo-Maven-lugin exists for the usage in your Maven builds. This article will show how to configure the code coverage to finally get the results for unit- and integration-tests.
  • HRV-Mart
    16 projects | dev.to | 8 May 2023
    In protection rules, I added build workflow in Require status checks to pass before merging. This is to ensure that before merging code in master branch, build should run successfully. I also added Jacoco Code Coverage to make sure that enough unit tests are available in project and Detekt to make sure that code in project is readable. I added them in build configuration. Even if one of them gives error, build will fail. Whenever, someone push code in pull request, build action will run and check if build is running successfully or not.
  • CI/CD with Spring Boot and Jenkins Pipelines
    6 projects | dev.to | 28 Mar 2023
    Code coverage analysis tools quantify the amount of tested code, serving as a valuable tool to inform on code structure and testing related decisions. We will make use of JaCoCo, JaCoCo produces reports on multiple kinds of code coverage metrics including instructions, line and branch coverage.
  • How to Use Maven Profiles to Selectively Activate Plugins and Other Configuration from the Command Line
    4 projects | dev.to | 19 Oct 2022
    One specific example where I regularly use a profile in this way is for configuring code coverage. In all of my Java projects, I use JaCoCo for generating code coverage reports. I use JaCoCo during the Maven test phase. However, while developing I find it useful at times to exclude coverage reporting to reduce the build time. But in my CI/CD workflows in GitHub Actions, I activate the code coverage profile during pull-requests and pushes to the default branch. For pull-requests, my GitHub Actions workflow comments the code coverage on the PR and uploads the coverage report as a workflow artifact, where I can inspect it as necessary. And during a push to the default branch, my workflow updates coverage badges to keep them up to date with the current state of the default branch. I can also activate the code coverage profile locally while developing, such as prior to submitting a pull-request, to ensure that I didn't miss testing something.
  • Implement DevSecOps to Secure your CI/CD pipeline
    54 projects | dev.to | 27 Sep 2022
    In Unit tests, individual software code components are checked if it is working as expected or not. Unit tests isolate a function or module of code and verify its correctness. We can use tools like JaCoCo for Java and Mocha, and Jasmine for NodeJS to generate unit test reports. We can also send these reports to SonarQube which shows us code coverage and the percentage of your code covered by your test cases.
  • Which Jacoco Android plugin you're using for test coverage?
    4 projects | /r/androiddev | 18 Jun 2021
    And there is the original jacoco/jacoco: (0.8.7: released this on May 5, 2021), but it's for Java. I'm not sure if we can use it with multiple flavors on Android.
  • Kotlin 1.5.0 – the First Big Release of 2021
    2 projects | /r/androiddev | 5 May 2021
    Make sure to also update to Jacoco 0.8.7 to avoid test issues: https://github.com/jacoco/jacoco/releases/tag/v0.8.7

proguard-core

Posts with mentions or reviews of proguard-core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-23.
  • Any news on the Classfile API?
    5 projects | /r/java | 23 Dec 2022
    Anyways, have you looked at Proguard core?
  • Resources for generating and execution JVM bytecode
    2 projects | /r/ProgrammingLanguages | 20 Aug 2022
    For generating Java bytecode/class files you could take a look at ProGuardCORE . It's a bytecode manipulation and analysis library that grew out of ProGuard.
  • JEP draft: Classfile API
    5 projects | /r/java | 17 Jun 2022
    The MethodBuilder "low-level" example looks like the ProGuardCORE API for building classes & code sequences, which can be written as:
  • Show HN: I spent my vacation writing a modern JVM assembler
    12 projects | news.ycombinator.com | 2 Jun 2022
    Something else that could make your code generation for your JVM language easier: ProGuardCORE (https://github.com/Guardsquare/proguard-core). It can be used to read, generate and analyse Java bytecode.

    Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)

    Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)

  • Looking for resources on building a compiler
    3 projects | /r/Compilers | 22 Feb 2022
    I implemented Lox in Kotlin based on the book's Java interpreter then added a JVM backend using ProGuardCORE: https://github.com/mrjameshamilton/klox
  • Building a simple Log4Shell detector with ProGuardCORE
    1 project | /r/Compilers | 3 Feb 2022
    You can find out more about ProGuardCORE on GitHub and the manual contains some further examples.
  • Is there any books or guides on how to target JVM bytecode?
    2 projects | /r/Compilers | 30 Jan 2022
    Not a book or guide but a useful library for working with/generating JVM class files is ProGuardCORE. It's the underlying library used by ProGuard and I also recently used it to add a JVM backend to my implementation of Lox from the Crafting Interpreters book.
  • Concise language to write an interpreter for?
    3 projects | /r/ProgrammingLanguages | 28 Jan 2022
    After completing the first part of the book (using Kotlin instead of Java), I added a JVM backend using ProGuardCORE (https://github.com/Guardsquare/proguard-core).
  • AppSweep, mobile application scanning for developers
    3 projects | /r/androiddev | 3 Aug 2021
    The biggest difference is our initial goal of creating a tool for application developers rather than a security team. This means we aim to exclude information that the application developer definitely knows and doesn't want to see again, e.g. the list of permissions an application is requesting. Furthermore we try to focus on nice and intuitive UX that is familiar to this audience, enabling an application developer to be very efficient in reading & interpreting the results (e.g. easy comparison of two builds). Also note that this is built on the same core technology as ProGuard. This foundation of compiler components (e.g. our partial evaluator) and the knowledge and experience at Guardsquare that comes with it will unlock many more in-depth code checks.

What are some alternatives?

When comparing JaCoCo and proguard-core you can also consider the following projects:

Cobertura - Cobertura

proguard - ProGuard, Java optimizer and obfuscator

sonar-flutter - SonarQube plugin for Flutter / Dart

emv-qrcode - Java Based EMV QR Code Generator and Parser (MPM, CPM)

Micronaut - Micronaut Application Framework

appsweep-gradle - This Gradle plugin can be used to continuously integrate app scanning using AppSweep into your Android app build process

gradle-android-junit-jacoco-plugin - Gradle plugin that generates JaCoCo reports from an Android Gradle Project

bytecode-viewer - A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)

Cobalt - Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin

Maker - Lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.

JByteMod-Beta - Java bytecode editor

klox - A Kotlin implementation of lox with a JVM backend built using ProGuardCORE