lf-lang / reactor-uc

A lightweight reactor runtime targeted at resource-constrained embedded systems
BSD 2-Clause "Simplified" License
2 stars 2 forks source link

Physical action #10

Closed erlingrj closed 1 month ago

erlingrj commented 1 month ago

Adds support for physical actions

github-actions[bot] commented 1 month ago

Coverage after merging physical-action into main will be

86.63%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   action.c86.21%50%100%90.91%28–29, 32, 35, 53–54, 57, 60
   builtin_triggers.c100%100%100%100%
   connection.c69.57%38.46%100%80%10–11, 11, 11–12, 14, 16–17, 22, 27, 29, 5, 7, 7
   environment.c88.71%100%66.67%91.84%39–40, 44–45
   port.c92.86%75%100%96.55%31, 35, 7
   queues.c71.61%52%91.67%79.57%100, 17–18, 22–24, 24, 24–25, 30–31, 31, 31, 33–36, 36, 36, 36, 36–37, 39, 39, 39, 39, 39–40, 44, 44, 44–46, 48, 54–55, 71–75, 89, 94
   reaction.c91.04%77.27%100%97.56%26–27, 36, 38, 43, 7
   reactor.c74.55%50%100%79.49%11, 16–17, 17, 17–18, 20, 28, 31–32, 32, 32–33, 35
   scheduler.c96.32%88.10%100%100%56, 71, 87, 96–97
   tag.c33.68%26.09%40%40.91%21, 23, 26–27, 27, 27, 27, 27–28, 30, 30, 30, 30, 30–31, 33, 33, 33–34, 36–37, 37, 37–38, 40, 40, 40, 40, 40–41, 43, 43, 43, 43, 43–44, 46, 56–57, 59–60, 66, 70–71, 86–88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88–90, 92
   timer.c100%100%100%100%
   trigger.c92.86%70%100%97.56%31, 36, 6–7
src/platform
   posix.c83.56%57.14%90.91%89.58%24, 29–30, 41, 44, 54–56, 64, 70, 76