Condition Coverage

blib/lib/ICS/Simple.pm
Criterion Covered Total %
condition 0 71 0.0


and 3 conditions

line !l l&&!r l&&r condition
114 0 0 0 $mapRequired and not $$ICS::Simple::fieldMap{$lookupKey}
178 0 0 0 $mapRequired and not $$gMap{$key}

or 2 conditions

line l !l condition
100 0 0 $$self{'server_mode'} ||= 'test'
101 0 0 $$self{'icspath'} ||= '/opt/ics'
138 0 0 $$request{'currency'} ||= 'USD'
173 0 0 $$ICS::Simple::grammarMap{lc $grammar} || $$ICS::Simple::grammarMap{'stock'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
102 0 0 0 $$self{'cvv_accepted'} ||= $ICS::Simple::cvvAcceptedDefault
115 0 0 0 $$ICS::Simple::fieldMap{$lookupKey} || $key
127 0 0 0 $$request{'server_mode'} ||= $$self{'server_mode'}
128 0 0 0 $$request{'server_host'} ||= $$self{'server_host'}
139 0 0 0 $$request{'merchant_id'} ||= $$self{'merchant_id'}
140 0 0 0 $$self{'decline_avs_flags'} || $ICS::Simple::avsRejectedDefault
0 0 0 $$request{'decline_avs_flags'} ||= $$self{'decline_avs_flags'} || $ICS::Simple::avsRejectedDefault
145 0 0 0 $$response{'auth_rmsg'} || $$response{'ics_rmsg'}
148 0 0 0 $$ICS::Simple::vitalErrorMap{$$response{'ics_rcode'}} || $$response{'rmsg'}
149 0 0 0 $$ICS::Simple::vitalErrorMap{$$response{'auth_auth_response'}} || $$ICS::Simple::vitalErrorMap{'0'}
172 0 0 0 shift() || $$self{'x_grammar'}
179 0 0 0 $$gMap{$key} || $key
198 0 0 0 $$ICS::Simple::appMap{$lookupKey} || $app
222 0 0 0 $$ICS::Simple::offerAttrMap{$lookupKey} || $attr
284 0 0 0 $$item{'decline_avs_flags'} || $$self{'decline_avs_flags'} || $ICS::Simple::avsRejectedDefault
357 0 0 0 $$ICS::Simple::errorMap{$statusCode} || $$ICS::Simple::errorMap{'default'}
363 0 0 0 $$error{'critical'} or $$response{'ics_rcode'} < 0
364 0 0 0 $$self{'x_critical_errors_to'} || $sendErrorsTo
366 0 0 0 $$error{'name'} || $statusCode