Branch Coverage

blib/lib/App/CveClient.pm
Criterion Covered Total %
branch 8 44 18.1


line true false branch
19 0 0 if ($object->{'error'} and $object->{'message'})
23 2 0 if ($object->{'dataVersion'} == 5) { }
0 0 elsif ($object->{'data_version'} == '4.0') { }
30 0 0 if $object->{'data_version'}
32 0 0 if $object->{'dataVersion'}
40 1 1 if ($object->{'cveMetadata'}{'cveId'} ne $cve_id)
46 2 0 if ($affected) { }
63 2 0 if ($metrics) { }
65 2 0 if ($_->{'cvssV3_1'}) { }
81 2 0 if ($desc) { }
94 2 0 if ($refs) { }
110 0 0 if ($object->{'CVE_data_meta'}{'ID'} ne $cve_id)
116 0 0 if $object->{'CVE_data_meta'}{'TITLE'}
120 0 0 if ($object->{'affects'}{'vendor'})
123 0 0 if $_->{'vendor_name'}
140 0 0 if ($object->{'description'}{'description_data'}) { }
151 0 0 if ($object->{'references'}{'reference_data'}) { }
155 0 0 if ($format == 'gemini') { }
158 0 0 if $_->{'url'}
159 0 0 if ($_->{'name'}) { }
166 0 0 if $_->{'name'}
167 0 0 if $_->{'url'}