Checkbook.Check.Refactor.UnusedPublicFunctions (checkbook v0.1.0)
Basics
This check is disabled by default.
Learn how to enable it via
.credo.exs
.
This check has a base priority of normal
and works with any version of Elixir.
Explanation
Finds unused public functions in the current module. This check analyzes all files in the lib directory to accurately detect function usage. It also identifies functions that may be exposed solely for testing.
Check-Specific Parameters
Use the following parameters to configure this check:
:ignore_exposed_for_testing
Set to true to ignore functions exposed for testing.
This parameter defaults to false
.
General Parameters
Like with all checks, general params can be applied.
Parameters can be configured via the .credo.exs
config file.
Summary
Functions
Link to this function