Branch Coverage

amqp_url.c
Criterion Covered Total %
branch 0 52 0.0


line true false branch
40 0 0 if (!colon_and_at_sign_are_delims) {
61 0 0 if (res == EOF || res < 1 || chars != 2 || val > CHAR_MAX)
0 0 if (res == EOF || res < 1 || chars != 2 || val > CHAR_MAX)
0 0 if (res == EOF || res < 1 || chars != 2 || val > CHAR_MAX)
0 0 if (res == EOF || res < 1 || chars != 2 || val > CHAR_MAX)
91 0 0 if (!strncmp(url, "amqp://", 7)) {
93 0 0 } else if (!strncmp(url, "amqps://", 8)) {
100 0 0 host = start = url += (parsed->ssl ? 8 : 7);
103 0 0 if (delim == ':') {
111 0 0 if (delim == '@') {
115 0 0 if (port) {
124 0 0 if (delim == '[') {
127 0 0 if (host != start || *host != 0) {
0 0 if (host != start || *host != 0) {
134 0 0 if (delim != ']') {
144 0 0 if (*start != 0) {
149 0 0 if (*host != 0) {
154 0 0 if (delim == ':') {
159 0 0 if (port) {
163 0 0 if (port == end || *end != 0 || portnum < 0 || portnum > 65535) {
0 0 if (port == end || *end != 0 || portnum < 0 || portnum > 65535) {
0 0 if (port == end || *end != 0 || portnum < 0 || portnum > 65535) {
0 0 if (port == end || *end != 0 || portnum < 0 || portnum > 65535) {
170 0 0 if (delim == '/') {
174 0 0 if (delim != 0) {
180 0 0 } else if (delim == 0) {