/clover

This repository contains source code of OpenClover Core as well as its integrations: Clover-for-Ant, Clover-for-Eclipse and Clover-for-IDEA plugins. Sources are licensed under Apache 2.0 license.

Primary LanguageJavaOtherNOASSERTION

GitHub GitHub commit activity (branch) GitHub last commit (branch) Generic badge RSS

GitHub Workflow Status (with event) GitHub Workflow Status (with event) GitHub Workflow Status (with event) GitHub Workflow Status (with event)

GitHub milestone details GitHub milestone details GitHub milestone details GitHub milestone details

About

This repository contains source code of OpenClover Core as well as its integrations with Ant, Eclipse and IntelliJ IDEA. Sources are licensed under Apache 2.0 license.

Documentation

User documentation, developer guides and support knowledge base:

Q&A forums:

Bug and feature tracker:

Download page:

Source code:

See also:

Quick setup for developing OpenClover

Install JDK 17, Ant 1.10+, Maven 3.8+, Git

Prepare repacked third party libraries

mvn install -Pworkspace-setup -f clover-core-libs/pom.xml
mvn install -Pworkspace-setup -f clover-eclipse-libs/pom.xml
mvn install -Pworkspace-setup -f clover-idea-libs/pom.xml

Download KTremap and install it

Add https://packages.atlassian.com/mvn/maven-atlassian-external to your list of Maven repositories in settings.xml

OR

Download the following files and install locally:

PACKAGES_ATLASSIAN_COM=https://packages.atlassian.com/mvn/maven-atlassian-external/
KTREEMAP_PATH=net/sf/jtreemap/ktreemap/1.1.0-atlassian-01

wget $PACKAGES_ATLASSIAN_COM/$KTREEMAP_PATH/ktreemap-1.1.0-atlassian-01.jar
wget $PACKAGES_ATLASSIAN_COM/$KTREEMAP_PATH/ktreemap-1.1.0-atlassian-01.pom
mvn install:install-file -Dfile=ktreemap-1.1.0-atlassian-01.jar -DpomFile=ktreemap-1.1.0-atlassian-01.pom

Now you can work with the code using Maven. You can also open it in IntelliJ IDEA, by importing the root pom.xml.

Example commands

# Compile everything and run all tests
mvn test

# Install all modules locally, without testing 
mvn install -DskipTests=true

# Run tests for three main modules
mvn test -pl clover-ant,clover-core,clover-groovy

Copyright @ 2002 - 2017 Atlassian Pty Ltd

Copyright @ 2017 - 2023 modifications by OpenClover.org