| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 |  | - | 
| 8 |  | - | 
| 9 |  | - | 
| 10 |  | - | 
| 11 | static int sp; | - | 
| 12 |  | - | 
| 13 | char *list_optarg; | - | 
| 14 | int list_optopt; | - | 
| 15 | int list_opttype; | - | 
| 16 |  | - | 
| 17 | static WORD_LIST *lhead = (WORD_LIST *) | - | 
| 18 | ((void *)0) | - | 
| 19 | ; | - | 
| 20 | WORD_LIST *lcurrent = (WORD_LIST *) | - | 
| 21 | ((void *)0) | - | 
| 22 | ; | - | 
| 23 | WORD_LIST *loptend; | - | 
| 24 |  | - | 
| 25 | int | - | 
| 26 | internal_getopt(list, opts) | - | 
| 27 | WORD_LIST *list; | - | 
| 28 | char *opts; | - | 
| 29 | { | - | 
| 30 | register int c; | - | 
| 31 | register char *cp; | - | 
| 32 | int plus; | - | 
| 33 | static char errstr[3] = { '-', '\0', '\0' }; | - | 
| 34 |  | - | 
| 35 | plus = *opts == '+'; | - | 
| 36 | if (plus )| TRUE | evaluated 3264812 times by 1 test |  | FALSE | evaluated 4037354 times by 1 test | 
 | 3264812-4037354 | 
| 37 | opts++; executed 3264812 times by 1 test:  opts++; | 3264812 | 
| 38 |  | - | 
| 39 | if (list == 0 ) {| TRUE | evaluated 612 times by 1 test |  | FALSE | evaluated 7301554 times by 1 test | 
 | 612-7301554 | 
| 40 | list_optarg = (char *) | - | 
| 41 | ((void *)0) | - | 
| 42 | ; | - | 
| 43 | loptend = (WORD_LIST *) | - | 
| 44 | ((void *)0) | - | 
| 45 | ; | - | 
| 46 | return executed 612 times by 1 test-1;:  return -1; executed 612 times by 1 test:  return -1; | 612 | 
| 47 | } | - | 
| 48 |  | - | 
| 49 | if (list != lhead || lhead == 0| TRUE | evaluated 4645157 times by 1 test |  | FALSE | evaluated 2656397 times by 1 test | 
) {| TRUE | never evaluated |  | FALSE | evaluated 2656397 times by 1 test | 
 | 0-4645157 | 
| 50 |  | - | 
| 51 | sp = 1; | - | 
| 52 | lcurrent = lhead = list; | - | 
| 53 | loptend = (WORD_LIST *) | - | 
| 54 | ((void *)0) | - | 
| 55 | ; | - | 
| 56 | } executed 4645157 times by 1 test:  end of block | 4645157 | 
| 57 |  | - | 
| 58 | if (sp == 1 ) {| TRUE | evaluated 5980174 times by 1 test |  | FALSE | evaluated 1321380 times by 1 test | 
 | 1321380-5980174 | 
| 59 | if (lcurrent == 0 || (((*(| TRUE | evaluated 1521 times by 1 test |  | FALSE | evaluated 5978653 times by 1 test | 
lcurrent->word->word) != '-')| TRUE | evaluated 4633464 times by 1 test |  | FALSE | evaluated 1345189 times by 1 test | 
&& (!plus| TRUE | evaluated 4633464 times by 1 test |  | FALSE | evaluated 1345189 times by 1 test | 
|| *(| TRUE | evaluated 1382788 times by 1 test |  | FALSE | evaluated 3250676 times by 1 test | 
lcurrent->word->word) != '+'| TRUE | evaluated 3250305 times by 1 test |  | FALSE | evaluated 371 times by 1 test | 
)) || (| TRUE | evaluated 3250305 times by 1 test |  | FALSE | evaluated 371 times by 1 test | 
lcurrent->word->word)[1] == '\0'| TRUE | evaluated 30 times by 1 test |  | FALSE | evaluated 1345530 times by 1 test | 
)) {| TRUE | evaluated 30 times by 1 test |  | FALSE | evaluated 1345530 times by 1 test | 
 | 30-5978653 | 
| 60 | lhead = (WORD_LIST *) | - | 
| 61 | ((void *)0) | - | 
| 62 | ; | - | 
| 63 | loptend = lcurrent; | - | 
| 64 | return executed 4634644 times by 1 test(-1);:  return(-1); executed 4634644 times by 1 test:  return(-1); | 4634644 | 
| 65 | } else if ((((( lcurrent->word->word))[0] == ("--help")[0]| TRUE | evaluated 1345159 times by 1 test |  | FALSE | evaluated 371 times by 1 test | 
&&| TRUE | evaluated 1345159 times by 1 test |  | FALSE | evaluated 371 times by 1 test | 
 | 371-1345159 | 
| 66 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 67 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 68 | ) && __builtin_constant_p ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 69 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 70 | ) && (__s1_len = __builtin_strlen ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 71 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 72 | ), __s2_len = __builtin_strlen ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 73 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 74 | ), (!((size_t)(const void *)(( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 75 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 76 | ) + 1) - (size_t)(const void *)( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 77 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 78 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 79 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 80 | ) + 1) - (size_t)(const void *)( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 81 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 82 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 83 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 84 | , | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 85 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 86 | ) : (__builtin_constant_p ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 87 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 88 | ) && ((size_t)(const void *)(( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 89 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 90 | ) + 1) - (size_t)(const void *)( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 91 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 92 | ) == 1) && (__s1_len = __builtin_strlen ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 93 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 94 | ), __s1_len < 4) ? (__builtin_constant_p ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 95 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 96 | ) && ((size_t)(const void *)(( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 97 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 98 | ) + 1) - (size_t)(const void *)( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 99 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 100 | ) == 1) ? __builtin_strcmp ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 101 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 102 | , | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 103 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 104 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 105 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 106 | ); int __result = (((const unsigned char *) (const char *) ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 107 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 108 | ))[0] - __s2[0]); if (__s1_len > 0 && __result == 0| TRUE | never evaluated |  | FALSE | never evaluated | 
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 109 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 110 | ))[1] - __s2[1]); if (__s1_len > 1 && __result == 0| TRUE | never evaluated |  | FALSE | never evaluated | 
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 111 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 112 | ))[2] - __s2[2]); if (__s1_len > 2 && __result == 0| TRUE | never evaluated |  | FALSE | never evaluated | 
) __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated |  | FALSE | never evaluated | 
never executed: __result = (((const unsigned char *) (const char *) ( (lcurrent->word->word) ))[3] - __s2[3]); | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 113 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
never executed: __result = (((const unsigned char *) (const char *) ( (lcurrent->word->word) ))[3] - __s2[3]); | 0-1345159 | 
| 114 | ))[3] - __s2[3]); | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
never executed: }__result = (((const unsigned char *) (const char *) ( (lcurrent->word->word) ))[3] - __s2[3]); never executed: }end of block never executed: __result; }))) : (__builtin_constant_p (end of block | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 115 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 116 | ) && ((size_t)(const void *)(( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 117 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 118 | ) + 1) - (size_t)(const void *)( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 119 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 120 | ) == 1) && (__s2_len = __builtin_strlen ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 121 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 122 | ), __s2_len < 4) ? (__builtin_constant_p ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 123 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 124 | ) && ((size_t)(const void *)(( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 125 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 126 | ) + 1) - (size_t)(const void *)( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 127 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 128 | ) == 1) ? __builtin_strcmp ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 129 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 130 | , | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 131 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 132 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 133 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 134 | ); int __result = (((const unsigned char *) (const char *) ( | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 135 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 136 | ))[0] - __s2[0]); if (__s2_len > 0 && __result == 0| TRUE | never evaluated |  | FALSE | never evaluated | 
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 137 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 138 | ))[1] - __s2[1]); if (__s2_len > 1 && __result == 0| TRUE | never evaluated |  | FALSE | never evaluated | 
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 139 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 140 | ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0| TRUE | never evaluated |  | FALSE | never evaluated | 
) __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated |  | FALSE | never evaluated | 
never executed: __result = (((const unsigned char *) (const char *) ( "--help" ))[3] - __s2[3]); | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 141 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
never executed: __result = (((const unsigned char *) (const char *) ( "--help" ))[3] - __s2[3]); | 0-1345159 | 
| 142 | ))[3] - __s2[3]); | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
never executed: }__result = (((const unsigned char *) (const char *) ( "--help" ))[3] - __s2[3]); never executed: }end of block never executed: __result; }))) : __builtin_strcmp (end of block | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 143 | (lcurrent->word->word) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 144 | , | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 145 | "--help" | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 146 | )))); }) | TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 147 | == 0 ))) {| TRUE | never evaluated |  | FALSE | evaluated 1345159 times by 1 test | 
 | 0-1345159 | 
| 148 | lhead = (WORD_LIST *) | - | 
| 149 | ((void *)0) | - | 
| 150 | ; | - | 
| 151 | loptend = lcurrent; | - | 
| 152 | return never executed: (-99);return (-99); never executed: return (-99); | 0 | 
| 153 | } else if (lcurrent->word->word[0] == '-' &&| TRUE | evaluated 1345159 times by 1 test |  | FALSE | evaluated 371 times by 1 test | 
 | 371-1345159 | 
| 154 | lcurrent->word->word[1] == '-' &&| TRUE | evaluated 10441 times by 1 test |  | FALSE | evaluated 1334718 times by 1 test | 
 | 10441-1334718 | 
| 155 | lcurrent->word->word[2] == 0 ) {| TRUE | evaluated 10441 times by 1 test |  | FALSE | never evaluated | 
 | 0-10441 | 
| 156 | lhead = (WORD_LIST *) | - | 
| 157 | ((void *)0) | - | 
| 158 | ; | - | 
| 159 | loptend = lcurrent->next; | - | 
| 160 | return executed 10441 times by 1 test(-1);:  return(-1); executed 10441 times by 1 test:  return(-1); | 10441 | 
| 161 | } | - | 
| 162 | errstr[0] = list_opttype = lcurrent->word->word[0]; | - | 
| 163 | } executed 1335089 times by 1 test:  end of block | 1335089 | 
| 164 |  | - | 
| 165 | list_optopt = c = lcurrent->word->word[sp]; | - | 
| 166 |  | - | 
| 167 | if (c == ':' || (| TRUE | never evaluated |  | FALSE | evaluated 2656469 times by 1 test | 
cp =| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656469 | 
| 168 | (__extension__ (__builtin_constant_p ( | TRUE | never evaluated |  | FALSE | evaluated 2656469 times by 1 test | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656469 | 
| 169 | c | TRUE | never evaluated |  | FALSE | evaluated 2656469 times by 1 test | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656469 | 
| 170 | ) && !__builtin_constant_p (| TRUE | never evaluated |  | FALSE | evaluated 2656469 times by 1 test | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656469 | 
| 171 | opts | TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656412 | 
| 172 | ) && (| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656412 | 
| 173 | c | TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656412 | 
| 174 | ) == '\0' ? (char *) __rawmemchr (| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 0-2656412 | 
| 175 | opts | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 176 | , | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 177 | c | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 178 | ) : __builtin_strchr ( | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 179 | opts | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 180 | , | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 181 | c | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 182 | ))) | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 183 | ) == | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 184 | ((void *)0) | TRUE | evaluated 57 times by 1 test |  | FALSE | evaluated 2656412 times by 1 test | 
 | 57-2656412 | 
| 185 | ) { | - | 
| 186 | errstr[1] = c; | - | 
| 187 | sh_invalidopt (errstr); | - | 
| 188 | if (lcurrent->word->word[++sp] == '\0' ) {| TRUE | evaluated 57 times by 1 test |  | FALSE | never evaluated | 
 | 0-57 | 
| 189 | lcurrent = lcurrent->next; | - | 
| 190 | sp = 1; | - | 
| 191 | } executed 57 times by 1 test:  end of block | 57 | 
| 192 | list_optarg = | - | 
| 193 | ((void *)0) | - | 
| 194 | ; | - | 
| 195 | if (lcurrent )| TRUE | evaluated 35 times by 1 test |  | FALSE | evaluated 22 times by 1 test | 
 | 22-35 | 
| 196 | loptend = lcurrent->next; executed 35 times by 1 test:  loptend = lcurrent->next; | 35 | 
| 197 | return executed 57 times by 1 test('?');:  return('?'); executed 57 times by 1 test:  return('?'); | 57 | 
| 198 | } | - | 
| 199 |  | - | 
| 200 | if (*++ cp == ':'| TRUE | evaluated 1324560 times by 1 test |  | FALSE | evaluated 1331852 times by 1 test | 
|| *| TRUE | evaluated 1324560 times by 1 test |  | FALSE | evaluated 1331852 times by 1 test | 
cp == ';'| TRUE | evaluated 1114 times by 1 test |  | FALSE | evaluated 1330738 times by 1 test | 
) {| TRUE | evaluated 1114 times by 1 test |  | FALSE | evaluated 1330738 times by 1 test | 
 | 1114-1331852 | 
| 201 |  | - | 
| 202 |  | - | 
| 203 |  | - | 
| 204 | if (lcurrent->word->word[sp+1] ) {| TRUE | evaluated 1321209 times by 1 test |  | FALSE | evaluated 4465 times by 1 test | 
 | 4465-1321209 | 
| 205 | list_optarg = lcurrent->word->word + sp + 1; | - | 
| 206 | lcurrent = lcurrent->next; | - | 
| 207 |  | - | 
| 208 |  | - | 
| 209 |  | - | 
| 210 |  | - | 
| 211 |  | - | 
| 212 | } executed 1321209 times by 1 testelse if (lcurrent->next:  end of block && (*| TRUE | evaluated 4461 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
cp == ':'| TRUE | evaluated 3351 times by 1 test |  | FALSE | evaluated 1110 times by 1 test | 
|| (((*(| TRUE | evaluated 3351 times by 1 test |  | FALSE | evaluated 1110 times by 1 test | 
lcurrent->next->word->word) != '-')| TRUE | evaluated 1110 times by 1 test |  | FALSE | never evaluated | 
&& (!plus| TRUE | evaluated 1110 times by 1 test |  | FALSE | never evaluated | 
|| *(| TRUE | evaluated 241 times by 1 test |  | FALSE | evaluated 869 times by 1 test | 
lcurrent->next->word->word) != '+'| TRUE | evaluated 869 times by 1 test |  | FALSE | never evaluated | 
)) || (| TRUE | evaluated 869 times by 1 test |  | FALSE | never evaluated | 
lcurrent->next->word->word)[1] == '\0'| TRUE | never evaluated |  | FALSE | never evaluated | 
))) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-1321209 | 
| 213 |  | - | 
| 214 | lcurrent = lcurrent->next; | - | 
| 215 | list_optarg = lcurrent->word->word; | - | 
| 216 | lcurrent = lcurrent->next; | - | 
| 217 | } executed 4461 times by 1 testelse if (*:  end of block cp == ';'| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated | 
) {| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated | 
 | 0-4461 | 
| 218 | list_optarg = (char *) | - | 
| 219 | ((void *)0) | - | 
| 220 | ; | - | 
| 221 | lcurrent = lcurrent->next; | - | 
| 222 | } executed 4 times by 1 testelse {:  end of block | 4 | 
| 223 | errstr[1] = c; | - | 
| 224 | sh_needarg (errstr); | - | 
| 225 | sp = 1; | - | 
| 226 | list_optarg = (char *) | - | 
| 227 | ((void *)0) | - | 
| 228 | ; | - | 
| 229 | return never executed: ('?');return('?'); never executed: return('?'); | 0 | 
| 230 | } | - | 
| 231 | sp = 1; | - | 
| 232 | } executed 1325674 times by 1 testelse if (*:  end of block cp == '#'| TRUE | never evaluated |  | FALSE | evaluated 1330738 times by 1 test | 
) {| TRUE | never evaluated |  | FALSE | evaluated 1330738 times by 1 test | 
 | 0-1330738 | 
| 233 |  | - | 
| 234 | if (lcurrent->word->word[sp+1] ) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 235 | if ((( lcurrent->word->word[sp+1]) >= '0'| TRUE | never evaluated |  | FALSE | never evaluated | 
&& (| TRUE | never evaluated |  | FALSE | never evaluated | 
lcurrent->word->word[sp+1]) <= '9'| TRUE | never evaluated |  | FALSE | never evaluated | 
)) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 236 | list_optarg = lcurrent->word->word + sp + 1; | - | 
| 237 | lcurrent = lcurrent->next; | - | 
| 238 | } never executed: elseend of block | 0 | 
| 239 | list_optarg = (char *) never executed: list_optarg = (char *) ((void *)0) ; | 0 | 
| 240 | ((void *)0) never executed: list_optarg = (char *) ((void *)0) ; | 0 | 
| 241 | ; never executed: list_optarg = (char *) ((void *)0) ; | 0 | 
| 242 | } else { | - | 
| 243 | if (lcurrent->next && legal_number(lcurrent->next->word->word, (intmax_t *)0)| TRUE | never evaluated |  | FALSE | never evaluated | 
) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 244 | lcurrent = lcurrent->next; | - | 
| 245 | list_optarg = lcurrent->word->word; | - | 
| 246 | lcurrent = lcurrent->next; | - | 
| 247 | } never executed: else {end of block | 0 | 
| 248 | errstr[1] = c; | - | 
| 249 | sh_neednumarg (errstr); | - | 
| 250 | sp = 1; | - | 
| 251 | list_optarg = (char *) | - | 
| 252 | ((void *)0) | - | 
| 253 | ; | - | 
| 254 | return never executed: ('?');return ('?'); never executed: return ('?'); | 0 | 
| 255 | } | - | 
| 256 | } | - | 
| 257 |  | - | 
| 258 | } else { | - | 
| 259 |  | - | 
| 260 | if (lcurrent->word->word[++sp] == '\0' ) {| TRUE | evaluated 9358 times by 1 test |  | FALSE | evaluated 1321380 times by 1 test | 
 | 9358-1321380 | 
| 261 | sp = 1; | - | 
| 262 | lcurrent = lcurrent->next; | - | 
| 263 | } executed 9358 times by 1 test:  end of block | 9358 | 
| 264 | list_optarg = (char *) | - | 
| 265 | ((void *)0) | - | 
| 266 | ; | - | 
| 267 | } executed 1330738 times by 1 test:  end of block | 1330738 | 
| 268 |  | - | 
| 269 | return executed 2656412 times by 1 test(c);:  return(c); executed 2656412 times by 1 test:  return(c); | 2656412 | 
| 270 | } | - | 
| 271 |  | - | 
| 272 |  | - | 
| 273 |  | - | 
| 274 |  | - | 
| 275 |  | - | 
| 276 | void | - | 
| 277 | reset_internal_getopt () | - | 
| 278 | { | - | 
| 279 | lhead = lcurrent = loptend = (WORD_LIST *) | - | 
| 280 | ((void *)0) | - | 
| 281 | ; | - | 
| 282 | sp = 1; | - | 
| 283 | } executed 4645769 times by 1 test:  end of block | 4645769 | 
|  |  |  |