File Coverage

blib/lib/Graph/Writer/Sparse6.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 22 22 100.0


line stmt bran cond sub pod time code
1             # Copyright 2015, 2016, 2017 Kevin Ryde
2             #
3             # This file is part of Graph-Graph6.
4             #
5             # Graph-Graph6 is free software; you can redistribute it and/or modify it under
6             # the terms of the GNU General Public License as published by the Free
7             # Software Foundation; either version 3, or (at your option) any later
8             # version.
9             #
10             # Graph-Graph6 is distributed in the hope that it will be useful, but WITHOUT
11             # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12             # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13             # more details.
14             #
15             # You should have received a copy of the GNU General Public License along
16             # with Graph-Graph6. If not, see .
17              
18             package Graph::Writer::Sparse6;
19 1     1   9536 use 5.006;
  1         2  
20 1     1   5 use strict;
  1         1  
  1         16  
21 1     1   5 use warnings;
  1         2  
  1         31  
22 1     1   368 use Graph::Writer::Graph6;
  1         3  
  1         26  
23              
24 1     1   5 use vars '@ISA','$VERSION';
  1         3  
  1         70  
25             @ISA = ('Graph::Writer::Graph6');
26             $VERSION = 7;
27              
28             # uncomment this to run the ### lines
29             # use Smart::Comments;
30              
31              
32             sub _init {
33 8     8   6986 my ($self,%param) = @_;
34             ### Graph-Writer-Sparse6 _init() ...
35             ### %param
36              
37 8         31 $self->SUPER::_init(format => 'sparse6', %param);
38              
39             ### self: %$self
40             }
41              
42             1;
43             __END__