Branch Coverage

blib/lib/HTTP/QuickBase.pm
Criterion Covered Total %
branch 14 364 3.8


line true false branch
584 0 0 if ($res->content =~ m[(.*?).*?(.*?)]s)
589 0 0 if ($res->content =~ m[(.*?)]s)
593 0 0 if ($$self{'error'} eq '0') { }
609 0 1 if (@_) { }
669 0 0 if ($xml =~ m[(.*)])
681 0 0 if $pageid ne ''
682 0 0 if $pagename ne ''
687 0 0 if ($res =~ m[(.*)]) { }
0 0 elsif ($res =~ m[(.*)]) { }
729 0 0 if ($res =~ m[(.*)]) { }
0 0 elsif ($res =~ m[(.*)]) { }
772 0 0 if ($res =~ m[(.*)]) { }
795 0 0 if ($res =~ m[(.*)]) { }
821 0 0 if $query ne ''
822 0 0 if $clist ne ''
823 0 0 if $slist ne ''
824 0 0 if $jht ne ''
825 0 0 if $jsa ne ''
826 0 0 if $options ne ''
838 0 0 if ($res =~ m[(.*)])
841 0 0 if ($res =~ m[(.*)])
844 0 0 if ($res =~ m[(.*)])
847 0 0 if ($res =~ m[(.*)])
850 0 0 if ($res =~ m[(.*)])
853 0 0 if ($res =~ m[(.*)])
856 0 0 if ($res =~ m[(.*)])
859 0 0 if ($res =~ m[(.*)])
862 0 0 if ($res =~ m[(.*)])
873 0 0 if $pageid ne ''
874 0 0 if $pagename ne ''
885 0 0 if ($res =~ m[(.*)]) { }
898 0 0 if ($res =~ m[(.*)]) { }
911 0 0 if ($res =~ m[(.*)]) { }
944 0 0 if (not $count % 2) { }
946 0 0 if ($record =~ /^name$/) { }
0 0 elsif ($record =~ /^value$/) { }
0 0 elsif ($record =~ /^printable$/) { }
949 0 0 if ($fieldname)
952 0 0 if ($fieldprintable) { }
0 0 elsif ($fieldvalue) { }
971 0 0 if ($isFieldname) { }
0 0 elsif ($isFieldvalue) { }
0 0 elsif ($isFieldprintable) { }
989 0 0 if ($fieldname)
992 0 0 if ($fieldprintable) { }
0 0 elsif ($fieldvalue) { }
1006 0 0 if $jht ne ''
1039 0 0 if ($res =~ m[(.*)])
1042 0 0 if ($res =~ m[(.*)])
1045 0 0 if ($res =~ m[(.*)])
1048 0 0 if ($res =~ m[(.*)])
1051 0 0 if ($res =~ /id=\"(.*)\"/)
1080 0 0 if ($res =~ m[(.*)]) { }
1132 0 0 unless ($action =~ /^act=API_|\&act=API_/i)
1144 0 0 if ($$self{'proxy'})
1150 0 0 unless ($$self{'ticket'})
1161 0 0 if ($res->is_error)
1177 0 0 if ($$self{'proxy'})
1186 0 0 unless ($$self{'ticket'})
1197 0 0 if ($res->is_error)
1214 0 0 if ($$self{'proxy'})
1221 0 0 unless ($$self{'ticket'})
1232 0 0 if ($res->is_error)
1240 0 0 if ($res->content =~ m[(.*?)]s)
1252 0 1 if ($$self{'proxy'})
1257 0 1 if ($$self{'realmhost'}) { }
1269 0 1 if ($$self{'apptoken'} ne '' and not $$self{'credentials'} =~ //)
1274 1 0 if ($content =~ /^/) { }
0 0 elsif ($content eq '' or not defined $content) { }
1282 1 0 if ($content =~ /^/)
1287 0 1 if ($$self{'ticket'})
1294 0 1 if ($res->is_error)
1299 0 1 if (defined $res->header('Set-Cookie') and $res->header('Set-Cookie') =~ /TICKET=(.+?);/) { }
0 1 elsif ($res->content =~ m[(.+?)]) { }
1313 1 0 if ($res->content =~ m[(.*?)]s)
1317 0 1 if ($$self{'error'} eq '11')
1337 0 1 if ($res->content =~ m[(.*)]) { }
1358 0 0 if ($res->content =~ m[(.*)]) { }
1373 0 0 if ($res->content =~ m[(.*)]) { }
1375 0 0 if ($res->content =~ m[(.*)]) { }
1394 0 0 if ($mode) { }
1403 0 0 if ($res->content =~ m[(.*)]) { }
1433 0 0 if ($res->content =~ m[(.*)]) { }
1448 0 0 if ($query =~ /^\{.*\}$/) { }
0 0 elsif ($query =~ /^\d+$/) { }
1461 0 0 if ($res->content =~ m[(.*)]) { }
1491 0 0 if ($query =~ /^\{.*\}$/) { }
0 0 elsif ($query =~ /^\d+$/) { }
1514 0 0 unless ($counter % $numfields)
1516 0 0 if ($counter > 0)
1525 0 0 if ($counter)
1612 0 0 if ($skipfirst)
1641 0 0 if ($p >= $endofdata)
1650 0 0 if ($state == $DOUBLE_QUOTE_TEST) { }
0 0 elsif ($state == $BEFORE_FIELD) { }
0 0 elsif ($state == $IN_UNQUOTED_FIELD) { }
0 0 elsif ($state == $IN_QUOTED_FIELD) { }
1653 0 0 if ($c eq $delim) { }
0 0 elsif ($c eq "\n" or $c eq "\r") { }
0 0 elsif ($c eq '"') { }
1684 0 0 if ($c eq $delim) { }
0 0 elsif ($c eq '"') { }
0 0 elsif ($c eq "\n" or $c eq "\r") { }
0 0 elsif ($c eq ' ') { }
1718 0 0 if ($c eq $delim) { }
0 0 elsif ($c eq "\n" or $c eq "\r") { }
1739 0 0 if ($c eq '"') { }
1767 0 0 if ($$offsetpointer >= length $$data)
1777 0 0 if ($$fieldpointer)
1804 0 0 unless ($lineEmpty)
1808 0 0 if ($numfields > $maxsize)
1832 0 3 unless (defined $rest)
1842 0 0 unless (defined $rest)
1866 0 0 if ($number == 0)
1867 0 0 if ($number == 1)
1868 0 0 if ($number == 2)
1869 0 0 if ($number == 3)
1870 0 0 if ($number == 4)
1871 0 0 if ($number == 5)
1872 0 0 if ($number == 6)
1873 0 0 if ($number == 7)
1874 0 0 if ($number == 8)
1875 0 0 if ($number == 9)
1876 0 0 if ($number == 10)
1877 0 0 if ($number == 11)
1878 0 0 if ($number == 12)
1879 0 0 if ($number == 13)
1880 0 0 if ($number == 14)
1881 0 0 if ($number == 15)
1882 0 0 if ($number == 16)
1883 0 0 if ($number == 17)
1884 0 0 if ($number == 18)
1885 0 0 if ($number == 19)
1886 0 0 if ($number == 20)
1887 0 0 if ($number == 21)
1888 0 0 if ($number == 22)
1889 0 0 if ($number == 23)
1890 0 0 if ($number == 24)
1891 0 0 if ($number == 25)
1892 0 0 if ($number == 26)
1893 0 0 if ($number == 27)
1894 0 0 if ($number == 28)
1895 0 0 if ($number == 29)
1896 0 0 if ($number == 30)
1897 0 0 if ($number == 31)
1918 0 0 if ($number eq 'a')
1919 0 0 if ($number eq 'b')
1920 0 0 if ($number eq 'c')
1921 0 0 if ($number eq 'd')
1922 0 0 if ($number eq 'e')
1923 0 0 if ($number eq 'f')
1924 0 0 if ($number eq 'g')
1925 0 0 if ($number eq 'h')
1926 0 0 if ($number eq 'i')
1927 0 0 if ($number eq 'j')
1928 0 0 if ($number eq 'k')
1929 0 0 if ($number eq 'm')
1930 0 0 if ($number eq 'n')
1931 0 0 if ($number eq 'p')
1932 0 0 if ($number eq 'q')
1933 0 0 if ($number eq 'r')
1934 0 0 if ($number eq 's')
1935 0 0 if ($number eq 't')
1936 0 0 if ($number eq 'u')
1937 0 0 if ($number eq 'v')
1938 0 0 if ($number eq 'w')
1939 0 0 if ($number eq 'x')
1940 0 0 if ($number eq 'y')
1941 0 0 if ($number eq 'z')
1942 0 0 if ($number eq '2')
1943 0 0 if ($number eq '3')
1944 0 0 if ($number eq '4')
1945 0 0 if ($number eq '5')
1946 0 0 if ($number eq '6')
1947 0 0 if ($number eq '7')
1948 0 0 if ($number eq '8')
1949 0 0 if ($number eq '9')
1956 0 0 if ($tag =~ /^[1-9]\d*$/) { }
1964 0 0 if (ref $value eq 'ARRAY') { }
1966 0 0 if ($$value[0] =~ /^file/i)
1972 0 0 if ($$value[1] =~ m([\\/]([^/\\]+)$)) { }
1980 0 0 unless (open FORUPLOADTOQUICKBASE, "<$$value[1]")