Hi Victor! I work together with Rafael
We have a script that generates our LCOV but it hasn’t been modified for a while. About the script, our LCOV files are only created when tests for the APP or LIB are run, but the tests in the PR only run for the APPs and LIBs with some diff, so LCOV files are only created in those cases.
Some fragments from a last scan that went through the same issue, FYI these dots ‘…’ are actually being used to omit sensitive/non-relevant information, but we have multiple paths here, I hope it helps anyway:
INFO: Sensor JavaScript/TypeScript Coverage [javascript]
INFO: Analysing .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info]
WARN: Could not resolve 424 file paths in [.../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, /opt/loggi.../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info, .../lcov.info]
WARN: First unresolved path: ... (Run in DEBUG mode to get full list of unresolved paths)
WARN: Found 783 inconsistencies in coverage report. Re-run analyse in debug mode to see details.
INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=378ms
Another log example:
INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
INFO: Sensor CSS Rules [javascript] (done) | time=12ms
INFO: Sensor JavaScript/TypeScript Coverage [javascript]
INFO: No LCOV files were found using .../lcov.info
INFO: Analysing [/.../lcov.info]
WARN: Could not resolve 1 file paths in [/.../lcov.info]
WARN: First unresolved path: src/service-worker.js (Run in DEBUG mode to get full list of unresolved paths)
WARN: Found 332 inconsistencies in coverage report. Re-run analyse in debug mode to see details.
INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=11788ms