Callable unit

(Of a software program or logical design) Function, method, operation, subroutine, procedure, or analogous structural unit that appears within a module.

Source: Election Terminology Glossary - Draft, National Institute of Standards and Technology (NIST), https://pages.nist.gov/ElectionGlossary/