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

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::Fast - Detects unused local function by Compiler::Lexer

SYNOPSIS ^

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

    all_local_functions_ok();
    done_testing;

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

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

DESCRIPTION ^

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

This module is faster than Test::LocalFunction::PPI, because this module uses Compiler::Lexer as lexical tokenizer.

METHODS ^

DEPENDENCIES ^

SEE ALSO ^

Test::LocalFunctions

Test::LocalFunctions::PPI

syntax highlighting: