Branch Coverage

blib/lib/FWS/V2/Format.pm
Criterion Covered Total %
branch 0 216 0.0


line true false branch
54 0 0 if ($postWord =~ /^[aeiou]/i) { }
77 0 0 unless ($guid)
95 0 0 if ($paramHash{'ajaxUpdateTable'})
97 0 0 if (not $paramHash{'active'}) { }
158 0 0 if (not $key =~ /_\w\w$/ || $key =~ /_id/i) { }
182 0 0 if ($publicKey)
199 0 0 if ($format eq 'singleChar')
200 0 0 if ($CCNumber =~ /^4/)
201 0 0 if ($CCNumber =~ /^5/)
202 0 0 if ($CCNumber =~ /^3/)
203 0 0 if ($CCNumber =~ /^6/)
206 0 0 if ($format eq 'word')
207 0 0 if ($CCNumber =~ /^4/)
208 0 0 if ($CCNumber =~ /^5/)
209 0 0 if ($CCNumber =~ /^3/)
210 0 0 if ($CCNumber =~ /^6/)
248 0 0 if ($$self{'dataSchema'}{$table}{'pin'}{'type'})
249 0 0 if (@{$self->runSQL('SQL', 'select 1 from ' . $self->safeSQL($table) . q[ where pin='] . $self->safeSQL($newPin) . q[']);})
345 0 0 unless $paramHash{'autoResize'}
353 0 0 unless (defined $paramHash{'width'})
360 0 0 if ($$self{'adminLoginId'})
374 0 0 if ($paramHash{'subModal'}) { }
382 0 0 $paramHash{'id'} ? :
387 0 0 if (defined $paramHash{'height'})
393 0 0 unless ($paramHash{'id'})
406 0 0 if ($paramHash{'linkHTML'})
462 0 0 unless ($fieldName =~ /^(amp|id|pageAction|killSession|page|a|noSession|session|l|p|s|b|editMode|bs)$/ or $fieldName =~ /FWS_/i)
639 0 0 if ($paramHash{'ISO8601'})
649 0 0 if (defined $paramHash{'numberTime'} or defined $paramHash{'SQLTime'})
656 0 0 if (defined $paramHash{'numberTime'})
669 0 0 if ($timeSplit[0] < 1902)
670 0 0 if ($timeSplit[0] > 2037)
671 0 0 if ($timeSplit[1] eq '' or $timeSplit[1] == 0)
672 0 0 if ($timeSplit[2] eq '' or $timeSplit[2] == 0)
673 0 0 if ($timeSplit[3] eq '')
674 0 0 if ($timeSplit[4] eq '')
675 0 0 if ($timeSplit[5] eq '')
736 0 0 if ($hr > 12) { }
741 0 0 if ($hr == 12) { }
774 0 0 if ($paramHash{'format'} =~ /^number$/i)
778 0 0 if ($paramHash{'format'} =~ /^shortDate$/i)
783 0 0 if ($paramHash{'format'} =~ /^cookie$/i)
789 0 0 if ($paramHash{'format'} =~ /^ISO8601$/i)
794 0 0 if ($paramHash{'format'} =~ /^fancyDate$/i)
801 0 0 if ($self->language =~ /fr/i)
802 0 0 if ($self->language =~ /fr/i)
809 0 0 if ($monthDay =~ /2$/ and $monthDay ne '12')
810 0 0 if ($monthDay =~ /3$/ and $monthDay ne '13')
811 0 0 if ($monthDay =~ /1$/i and $monthDay ne '11')
821 0 0 if ($self->language =~ /fr/i)
824 0 0 if ($paramHash{'format'} =~ /^apache$/i)
832 0 0 if ($paramHash{'format'} =~ /^(odbc|SQL)$/i)
836 0 0 if ($paramHash{'format'} =~ /^date$/i)
845 0 0 if ($self->language =~ /fr/i)
848 0 0 if ($paramHash{'format'} =~ /^month$/i)
849 0 0 if ($paramHash{'format'} =~ /^year$/i)
850 0 0 if ($paramHash{'format'} =~ /^day$/i)
853 0 0 if ($paramHash{'format'} =~ /^time$/i)
856 0 0 if ($paramHash{'format'} =~ /^dateTime$/i)
861 0 0 if ($paramHash{'format'} =~ /^dateTimeFull$/i)
865 0 0 if ($paramHash{'format'} =~ /^yearFirstDate$/i)
869 0 0 if ($paramHash{'format'} =~ /^firstOfMonth$/i)
873 0 0 if ($paramHash{'format'} =~ /^epoch$/i)
900 0 0 if ($dataHash{$fieldName . '_' . $self->language}) { }
928 0 0 if ($amount =~ /^-/)
931 0 0 if ($amount == 0) { }
960 0 0 if (length $paramHash{'phone'} != 10) { }
961 0 0 if ($paramHash{'format'} eq 'number')
964 0 0 if ($paramHash{'format'} eq 'full')
967 0 0 if ($paramHash{'format'} eq 'dots')
984 0 0 if ($paramHash{'style'})
985 0 0 if ($paramHash{'name'})
986 0 0 if ($paramHash{'id'})
987 0 0 if ($paramHash{'onClick'})
1013 0 0 unless ($paramHash{'id'})
1053 0 0 if ($paramHash{'class'})
1054 0 0 if ($paramHash{'id'})
1055 0 0 if ($paramHash{'width'})
1056 0 0 if ($paramHash{'onClick'})
1111 0 0 if ($jqueryEnable)
1121 0 0 unless ($jqueryHash{$jqueryEnable})
1168 0 0 if ($paramHash{'landingPage'})
1178 0 0 if ($self->siteValue('facebookAppId'))
1198 0 0 if ($hrefHash{'type'} eq 'page' or $hrefHash{'hrefOnly'})
1202 0 0 if ($hrefHash{'friendlyURL'} and not $self->siteValue('noFriendlies')) { }
1213 0 0 if ($hrefHash{'hrefOnly'})
1220 0 0 if ($hrefHash{'type'} eq 'url')
1225 0 0 if ($hrefHash{'type'} eq 'page')
1229 0 0 if ($hrefHash{'type'} eq 'page' or $hrefHash{'type'} eq 'url')
1234 0 0 if ($hrefHash{'guid'} eq $self->formValue('FWS_pageId'))
1258 0 0 $hrefHash{'navigationName'} ? :
1279 0 0 if ($paramHash{'linkHTML'})
1315 0 0 if ($dataHash{'elementClass'})
1325 0 0 unless ($dataHash{'disableTitle'})
1356 0 0 if ($paramHash{'class'})
1357 0 0 if ($paramHash{'style'})
1358 0 0 if ($paramHash{'id'})
1359 0 0 if ($paramHash{'name'})
1360 0 0 if ($paramHash{'topOption'})
1374 0 0 if ($paramHash{'current'} =~ /$stateAbbr/i)
1398 0 0 if (length $dateSplit[2] == 4) { }
1439 0 0 if ($count < $paramHash{'length'})
1441 0 0 if ($currentChar eq ' ')
1451 0 0 if ($newString eq '')
1463 0 0 if ($paramHash{'content'} ne $newString)
1538 0 0 if (hex $hex >= 0 and hex $hex < 65536)
1562 0 0 unless ($jsHash{$jsEnable})
1589 0 0 unless ($cssHash{$cssEnable})