File Coverage

lib/Data/Hopen/Visitor.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod 2 2 100.0
total 14 18 77.7


line stmt bran cond sub pod time code
1             # Data::Hopen::Visitor - abstract interface for a visitor.
2             package Data::Hopen::Visitor;
3 1     1   1134 use strict;
  1         3  
  1         49  
4 1     1   6 use Data::Hopen::Base;
  1         2  
  1         7  
5              
6             our $VERSION = '0.000021';
7              
8 1     1   313 use Class::Tiny;
  1         3  
  1         6  
9              
10             # Docs {{{1
11              
12             =head1 NAME
13              
14             Data::Hopen::Visitor - Abstract base class for DAG visitors
15              
16             =head1 SYNOPSIS
17              
18             This is an abstract base class for visitors provided to
19             L.
20              
21             =cut
22              
23             # }}}1
24              
25             =head1 FUNCTIONS
26              
27             =head2 visit_goal
28              
29             Process a L.
30              
31             =cut
32              
33 0     0 1   sub visit_goal { ... }
34              
35             =head2 visit_node
36              
37             Process a graph node that is not a C.
38              
39             =cut
40              
41 0     0 1   sub visit_node { ... }
42              
43             1;
44             __END__