https://github.com/devnix/clover-uncovered-lines
https://github.com/devnix/clover-uncovered-lines
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/devnix/clover-uncovered-lines
- Owner: devnix
- Created: 2026-01-10T00:14:24.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-01-10T22:34:13.000Z (about 2 months ago)
- Last Synced: 2026-01-11T05:12:53.207Z (about 2 months ago)
- Language: PHP
- Size: 53.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clover Uncovered Lines
[](https://coveralls.io/github/devnix/clover-uncovered-lines?branch=main)
[](https://dashboard.stryker-mutator.io/reports/github.com/devnix/clover-uncovered-lines/main)
A simple CLI tool to parse Clover XML coverage reports and display uncovered lines in a human(-and-llm)-readable format.
## Installation
Install via Composer:
```bash
composer require --dev devnix/clover-uncovered-lines
```
## Usage
Run the tool by passing the path to your Clover XML coverage file:
```bash
vendor/bin/clover-uncovered-lines path/to/clover.xml
```
### Example Output
When there are uncovered lines:
```
Uncovered lines:
src/Example.php
Lines 15-18
Line 42 (method)
src/AnotherFile.php
Line 23
Summary: 5 uncovered lines in 2 file(s)
```
When all lines are covered:
```
✓ All lines are covered!
```
## Exit Codes
- `0` - All lines are covered
- `1` - Uncovered lines found or error occurred
## Features
- Parses Clover XML coverage reports
- Groups consecutive uncovered lines into ranges for readability
- Identifies uncovered methods
- Auto-detects project root from XML paths
- Provides summary statistics
## Requirements
- PHP 8.4 or higher
## License
MIT
## Author
Pablo Largo Mohedano (devnix.code@gmail.com)