Generating Cross-References
Running an occasional cross-reference check on your code when you are developing a program is a good idea. If there are missing functions, you will discover this before you run your program, not after.
You can generate cross-references
using the xref
module. xref works only if your code has been compiled
with the debug_info flag set.
I can’t show you the
output of xref on the code accompanying this book, because
the development is complete and there aren’t any missing
functions. Instead, I’ll show you what happens when I run a
cross-reference check on the code in one of my hobby projects.
vsg is a simple graphics program that I might release
one day. We’ll do an analysis of the code in the vsg directory where ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access