GCC Code Coverage Report


Directory: ./
File: Fw/Port/InputPortBase.cpp
Date: 2026-09-23 21:11:01
Exec Total Coverage
Lines: 9 11 81.8%
Functions: 4 5 80.0%
Branches: 0 0 -%

Line Branch Exec Source
1 #include <Fw/FPrimeBasicTypes.hpp>
2 #include <Fw/Port/InputPortBase.hpp>
3 #include <Fw/Types/Assert.hpp>
4 #include <cstdio>
5
6 namespace Fw {
7
8 35377 InputPortBase::InputPortBase() : PortBase(), m_comp(nullptr), m_portNum(-1) {}
9
10 70754 InputPortBase::~InputPortBase() {}
11
12 35026 void InputPortBase::init() {
13 35026 PortBase::init();
14 35026 }
15
16 35025 void InputPortBase::setPortNum(FwIndexType portNum) {
17 35025 FW_ASSERT(portNum >= 0, static_cast<FwAssertArgType>(portNum));
18 35025 this->m_portNum = portNum;
19 35025 }
20
21 #if FW_OBJECT_TO_STRING == 1
22 ✗ const char* InputPortBase::getToStringFormatString() {
23 ✗ return "Input Port: %s %s->(%s)";
24 }
25 #endif
26
27 } // namespace Fw
28