LCOV - code coverage report
Current view:
top level
-
src
- util.c
(
source
/ functions)
Coverage
Total
Hit
Test:
InChI Unit Test Coverage
Lines:
64.3 %
589
379
Test Date:
2026-12-03 11:58:49
Functions:
80.0 %
45
36
Legend:
Lines:
hit
not hit
| Branches:
+
taken
-
not taken
#
not executed
Branches:
59.5 %
593
353
Function Name
Hit count
detect_unusual_el_valence
90647
dotify_non_printable_chars
3
el_number_in_internal_ref_table
26062
extract_H_atoms
1
extract_auxinfo_substring
15
extract_charges_and_radicals
0
extract_inchi_substring
17
get_atomic_mass
6
get_atomic_mass_from_elnum
16
get_el_type
22
get_el_valence
275846
get_element_chemical_symbol
16388
get_element_or_pseudoelement_symbol
1833
get_endpoint_valence
52627
get_endpoint_valence_KET
0
get_num_H
25528
get_periodic_table_number
18442
get_unusual_el_valence
9125
has_other_ion_in_sphere_2
0
has_other_ion_neigh
0
if_skip_add_H
18446
inchi__strdup
206
inchi__strnset
0
inchi_memicmp
763
inchi_stricmp
3735
ion_el_group
221
is_el_a_metal
154524
is_ilist_inside
2
is_in_the_ilist
526
is_in_the_list
32305
is_matching_any_delim
362473
lrtrim
56167
mystrncpy
121303
nBondsValToMetal
0
nNoMetalBondsValence
679
nNoMetalNeighIndex
128
nNoMetalNumBonds
1502
nNoMetalOtherNeighIndex
0
nNoMetalOtherNeighIndex2
0
needed_unusual_el_valence
18518
normalize_string
0
num_of_H
157
read_upto_delim
84945
remove_one_lf
18967
remove_trailing_spaces
17098
Generated by:
LCOV version 2.0-1