HiD/Plugin.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
after_publish
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # ABSTRACT: Base class for plugins
2  
3  
4 package HiD::Plugin;
5 $HiD::Plugin::VERSION = '1.5';
6 use Moose;
7 use namespace::autoclean;
8  
9 use 5.014;
10 use utf8;
11 use autodie;
12 use warnings qw/ FATAL utf8 /;
13 use charnames qw/ :full /;
14 use feature qw/ unicode_strings /;
15  
16  
17 sub after_publish { 1 }
18  
19 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.5
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) 2014 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