GCC Code Coverage Report


./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
3 / 3
100.0%
Branches:
-
-%
Functions:
1 / 1
100.0%

trigger.c
Line Branch Exec Source
1 #include <stdio.h>
2
3 #include "trigger.h"
4
5 1 void trigger_action(void) {
6 #ifdef TRIGGER_ON
7 printf("TRIGGER is ON: running extra logic...\n");
8 #else
9 1 printf("TRIGGER is OFF: running default logic...\n");
10 #endif
11 1 }
12