IBM i Global

 View Only

 CODECOV command for code coverage

Cristian Ballestero's profile image
Cristian Ballestero posted Sun February 15, 2026 09:04 PM
I've recently been having a problem with the code coverage command QDEVTOOLS.CODECOV. Basically, the problem is that the CCZIP file generated by the command isn't correctly mapping executed/unexecuted lines.
 
In some cases, differences have been observed in the mapping of executed lines within the generated report.
 
After performing multiple tests and validations (including repeatable execution with automated tests in RPGUnit), I've detected variations in the coverage results under the same execution conditions (source compiled with DBGVIEW (*SOURCE) and executed with RPGUnit). This leads me to believe there might be a recent system-level change (possibly related to PTFs or updates), since the report was previously generated correctly.
 
If anyone has experienced something similar or has technical information that could help better understand this scenario, it would be greatly appreciated.