GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 85.7% 12 / 0 / 14
Functions: 85.7% 6 / 0 / 7
Branches: -% 0 / 0 / 0

src/alfalfa/AlfalfaComponent.cpp
Line Branch Exec Source
1 /***********************************************************************************************************************
2 * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC.
3 * See also https://openstudio.net/license
4 ***********************************************************************************************************************/
5
6 #include "AlfalfaComponent.hpp"
7
8 namespace openstudio {
9 namespace alfalfa {
10 178 Json::Value AlfalfaComponent::toJSON() const {
11 178 return m_component->toJSON();
12 }
13
14 ✗ AlfalfaComponentCapability AlfalfaComponent::capability() const {
15 ✗ return m_component->capability();
16 }
17
18 24 AlfalfaComponentType AlfalfaComponent::type() const {
19 24 return m_component->type();
20 }
21
22 165 std::string AlfalfaComponent::typeName() const {
23 165 return m_component->typeName();
24 }
25
26 4 std::string AlfalfaComponent::deriveName() const {
27 4 return m_component->deriveName();
28 }
29
30 111 bool AlfalfaComponent::canInput() const {
31 111 return m_component->canInput();
32 }
33
34 150 bool AlfalfaComponent::canOutput() const {
35 150 return m_component->canOutput();
36 }
37
38 } // namespace alfalfa
39 } // namespace openstudio
40