Taiki Kawakami > Test-LocalFunctions-0.21 > Test::LocalFunctions::PPI

Download:
Test-LocalFunctions-0.21.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Test-LocalFunctions-0.23

NAME ^

Test::LocalFunctions::PPI - Detects unused local functions by PPI

SYNOPSIS ^

    # check modules that are listed in MANIFEST
    use Test::LocalFunctions::PPI;
    use Test::More;

    all_local_functions_ok();
    done_testing;

    # you can also specify individual file
    use Test::LocalFunctions::PPI;
    use Test::More;

    local_functions_ok('/path/to/your/module_or_script');
    done_testing;

DESCRIPTION ^

Test::LocalFunctions::PPI finds unused local functions to clean up the source code. (Local function means the function which name starts from underscore.)

This module uses PPI as lexical analyzer.

METHODS ^

DEPENDENCIES ^

SEE ALSO ^

Test::LocalFunctions

Test::LocalFunctions::Fast

syntax highlighting: