File Coverage

blib/lib/Math/3Space/Vector.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Math::3Space::Vector;
2              
3             our $VERSION = '0.008'; # VERSION
4             # ABSTRACT: Object wrapping a buffer of three doubles
5              
6 8     8   198487 use Exporter 'import';
  8         27  
  8         1165  
7             our @EXPORT_OK= qw( vec3 );
8              
9             # All methods handled by XS
10             require Math::3Space;
11              
12 8     8   78 use overload '""' => sub { "[@{[$_[0]->xyz]}]" };
  8     1   14  
  8         100  
  1         257664  
  1         38  
13              
14             1;
15              
16             __END__