File Coverage

blib/lib/String/Comments/Extract.pm
Criterion Covered Total %
statement 25 25 100.0
branch n/a
condition n/a
subroutine 9 9 100.0
pod n/a
total 34 34 100.0


line stmt bran cond sub pod time code
1             package String::Comments::Extract;
2             BEGIN {
3 3     3   201166 $String::Comments::Extract::VERSION = '0.023';
4             }
5             # ABSTRACT: Extract comments from C/C++/JavaScript/Java source
6              
7 3     3   25 use warnings;
  3         6  
  3         95  
8 3     3   16 use strict;
  3         6  
  3         95  
9              
10 3     3   17 use XSLoader;
  3         6  
  3         186  
11              
12             XSLoader::load(
13             __PACKAGE__,
14             # We need to be careful not to touch $VERSION at compile time, otherwise
15             # DynaLoader will assume it's set and check against it, which will cause
16             # fail when being run in the checkout without dzil having set the actual
17             # $VERSION
18             exists $String::Comments::Extract::{VERSION} ? ${ $String::Comments::Extract::{VERSION} } : (),
19             );
20              
21 3     3   1293 use String::Comments::Extract::SlashStar;
  3         6  
  3         92  
22 3     3   1904 use String::Comments::Extract::C;
  3         7  
  3         86  
23 3     3   1741 use String::Comments::Extract::CPP;
  3         9  
  3         69  
24 3     3   1603 use String::Comments::Extract::JavaScript;
  3         7  
  3         73  
25 3     3   1973 use String::Comments::Extract::Java;
  3         11  
  3         105  
26              
27              
28             1; # End of String::Comments::Extract
29              
30             __END__