# Granular code coverage tool?

**URL:** <https://swi-prolog.discourse.group/t/granular-code-coverage-tool/4153>\
**Category:** Discussion\
**Tags:** how-to\
**Created:** [July 9, 2021, 10:53pm UTC](https://swi-prolog.discourse.group/t/granular-code-coverage-tool/4153 "2021-07-09T22:53:38Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![peter.ludemann](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/peter.ludemann/32/48_2.png) [@peter.ludemann](https://swi-prolog.discourse.group/u/peter.ludemann)\
**Post date:** [July 29, 2021, 5:34pm UTC](https://swi-prolog.discourse.group/t/granular-code-coverage-tool/4153/40 "2021-07-29T17:34:27Z")

</div>

> [@EricGT](#):
>
> If so those don’t have the details I need and I can’t access those easily in code. 🙁

You should be able to get the information programmatically by adding a message hook.

---

_[View the full topic](https://swi-prolog.discourse.group/t/granular-code-coverage-tool/4153)._
