GCC Code Coverage Report


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

src/G4OCCTPlacement.cc
Line Branch Exec Source
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 // Copyright (C) 2026 G4OCCT Contributors
3
4 /// @file G4OCCTPlacement.cc
5 /// @brief Implementation of G4OCCTPlacement.
6
7 #include "G4OCCT/G4OCCTPlacement.hh"
8
9 3 G4OCCTPlacement::G4OCCTPlacement(G4RotationMatrix* pRot, const G4ThreeVector& tlate,
10 G4LogicalVolume* pCurrentLogical, const G4String& pName,
11 G4LogicalVolume* pMotherLogical, G4bool pMany, G4int pCopyNo,
12 const TopLoc_Location& location, G4bool pSurfChk)
13 3 : G4PVPlacement(pRot, tlate, pCurrentLogical, pName, pMotherLogical, pMany, pCopyNo, pSurfChk)
14
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 , fLocation(location) {}
15