GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 9 / 0 / 9
Functions: 100.0% 5 / 0 / 5
Branches: 50.0% 2 / 0 / 4

src/model/Glazing.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 "Glazing.hpp"
7 #include "Glazing_Impl.hpp"
8
9 #include "../utilities/core/Assert.hpp"
10
11 namespace openstudio {
12 namespace model {
13
14 namespace detail {
15
16 576 Glazing_Impl::Glazing_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
17 576 : FenestrationMaterial_Impl(idfObject, model, keepHandle) {}
18
19 135 Glazing_Impl::Glazing_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle)
20 135 : FenestrationMaterial_Impl(other, model, keepHandle) {}
21
22 231 Glazing_Impl::Glazing_Impl(const Glazing_Impl& other, Model_Impl* model, bool keepHandle) : FenestrationMaterial_Impl(other, model, keepHandle) {}
23
24 } // namespace detail
25
26 439 Glazing::Glazing(IddObjectType type, const Model& model) : FenestrationMaterial(type, model) {
27
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 439 times.
✗ Branch 5 not taken.
439 OS_ASSERT(getImpl<detail::Glazing_Impl>());
28 439 }
29
30 /// @cond
31
1/1
✓ Branch 3 taken 238 times.
238 Glazing::Glazing(std::shared_ptr<detail::Glazing_Impl> impl) : FenestrationMaterial(std::move(impl)) {}
32 /// @endcond
33
34 } // namespace model
35 } // namespace openstudio
36