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
612 0 0 0 $Calendars and @$Calendars
694 0 0 0 $Priv and ref $Priv eq 'ARRAY'
704 0 0 0 $Type and ref $Type eq 'ARRAY'
715 0 0 0 $ace and ref $ace eq 'ARRAY'
1029 0 0 0 $Prop->{'-content-type'} and $Prop->{'-content-type'} =~ m[application/event\+json]
1243 0 0 0 $Prop->{'-content-type'} and $Prop->{'-content-type'} =~ m[application/event\+json]
1425 0 0 0 $old and exists $old->{'sequence'}
1521 0 0 0 $Count >= -53 and $Count <= 53
1683 0 0 0 not $IsAllDay and $H || $M || $S
1829 0 0 0 $IsAllDay and $StartTimeZone
1955 0 0 0 $Value >= $Min and $Value <= $RecurrenceProperties{$Property}{'max'}
2140 0 0 0 $Properties{'description'} and $Properties{'description'}{'params'}{'language'}
2143 0 0 0 $Properties{'summary'} and $Properties{'summary'}{'params'}{'language'}
2154 0 0 0 not $IsAllDay and $StartTimeZone
0 0 0 not $IsAllDay and $StartTimeZone and $StartTimeZone ne $EndTimeZone
2412 0 0 0 $locations->{$id}{'rel'} and $locations->{'id'}{'rel'} eq 'end'
2550 0 0 0 $Attendee->{'schedulePriority'} and $Attendee->{'schedulePriority'} eq 'optional'
0 0 0 $Attendee->{'schedulePriority'} and $Attendee->{'schedulePriority'} eq 'non-participant'
2577 0 0 0 $Attach->{'rel'} and $Attach->{'rel'} eq 'enclosure'
2596 0 0 0 $Args->{'replyTo'} and not $Args->{'participants'}
2617 0 0 0 not $havepid and $Args->{'prodId'}
2716 0 0 0 $monthNum >= 1 and $monthNum <= 13
2780 0 0 0 $Min <= $Value and $Value <= $RecurrenceProperties{$Property}{'max'}

or 2 conditions

line l !l condition
576 0 0 shift() || ''
722 0 0 $$Acl{"{$NS_D}principal"}{"{$NS_D}href"}{'content'} // ''
751 0 0 $$Propstat{"{$NS_D}prop"}{"{$NS_A}calendar-order"}{'content'} || 1
0 0 $$Propstat{"{$NS_D}prop"}{"{$NS_D}sync-token"}{'content'} || ''
816 0 0 $Args->{'precedence'} // ''
876 0 0 $Calendar{'precedence'} || ''
983 0 0 $Args{'Annotations'} || []
1020 0 0 $$Response{"{$NS_D}href"}{'content'} // ''
1143 0 0 eval { do { 'DateTime::Format::ICal'->parse_duration(uc $End) } } || (next)
1154 0 0 $Args{'name'} // ''
1192 0 0 $Args{'Annotations'} || []
1226 0 0 $$Response{"{$NS_D}href"}{'content'} // ''
1414 0 0 $OldEvent->{'sequence'} || 0
1594 0 0 $VItem->{'params'}{'value'}[0] || ''
1633 0 0 $Participants->{$id} ||= {}
1636 0 0 $VAttendee->{'params'}{'cn'}[0] // ''
1643 0 0 $VAttendee->{'params'}{'partstat'}[0] // 'needs-action'
1654 0 0 $VAttendee->{'params'}{'rsvp'}[0] // ''
1663 0 0 $VAttendee->{'params'}{'x-sequence'}[0] // ''
1702 0 0 $Root ||= ''
1783 0 0 $Properties{'transp'}{'value'} || ''
2012 0 0 $VAlarm->{'properties'}{'attendee'} // []
2017 0 0 $VAlarm->{'properties'}{'uri'} // []
2037 0 0 $AlarmProperties{'trigger'}{'value'} || (next)
2039 0 0 $AlarmProperties{'trigger'}{'params'}{'related'}[0] || ''
2045 0 0 eval { do { 'DateTime::Format::ICal'->parse_duration(uc $Trigger) } } || (next)
2221 0 0 $VTimeZone->{'properties'}{'tzid'}[0]{'value'} || ''
2224 0 0 lc $Observance->{'type'} || ''
2240 0 0 'Net::CalDAVTalk::TimeZones'->GetTimeZone('TZID', $TZID, 'Time', $Element->{'value'}, 'StandardTzOffsetTo', $TzOffsets{'standard'}, $TzOffsets{'daylight'} ? ('DaylightTzOffsetTo', $TzOffsets{'daylight'}) : ()) || undef
2385 0 0 $Args->{'sequence'} || 0
2395 0 0 $Args->{$Property} // ''
2410 0 0 $Args->{'locations'} || {}
2464 0 0 $Alert->{'action'}{'type'} // ''
2465 0 0 $Alert->{'action'}{'recipients'} // []
2466 0 0 $Alert->{'action'}{'uri'} // ''
2983 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
684 0 0 0 !defined($visData) || $visData
751 0 0 0 $$Propstat{"{$NS_D}prop"}{"{$NS_D}displayname"}{'content'} || $DefaultDisplayName
794 0 0 0 $Args->{'id'} //= $Self->genuuid
795 0 0 0 $Args->{'name'} //= $DefaultDisplayName
955 0 0 0 $Args{'AlwaysRange'} or $Args{'after'}
0 0 0 $Args{'AlwaysRange'} or $Args{'after'} or $Args{'before'}
960 0 0 0 $Args{'after'} || $BoT
961 0 0 0 $Args{'before'} || $EoT
1108 0 0 0 $Args{'AlwaysRange'} or $Args{'after'}
0 0 0 $Args{'AlwaysRange'} or $Args{'after'} or $Args{'before'}
1109 0 0 0 $Args{'after'} || $BoT
1110 0 0 0 $Args{'before'} || $EoT
1329 0 0 0 $Args->{'uid'} //= $Self->genuuid
1678 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
1683 0 0 0 $H || $M || $S
1834 0 0 0 $StartTimeZone ||= $EndTimeZone
1835 0 0 0 $EndTimeZone ||= $StartTimeZone
1995 0 0 0 $AlarmProperties{'uid'}{'value'} || _hexkey($VAlarm) . '-alarmauto'
2093 0 0 0 $main::MimeTypes ||= 'MIME::Types'->new
2130 0 0 0 $Event{'updated'} ||= 'DateTime'->now->iso8601
2250 0 0 0 shift() || $FLOATING
2406 0 0 0 $Args->{'updated'} || 'DateTime'->now->iso8601
2424 0 0 0 $EndTimeZone //= $StartTimeZone
2475 0 0 0 $Type eq 'email' or $Type eq 'uri'
2532 0 0 0 $Attendee->{'email'} || $Address
2576 0 0 0 $Attach->{'href'} || $uri
2622 0 0 0 $Args->{'dtstamp'} //= 'DateTime'->now->strftime('%Y-%m-%dT%H:%M:%S')
2911 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
2983 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