Coverage report:
79%
hide covered
Files
Functions
Classes
coverage.py v7.15.4
, created at 2026-08-13 17:41 +0200
File
function
statements
missing
excluded
coverage
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.__init__
9
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.set_plot_style
11
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.load_data
10
10
0
0%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.load_csv
15
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.select_region
9
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.normalize_data
5
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.pseudo_voigt
5
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.pseudo_voigt_multiple
26
2
0
92%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.fit_peaks
42
1
0
98%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor._process_fit_results
25
3
0
88%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.calculate_peak_metrics
35
3
0
91%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.plot_results
22
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor._print_detailed_results
16
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor._calculate_and_print_percentages
8
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor.save_results
4
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor._save_peak_data
4
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor._save_metrics
15
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
NMRProcessor._save_plot
3
0
0
100%
src
/
nmrlineshapeanalyser
/
core.py
(no function)
38
38
0
0%
test
/
test_analyser_2.py
TestNMRProcessor.setUp
11
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.tearDown
5
2
0
60%
test
/
test_analyser_2.py
TestNMRProcessor.test_load_csv
9
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_load_csv_file_not_found
3
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_load_csv_missing_columns
5
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_select_region
8
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_normalize_data
32
1
0
97%
test
/
test_analyser_2.py
TestNMRProcessor.test_pseudo_voigt
7
7
0
0%
test
/
test_analyser_2.py
TestNMRProcessor.test_pseudo_voigt
8
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_fit_peaks
11
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_single_peak_no_fixed_params
7
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_single_peak_fixed_x0
12
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_multiple_peaks_no_fixed_params
8
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_multiple_peaks_fixed_x0
9
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_multiple_peaks_mixed_fixed_x0
8
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_invalid_params_length
5
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_edge_cases
17
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_invalid_input_handling
12
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_plot_results
14
0
0
100%
test
/
test_analyser_2.py
TestNMRProcessor.test_save_results
29
2
0
93%
test
/
test_analyser_2.py
(no function)
50
50
0
0%
Total
572
119
0
79%
No items found using the specified filter.