Condition Coverage

blib/lib/Net/CalDAVTalk.pm
Criterion Covered Total %
condition 0 246 0.0


and 3 conditions

line !l l&&!r l&&r condition
614 0 0 0 $Calendars and @$Calendars
696 0 0 0 $Priv and ref $Priv eq 'ARRAY'
706 0 0 0 $Report and ref $Report eq 'ARRAY'
714 0 0 0 $Type and ref $Type eq 'ARRAY'
725 0 0 0 $ace and ref $ace eq 'ARRAY'
1041 0 0 0 $Prop->{'-content-type'} and $Prop->{'-content-type'} =~ m[application/event\+json]
1479 0 0 0 $old and exists $old->{'sequence'}
1575 0 0 0 $Count >= -53 and $Count <= 53
1737 0 0 0 not $IsAllDay and $H || $M || $S
1883 0 0 0 $IsAllDay and $StartTimeZone
2008 0 0 0 $Value >= $Min and $Value <= $RecurrenceProperties{$Property}{'max'}
2193 0 0 0 $Properties{'description'} and $Properties{'description'}{'params'}{'language'}
2196 0 0 0 $Properties{'summary'} and $Properties{'summary'}{'params'}{'language'}
2207 0 0 0 not $IsAllDay and $StartTimeZone
0 0 0 not $IsAllDay and $StartTimeZone and $StartTimeZone ne $EndTimeZone
2465 0 0 0 $locations->{$id}{'rel'} and $locations->{'id'}{'rel'} eq 'end'
2603 0 0 0 $Attendee->{'schedulePriority'} and $Attendee->{'schedulePriority'} eq 'optional'
0 0 0 $Attendee->{'schedulePriority'} and $Attendee->{'schedulePriority'} eq 'non-participant'
2630 0 0 0 $Attach->{'rel'} and $Attach->{'rel'} eq 'enclosure'
2649 0 0 0 $Args->{'replyTo'} and not $Args->{'participants'}
2670 0 0 0 not $havepid and $Args->{'prodId'}
2769 0 0 0 $monthNum >= 1 and $monthNum <= 13
2833 0 0 0 $Min <= $Value and $Value <= $RecurrenceProperties{$Property}{'max'}

or 2 conditions

line l !l condition
578 0 0 shift() || ''
732 0 0 $$Acl{"{$NS_D}principal"}{"{$NS_D}href"}{'content'} // ''
761 0 0 $$Propstat{"{$NS_D}prop"}{"{$NS_A}calendar-order"}{'content'} || 1
0 0 $$Propstat{"{$NS_D}prop"}{"{$NS_D}sync-token"}{'content'} || ''
827 0 0 $Args->{'precedence'} // ''
887 0 0 $Calendar{'precedence'} || ''
994 0 0 $Args{'Annotations'} || []
1030 0 0 $$Response{"{$NS_D}href"}{'content'} // ''
1133 0 0 $$Response{"{$NS_D}href"}{'content'} // ''
1217 0 0 eval { do { 'DateTime::Format::ICal'->parse_duration(uc $End) } } || (next)
1228 0 0 $Args{'name'} // ''
1319 0 0 $$Response{"{$NS_D}href"}{'content'} // ''
1468 0 0 $OldEvent->{'sequence'} || 0
1648 0 0 $VItem->{'params'}{'value'}[0] || ''
1687 0 0 $Participants->{$id} ||= {}
1690 0 0 $VAttendee->{'params'}{'cn'}[0] // ''
1697 0 0 $VAttendee->{'params'}{'partstat'}[0] // 'needs-action'
1708 0 0 $VAttendee->{'params'}{'rsvp'}[0] // ''
1717 0 0 $VAttendee->{'params'}{'x-sequence'}[0] // ''
1756 0 0 $Root ||= ''
1837 0 0 $Properties{'transp'}{'value'} || ''
2065 0 0 $VAlarm->{'properties'}{'attendee'} // []
2070 0 0 $VAlarm->{'properties'}{'uri'} // []
2090 0 0 $AlarmProperties{'trigger'}{'value'} || (next)
2092 0 0 $AlarmProperties{'trigger'}{'params'}{'related'}[0] || ''
2098 0 0 eval { do { 'DateTime::Format::ICal'->parse_duration(uc $Trigger) } } || (next)
2274 0 0 $VTimeZone->{'properties'}{'tzid'}[0]{'value'} || ''
2277 0 0 lc $Observance->{'type'} || ''
2293 0 0 'Net::CalDAVTalk::TimeZones'->GetTimeZone('TZID', $TZID, 'Time', $Element->{'value'}, 'StandardTzOffsetTo', $TzOffsets{'standard'}, $TzOffsets{'daylight'} ? ('DaylightTzOffsetTo', $TzOffsets{'daylight'}) : ()) || undef
2438 0 0 $Args->{'sequence'} || 0
2448 0 0 $Args->{$Property} // ''
2463 0 0 $Args->{'locations'} || {}
2517 0 0 $Alert->{'action'}{'type'} // ''
2518 0 0 $Alert->{'action'}{'recipients'} // []
2519 0 0 $Alert->{'action'}{'uri'} // ''
3036 0 0 $ENV{'JMAP_ALWAYS_FULL'} or ref $New ne 'HASH' or ref $Old or 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
686 0 0 0 !defined($visData) || $visData
761 0 0 0 $$Propstat{"{$NS_D}prop"}{"{$NS_D}displayname"}{'content'} || $DefaultDisplayName
805 0 0 0 $Args->{'id'} //= $Self->genuuid
806 0 0 0 $Args->{'name'} //= $DefaultDisplayName
1100 0 0 0 $Args{'AlwaysRange'} or $Args{'after'}
0 0 0 $Args{'AlwaysRange'} or $Args{'after'} or $Args{'before'}
1101 0 0 0 $Args{'after'} || $BoT
1102 0 0 0 $Args{'before'} || $EoT
1182 0 0 0 $Args{'AlwaysRange'} or $Args{'after'}
0 0 0 $Args{'AlwaysRange'} or $Args{'after'} or $Args{'before'}
1183 0 0 0 $Args{'after'} || $BoT
1184 0 0 0 $Args{'before'} || $EoT
1383 0 0 0 $Args->{'uid'} //= $Self->genuuid
1732 0 0 0 $w or $d
0 0 0 $w or $d or $H
0 0 0 $w or $d or $H or $M
0 0 0 $w or $d or $H or $M or $S
1737 0 0 0 $H || $M || $S
1888 0 0 0 $StartTimeZone ||= $EndTimeZone
1889 0 0 0 $EndTimeZone ||= $StartTimeZone
2048 0 0 0 $AlarmProperties{'uid'}{'value'} || _hexkey($VAlarm) . '-alarmauto'
2146 0 0 0 $main::MimeTypes ||= 'MIME::Types'->new
2183 0 0 0 $Event{'updated'} ||= 'DateTime'->now->iso8601
2303 0 0 0 shift() || $FLOATING
2459 0 0 0 $Args->{'updated'} || 'DateTime'->now->iso8601
2477 0 0 0 $EndTimeZone //= $StartTimeZone
2528 0 0 0 $Type eq 'email' or $Type eq 'uri'
2585 0 0 0 $Attendee->{'email'} || $Address
2629 0 0 0 $Attach->{'href'} || $uri
2675 0 0 0 $Args->{'dtstamp'} //= 'DateTime'->now->strftime('%Y-%m-%dT%H:%M:%S')
2964 0 0 0 not $AddressSet or $AddressSet ne 'mailto:' . $NewAddressSet
0 0 0 not $AddressSet or $AddressSet ne 'mailto:' . $NewAddressSet or not $DisplayName
0 0 0 not $AddressSet or $AddressSet ne 'mailto:' . $NewAddressSet or not $DisplayName or $DisplayName ne $NewDisplayName
3036 0 0 0 $ENV{'JMAP_ALWAYS_FULL'} or ref $New ne 'HASH'
0 0 0 $ENV{'JMAP_ALWAYS_FULL'} or ref $New ne 'HASH' or ref $Old