RouterSimple/Component/Import.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« RouterSimple.pm ↑ Summary
1 package Mason::Plugin::RouterSimple::Component::Import;
2 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 $Mason::Plugin::RouterSimple::Component::Import::VERSION = '0.07';
4 }
5 1 ▶use Mason::PluginRole;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 ▶after 'import_into' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
8 3 my ( $class, $for_class ) = @_;
9 1 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶ *{ $for_class . "::route" } = sub ($;$) { $for_class->router_add(@_) };
Subroutine __ANON__: called CC=1 SCAR=0.0
11 1 };
12  
13 1 1;
« RouterSimple.pm ↑ Summary