GCC Code Coverage Report


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

src/G4OCCTLogicalVolume.cc
Line Branch Exec Source
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 // Copyright (C) 2026 G4OCCT Contributors
3
4 /// @file G4OCCTLogicalVolume.cc
5 /// @brief Implementation of G4OCCTLogicalVolume.
6
7 #include "G4OCCT/G4OCCTLogicalVolume.hh"
8
9 31 G4OCCTLogicalVolume::G4OCCTLogicalVolume(G4VSolid* pSolid, G4Material* pMaterial,
10 const G4String& name, const TopoDS_Shape& shape)
11
1/2
✓ Branch 0 taken 31 times.
✗ Branch 1 not taken.
31 : G4LogicalVolume(pSolid, pMaterial, name), fShape(shape) {}
12