Porf/examples/minimal.pl untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
get_data
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # perl
2 #
3 # minimal example for PORF
4  
5 use warnings;
6 use strict;
7  
8 use lib '../../..';
9  
10 use Report::Porf qw(:all);
11 auto_report(get_data(), shift); # second call arg could be file
12  
13 # -----------------------------------------------------
14  
15 sub get_data {
16 return [{
17 prename => 'Ralf',
18 surname => 'Peine',
19 age => 48
20 }];
21 }
22  
23 # -----------------------------------------------------
24  
25 __END__