| 94 | (edge ? ss_eq(h->via_edge,edge) : h->via_edge==NULL) && ss_eq(h->qualified_name,qn) && ss_eq(h->label,"Function"); |
| 95 | } |
| 96 | static bool ss_golden(cbm_impact_walk_t *w,const ss_ids_t *id,bool lifted) { |
| 97 | int count=cbm_impact_walk_count(w); const cbm_impact_hit_t *h=cbm_impact_walk_hits(w); |
| 98 | bool ok=count==(lifted?6:4) && h && |
| 99 | ss_hit(&h[0],id->root,0,0,NULL,SS_PROJECT ".root") && |
| 100 | ss_hit(&h[1],id->a,1,id->root,"CALLS",SS_PROJECT ".a") && |
| 101 | ss_hit(&h[2],id->z,1,id->root,"USAGE",SS_PROJECT ".z") && |
| 102 | ss_hit(&h[3],id->top,2,id->z,"USAGE",SS_PROJECT ".top"); |
| 103 | return ok && (!lifted || (ss_hit(&h[4],id->island,3,0,NULL,SS_PROJECT ".island") && |
| 104 | ss_hit(&h[5],id->tail,4,id->island,"CALLS",SS_PROJECT ".tail"))); |
| 105 | } |
| 106 | static bool ss_normal_walk(cbm_store_t *s,const ss_ids_t *id) { |
| 107 | cbm_impact_walk_t *w=NULL; |
| 108 | bool ok=cbm_impact_walk_open(s,&ss_policy,&w)==CBM_STORE_OK && |
no test coverage detected