Project

General

Profile

Actions

action #95662

closed

Codecov: Green/red markers are off by one or more lines sometimes size:S

Added by tinita almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-07-19
Due date:
2021-08-03
% Done:

0%

Estimated time:

Description

Observation

If you look at this report:
https://codecov.io/gh/os-autoinst/openQA/src/master/t/lib/OpenQA/Test/Utils.pm#L478

you will see that starting with these 3 uncoverable lines # uncoverable statement the rest of the markers are off by 3, resulting in empty lines being marked as covered for example.

Acceptance criteria

  • AC1: Our codecov reports in openQA show red/green markers on correct lines when using uncoverable … in a previous line

Problem

This seems to be a bug in Devel::Cover::Report::Codecovbash

Tasks

  • Take over maintainership for Devel::Cover::Report::Codecovbash as original author is not interested anymore
  • Fix the bug in the source repo of Devel::Cover::Report::Codecovbash
  • Provide an updated package on CPAN with updated source repo location + bugfix
  • Provide updated package of the above within openSUSE
  • Ensure that the updated, fixed package is used within our CI environment and reports are correct

Files


Related issues 1 (0 open1 closed)

Related to openQA Project - action #80274: Fix flaky coverage - t/lib/OpenQA/Test/Utils.pm size:MResolvedkraih2020-11-24

Actions
Actions

Also available in: Atom PDF