Skip to content

ALL-REAC0001 · examples

These examples come directly from ALL-REAC0001. Read their source.

A public def normalize(value) that nothing calls returns 1. A _normalize used only in its own file is not counted, because a nonpublic name promises nothing. A class only its tests construct is reached and is not counted.

A decorated declaration is skipped, because a decorator is how a framework claims a name and the framework reaches it without ever calling it.

One limit remains. A symbol re-exported through a package initializer is reached through an import of its module rather than of itself, and a class read only through one of its members, such as an enum accessed by name, leaves no edge either. Both read as unreached.