blib/lib/OpenGuides/RDF.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 24 | 58.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 0 | 0 | 2 | $wiki and UNIVERSAL::isa($wiki, 'Wiki::Toolkit') |
35 | 0 | 0 | 2 | $config and UNIVERSAL::isa($config, 'OpenGuides::Config') |
167 | 0 | 1 | 6 | defined $username and length $username |
line | l | !l | condition |
---|---|---|---|
53 | 1 | 1 | $config->default_city || '' |
54 | 1 | 1 | $config->default_country || '' |
55 | 2 | 0 | $config->site_desc || '' |
88 | 4 | 65 | $metadata{$var}[0] || $defaults{$var} || '' |
172 | 0 | 6 | $tt_vars{'contributors'}{$username} ||= {'username', encode_entities_numeric($username), 'user_id', encode_entities_numeric($user_id)} |
181 | 6 | 0 | $config->custom_template_path || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 6 | 0 | 0 | $rdf ||= 'ERROR: ' . $tt->error |