line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/env perl |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
443
|
use 5.010; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
32
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
50
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Medical::Growth; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our ($VERSION) = '1.00'; |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
458
|
use Module::Runtime; |
|
1
|
|
|
|
|
1296
|
|
|
1
|
|
|
|
|
6
|
|
12
|
|
|
|
|
|
|
use Module::Pluggable |
13
|
1
|
|
|
|
|
8
|
search_path => 'Medical::Growth', |
14
|
|
|
|
|
|
|
require => 0, |
15
|
|
|
|
|
|
|
only => qr/^Medical::Growth::\w+$/, |
16
|
1
|
|
|
1
|
|
477
|
except => 'Medical::Growth::Base'; |
|
1
|
|
|
|
|
6897
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub measure_class_for { |
19
|
6
|
|
|
6
|
1
|
3321
|
my $self = shift; |
20
|
6
|
100
|
|
|
|
24
|
my (%criteria) = @_ == 1 ? %{ $_[0] } : @_; |
|
1
|
|
|
|
|
4
|
|
21
|
6
|
100
|
|
|
|
15
|
return unless $criteria{system}; |
22
|
5
|
|
|
|
|
8
|
my $class = $criteria{system}; |
23
|
5
|
100
|
|
|
|
16
|
$class = "Medical::Growth::$class" |
24
|
|
|
|
|
|
|
unless $class =~ /^Medical::Growth::/; |
25
|
5
|
|
|
|
|
15
|
Module::Runtime::use_module($class)->measure_class_for(%criteria); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub available_systems { |
29
|
2
|
|
|
2
|
1
|
5791
|
shift->plugins; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |