Test coverage report for pyFAI

Measured on pyFAI version 0.17.0, 19/12/2018

Test suite coverage
Name Stmts Exec Cover
__init__.py 43 24 55.8 %
_version.py 55 47 85.5 %
average.py 531 392 73.8 %
azimuthalIntegrator.py 1511 903 59.8 %
blob_detection.py 507 192 37.9 %
calibrant.py 407 326 80.1 %
containers.py 124 114 91.9 %
control_points.py 346 120 34.7 %
diffmap.py 321 44 13.7 %
directories.py 34 23 67.6 %
distortion.py 534 164 30.7 %
geometry.py 1110 887 79.9 %
geometryRefinement.py 524 213 40.6 %
goniometer.py 442 168 38.0 %
grid.py 36 15 41.7 %
io.py 565 321 56.8 %
massif.py 217 174 80.2 %
method_registry.py 139 115 82.7 %
multi_geometry.py 139 100 71.9 %
spline.py 426 251 58.9 %
units.py 85 83 97.6 %
worker.py 415 268 64.6 %
app/__init__.py 0 0 0.0 %
app/average.py 175 36 20.6 %
app/benchmark.py 51 19 37.3 %
app/calib.py 27 19 70.4 %
app/calib2.py 320 33 10.3 %
app/check_calib.py 28 19 67.9 %
app/detector2nexus.py 84 18 21.4 %
app/diff_map.py 30 15 50.0 %
app/diff_tomo.py 106 24 22.6 %
app/drawmask.py 107 31 29.0 %
app/eiger_mask.py 54 21 38.9 %
app/integrate.py 133 77 57.9 %
app/mx_calibrate.py 28 19 67.9 %
app/recalib.py 29 19 65.5 %
app/saxs.py 85 24 28.2 %
app/waxs.py 97 25 25.8 %
benchmark/__init__.py 539 79 14.7 %
detectors/__init__.py 20 20 100.0 %
detectors/_adsc.py 78 78 100.0 %
detectors/_common.py 666 435 65.3 %
detectors/_dectris.py 302 187 61.9 %
detectors/_esrf.py 97 81 83.5 %
detectors/_imxpad.py 373 237 63.5 %
detectors/_others.py 253 220 87.0 %
detectors/_rayonix.py 261 226 86.6 %
engines/CSR_engine.py 99 88 88.9 %
engines/__init__.py 20 20 100.0 %
engines/preproc.py 100 75 75.0 %
ext/__init__.py 0 0 0.0 %
gui/IntegrationDialog.py 189 116 61.4 %
gui/__init__.py 4 4 100.0 %
gui/cli_calibration.py 1529 101 6.6 %
gui/diffmap_widget.py 348 60 17.2 %
gui/integrate_widget.py 477 70 14.7 %
gui/jupyter.py 85 14 16.5 %
gui/matplotlib.py 33 26 78.8 %
gui/peak_picker.py 439 95 21.6 %
gui/calibration/AbstractCalibrationTask.py 67 58 86.6 %
gui/calibration/CalibrationContext.py 225 117 52.0 %
gui/calibration/CalibrationWindow.py 184 168 91.3 %
gui/calibration/DetectorSelectorDrop.py 387 288 74.4 %
gui/calibration/ExperimentTask.py 333 212 63.7 %
gui/calibration/GeometryTask.py 875 413 47.2 %
gui/calibration/IntegrationTask.py 643 289 44.9 %
gui/calibration/MaskTask.py 212 149 70.3 %
gui/calibration/PeakPickingTask.py 752 361 48.0 %
gui/calibration/RingCalibration.py 269 47 17.5 %
gui/calibration/RingExtractor.py 134 19 14.2 %
gui/calibration/__init__.py 4 4 100.0 %
gui/calibration/utils.py 124 62 50.0 %
gui/calibration/helper/MarkerManager.py 209 66 31.6 %
gui/calibration/helper/SynchronizeMaskToolColor.py 27 27 100.0 %
gui/calibration/helper/SynchronizePlotBackground.py 27 26 96.3 %
gui/calibration/helper/SynchronizeRawView.py 57 47 82.5 %
gui/calibration/helper/__init__.py 4 4 100.0 %
gui/calibration/helper/model_transform.py 61 12 19.7 %
gui/calibration/model/AbstractModel.py 28 27 96.4 %
gui/calibration/model/CalibrantModel.py 16 15 93.8 %
gui/calibration/model/CalibrationModel.py 41 39 95.1 %
gui/calibration/model/ConstraintModel.py 55 21 38.2 %
gui/calibration/model/DataModel.py 16 15 93.8 %
gui/calibration/model/DataModelAdaptor.py 28 13 46.4 %
gui/calibration/model/DetectorModel.py 16 15 93.8 %
gui/calibration/model/ExperimentSettingsModel.py 90 84 93.3 %
gui/calibration/model/GeometryConstraintsModel.py 83 41 49.4 %
gui/calibration/model/GeometryModel.py 63 39 61.9 %
gui/calibration/model/ImageModel.py 21 16 76.2 %
gui/calibration/model/IntegrationSettingsModel.py 27 24 88.9 %
gui/calibration/model/MarkerModel.py 43 34 79.1 %
gui/calibration/model/MaskedImageModel.py 32 27 84.4 %
gui/calibration/model/PeakModel.py 44 18 40.9 %
gui/calibration/model/PeakSelectionModel.py 66 31 47.0 %
gui/calibration/model/PlotViewModel.py 65 63 96.9 %
gui/calibration/model/__init__.py 4 4 100.0 %
gui/dialog/GeometryDialog.py 140 17 12.1 %
gui/dialog/OpenClDeviceDialog.py 117 15 12.8 %
gui/dialog/__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/eventutils.py 56 33 58.9 %
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 63 54 85.7 %
gui/utils/validators.py 64 58 90.6 %
gui/widgets/CalibrantPreview.py 115 102 88.7 %
gui/widgets/CalibrantSelector.py 92 68 73.9 %
gui/widgets/DetectorLabel.py 71 61 85.9 %
gui/widgets/DetectorModel.py 76 72 94.7 %
gui/widgets/DetectorSelector.py 56 16 28.6 %
gui/widgets/ElidedLabel.py 64 53 82.8 %
gui/widgets/FileEdit.py 63 39 61.9 %
gui/widgets/GeometryLabel.py 38 35 92.1 %
gui/widgets/OpenClDeviceLabel.py 53 23 43.4 %
gui/widgets/QuantityEdit.py 141 101 71.6 %
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 405 233 57.5 %
gui/widgets/__init__.py 4 4 100.0 %
opencl/OCLFullSplit.py 199 24 12.1 %
opencl/__init__.py 21 18 85.7 %
opencl/azim_csr.py 213 167 78.4 %
opencl/azim_hist.py 270 199 73.7 %
opencl/azim_lut.py 184 147 79.9 %
opencl/ocl_hist_pixelsplit.py 223 26 11.7 %
opencl/preproc.py 194 139 71.6 %
opencl/sort.py 286 222 77.6 %
resources/__init__.py 31 20 64.5 %
utils/__init__.py 130 76 58.5 %
utils/bayes.py 93 60 64.5 %
utils/decorators.py 73 62 84.9 %
utils/ellipse.py 40 37 92.5 %
utils/mathutil.py 367 259 70.6 %
utils/orderedset.py 54 13 24.1 %
utils/shell.py 43 38 88.4 %
utils/stringutil.py 35 34 97.1 %
       
pyFAI total 25794 13316 51.6 %