Branch Coverage

blib/lib/OpenGuides/JSON.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
27 1 4 unless ($wiki and UNIVERSAL::isa($wiki, 'Wiki::Toolkit'))
34 1 3 unless ($config and UNIVERSAL::isa($config, 'OpenGuides::Config'))
45 8 4 if ($config->script_name)
48 6 6 if defined $version
52 6 6 if defined $version
111 2 1 if ($data->{'timestamp'})
136 2 3 unless ($self->{'json_maker'})