Skip to content

Support PHPUnit clover reports (silently reported as zero coverage) - #617

Merged
Bachmann1234 merged 2 commits into
Bachmann1234:mainfrom
Eljees:fix/272-phpunit-clover
Aug 8, 2026
Merged

Bachmann1234 merged 2 commits into
Bachmann1234:mainfrom
Eljees:fix/272-phpunit-clover

Conversation

@Eljees

@Eljees Eljees commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #272.

A clover.xml written by PHPUnit comes out as zero coverage, without an error. Two independent reasons:

  1. Format detection. XmlCoverageReporter recognises Clover by .[@clover] on the root node. Atlassian Clover writes that attribute; PHPUnit writes a bare <coverage generated="…">, so the document falls through to the Cobertura branch, which finds nothing and returns an empty set instead of failing.
  2. File lookup. _get_src_path_line_nodes_clover() matches on file/@path. PHPUnit identifies files with @name, so even once detection is fixed the lookup finds nothing.

Detection now also accepts a document containing file/line[@num][@count] — the element shape both dialects always produce — and the file lookup falls back to @name, comparing normalised paths and accepting a path that ends with the requested source path (PHPUnit writes absolute paths).

Test added alongside the existing clover tests: a PHPUnit-shaped report whose covered lines are found. It fails on main (empty result) and passes with the fix.

AI-assisted (LLM used for drafting and for running the checks); the analysis and the runs are mine.

# Loop through the files that contain the xml roots
for i, xml_document in enumerate(self._xml_roots):
if xml_document.findall(".[@clover]"):
if self._is_clover_report(xml_document):

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should not have to recompute this for every file.

Perhaps we just compute a mapping in init so we can just turn this check into a dict lookup rather then re-searchign though the xml file?

Comment on lines 149 to 151
for file_tree in files:
lines.append(file_tree.findall('./line[@type="stmt"]'))
lines.append(file_tree.findall('./line[@type="cond"]'))

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be clear, I know this was not in your changes, but I think it will prove important for ... honeslty both php clover and other clover reports

Two points from the review of Bachmann1234#617.

Detecting the report format searched the whole document, and it was done
once per source file inside _cache_file. The answer cannot change after
load, so classify each root once in __init__ and look the answer up.
This also folds in the JaCoCo probe, which had the same shape.

Clover marks an executable line as method, stmt or cond. PHPUnit emits
method for the declaration line of every function it measured, and
leaving that type out reported those lines as unmeasured. This part is
not specific to PHPUnit - it applies to any Clover writer.
@Eljees

Eljees commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Both fair, and the second one is a real gap rather than a nit — thanks.

On the per-file re-scan. You're right, and it's broader than the clover check I added: the whole dispatch in _cache_file (.[@clover] / .[@name] / fall through to cobertura) is re-evaluated for every source path, so each file walks all the XML roots again. I'll classify each root once and turn the dispatch into an index lookup — roughly a self._root_formats = [self._detect_format(root) for root in self._xml_roots] built where self._xml_roots is set, with _cache_file reading self._root_formats[i].

There's a second re-scan in the same path that I'd like to fix in the same pass: get_src_path_line_nodes_clover walks every .//file per source path. One caveat if you want it as a plain dict: the match isn't equality, it's a suffix test (…endswith(f"/{src_path}")), which is what makes the no-path-attribute PHPUnit reports resolve at all. So I'd build a mapping keyed by relative path, plus a basename → candidates mapping for the suffix case, which keeps it O(1) in the common case and O(few) in the fallback. Say the word if you'd rather I keep this PR to the format detection and do the lookup table separately.

On @type="method". Agreed, and it should go in here — dropping those lines is the same class of bug this PR is about. PHPUnit emits stmt, cond and method lines, and we only collect the first two, so a method declaration line reads as unmeasured; a diff that only touches a signature shows nothing covered. For method lines count is the number of times the method was entered, so it maps onto the existing hit/miss model with no special casing — it's one more findall. I'll add it with a test that a method line is reported as measured, and I'll note in the PR description that this changes reported numbers for existing Clover users, since signature lines move from unmeasured to measured.

@Bachmann1234

Copy link
Copy Markdown
Owner

alrighty, lets get this out!

@Bachmann1234
Bachmann1234 merged commit 5fc9e82 into Bachmann1234:main Aug 8, 2026
14 checks passed
@Bachmann1234

Copy link
Copy Markdown
Owner

This was referenced Aug 9, 2026
This was referenced Aug 12, 2026
Bachmann1234 pushed a commit that referenced this pull request Aug 16, 2026
…ath (#618)

* perf: index the Clover file lookup instead of rescanning per source path

`get_src_path_line_nodes_clover` walked every `.//file` in the report on
every call, and it is called once per source path, so N source paths against
a report of M files did N*M element visits and N*M `relative_path` calls.

Build the lookup once per report: a map from repository-relative path, plus
a map from the last path segment for the suffix match that absolute-path
reports rely on. Both store document position, so matches are still returned
in document order.

Follow-up to the review on #617.

* refactor: move the Clover file index into its own module

Adding the index in this branch took violations_reporter.py to 1019 lines,
past pylint's too-many-lines limit of 1000. The lookup is self-contained, so
it moves to violationsreporters/clover.py as CloverFileIndex, and the module
is back to 958 lines.

XmlCoverageReporter keeps the per-report cache and builds the index on first
use, so the dispatch in _cache_file and the signature of
get_src_path_line_nodes_clover are unchanged.

The moved code resolves GitPathTool in its own module, so the Clover tests
patch it there. Skipping a <file> element that carries neither path nor name
had no test of its own; it has one now.

Requested in review on #618.
renovate Bot added a commit to MartinBernstorff/Memium that referenced this pull request Oct 27, 2026
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [diff-cover](https://redirect.github.com/Bachmann1234/diff-cover) |
`==10.0.0` → `==11.0.0` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/diff-cover/11.0.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/diff-cover/10.0.0/11.0.0?slim=true)
|

---

### Release Notes

<details>
<summary>Bachmann1234/diff-cover (diff-cover)</summary>

###
[`v11.0.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v11.0.0):
Version 11.0.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.6.0...v11.0.0)

#### What's Changed

- fix(exclude): match a pattern against the path, not only against its
basename by [@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#636](https://redirect.github.com/Bachmann1234/diff_cover/pull/636)
- fix(snippets): number terminal snippets from their first line by
[@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#637](https://redirect.github.com/Bachmann1234/diff_cover/pull/637)
- Drop python 3.10, add python 3.15 by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#645](https://redirect.github.com/Bachmann1234/diff_cover/pull/645)
- Split quoted `--options` with shlex by
[@&#8203;Don-Yin](https://redirect.github.com/Don-Yin) in
[Bachmann1234/diff_cover#646](https://redirect.github.com/Bachmann1234/diff_cover/pull/646)

##### Dependency Bumps

- Bump astral-sh/setup-uv from 10.1.0 to 10.2.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#638](https://redirect.github.com/Bachmann1234/diff_cover/pull/638)
- Bump github/codeql-action from 4.38.0 to 4.38.2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#639](https://redirect.github.com/Bachmann1234/diff_cover/pull/639)
- Bump ruff from 0.16.8 to 0.16.9 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#643](https://redirect.github.com/Bachmann1234/diff_cover/pull/643)
- Bump pylint from 4.0.8 to 4.0.9 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#641](https://redirect.github.com/Bachmann1234/diff_cover/pull/641)
- Bump pytest-mock from 3.15.1 to 3.16.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#640](https://redirect.github.com/Bachmann1234/diff_cover/pull/640)
- Bump pyflakes from 3.4.0 to 4.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#642](https://redirect.github.com/Bachmann1234/diff_cover/pull/642)

#### New Contributors

- [@&#8203;Don-Yin](https://redirect.github.com/Don-Yin) made their
first contribution in
[Bachmann1234/diff_cover#646](https://redirect.github.com/Bachmann1234/diff_cover/pull/646)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.6.0...v11.0.0>

###
[`v10.6.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.6.0):
Version 10.6.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.5.1...v10.6.0)

#### What's Changed

- refactor: harmonize linters to use ruff as the sole linter and
formatter by
[@&#8203;philipp-horstenkamp](https://redirect.github.com/philipp-horstenkamp)
in
[Bachmann1234/diff_cover#630](https://redirect.github.com/Bachmann1234/diff_cover/pull/630)
- Switch over to uv by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#631](https://redirect.github.com/Bachmann1234/diff_cover/pull/631)
- Trying to avoid re-locking by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#633](https://redirect.github.com/Bachmann1234/diff_cover/pull/633)
- Add --minimum-change feature flag to diff-cover and diff-quality by
[@&#8203;philipp-horstenkamp](https://redirect.github.com/philipp-horstenkamp)
in
[Bachmann1234/diff_cover#628](https://redirect.github.com/Bachmann1234/diff_cover/pull/628),
[Bachmann1234/diff_cover#635](https://redirect.github.com/Bachmann1234/diff_cover/pull/635)

##### Dependency bumps

- Bump ruff from 0.16.0 to 0.16.5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#621](https://redirect.github.com/Bachmann1234/diff_cover/pull/621)
- Bump isort from 8.0.1 to 9.0.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#622](https://redirect.github.com/Bachmann1234/diff_cover/pull/622)
- Bump github/codeql-action from 4.37.3 to 4.37.9 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#623](https://redirect.github.com/Bachmann1234/diff_cover/pull/623)
- Bump chardet from 7.4.3 to 7.6.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#624](https://redirect.github.com/Bachmann1234/diff_cover/pull/624)
- Bump pylint from 4.0.6 to 4.0.8 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#626](https://redirect.github.com/Bachmann1234/diff_cover/pull/626)
- Bump pygments from 2.20.0 to 2.21.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#625](https://redirect.github.com/Bachmann1234/diff_cover/pull/625)
- Bump github/codeql-action from 4.37.9 to 4.38.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#632](https://redirect.github.com/Bachmann1234/diff_cover/pull/632)

#### New Contributors

-
[@&#8203;philipp-horstenkamp](https://redirect.github.com/philipp-horstenkamp)
made their first contribution in
[Bachmann1234/diff_cover#630](https://redirect.github.com/Bachmann1234/diff_cover/pull/630)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.5.1...v10.6.0>

###
[`v10.5.1`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.5.1):
Vesion 10.5.1

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.5.0...v10.5.1)

#### What's Changed

- perf: index the Clover file lookup instead of rescanning per source
path by [@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#618](https://redirect.github.com/Bachmann1234/diff_cover/pull/618)
- fix: report a missing git instead of an unhandled FileNotFoundError by
[@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#620](https://redirect.github.com/Bachmann1234/diff_cover/pull/620)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.5.0...v10.5.1>

###
[`v10.5.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.5.0):
Version 10.5.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.4.2...v10.5.0)

#### What's Changed

- Support PHPUnit clover reports (silently reported as zero coverage) by
[@&#8203;Eljees](https://redirect.github.com/Eljees) in
[Bachmann1234/diff_cover#617](https://redirect.github.com/Bachmann1234/diff_cover/pull/617)

#### New Contributors

- [@&#8203;Eljees](https://redirect.github.com/Eljees) made their first
contribution in
[Bachmann1234/diff_cover#617](https://redirect.github.com/Bachmann1234/diff_cover/pull/617)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.4.2...v10.5.0>

###
[`v10.4.2`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.4.2):
Version 10.4.2

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.4.1...v10.4.2)

#### What's Changed

- fix(config): honor format option from config file by
[@&#8203;Sanjays2402](https://redirect.github.com/Sanjays2402) in
[Bachmann1234/diff_cover#612](https://redirect.github.com/Bachmann1234/diff_cover/pull/612)
- fix(plugins): accept reports/options in diff_cover_report_quality
hookspec by
[@&#8203;Sanjays2402](https://redirect.github.com/Sanjays2402) in
[Bachmann1234/diff_cover#613](https://redirect.github.com/Bachmann1234/diff_cover/pull/613)

#### New Contributors

- [@&#8203;Sanjays2402](https://redirect.github.com/Sanjays2402) made
their first contribution in
[Bachmann1234/diff_cover#612](https://redirect.github.com/Bachmann1234/diff_cover/pull/612)

#### Dependencies

- Bump github/codeql-action from 4 to 4.37.3 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#616](https://redirect.github.com/Bachmann1234/diff_cover/pull/616)
- Bump ruff from 0.15.20 to 0.16.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#615](https://redirect.github.com/Bachmann1234/diff_cover/pull/615)
- Bump actions/setup-python from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#614](https://redirect.github.com/Bachmann1234/diff_cover/pull/614)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.4.1...v10.4.2>

###
[`v10.4.1`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.4.1):
Version 10.4.1

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.4.0...v10.4.1)

#### What's Changed

- Handle low confidence chardet detection for undeclared encodings by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#611](https://redirect.github.com/Bachmann1234/diff_cover/pull/611)

#### Dependencies

- Bump setuptools from 80.9.0 to 83.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#609](https://redirect.github.com/Bachmann1234/diff_cover/pull/609)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.4.0...v10.4.1>

###
[`v10.4.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.4.0):
Version 10.4.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.3.0...v10.4.0)

#### What's Changed

- Add --branch-coverage flag to respect partial branch coverage by
[@&#8203;mofr](https://redirect.github.com/mofr) in
[Bachmann1234/diff_cover#608](https://redirect.github.com/Bachmann1234/diff_cover/pull/608)

#### Dependency bumps

- Bump ruff from 0.15.12 to 0.15.15 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#602](https://redirect.github.com/Bachmann1234/diff_cover/pull/602)
- Bump black from 26.3.1 to 26.5.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#603](https://redirect.github.com/Bachmann1234/diff_cover/pull/603)
- Bump actions/cache from 5 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#604](https://redirect.github.com/Bachmann1234/diff_cover/pull/604)
- Bump actions/checkout from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#605](https://redirect.github.com/Bachmann1234/diff_cover/pull/605)
- Bump ruff from 0.15.15 to 0.15.20 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#606](https://redirect.github.com/Bachmann1234/diff_cover/pull/606)
- Bump pylint from 4.0.5 to 4.0.6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#607](https://redirect.github.com/Bachmann1234/diff_cover/pull/607)

#### New Contributors

- [@&#8203;mofr](https://redirect.github.com/mofr) made their first
contribution in
[Bachmann1234/diff_cover#608](https://redirect.github.com/Bachmann1234/diff_cover/pull/608)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.3.0...v10.4.0>

###
[`v10.3.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.3.0):
Version 10.3.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.2.1...v10.3.0)

#### What's Changed

- Add --show-covered flag to highlight covered diff lines in HTML report
by [@&#8203;duxiaocheng](https://redirect.github.com/duxiaocheng) in
[Bachmann1234/diff_cover#600](https://redirect.github.com/Bachmann1234/diff_cover/pull/600)
- Document previously undocumented CLI flags in README by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#601](https://redirect.github.com/Bachmann1234/diff_cover/pull/601)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.2.1...v10.3.0>

###
[`v10.2.1`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.2.1):
Version 10.2.1

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.2.0...v10.2.1)

#### What's Changed

- Fix --help hiding most CLI options in diff-cover/diff-quality by
[@&#8203;duxiaocheng](https://redirect.github.com/duxiaocheng) in
[Bachmann1234/diff_cover#599](https://redirect.github.com/Bachmann1234/diff_cover/pull/599)

#### New Contributors

- [@&#8203;duxiaocheng](https://redirect.github.com/duxiaocheng) made
their first contribution in
[Bachmann1234/diff_cover#599](https://redirect.github.com/Bachmann1234/diff_cover/pull/599)

#### Dependency bumps

- Bump tomli from 2.3.0 to 2.4.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#575](https://redirect.github.com/Bachmann1234/diff_cover/pull/575)
- Bump ruff from 0.14.10 to 0.14.14 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#576](https://redirect.github.com/Bachmann1234/diff_cover/pull/576)
- Bump isort from 6.1.0 to 7.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#577](https://redirect.github.com/Bachmann1234/diff_cover/pull/577)
- Update black to 26.1 by
[@&#8203;Bachmann1234](https://redirect.github.com/Bachmann1234) in
[Bachmann1234/diff_cover#579](https://redirect.github.com/Bachmann1234/diff_cover/pull/579)
- Bump actions/download-artifact from 7 to 8 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#582](https://redirect.github.com/Bachmann1234/diff_cover/pull/582)
- Bump actions/upload-artifact from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#583](https://redirect.github.com/Bachmann1234/diff_cover/pull/583)
- Bump chardet from 5.2.0 to 6.0.0.post1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#584](https://redirect.github.com/Bachmann1234/diff_cover/pull/584)
- Bump isort from 7.0.0 to 8.0.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#585](https://redirect.github.com/Bachmann1234/diff_cover/pull/585)
- Bump pylint from 4.0.4 to 4.0.5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#586](https://redirect.github.com/Bachmann1234/diff_cover/pull/586)
- Bump ruff from 0.14.14 to 0.15.4 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#587](https://redirect.github.com/Bachmann1234/diff_cover/pull/587)
- Bump black from 26.1.0 to 26.3.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#589](https://redirect.github.com/Bachmann1234/diff_cover/pull/589)
- Bump pygments from 2.19.2 to 2.20.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#591](https://redirect.github.com/Bachmann1234/diff_cover/pull/591)
- Bump geekyeggo/delete-artifact from 5 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#592](https://redirect.github.com/Bachmann1234/diff_cover/pull/592)
- Bump ruff from 0.15.4 to 0.15.8 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#593](https://redirect.github.com/Bachmann1234/diff_cover/pull/593)
- Bump tomli from 2.4.0 to 2.4.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#594](https://redirect.github.com/Bachmann1234/diff_cover/pull/594)
- Bump pytest-cov from 7.0.0 to 7.1.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#596](https://redirect.github.com/Bachmann1234/diff_cover/pull/596)
- Bump ruff from 0.15.8 to 0.15.12 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#598](https://redirect.github.com/Bachmann1234/diff_cover/pull/598)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.2.0...v10.2.1>

###
[`v10.2.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.2.0):
Version 10.2.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.1.0...v10.2.0)

#### What's Changed

- Convert violation to relative path for subfolder support by
[@&#8203;eacherkan-via](https://redirect.github.com/eacherkan-via) in
[Bachmann1234/diff_cover#574](https://redirect.github.com/Bachmann1234/diff_cover/pull/574)

#### Dependency Bumps

- Bump actions/download-artifact from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#566](https://redirect.github.com/Bachmann1234/diff_cover/pull/566)
- Bump actions/cache from 4 to 5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#567](https://redirect.github.com/Bachmann1234/diff_cover/pull/567)
- Bump actions/upload-artifact from 5 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#568](https://redirect.github.com/Bachmann1234/diff_cover/pull/568)
- Bump doc8 from 1.1.2 to 2.0.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#569](https://redirect.github.com/Bachmann1234/diff_cover/pull/569)
- Bump pylint from 3.3.9 to 4.0.4 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#570](https://redirect.github.com/Bachmann1234/diff_cover/pull/570)
- Bump ruff from 0.14.7 to 0.14.10 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#571](https://redirect.github.com/Bachmann1234/diff_cover/pull/571)
- Bump black from 25.11.0 to 25.12.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[Bachmann1234/diff_cover#572](https://redirect.github.com/Bachmann1234/diff_cover/pull/572)

#### New Contributors

- [@&#8203;eacherkan-via](https://redirect.github.com/eacherkan-via)
made their first contribution in
[Bachmann1234/diff_cover#574](https://redirect.github.com/Bachmann1234/diff_cover/pull/574)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.1.0...v10.2.0>

###
[`v10.1.0`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v10.1.0):
Version 10.1.0

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v10.0.0...v10.1.0)

#### What's Changed

- Update required Python to >=3.10 by
[@&#8203;nicoddemus](https://redirect.github.com/nicoddemus) in
[Bachmann1234/diff_cover#563](https://redirect.github.com/Bachmann1234/diff_cover/pull/563)
- Fix installation command formatting in README by
[@&#8203;jlosito](https://redirect.github.com/jlosito) in
[Bachmann1234/diff_cover#564](https://redirect.github.com/Bachmann1234/diff_cover/pull/564)
- Add support for floating-point total percentage in reports by
[@&#8203;tilaven](https://redirect.github.com/tilaven) in
[Bachmann1234/diff_cover#565](https://redirect.github.com/Bachmann1234/diff_cover/pull/565)

#### New Contributors

- [@&#8203;jlosito](https://redirect.github.com/jlosito) made their
first contribution in
[Bachmann1234/diff_cover#564](https://redirect.github.com/Bachmann1234/diff_cover/pull/564)
- [@&#8203;tilaven](https://redirect.github.com/tilaven) made their
first contribution in
[Bachmann1234/diff_cover#565](https://redirect.github.com/Bachmann1234/diff_cover/pull/565)

**Full Changelog**:
<Bachmann1234/diff_cover@v10.0.0...v10.1.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/MartinBernstorff/Memium).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE4NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The script will fail If no string 'clover' in clover xml

2 participants