Parsoid/JS had a code coverage tool that tracked code coverage across the entire CI run that included mocha tests as well as parser tests.
As part of T263593: CI: Enable SonarCloud code quality tools on Parsoid patches, we are likely going to get some code coverage metrics. But, we need to ensure that the code coverage metrics is based on not just PHP unit test runs but also parser test runs (and other test runs like API tests, etc.) so we get a more reliable measure of code coverage and accurate sense of where test coverage gaps are.