Branch Coverage

blib/lib/XML/IODEF/Simple.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
31 0 0 unless ($dt)
36 0 0 if ($dt =~ /^(\d{4})(\d{2})(\d{2})$/)
41 0 0 unless ($reporttime)
46 0 0 if ($reporttime =~ /^(\d{4})(\d{2})(\d{2})$/)
54 0 0 if ($_->prepare($info))
59 0 0 if ($$info{'IncidentID'}) { }
61 0 0 if $$xid{'restriction'}
62 0 0 if $$xid{'name'}
63 0 0 if $$xid{'instance'}
64 0 0 if $$xid{'content'}
66 0 0 if $source
68 0 0 if $reporttime
69 0 0 if $dt
70 0 0 if $relatedid
71 0 0 if ($alternativeid)
76 0 0 if $description
77 0 0 if ($confidence)
82 0 0 if $impact and not $iodef->get('IncidentAssessmentImpact')
84 0 0 if (not $iodef->get('IncidentAssessmentImpactseverity') and $severity and $severity =~ /(low|medium|high)/)