GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/distances.cc
Date: 2024-09-11 11:37:19
Exec Total Coverage
Lines: 5 5 100.0%
Branches: 9 16 56.2%

Line Branch Exec Source
1 //
2 // Implemention of IDL interfaces in file /root/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-5.1.0/idl/hpp/core_idl/distances.idl
3 //
4
5 #include <hpp/core_idl/distances.hh>
6
7
8
9 namespace hpp {
10 namespace corbaServer {
11 template <>
12 16 std::vector< ServantFactoryBase<hpp::core_impl::Distance>* >& objectDowncasts<hpp::core_impl::Distance> ()
13 {
14
3/4
✓ Branch 0 taken 8 times.
✓ Branch 1 taken 8 times.
✓ Branch 3 taken 8 times.
✗ Branch 4 not taken.
16 static std::vector< ServantFactoryBase<hpp::core_impl::Distance>* > vector;
15 16 return vector;
16 }
17 } // namespace corbaServer
18 } // namespace hpp
19
20
21
22 namespace hpp {
23
24 namespace core_impl {
25
3/6
✓ Branch 1 taken 8 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 8 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 8 times.
✗ Branch 8 not taken.
8 HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(Distance, Distance, 0)
26 } // namespace core_impl
27
28 } // namespace hpp
29
30 namespace hpp {
31
32 namespace core_impl {
33
3/6
✓ Branch 1 taken 8 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 8 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 8 times.
✗ Branch 8 not taken.
8 HPP_CORBASERVER_ADD_DOWNCAST_OBJECT(WeighedDistance, Distance, 1)
34 } // namespace core_impl
35
36 } // namespace hpp
37
38
39
40
41
42
43