Branch Coverage

third_party/modest/source/mycore/utils/mcobject.c
Criterion Covered Total %
branch 24 50 48.0


line true false branch
39 0 589 if(mcobject->cache == NULL)
47 371 491 if(mcobject->chunk == NULL)
52 0 491 while(chunk->next)
55 491 491 while(chunk) {
58 491 0 if(chunk->begin) {
73 0 588 if(mcobject == NULL)
78 588 0 if(mcobject->cache) {
83 588 0 if(destroy_self) {
93 492 0 if(status)
98 0 492 if(mcobject->chunk && mcobject->chunk->next) {
0 0 if(mcobject->chunk && mcobject->chunk->next) {
108 0 492 if(chunk == NULL) {
109 0 0 if(status)
117 0 492 if(chunk->begin == NULL) {
118 0 0 if(status)
128 492 0 if(mcobject->chunk == NULL) {
141 165 554 if(mcobject->cache_length) {
142 0 165 if(status)
151 62 492 if(chunk == NULL || chunk->length >= chunk->size)
0 62 if(chunk == NULL || chunk->length >= chunk->size)
156 0 492 if(ns_status) {
157 0 0 if(status)
166 0 554 if(status)
175 0 442 if(mcobject->cache_length >= mcobject->cache_size) {
180 0 0 if(tmp) {