Test coverage report for pyFAI
Measured on pyFAI version 0.21.3, 24/03/2022
Name |
Stmts |
Exec |
Cover |
---|---|---|---|
__init__.py |
44 |
27 |
61.4 % |
_version.py |
54 |
46 |
85.2 % |
average.py |
495 |
356 |
71.9 % |
azimuthalIntegrator.py |
1753 |
1118 |
63.8 % |
blob_detection.py |
506 |
191 |
37.7 % |
calibrant.py |
431 |
340 |
78.9 % |
containers.py |
351 |
317 |
90.3 % |
control_points.py |
350 |
123 |
35.1 % |
diffmap.py |
391 |
57 |
14.6 % |
directories.py |
21 |
16 |
76.2 % |
distortion.py |
607 |
389 |
64.1 % |
geometry.py |
1210 |
976 |
80.7 % |
geometryRefinement.py |
535 |
257 |
48.0 % |
goniometer.py |
560 |
332 |
59.3 % |
grid.py |
36 |
15 |
41.7 % |
load_integrators.py |
140 |
101 |
72.1 % |
massif.py |
230 |
188 |
81.7 % |
method_registry.py |
244 |
213 |
87.3 % |
multi_geometry.py |
144 |
117 |
81.2 % |
parallax.py |
249 |
211 |
84.7 % |
spline.py |
427 |
252 |
59.0 % |
units.py |
109 |
102 |
93.6 % |
worker.py |
458 |
284 |
62.0 % |
app/__init__.py |
7 |
7 |
100.0 % |
app/average.py |
176 |
35 |
19.9 % |
app/benchmark.py |
58 |
20 |
34.5 % |
app/calib.py |
31 |
20 |
64.5 % |
app/calib2.py |
342 |
36 |
10.5 % |
app/check_calib.py |
32 |
21 |
65.6 % |
app/detector2nexus.py |
88 |
20 |
22.7 % |
app/diff_map.py |
37 |
17 |
45.9 % |
app/diff_tomo.py |
109 |
25 |
22.9 % |
app/drawmask.py |
106 |
31 |
29.2 % |
app/eiger_mask.py |
58 |
23 |
39.7 % |
app/integrate.py |
510 |
385 |
75.5 % |
app/mx_calibrate.py |
31 |
19 |
61.3 % |
app/peakfinder.py |
184 |
36 |
19.6 % |
app/recalib.py |
32 |
19 |
59.4 % |
app/saxs.py |
89 |
26 |
29.2 % |
app/sparsify.py |
176 |
36 |
20.5 % |
app/waxs.py |
101 |
27 |
26.7 % |
benchmark/__init__.py |
569 |
82 |
14.4 % |
detectors/__init__.py |
24 |
24 |
100.0 % |
detectors/_adsc.py |
77 |
77 |
100.0 % |
detectors/_common.py |
721 |
504 |
69.9 % |
detectors/_dectris.py |
345 |
234 |
67.8 % |
detectors/_esrf.py |
96 |
80 |
83.3 % |
detectors/_hexagonal.py |
71 |
68 |
95.8 % |
detectors/_imxpad.py |
392 |
252 |
64.3 % |
detectors/_non_flat.py |
155 |
128 |
82.6 % |
detectors/_others.py |
133 |
120 |
90.2 % |
detectors/_psi.py |
155 |
83 |
53.5 % |
detectors/_rayonix.py |
260 |
225 |
86.5 % |
detectors/_xspectrum.py |
45 |
42 |
93.3 % |
engines/CSR_engine.py |
189 |
182 |
96.3 % |
engines/__init__.py |
19 |
19 |
100.0 % |
engines/histogram_engine.py |
79 |
75 |
94.9 % |
engines/preproc.py |
103 |
74 |
71.8 % |
ext/__init__.py |
3 |
3 |
100.0 % |
gui/ApplicationContext.py |
107 |
52 |
48.6 % |
gui/CalibrationContext.py |
217 |
128 |
59.0 % |
gui/CalibrationWindow.py |
192 |
169 |
88.0 % |
gui/IntegrationDialog.py |
205 |
54 |
26.3 % |
gui/__init__.py |
4 |
4 |
100.0 % |
gui/cli_calibration.py |
1526 |
100 |
6.6 % |
gui/diffmap_widget.py |
362 |
63 |
17.4 % |
gui/matplotlib.py |
33 |
26 |
78.8 % |
gui/mpl_calib.py |
224 |
40 |
17.9 % |
gui/mpl_calib_qt.py |
49 |
21 |
42.9 % |
gui/peak_picker.py |
286 |
94 |
32.9 % |
gui/dialog/Detector3dDialog.py |
173 |
36 |
20.8 % |
gui/dialog/DetectorSelectorDialog.py |
432 |
318 |
73.6 % |
gui/dialog/GeometryDialog.py |
232 |
25 |
10.8 % |
gui/dialog/IntegrationMethodDialog.py |
216 |
36 |
16.7 % |
gui/dialog/MessageBox.py |
27 |
8 |
29.6 % |
gui/dialog/OpenClDeviceDialog.py |
116 |
14 |
12.1 % |
gui/dialog/__init__.py |
4 |
4 |
100.0 % |
gui/helper/MarkerManager.py |
209 |
65 |
31.1 % |
gui/helper/ProcessingWidget.py |
19 |
6 |
31.6 % |
gui/helper/RingCalibration.py |
306 |
47 |
15.4 % |
gui/helper/RingExtractor.py |
238 |
35 |
14.7 % |
gui/helper/SynchronizeMaskToolColor.py |
27 |
27 |
100.0 % |
gui/helper/SynchronizePlotBackground.py |
27 |
27 |
100.0 % |
gui/helper/SynchronizeRawView.py |
56 |
46 |
82.1 % |
gui/helper/__init__.py |
4 |
4 |
100.0 % |
gui/helper/model_transform.py |
113 |
16 |
14.2 % |
gui/jupyter/__init__.py |
1 |
1 |
100.0 % |
gui/jupyter/_plot.py |
88 |
15 |
17.0 % |
gui/jupyter/calib.py |
71 |
22 |
31.0 % |
gui/jupyter/peak_picker.py |
134 |
28 |
20.9 % |
gui/model/AbstractModel.py |
35 |
30 |
85.7 % |
gui/model/CalibrantModel.py |
15 |
14 |
93.3 % |
gui/model/CalibrationModel.py |
44 |
42 |
95.5 % |
gui/model/ConstraintModel.py |
60 |
21 |
35.0 % |
gui/model/DataModel.py |
15 |
14 |
93.3 % |
gui/model/DataModelAdaptor.py |
27 |
12 |
44.4 % |
gui/model/DetectorModel.py |
15 |
14 |
93.3 % |
gui/model/ExperimentSettingsModel.py |
80 |
74 |
92.5 % |
gui/model/FilenameModel.py |
21 |
14 |
66.7 % |
gui/model/Fit2dGeometryModel.py |
64 |
16 |
25.0 % |
gui/model/GeometryConstraintsModel.py |
86 |
41 |
47.7 % |
gui/model/GeometryHistoryModel.py |
40 |
14 |
35.0 % |
gui/model/GeometryModel.py |
85 |
40 |
47.1 % |
gui/model/ImageModel.py |
72 |
40 |
55.6 % |
gui/model/IntegrationSettingsModel.py |
26 |
23 |
88.5 % |
gui/model/ListModel.py |
122 |
88 |
72.1 % |
gui/model/MarkerModel.py |
42 |
33 |
78.6 % |
gui/model/MaskedImageModel.py |
31 |
26 |
83.9 % |
gui/model/PeakModel.py |
88 |
58 |
65.9 % |
gui/model/PeakSelectionModel.py |
83 |
32 |
38.6 % |
gui/model/PlotViewModel.py |
64 |
62 |
96.9 % |
gui/model/__init__.py |
4 |
4 |
100.0 % |
gui/tasks/AbstractCalibrationTask.py |
66 |
57 |
86.4 % |
gui/tasks/ExperimentTask.py |
316 |
229 |
72.5 % |
gui/tasks/GeometryTask.py |
796 |
371 |
46.6 % |
gui/tasks/IntegrationTask.py |
769 |
297 |
38.6 % |
gui/tasks/MaskTask.py |
219 |
141 |
64.4 % |
gui/tasks/PeakPickingTask.py |
1349 |
579 |
42.9 % |
gui/tasks/__init__.py |
4 |
4 |
100.0 % |
gui/utils/FilterBuilder.py |
43 |
13 |
30.2 % |
gui/utils/ProxyAction.py |
66 |
21 |
31.8 % |
gui/utils/__init__.py |
34 |
14 |
41.2 % |
gui/utils/colorutils.py |
46 |
6 |
13.0 % |
gui/utils/eventutils.py |
71 |
39 |
54.9 % |
gui/utils/imageutils.py |
26 |
14 |
53.8 % |
gui/utils/projecturl.py |
20 |
19 |
95.0 % |
gui/utils/timeutils.py |
12 |
10 |
83.3 % |
gui/utils/tree.py |
118 |
25 |
21.2 % |
gui/utils/units.py |
76 |
66 |
86.8 % |
gui/utils/unitutils.py |
56 |
8 |
14.3 % |
gui/utils/validators.py |
89 |
83 |
93.3 % |
gui/widgets/AdvancedComboBox.py |
66 |
56 |
84.8 % |
gui/widgets/AdvancedSpinBox.py |
20 |
11 |
55.0 % |
gui/widgets/CalibrantPreview.py |
108 |
100 |
92.6 % |
gui/widgets/CalibrantSelector.py |
91 |
67 |
73.6 % |
gui/widgets/ChoiceToolButton.py |
71 |
43 |
60.6 % |
gui/widgets/ColoredCheckBox.py |
28 |
11 |
39.3 % |
gui/widgets/DetectorLabel.py |
118 |
70 |
59.3 % |
gui/widgets/DetectorModel.py |
86 |
82 |
95.3 % |
gui/widgets/DetectorSelector.py |
55 |
15 |
27.3 % |
gui/widgets/ElidedLabel.py |
64 |
51 |
79.7 % |
gui/widgets/FileEdit.py |
155 |
58 |
37.4 % |
gui/widgets/FitParamView.py |
309 |
127 |
41.1 % |
gui/widgets/GeometryHistoryComboBox.py |
113 |
60 |
53.1 % |
gui/widgets/GeometryLabel.py |
37 |
30 |
81.1 % |
gui/widgets/LoadImageToolButton.py |
117 |
50 |
42.7 % |
gui/widgets/MethodLabel.py |
93 |
49 |
52.7 % |
gui/widgets/MonitorNameEdit.py |
20 |
10 |
50.0 % |
gui/widgets/OpenClDeviceLabel.py |
52 |
22 |
42.3 % |
gui/widgets/QuantityEdit.py |
142 |
89 |
62.7 % |
gui/widgets/QuantityLabel.py |
132 |
80 |
60.6 % |
gui/widgets/UnitLabel.py |
69 |
35 |
50.7 % |
gui/widgets/UnitSelector.py |
84 |
81 |
96.4 % |
gui/widgets/WorkerConfigurator.py |
458 |
302 |
65.9 % |
gui/widgets/__init__.py |
4 |
4 |
100.0 % |
io/__init__.py |
526 |
320 |
60.8 % |
io/image.py |
24 |
20 |
83.3 % |
io/integration_config.py |
138 |
124 |
89.9 % |
io/nexus.py |
197 |
138 |
70.1 % |
io/ponifile.py |
156 |
149 |
95.5 % |
io/sparse_frame.py |
107 |
20 |
18.7 % |
io/spots.py |
80 |
21 |
26.2 % |
opencl/OCLFullSplit.py |
199 |
24 |
12.1 % |
opencl/__init__.py |
30 |
24 |
80.0 % |
opencl/azim_csr.py |
518 |
373 |
72.0 % |
opencl/azim_hist.py |
458 |
320 |
69.9 % |
opencl/azim_lut.py |
327 |
240 |
73.4 % |
opencl/ocl_hist_pixelsplit.py |
223 |
27 |
12.1 % |
opencl/peak_finder.py |
539 |
403 |
74.8 % |
opencl/preproc.py |
204 |
146 |
71.6 % |
opencl/sort.py |
291 |
224 |
77.0 % |
resources/__init__.py |
31 |
20 |
64.5 % |
utils/__init__.py |
129 |
77 |
59.7 % |
utils/bayes.py |
100 |
67 |
67.0 % |
utils/callback.py |
14 |
11 |
78.6 % |
utils/decorators.py |
72 |
70 |
97.2 % |
utils/ellipse.py |
74 |
71 |
95.9 % |
utils/grid.py |
87 |
64 |
73.6 % |
utils/header_utils.py |
74 |
59 |
79.7 % |
utils/logging_utils.py |
43 |
41 |
95.3 % |
utils/mathutil.py |
398 |
278 |
69.8 % |
utils/orderedset.py |
54 |
13 |
24.1 % |
utils/shell.py |
55 |
46 |
83.6 % |
utils/stringutil.py |
73 |
66 |
90.4 % |
pyFAI total |
33654 |
18301 |
54.4 % |