File Coverage

blib/lib/Kwiki/JSON.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             package Kwiki::JSON;
2              
3 1     1   58197 use warnings;
  1         3  
  1         33  
4 1     1   6 use strict;
  1         2  
  1         38  
5 1     1   413 use Kwiki::Plugin '-Base';
  0            
  0            
6             use mixin 'Kwiki::Installer';
7             our $VERSION = '0.01';
8              
9             const class_title => 'JSON Library';
10             const class_id => 'json';
11             const javascript_file => 'json.js';
12              
13             sub register {
14             my $registry = shift;
15             $registry->add(preload => 'json', priority => 1);
16             }
17              
18             1; # End of Kwiki::JSON
19              
20             __DATA__