Test coverage report for pyFAI

Measured on pyFAI version 0.16.0, 26/10/2018

Test suite coverage
Name Stmts Exec Cover
__init__.py 43 24 55.8 %
_version.py 42 35 83.3 %
average.py 531 392 73.8 %
azimuthalIntegrator.py 1460 1077 73.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 21 61.8 %
distortion.py 534 164 30.7 %
geometry.py 1099 888 80.8 %
geometryRefinement.py 521 210 40.3 %
goniometer.py 442 168 38.0 %
grid.py 36 15 41.7 %
io.py 565 321 56.8 %
massif.py 217 176 81.1 %
multi_geometry.py 139 100 71.9 %
preproc.py 96 75 78.1 %
spline.py 426 251 58.9 %
units.py 83 81 97.6 %
worker.py 392 256 65.3 %
app/__init__.py 0 0 0.0 %
app/average.py 175 36 20.6 %
app/benchmark.py 51 18 35.3 %
app/calib.py 27 18 66.7 %
app/calib2.py 311 32 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 138 77 55.8 %
app/mx_calibrate.py 28 18 64.3 %
app/recalib.py 29 18 62.1 %
app/saxs.py 82 21 25.6 %
app/waxs.py 91 21 23.1 %
benchmark/__init__.py 539 79 14.7 %
detectors/__init__.py 20 20 100.0 %
detectors/_adsc.py 78 78 100.0 %
detectors/_common.py 649 433 66.7 %
detectors/_dectris.py 302 187 61.9 %
detectors/_esrf.py 97 80 82.5 %
detectors/_imxpad.py 370 236 63.8 %
detectors/_others.py 253 220 87.0 %
detectors/_rayonix.py 261 226 86.6 %
ext/__init__.py 0 0 0.0 %
gui/__init__.py 4 4 100.0 %
gui/cli_calibration.py 1529 101 6.6 %
gui/diffmap_widget.py 351 61 17.4 %
gui/integrate_widget.py 477 274 57.4 %
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 211 106 50.2 %
gui/calibration/CalibrationWindow.py 184 168 91.3 %
gui/calibration/DetectorSelectorDrop.py 375 43 11.5 %
gui/calibration/ExperimentTask.py 328 207 63.1 %
gui/calibration/GeometryTask.py 591 291 49.2 %
gui/calibration/IntegrationTask.py 607 252 41.5 %
gui/calibration/MaskTask.py 187 133 71.1 %
gui/calibration/PeakPickingTask.py 767 359 46.8 %
gui/calibration/RingCalibration.py 189 33 17.5 %
gui/calibration/RingExtractor.py 121 17 14.0 %
gui/calibration/__init__.py 4 4 100.0 %
gui/calibration/utils.py 127 57 44.9 %
gui/calibration/helper/MarkerManager.py 209 66 31.6 %
gui/calibration/helper/SynchronizeRawView.py 39 37 94.9 %
gui/calibration/helper/__init__.py 4 4 100.0 %
gui/calibration/model/AbstractModel.py 25 17 68.0 %
gui/calibration/model/CalibrantModel.py 16 15 93.8 %
gui/calibration/model/CalibrationModel.py 41 39 95.1 %
gui/calibration/model/ConstraintModel.py 28 17 60.7 %
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 61 59 96.7 %
gui/calibration/model/GeometryConstraintsModel.py 52 38 73.1 %
gui/calibration/model/GeometryModel.py 63 39 61.9 %
gui/calibration/model/IntegrationSettingsModel.py 27 24 88.9 %
gui/calibration/model/MarkerModel.py 43 34 79.1 %
gui/calibration/model/PeakModel.py 43 18 41.9 %
gui/calibration/model/PeakSelectionModel.py 41 23 56.1 %
gui/calibration/model/PlotViewModel.py 16 16 100.0 %
gui/calibration/model/__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 16 13 81.2 %
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 61 52 85.2 %
gui/utils/validators.py 61 39 63.9 %
gui/widgets/CalibrantPreview.py 115 101 87.8 %
gui/widgets/CalibrantSelector.py 92 68 73.9 %
gui/widgets/DetectorLabel.py 62 48 77.4 %
gui/widgets/DetectorManufacturer.py 58 14 24.1 %
gui/widgets/DetectorModel.py 76 17 22.4 %
gui/widgets/DetectorSelector.py 56 16 28.6 %
gui/widgets/ElidedLabel.py 55 40 72.7 %
gui/widgets/FileEdit.py 63 38 60.3 %
gui/widgets/QuantityEdit.py 122 80 65.6 %
gui/widgets/QuantityLabel.py 132 80 60.6 %
gui/widgets/UnitLabel.py 69 35 50.7 %
gui/widgets/UnitSelector.py 75 69 92.0 %
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 192 71.1 %
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 80 61.5 %
utils/bayes.py 93 60 64.5 %
utils/decorators.py 59 44 74.6 %
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 24 23 95.8 %
       
pyFAI total 23621 12153 51.4 %