lib/HTML/Mason/Plugin.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 80.0% 4 / 5 totaltotal 95.4% 21 / 22 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« lib/HTML/Mason.pm ↑ Summary
1 package HTML::Mason::Plugin;
2 1 $HTML::Mason::Plugin::VERSION = '1.59';
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 sub new {
7 24 ▶ my $class = shift;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
8 24 bless { @_ }, $class;
9 }
10  
11 ▶sub start_request_hook {
Subroutine start_request_hook: called CC=1 SCAR=0.0
Pod documented
12 # my ($self, $context) = @_;
13 # $context has: request, args
14 }
15  
16 ▶sub end_request_hook {
Subroutine end_request_hook: called CC=1 SCAR=0.0
Pod documented
17 # my ($self, $context) = @_;
18 # $context has: request, args, output, wantarray, result, error
19 }
20  
21 ▶sub start_component_hook {
Subroutine start_component_hook: called CC=1 SCAR=0.0
Pod documented
22 # my ($self, $context) = @_;
23 # $context has: request, comp, args
24 }
25  
26 ▶sub end_component_hook {
Subroutine end_component_hook: called CC=1 SCAR=0.0
Pod documented
27 # my ($self, $context) = @_;
28 # $context has: request, comp, args, wantarray, result, error
29 }
30  
31 1 1;
32  
33 __END__
« lib/HTML/Mason.pm ↑ Summary