getOtterWise / bash-uploader

CI-agnostic Coverage Uploader for OtterWise
MIT License
1 stars 1 forks source link

Cobertura: Strip Method Signature #2

Closed LasseRafn closed 3 months ago

LasseRafn commented 3 months ago

Cobertura formats often contain method signature, which will expose what attributes are expected when calling the method. An example can be:

<method name="__construct" signature="App\Models\Repository $repository, App\Models\PullRequest $pullRequest" line-rate="1" branch-rate="0" complexity="1">

Here we see that the constructor expects a Repository and PullRequest.

This goes against the OtterWise goals of stripping ALL irrelevant code from coverage files we ingress.