CodeQL findings — Os/Generic

devel @ e84571354780 · generated 2026-09-03T21:21:21Z
FileLineRuleSeverityMessage
Os/Generic/LocklessPriorityQueue.cpp:7979cpp/jpl-c/function-size-limitslowcreate has too many lines (96, while 60 are allowed).
Os/Generic/LocklessPriorityQueue.cpp:176176cpp/fprime/jpl-c/use-of-assertions-densitylowAll functions of more than 10 lines should have at least one assertion, unless they handle errors by returning a status enum or bool, or by emitting a WARNING/FATAL event.
Os/Generic/LocklessPriorityQueue.cpp:197197cpp/jpl-c/function-size-limitslowsend has too many lines (69, while 60 are allowed).
Os/Generic/LocklessPriorityQueue.cpp:267267cpp/jpl-c/function-size-limitslowreceive has too many lines (88, while 60 are allowed).
Os/Generic/LocklessPriorityQueue.hpp:305305cpp/fprime/public-data-memberlowData member m_handle of class LocklessPriorityQueue is public; consider making it private or protected.
Os/Generic/PriorityMemQueue.cpp:213213cpp/fprime/jpl-c/use-of-assertions-densitylowAll functions of more than 10 lines should have at least one assertion, unless they handle errors by returning a status enum or bool, or by emitting a WARNING/FATAL event.
Os/Generic/PriorityMemQueue.cpp:694694cpp/jpl-c/function-size-limitslowreceive has too many lines (75, while 60 are allowed).
Os/Generic/PriorityMemQueue.hpp:248248cpp/fprime/public-data-memberlowData member m_handle of class PriorityMemQueue is public; consider making it private or protected.
Os/Generic/PriorityQueue.cpp:4747cpp/jpl-c/function-size-limitslowcreate has too many lines (113, while 60 are allowed).
Os/Generic/PriorityQueue.hpp:159159cpp/fprime/public-data-memberlowData member m_handle of class PriorityQueue is public; consider making it private or protected.

Dismissed findings (2)

FileLineRuleDismissal reasonComment
Os/Generic/PriorityMemQueue.cpp190cpp/fprime/jpl-c/use-of-assertions-densitywon't fixThis has status code error handling.
Os/Generic/PriorityMemQueue.cpp195cpp/fprime/jpl-c/preprocessor-use-ifdefwon't fixHas back-up implementation.