Mason/Base.pm

filter: Statementstmt 94.4% 17 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 86.3% 19 / 22 CC 1 SCAR 2.9
CC
1
Cov
94%
err_taboo
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Mason/OO.pm ↑ Summary
1 package Inline::Mason::Base;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 4 our $VERSION = '0.01';
6  
7 4 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 our @EXPORT = qw(
9 $as_subs
10 $passive
11 $use_oo
12 $file_marker
13 $template
14 %taboo_word
15  
16 err_taboo
17 );
18  
19 4 our @ISA = qw(Exporter);
20  
21  
22 4 our $template;
23 4 our %taboo_word = map{$_=>1} qw(
24 import
25 load_mason
26 load_file
27 generate
28 AUTOLOAD
29 new
30 err_taboo
31 );
32  
33 4 our $as_subs;
34 4 our $passive;
35 4 our $use_oo;
36 4 our $file_marker = qr/^__\w+__\n/o;
37 0 ▶sub err_taboo {
Subroutine err_taboo: not called CC=1 SCAR=6.9
Pod undocumented
38 0 "This word '$_[0]' is reserved for internal use. Please rename it.";
39 }
40  
41  
42  
43  
44 4 1;
45 __END__
« Mason/OO.pm ↑ Summary