File Coverage

blib/lib/Language/Befunge/lib/FOO.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 2 2 100.0
total 14 14 100.0


line stmt bran cond sub pod time code
1             #
2             # This file is part of Language::Befunge.
3             # Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.
4             #
5             # This program is free software; you can redistribute it and/or modify
6             # it under the same terms as Perl itself.
7             #
8             #
9              
10             package Language::Befunge::lib::FOO;
11              
12 2     2   3315 use strict;
  2         5  
  2         77  
13 2     2   13 use warnings;
  2         5  
  2         149  
14              
15 3     3 1 14 sub new { return bless {}, shift; }
16              
17             sub P {
18 2     2 1 105 print "foo";
19             }
20              
21             1;
22             __END__