Condition Coverage

blib/lib/Mojolicious/Plugin/Ical.pm
Criterion Covered Total %
condition 23 57 40.3


or 2 conditions

line l !l condition
119 0 2 $$config{'handler'} //= 'ical'
121 2 0 $$config{'properties'} || {}
122 0 2 $$self{'properties'}{'calscale'} ||= 'GREGORIAN'
123 0 2 $$self{'properties'}{'method'} ||= 'PUBLISH'
125 0 2 $$self{'properties'}{'version'} ||= '2.0'
126 2 0 $$self{'properties'}{'x_wr_caldesc'} ||= ''
153 14 0 $$event{$k} //= ''
162 0 2 $$properties{'DTSTAMP'} ||= [{'value', $$defaults{'now'}}]
163 2 0 $$properties{'SEQUENCE'} ||= [{'value', 0}]
164 0 2 $$properties{'STATUS'} ||= [{'value', 'CONFIRMED'}]
165 0 2 $$properties{'TRANSP'} ||= [{'value', 'OPAQUE'}]
166 0 2 $$properties{'UID'} ||= [{'value', sprintf('%s@%s', _md5($event), $$defaults{'hostname'})}]

or 3 conditions

line l !l&&r !l&&!r condition
124 0 2 0 $$self{'properties'}{'prodid'} ||= sprintf('-//%s//NONSGML %s//EN', Sys::Hostname::hostname(), $app->moniker)
127 0 2 0 $$self{'properties'}{'x_wr_calname'} ||= $app->moniker
128 0 2 0 $$self{'properties'}{'x_wr_timezone'} ||= POSIX::strftime('%Z', localtime)
130 0 2 0 $$self{'vfile'} ||= 'Text::vFile::asData'->new
180 0 2 0 $properties{'calscale'} ||= $$self{'properties'}{'calscale'}
181 0 2 0 $properties{'method'} ||= $$self{'properties'}{'method'}
182 0 2 0 $properties{'prodid'} ||= $$self{'properties'}{'prodid'}
183 0 2 0 $properties{'version'} ||= $$self{'properties'}{'version'}
184 0 2 0 $properties{'x_wr_caldesc'} ||= $$self{'properties'}{'x_wr_caldesc'}
185 0 2 0 $properties{'x_wr_calname'} ||= $$self{'properties'}{'x_wr_calname'}
186 0 2 0 $properties{'x_wr_timezone'} ||= $$self{'properties'}{'x_wr_timezone'}