<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 26, 2023, at 9:31 AM, Satish Yaduvanshi <<a href="mailto:satishroyal4u@gmail.com" class="">satishroyal4u@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br clear="all" class=""><div class="">Hi All ,</div><div class=""><br class=""></div><div class="">Could any one of you help on how to capture the code coverage metrics for openbmc firmware. Is there any documentation/procedure on it?</div></div></div></blockquote><div><br class=""></div><div>There is periodic jenkins job that runs and captures all of the coverage we currently have. The latest info can be found out at:</div><div><br class=""></div><div> <a href="https://jenkins.openbmc.org/job/latest-unit-test-coverage/lastSuccessfulBuild/artifact/openbmc-build-scripts/scripts/unit-test-meta-data/" class="">https://jenkins.openbmc.org/job/latest-unit-test-coverage/lastSuccessfulBuild/artifact/openbmc-build-scripts/scripts/unit-test-meta-data/</a></div><div><br class=""></div><div>You have to dig for the data though in each repo, for example:</div><div><br class=""></div><div> <a href="https://jenkins.openbmc.org/job/latest-unit-test-coverage/lastSuccessfulBuild/artifact/openbmc-build-scripts/scripts/unit-test-meta-data/phosphor-state-manager/build/meson-logs/coveragereport/index.html" class="">https://jenkins.openbmc.org/job/latest-unit-test-coverage/lastSuccessfulBuild/artifact/openbmc-build-scripts/scripts/unit-test-meta-data/phosphor-state-manager/build/meson-logs/coveragereport/index.html</a></div><div><br class=""></div><div>This data is captured as a part of the standard CI unit test script.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Satish Kumar Gampa</div><div dir="ltr" data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><font face="arial black, sans-serif" class=""><br class=""></font></div></div></div></div></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></body></html>