File Coverage

blib/lib/DataStructure/Stack.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 28 28 100.0


line stmt bran cond sub pod time code
1             package DataStructure::Stack;
2              
3 2     2   813 use strict;
  2         5  
  2         58  
4 2     2   9 use warnings;
  2         3  
  2         43  
5 2     2   11 use utf8;
  2         3  
  2         11  
6 2     2   43 use feature ':5.24';
  2         3  
  2         148  
7 2     2   10 use feature 'signatures';
  2         5  
  2         49  
8 2     2   9 no warnings 'experimental::signatures';
  2         4  
  2         75  
9              
10             # Empty, except for the synonym roles. This is only a declaration of a role that
11             # can be used by other data-structures. In the future this might be a Role::Tiny
12             # role.
13              
14 2     2   12 use parent qw(DataStructure::LIFO);
  2         3  
  2         10  
15              
16             1;