From e4b96c29394153f43a24a0e23871c0ae372cafc2 Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Thu, 24 Mar 2022 15:22:58 +0100 Subject: [PATCH] update code-coverage --- doc/source/coverage.rst | 55 ++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/doc/source/coverage.rst b/doc/source/coverage.rst index 7f31230c7..58f85a22e 100644 --- a/doc/source/coverage.rst +++ b/doc/source/coverage.rst @@ -1,24 +1,24 @@ Test coverage report for pyFAI ============================== -Measured on *pyFAI* version 0.21.0, 20/01/2022 +Measured on *pyFAI* version 0.21.3, 24/03/2022 .. csv-table:: Test suite coverage :header: "Name", "Stmts", "Exec", "Cover" :widths: 35, 8, 8, 8 "__init__.py", "44", "27", "61.4 %" - "_version.py", "54", "51", "94.4 %" + "_version.py", "54", "46", "85.2 %" "average.py", "495", "356", "71.9 %" - "azimuthalIntegrator.py", "1757", "1131", "64.4 %" + "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", "370", "59", "15.9 %" + "diffmap.py", "391", "57", "14.6 %" "directories.py", "21", "16", "76.2 %" - "distortion.py", "605", "387", "64.0 %" - "geometry.py", "1210", "969", "80.1 %" + "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 %" @@ -32,9 +32,9 @@ Measured on *pyFAI* version 0.21.0, 20/01/2022 "worker.py", "458", "284", "62.0 %" "app/__init__.py", "7", "7", "100.0 %" "app/average.py", "176", "35", "19.9 %" - "app/benchmark.py", "58", "21", "36.2 %" - "app/calib.py", "31", "21", "67.7 %" - "app/calib2.py", "342", "37", "10.8 %" + "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 %" @@ -42,35 +42,37 @@ Measured on *pyFAI* version 0.21.0, 20/01/2022 "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", "20", "64.5 %" - "app/peakfinder.py", "185", "37", "20.0 %" - "app/recalib.py", "32", "20", "62.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", "177", "37", "20.9 %" + "app/sparsify.py", "176", "36", "20.5 %" "app/waxs.py", "101", "27", "26.7 %" "benchmark/__init__.py", "569", "82", "14.4 %" - "detectors/__init__.py", "22", "22", "100.0 %" + "detectors/__init__.py", "24", "24", "100.0 %" "detectors/_adsc.py", "77", "77", "100.0 %" - "detectors/_common.py", "721", "490", "68.0 %" - "detectors/_dectris.py", "345", "233", "67.5 %" + "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 %" - "engines/CSR_engine.py", "182", "176", "96.7 %" + "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", "50", "46.7 %" + "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", "352", "62", "17.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 %" @@ -92,8 +94,9 @@ Measured on *pyFAI* version 0.21.0, 20/01/2022 "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", "85", "14", "16.5 %" + "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 %" @@ -121,7 +124,7 @@ Measured on *pyFAI* version 0.21.0, 20/01/2022 "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", "578", "42.8 %" + "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 %" @@ -168,11 +171,11 @@ Measured on *pyFAI* version 0.21.0, 20/01/2022 "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", "514", "376", "73.2 %" + "opencl/azim_csr.py", "518", "373", "72.0 %" "opencl/azim_hist.py", "458", "320", "69.9 %" - "opencl/azim_lut.py", "323", "235", "72.8 %" + "opencl/azim_lut.py", "327", "240", "73.4 %" "opencl/ocl_hist_pixelsplit.py", "223", "27", "12.1 %" - "opencl/peak_finder.py", "538", "402", "74.7 %" + "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 %" @@ -187,6 +190,6 @@ Measured on *pyFAI* version 0.21.0, 20/01/2022 "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", "62", "84.9 %" + "utils/stringutil.py", "73", "66", "90.4 %" - "pyFAI total", "33356", "18146", "54.4 %" + "pyFAI total", "33654", "18301", "54.4 %"