# Test coverage report for pyFAI

Measured on pyFAI version 0.19.0, 31/01/2020

Test suite coverage
Name | Stmts | Exec | Cover
--- | --- | --- | ---
__init__.py | 43 | 26 | 60.5 %
_version.py | 55 | 47 | 85.5 %
average.py | 496 | 357 | 72.0 %
azimuthalIntegrator.py | 1861 | 1097 | 58.9 %
blob_detection.py | 507 | 192 | 37.9 %
calibrant.py | 429 | 335 | 78.1 %
containers.py | 237 | 208 | 87.8 %
control_points.py | 346 | 120 | 34.7 %
diffmap.py | 347 | 51 | 14.7 %
directories.py | 23 | 18 | 78.3 %
distortion.py | 534 | 164 | 30.7 %
geometry.py | 1133 | 917 | 80.9 %
geometryRefinement.py | 540 | 223 | 41.3 %
goniometer.py | 442 | 168 | 38.0 %
grid.py | 36 | 15 | 41.7 %
massif.py | 223 | 176 | 78.9 %
method_registry.py | 227 | 199 | 87.7 %
multi_geometry.py | 142 | 103 | 72.5 %
spline.py | 428 | 258 | 60.3 %
units.py | 85 | 83 | 97.6 %
worker.py | 413 | 257 | 62.2 %
app/__init__.py | 7 | 7 | 100.0 %
app/average.py | 176 | 35 | 19.9 %
app/benchmark.py | 56 | 21 | 37.5 %
app/calib.py | 31 | 21 | 67.7 %
app/calib2.py | 342 | 37 | 10.8 %
app/check_calib.py | 34 | 23 | 67.6 %
app/detector2nexus.py | 88 | 20 | 22.7 %
app/diff_map.py | 37 | 17 | 45.9 %
app/diff_tomo.py | 110 | 26 | 23.6 %
app/drawmask.py | 106 | 31 | 29.2 %
app/eiger_mask.py | 58 | 23 | 39.7 %
app/integrate.py | 501 | 379 | 75.6 %
app/mx_calibrate.py | 32 | 21 | 65.6 %
app/recalib.py | 33 | 21 | 63.6 %
app/saxs.py | 89 | 26 | 29.2 %
app/waxs.py | 101 | 27 | 26.7 %
benchmark/__init__.py | 564 | 81 | 14.4 %
detectors/__init__.py | 20 | 20 | 100.0 %
detectors/_adsc.py | 78 | 78 | 100.0 %
detectors/_common.py | 685 | 444 | 64.8 %
detectors/_dectris.py | 305 | 190 | 62.3 %
detectors/_esrf.py | 97 | 81 | 83.5 %
detectors/_imxpad.py | 383 | 247 | 64.5 %
detectors/_others.py | 253 | 220 | 87.0 %
detectors/_rayonix.py | 261 | 226 | 86.6 %
engines/CSR_engine.py | 144 | 108 | 75.0 %
engines/__init__.py | 20 | 20 | 100.0 %
engines/histogram_engine.py | 73 | 43 | 58.9 %
engines/preproc.py | 104 | 75 | 72.1 %
ext/__init__.py | 3 | 3 | 100.0 %
gui/ApplicationContext.py | 105 | 48 | 45.7 %
gui/CalibrationContext.py | 215 | 126 | 58.6 %
gui/CalibrationWindow.py | 193 | 170 | 88.1 %
gui/IntegrationDialog.py | 206 | 55 | 26.7 %
gui/__init__.py | 4 | 4 | 100.0 %
gui/cli_calibration.py | 1529 | 101 | 6.6 %
gui/diffmap_widget.py | 353 | 62 | 17.6 %
gui/jupyter.py | 85 | 14 | 16.5 %
gui/matplotlib.py | 33 | 26 | 78.8 %
gui/peak_picker.py | 439 | 95 | 21.6 %
gui/dialog/Detector3dDialog.py | 174 | 37 | 21.3 %
gui/dialog/DetectorSelectorDialog.py | 433 | 319 | 73.7 %
gui/dialog/GeometryDialog.py | 233 | 26 | 11.2 %
gui/dialog/IntegrationMethodDialog.py | 217 | 37 | 17.1 %
gui/dialog/MessageBox.py | 28 | 9 | 32.1 %
gui/dialog/OpenClDeviceDialog.py | 117 | 15 | 12.8 %
gui/dialog/__init__.py | 4 | 4 | 100.0 %
gui/helper/MarkerManager.py | 210 | 66 | 31.4 %
gui/helper/ProcessingWidget.py | 20 | 7 | 35.0 %
gui/helper/RingCalibration.py | 293 | 47 | 16.0 %
gui/helper/RingExtractor.py | 239 | 36 | 15.1 %
gui/helper/SynchronizeMaskToolColor.py | 27 | 27 | 100.0 %
gui/helper/SynchronizePlotBackground.py | 27 | 27 | 100.0 %
gui/helper/SynchronizeRawView.py | 57 | 47 | 82.5 %
gui/helper/__init__.py | 4 | 4 | 100.0 %
gui/helper/model_transform.py | 114 | 17 | 14.9 %
gui/model/AbstractModel.py | 35 | 30 | 85.7 %
gui/model/CalibrantModel.py | 16 | 15 | 93.8 %
gui/model/CalibrationModel.py | 45 | 43 | 95.6 %
gui/model/ConstraintModel.py | 61 | 22 | 36.1 %
gui/model/DataModel.py | 16 | 15 | 93.8 %
gui/model/DataModelAdaptor.py | 28 | 13 | 46.4 %
gui/model/DetectorModel.py | 16 | 15 | 93.8 %
gui/model/ExperimentSettingsModel.py | 81 | 75 | 92.6 %
gui/model/FilenameModel.py | 22 | 15 | 68.2 %
gui/model/Fit2dGeometryModel.py | 65 | 17 | 26.2 %
gui/model/GeometryConstraintsModel.py | 87 | 42 | 48.3 %
gui/model/GeometryHistoryModel.py | 41 | 15 | 36.6 %
gui/model/GeometryModel.py | 86 | 41 | 47.7 %
gui/model/ImageModel.py | 73 | 41 | 56.2 %
gui/model/IntegrationSettingsModel.py | 27 | 24 | 88.9 %
gui/model/ListModel.py | 123 | 89 | 72.4 %
gui/model/MarkerModel.py | 43 | 34 | 79.1 %
gui/model/MaskedImageModel.py | 32 | 27 | 84.4 %
gui/model/PeakModel.py | 89 | 59 | 66.3 %
gui/model/PeakSelectionModel.py | 84 | 33 | 39.3 %
gui/model/PlotViewModel.py | 65 | 63 | 96.9 %
gui/model/__init__.py | 4 | 4 | 100.0 %
gui/tasks/AbstractCalibrationTask.py | 67 | 58 | 86.6 %
gui/tasks/ExperimentTask.py | 317 | 230 | 72.6 %
gui/tasks/GeometryTask.py | 795 | 371 | 46.7 %
gui/tasks/IntegrationTask.py | 768 | 298 | 38.8 %
gui/tasks/MaskTask.py | 213 | 137 | 64.3 %
gui/tasks/PeakPickingTask.py | 1351 | 581 | 43.0 %
gui/tasks/__init__.py | 4 | 4 | 100.0 %
gui/utils/FilterBuilder.py | 44 | 14 | 31.8 %
gui/utils/ProxyAction.py | 67 | 22 | 32.8 %
gui/utils/__init__.py | 34 | 14 | 41.2 %
gui/utils/colorutils.py | 47 | 7 | 14.9 %
gui/utils/eventutils.py | 72 | 40 | 55.6 %
gui/utils/imageutils.py | 27 | 15 | 55.6 %
gui/utils/projecturl.py | 20 | 19 | 95.0 %
gui/utils/timeutils.py | 13 | 11 | 84.6 %
gui/utils/tree.py | 116 | 25 | 21.6 %
gui/utils/units.py | 70 | 60 | 85.7 %
gui/utils/unitutils.py | 56 | 8 | 14.3 %
gui/utils/validators.py | 90 | 84 | 93.3 %
gui/widgets/AdvancedComboBox.py | 67 | 57 | 85.1 %
gui/widgets/AdvancedSpinBox.py | 21 | 12 | 57.1 %
gui/widgets/CalibrantPreview.py | 109 | 101 | 92.7 %
gui/widgets/CalibrantSelector.py | 92 | 68 | 73.9 %
gui/widgets/ChoiceToolButton.py | 72 | 44 | 61.1 %
gui/widgets/ColoredCheckBox.py | 29 | 12 | 41.4 %
gui/widgets/DetectorLabel.py | 119 | 71 | 59.7 %
gui/widgets/DetectorModel.py | 87 | 83 | 95.4 %
gui/widgets/DetectorSelector.py | 56 | 16 | 28.6 %
gui/widgets/ElidedLabel.py | 64 | 51 | 79.7 %
gui/widgets/FileEdit.py | 156 | 59 | 37.8 %
gui/widgets/FitParamView.py | 310 | 128 | 41.3 %
gui/widgets/GeometryHistoryComboBox.py | 114 | 63 | 55.3 %
gui/widgets/GeometryLabel.py | 38 | 31 | 81.6 %
gui/widgets/LoadImageToolButton.py | 118 | 51 | 43.2 %
gui/widgets/MethodLabel.py | 94 | 50 | 53.2 %
gui/widgets/MonitorNameEdit.py | 21 | 11 | 52.4 %
gui/widgets/OpenClDeviceLabel.py | 53 | 23 | 43.4 %
gui/widgets/QuantityEdit.py | 143 | 90 | 62.9 %
gui/widgets/QuantityLabel.py | 132 | 80 | 60.6 %
gui/widgets/UnitLabel.py | 69 | 35 | 50.7 %
gui/widgets/UnitSelector.py | 85 | 82 | 96.5 %
gui/widgets/WorkerConfigurator.py | 415 | 279 | 67.2 %
gui/widgets/__init__.py | 4 | 4 | 100.0 %
io/__init__.py | 522 | 310 | 59.4 %
io/image.py | 24 | 20 | 83.3 %
io/integration_config.py | 130 | 119 | 91.5 %
io/nexus.py | 163 | 119 | 73.0 %
io/ponifile.py | 138 | 119 | 86.2 %
opencl/OCLFullSplit.py | 198 | 23 | 11.6 %
opencl/__init__.py | 30 | 24 | 80.0 %
opencl/azim_csr.py | 446 | 250 | 56.1 %
opencl/azim_hist.py | 721 | 491 | 68.1 %
opencl/azim_lut.py | 194 | 153 | 78.9 %
opencl/ocl_hist_pixelsplit.py | 222 | 26 | 11.7 %
opencl/peak_finder.py | 151 | 19 | 12.6 %
opencl/preproc.py | 202 | 144 | 71.3 %
opencl/sort.py | 292 | 225 | 77.1 %
resources/__init__.py | 31 | 20 | 64.5 %
utils/__init__.py | 130 | 79 | 60.8 %
utils/bayes.py | 93 | 60 | 64.5 %
utils/decorators.py | 73 | 62 | 84.9 %
utils/ellipse.py | 58 | 54 | 93.1 %
utils/header_utils.py | 75 | 60 | 80.0 %
utils/logging_utils.py | 43 | 41 | 95.3 %
utils/mathutil.py | 381 | 262 | 68.8 %
utils/orderedset.py | 54 | 13 | 24.1 %
utils/shell.py | 56 | 47 | 83.9 %
utils/stringutil.py | 70 | 45 | 64.3 %
pyFAI total | 30972 | 16027 | 51.7 %