Plugin/Useful/Meta.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 83.3% 15 / 18 CC 1 SCAR 2.2
CC
1
Cov
85%
exports
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Plugin.pm ↑ Summary Plugin/Useful/Greedy.pm »
1 #!/usr/bin/perl
2 # $Id: Meta.pm,v 1.8 2003/12/10 02:39:55 nothingmuch Exp $
3  
4 package Object::Meta::Plugin::Useful::Meta; # a plugin base class which subclasses Object::Meta::Plugin::Host - a meta plugin
5  
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 ▶use base qw/Object::Meta::Plugin::Host Object::Meta::Plugin::Useful/;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 3 our $VERSION = 0.01;
12  
13 0 ▶sub exports {
Subroutine exports: not called CC=1 SCAR=6.9
Pod documented
14 0 keys %{ $_[0]->methods };
15 }
16  
17  
18 3 1; # Keep your mother happy.
19  
20 __END__
« Plugin.pm ↑ Summary Plugin/Useful/Greedy.pm »