Branch Coverage

cover.c
Criterion Covered Total %
branch 125 152 82.2


line true false branch
82 56 7 for (i = 0; i < cover->size ; i++) {
84 44 12 if (!node) {
109 3 128 if (file[0] == '(')
120 110 18 if (! LINE_IS_COVERED(node->lines, line)) {
130 3 168 if (file[0] == '(')
151 0 7 if ((env_filter = getenv("DEVEL_QUICKCOVER_INCLUDE"))) {
155 0 7 if ((env_filter = getenv("DEVEL_QUICKCOVER_EXCLUDE"))) {
164 56 7 for (i = 0 ; i < cover->size; i++) {
168 12 44 if (!node || !node->bcnt) {
1 11 if (!node || !node->bcnt) {
172 11 0 if (include || exclude) {
0 11 if (include || exclude) {
177 0 0 if (include && !pregexec(include, node->file, node->file + len, node->file, 0, sv, 0)) {
0 0 if (include && !pregexec(include, node->file, node->file + len, node->file, 0, sv, 0)) {
182 0 0 if (exclude && pregexec(exclude, node->file, node->file + len, node->file, 0, sv, 0)) {
0 0 if (exclude && pregexec(exclude, node->file, node->file + len, node->file, 0, sv, 0)) {
187 4 7 if (ncount++) {
193 1162 11 for (j = 1; j <= node->bmax; ++j) {
194 110 1052 if (LINE_IS_COVERED(node->lines, j)) {
195 99 11 if (lcount++) {
203 1162 11 for (j = 1; j <= node->bmax; ++j) {
204 152 1010 if (LINE_IS_PRESENT_OR_COVERED(node->lines, j)) {
205 141 11 if (lcount++) {
214 152 1010 OUTPUT_COMPILER_PHASE("BEGIN" , <=, PERL_PHASE_START , 1);
87 65 OUTPUT_COMPILER_PHASE("BEGIN" , <=, PERL_PHASE_START , 1);
81 6 OUTPUT_COMPILER_PHASE("BEGIN" , <=, PERL_PHASE_START , 1);
1162 11 OUTPUT_COMPILER_PHASE("BEGIN" , <=, PERL_PHASE_START , 1);
215 152 1010 OUTPUT_COMPILER_PHASE("CHECK" , ==, PERL_PHASE_CHECK , 1);
38 114 OUTPUT_COMPILER_PHASE("CHECK" , ==, PERL_PHASE_CHECK , 1);
34 4 OUTPUT_COMPILER_PHASE("CHECK" , ==, PERL_PHASE_CHECK , 1);
1162 11 OUTPUT_COMPILER_PHASE("CHECK" , ==, PERL_PHASE_CHECK , 1);
216 152 1010 OUTPUT_COMPILER_PHASE("INIT" , ==, PERL_PHASE_INIT , 1);
1 151 OUTPUT_COMPILER_PHASE("INIT" , ==, PERL_PHASE_INIT , 1);
0 1 OUTPUT_COMPILER_PHASE("INIT" , ==, PERL_PHASE_INIT , 1);
1162 11 OUTPUT_COMPILER_PHASE("INIT" , ==, PERL_PHASE_INIT , 1);
217 152 1010 OUTPUT_COMPILER_PHASE("RUN" , ==, PERL_PHASE_RUN , 1);
25 127 OUTPUT_COMPILER_PHASE("RUN" , ==, PERL_PHASE_RUN , 1);
18 7 OUTPUT_COMPILER_PHASE("RUN" , ==, PERL_PHASE_RUN , 1);
1162 11 OUTPUT_COMPILER_PHASE("RUN" , ==, PERL_PHASE_RUN , 1);
218 152 1010 OUTPUT_COMPILER_PHASE("END" , ==, PERL_PHASE_END , 1);
1 151 OUTPUT_COMPILER_PHASE("END" , ==, PERL_PHASE_END , 1);
0 1 OUTPUT_COMPILER_PHASE("END" , ==, PERL_PHASE_END , 1);
1162 11 OUTPUT_COMPILER_PHASE("END" , ==, PERL_PHASE_END , 1);
219 152 1010 OUTPUT_COMPILER_PHASE("DESTRUCT", ==, PERL_PHASE_DESTRUCT, 0);
0 152 OUTPUT_COMPILER_PHASE("DESTRUCT", ==, PERL_PHASE_DESTRUCT, 0);
0 0 OUTPUT_COMPILER_PHASE("DESTRUCT", ==, PERL_PHASE_DESTRUCT, 0);
1162 11 OUTPUT_COMPILER_PHASE("DESTRUCT", ==, PERL_PHASE_DESTRUCT, 0);
223 88 11 for (j = 0, scount = 0; j < node->subs.size; j++) {
226 50 38 if (!sub_node) {
230 32 6 if (scount++) {
233 25 13 phase = sub_node->phase == PERL_PHASE_CONSTRUCT ? "" :
234 20 5 sub_node->phase == PERL_PHASE_START ? "BEGIN" :
248 113 183 if (node->bmax < line) {
254 14 282 if (node->alen < needed) {
257 3 11 int size = node->alen ? node->alen : COVER_INITIAL_SIZE;
258 13 14 while (size < needed) {
282 428 12 while (where[pos] &&
79 349 while (where[pos] &&
283 0 349 (hash != where[pos]->hash ||
308 0 361 if (3 * cover->used > 2 * cover->size) {
310 0 0 for (i = 0; i < cover->size; i++) {
311 0 0 if (!cover->list[i]) {
324 349 12 if (cover->list[pos]) {
331 0 12 GMEM_NEWSTR(node->file, file, -1, l);
355 96 12 for (i = 0; i < cover->size ; i++) {
357 57 39 if (!node) {
379 26 0 if (node->phase == PERL_PHASE_CONSTRUCT)
399 57 69 while (where[pos] &&
31 26 while (where[pos] &&
400 0 26 (hash != where[pos]->hash ||
427 7 58 if (sub_cover->size == 0) {
431 5 60 if (3 * sub_cover->used > 2 * sub_cover->size) {
433 40 5 for (i = 0; i < sub_cover->size; i++) {
434 10 30 if (!sub_cover->list[i]) {
449 26 39 if (sub_cover->list[pos]) {
455 0 39 GMEM_NEWSTR(node->sub, name, -1, l);