LCOV - code coverage report
Current view: top level - src/macho - header.rs (source / functions) Coverage Total Hit
Test: lief.lcov Lines: 43.9 % 139 61
Test Date: 2024-10-27:00:00:00 Functions: 51.6 % 31 16

Function Name Sort by function name Hit count Sort by function hit count Lines Sort by unexercised lines in function
<lief::macho::header::Flags as core::cmp::Ord>::cmp 1 3.3 % (1 / 30)
::clone 0
::cmp 0
::eq 0
::partial_cmp 0
::hash::<_> 0
::fmt 1
<u32 as core::convert::From<lief::macho::header::FileType>>::from 0 0.0 % (0 / 15)
<i32 as core::convert::From<lief::macho::header::CpuType>>::from 0 0.0 % (0 / 14)
<lief::macho::header::FileType as core::convert::From<u32>>::from 1 40.0 % (6 / 15)
<lief::macho::header::CpuType as core::convert::From<i32>>::from 1 50.0 % (7 / 14)
<u32 as core::convert::From<lief::macho::header::Flags>>::from 0 0.0 % (0 / 3)
<lief::macho::header::_::InternalBitFlags as core::str::traits::FromStr>::from_str::{closure#0} 0 0.0 % (0 / 1)
<lief::macho::header::CpuType as core::fmt::Debug>::fmt 1 100.0 % (1 / 1)
::clone 0
::eq 0
::hash::<_> 0
::fmt 1
<lief::macho::header::FileType as core::fmt::Debug>::fmt 1 100.0 % (1 / 1)
::clone 0
::eq 0
::hash::<_> 0
::fmt 1
<lief::macho::header::Flags as core::convert::From<u32>>::from 1 100.0 % (3 / 3)
<lief::macho::header::Header as core::fmt::Debug>::fmt 1 100.0 % (12 / 12)
<lief::macho::header::Header as lief::common::FromFFI<lief_ffi::autocxx_ffi::bindgen::root::MachO_Header>>::from_ffi 1 100.0 % (6 / 6)
<lief::macho::header::Header>::cpu_subtype 1 100.0 % (3 / 3)
<lief::macho::header::Header>::cpu_type 1 100.0 % (3 / 3)
<lief::macho::header::Header>::file_type 1 100.0 % (3 / 3)
<lief::macho::header::Header>::flags 1 100.0 % (3 / 3)
<lief::macho::header::Header>::magic 1 100.0 % (3 / 3)
<lief::macho::header::Header>::nb_cmds 1 100.0 % (3 / 3)
<lief::macho::header::Header>::reserved 1 100.0 % (3 / 3)
<lief::macho::header::Header>::sizeof_cmds 1 100.0 % (3 / 3)

Generated by: LCOV version 2.1-1