Skip to content

flowr-analysis/slicing-coverage-r-package

Folders and files

NameName
Last commit message
Last commit date
Oct 1, 2024
Nov 22, 2024
Dec 15, 2024
Nov 22, 2024
Dec 15, 2024
Dec 15, 2024
Aug 3, 2024
Jul 4, 2024
Oct 2, 2024
Dec 2, 2024
Aug 3, 2024
Dec 2, 2024
Nov 22, 2024

Repository files navigation

Slicing Coverage

Track and report code coverage for your package. Compared to traditional approaches, Slicing Coverage aims to enhance the accuracy of coverage scores by calculating them based on the program slice resulting from the test’s assertion criteria. This way, we are able to account for code that's covered but no checked, thus providing a score that can reflect the tests quality more accurately. This package integrates with most of covr's functionality and should therefore be easily integrated into existing projects.

To use this package, you also need the program slicer flowr.

Development

To get ready for development, you can follow the steps below:

  1. Clone the repository:
git clone https://github.com/flowr-analysis/slicing-coverage-r-package.git
  1. Enable the project-specific git-hooks:
git config --local core.hooksPath .githooks/