HiD/Plugin.pm

filter: Statementstmt 95.8% 23 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 93.9% 31 / 33 CC 1 SCAR 1.2
CC
1
Cov
96%
after_publish
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« HiD/File.pm ↑ Summary HiD/Processor.pm »
1 # ABSTRACT: Base class for plugins
2  
3  
4 package HiD::Plugin;
5 1 our $AUTHORITY = 'cpan:GENEHACK';
6 1 $HiD::Plugin::VERSION = '1.96';
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use 5.014; # strict, unicode_strings
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use autodie;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use warnings qw/ FATAL utf8 /;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use charnames qw/ :full /;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16  
17 0 ▶sub after_publish { 1 }
Subroutine after_publish: not called CC=1 SCAR=6.9
Pod documented
18  
19 1 1;
20  
21 __END__
22  
23 =pod
24  
25 =encoding UTF-8
26  
27 =head1 NAME
28  
29 HiD::Plugin - Base class for plugins
30  
31 =head1 SYNOPSIS
32  
33 my $plugin = HiD::Plugin->new;
34 $plugin->after_publish($hid);
35  
36 =head1 DESCRIPTION
37  
38 Base class for plugin object
39  
40 =head1 METHODS
41  
42 =head2 after_publish
43  
44 =head1 VERSION
45  
46 version 1.96
47  
48 =head1 AUTHOR
49  
50 John SJ Anderson <genehack@genehack.org>
51  
52 =head1 COPYRIGHT AND LICENSE
53  
54 This software is copyright (c) 2015 by John SJ Anderson.
55  
56 This is free software; you can redistribute it and/or modify it under
57 the same terms as the Perl 5 programming language system itself.
58  
59 =cut
« HiD/File.pm ↑ Summary HiD/Processor.pm »