GCC Code Coverage Report


Directory: ./
File: src/lock.cpp
Date: 2022-06-30 06:29:57
Exec Total Coverage
Lines: 3 3 100.0%
Branches: 2 4 50.0%

Line Branch Exec Source
1 #include "shared_memory/lock.hpp"
2
3 namespace shared_memory
4 {
5 20 Lock::Lock(Mutex &mutex) : lock_(mutex.mutex_)
6 {
7 20 }
8
9
2/4
✓ Branch 1 taken 54 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 54 times.
✗ Branch 4 not taken.
162 } // namespace shared_memory
10