blib/lib/HA.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 15 | 16 | 93.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HA; | ||||||
2 | 1 | 1 | 5 | use strict; | |||
1 | 1 | ||||||
1 | 20 | ||||||
3 | 1 | 1 | 4 | use warnings; | |||
1 | 1 | ||||||
1 | 87 | ||||||
4 | |||||||
5 | our $VERSION = '0.001'; | ||||||
6 | |||||||
7 | our $AUTOLOAD; | ||||||
8 | |||||||
9 | sub AUTOLOAD { | ||||||
10 | 10 | 10 | 2281 | my ($in, @args) = @_; | |||
11 | 10 | 14 | my $meth = $AUTOLOAD; | ||||
12 | 10 | 39 | $meth =~ s/^.*:://g; | ||||
13 | |||||||
14 | 10 | 50 | 33 | my @got = $in->$meth(@args ? @args : ()); | |||
15 | 10 | 72 | return ($meth => \@got); | ||||
16 | } | ||||||
17 | |||||||
18 | 1; |