![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
za.co.absa.jacoco:org.jacoco.build
Advanced tools
JaCoCo - Java Code Coverage Library - Absa fork with Scala method filtration
JaCoCo is a free Java code coverage library distributed under the Eclipse Public License. Check the project homepage for downloads, documentation and feedback.
Please use our mailing list for questions regarding JaCoCo which are not already covered by the extensive documentation.
*.scala
filesOn the fly logic for removing methods. All methods which are not part of their source file are removed from JaCoCo bundle.
JaCoCo report contains big amount of inherited methods which is not needed/expected to cover by tests.
jacoco.exec
file (as JaCoCo bundle data source)<execution>
<id>jacoco-report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<title>${project.name} - ${scala.version}</title>
<doMethodFiltration>true</doMethodFiltration>
<doScalaMethodFiltration>true</doScalaMethodFiltration>
<doManualScalaMethodFiltration>true</doManualScalaMethodFiltration>
<srcRootDir>src/main/scala</srcRootDir>
<methodExcludes>
<exclude>com/package/patk/Classname@methodName</exclude>
</methodExcludes>
</configuration>
</execution>
org.jacoco.core.analysis.CoverageBundleMethodFilterConst.java
org.jacoco.core.analysis.CoverageBundleMethodFilterScalaImpl.java
org.jacoco.core.analysis.ClassCondensate.java
org.jacoco.core.analysis.CoverageBundleMethodFilterScalaImplTest.java
KEPT_by_SKIP_CLASS_NAME
KEPT_by_SKIP_METHOD_NAME
KEPT_by_EXISTING
KEPT_by_EXCEPTION
REMOVED_by_SKIP_CLASS_NAME_INIT_METHOD
REMOVED - not found in class file.
REMOVED - not found in classCondensate.
REMOVED_BY_MANUAL_EXCLUDE - manually defined to remove from report
Implemented filtration logic does not contain all possible scala code combinations. All class elements are removed if they are not found in source files. This can lead to unexpected removes of logic. Suggestion for usage:
Until Scala method filtering solution will be available in official library. You can use this workaround.
mvn install
in repository root dir.$HOME/.m2/repository/za/co/absa/jacoco/*
pom.xml
file <jacoco.version>0.8.10</jacoco.version>
profile
section in your pom.xml
file<profile>
<id>code-coverage</id>
<properties>
<scalatest.argLine>${default.scalatest.argLine} ${argLine}</scalatest.argLine>
<skip.integration.tests>false</skip.integration.tests>
<skip.unit.tests>false</skip.unit.tests>
</properties>
<build>
<plugins>
<plugin>
<groupId>za.co.absa.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<id>jacoco-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<title>${project.name} - ${scala.version}</title>
<doMethodFiltration>true</doMethodFiltration>
<doScalaMethodFiltration>true</doScalaMethodFiltration>
<doManualScalaMethodFiltration>true</doManualScalaMethodFiltration>
<methodExcludes>
<exclude>com/path/ClassName@methodName</exclude>
</methodExcludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
mvn clean verify -Pcode-coverage
FAQs
JaCoCo - Java Code Coverage Library - Absa fork with Scala method filtration
We found that za.co.absa.jacoco:org.jacoco.build demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.