Branch Coverage

amqp_url.c
Criterion Covered Total %
branch 0 52 0.0


line true false branch
72 0 0 if (!colon_and_at_sign_are_delims) {
93 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)
123 0 0 if (!strncmp(url, "amqp://", 7)) {
125 0 0 } else if (!strncmp(url, "amqps://", 8)) {
132 0 0 host = start = url += (parsed->ssl ? 8 : 7);
135 0 0 if (delim == ':') {
143 0 0 if (delim == '@') {
147 0 0 if (port) {
156 0 0 if (delim == '[') {
159 0 0 if (host != start || *host != 0) {
0 0 if (host != start || *host != 0) {
166 0 0 if (delim != ']') {
176 0 0 if (*start != 0) {
181 0 0 if (*host != 0) {
186 0 0 if (delim == ':') {
191 0 0 if (port) {
195 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) {
202 0 0 if (delim == '/') {
206 0 0 if (delim != 0) {
212 0 0 } else if (delim == 0) {