Branch Coverage

lib/Future/AsyncAwait/Metrics.xs
Criterion Covered Total %
branch 41 86 47.6


line true false branch
18 0 10 EXTEND(SP, 3);
19 0 10 PUSHMARK(SP);
22 9 1 if(arg2)
30 1 9 if(gimme > G_VOID) {
37 10 0 FREETMPS;
70 1 8 if(SvOK(*svp))
1 0 if(SvOK(*svp))
0 1 if(SvOK(*svp))
71 0 8 state = INT2PTR(struct FAAMetricsState *, SvUV(*svp));
84 1 0 if(r && SvTRUE(r)) {
1 0 if(r && SvTRUE(r)) {
0 1 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 1 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 1 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
1 0 if(r && SvTRUE(r)) {
1 0 if(r && SvTRUE(r)) {
0 1 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
1 0 if(r && SvTRUE(r)) {
0 0 if(r && SvTRUE(r)) {
114 1 2 FLUSH_COUNTER(states_created);
115 2 1 FLUSH_COUNTER(suspends);
116 1 2 FLUSH_COUNTER(resumes);
117 1 2 FLUSH_COUNTER(states_destroyed);
126 2 1 FLUSH_GAUGE(current_states);
127 2 1 FLUSH_GAUGE(current_subs);
151 1 0 INC_COUNTER(states_created);
152 1 0 INC_GAUGE(current_states);
159 2 0 INC_COUNTER(suspends);
160 2 0 INC_GAUGE(current_subs);
167 2 0 INC_COUNTER(resumes);
168 2 0 DEC_GAUGE(current_subs);
175 1 0 INC_COUNTER(states_destroyed);
176 1 0 DEC_GAUGE(current_states);