Credo.Check.Refactor.UnusedPublicFunctions.Collector (checkbook v0.0.1)

Given a source file and a list of function calls, this module will return a list of unused public functions.

The function defined are harvested from the ast and then compared to all calls in the code base represented by the list of function calls passed in to this module.

Summary

Functions

Link to this function

collect_unused_functions(source_file, function_calls)

Link to this function

get_public_functions(source_file)