Coverage report: 77%

Files Functions Classes

coverage.py v7.8.0, created at 2025-04-01 09:51 +0000

File class statements missing excluded coverage
bioimageio/core/__init__.py (no class) 24 0 0 100%
bioimageio/core/__main__.py (no class) 6 1 0 83%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin 51 40 0 22%
bioimageio/core/_magic_tensor_ops.py (no class) 103 0 0 100%
bioimageio/core/_op_base.py Operator 2 0 0 100%
bioimageio/core/_op_base.py BlockedOperator 1 0 0 100%
bioimageio/core/_op_base.py (no class) 16 0 0 100%
bioimageio/core/_prediction_pipeline.py PredictionPipeline 74 9 0 88%
bioimageio/core/_prediction_pipeline.py (no class) 48 4 1 92%
bioimageio/core/_resource_tests.py DeprecatedKwargs 0 0 0 100%
bioimageio/core/_resource_tests.py (no class) 304 119 2 61%
bioimageio/core/_settings.py Settings 0 0 0 100%
bioimageio/core/_settings.py (no class) 10 0 0 100%
bioimageio/core/axis.py Axis 12 2 1 83%
bioimageio/core/axis.py AxisInfo 19 12 1 37%
bioimageio/core/axis.py (no class) 37 3 0 92%
bioimageio/core/backends/__init__.py (no class) 2 0 0 100%
bioimageio/core/backends/_model_adapter.py ModelAdapter 73 24 1 67%
bioimageio/core/backends/_model_adapter.py (no class) 26 0 0 100%
bioimageio/core/backends/keras_backend.py KerasModelAdapter 20 5 0 75%
bioimageio/core/backends/keras_backend.py (no class) 23 3 0 87%
bioimageio/core/backends/onnx_backend.py ONNXModelAdapter 15 3 0 80%
bioimageio/core/backends/onnx_backend.py (no class) 12 0 0 100%
bioimageio/core/backends/pytorch_backend.py PytorchModelAdapter 37 7 2 81%
bioimageio/core/backends/pytorch_backend.py (no class) 55 8 0 85%
bioimageio/core/backends/tensorflow_backend.py TensorflowModelAdapter 23 23 0 0%
bioimageio/core/backends/tensorflow_backend.py KerasModelAdapter 21 5 0 76%
bioimageio/core/backends/tensorflow_backend.py (no class) 33 4 0 88%
bioimageio/core/backends/torchscript_backend.py TorchscriptModelAdapter 24 3 0 88%
bioimageio/core/backends/torchscript_backend.py (no class) 13 0 0 100%
bioimageio/core/block.py Block 10 1 0 90%
bioimageio/core/block.py (no class) 25 4 0 84%
bioimageio/core/block_meta.py LinearAxisTransform 1 0 0 100%
bioimageio/core/block_meta.py BlockMeta 19 5 0 74%
bioimageio/core/block_meta.py (no class) 106 15 0 86%
bioimageio/core/cli.py CmdBase 0 0 0 100%
bioimageio/core/cli.py ArgMixin 0 0 0 100%
bioimageio/core/cli.py WithSummaryLogging 1 1 0 0%
bioimageio/core/cli.py WithSource 7 1 0 86%
bioimageio/core/cli.py ValidateFormatCmd 3 3 0 0%
bioimageio/core/cli.py TestCmd 1 0 0 100%
bioimageio/core/cli.py PackageCmd 4 2 0 50%
bioimageio/core/cli.py UpdateCmdBase 24 4 1 83%
bioimageio/core/cli.py UpdateFormatCmd 1 0 0 100%
bioimageio/core/cli.py UpdateHashesCmd 1 0 0 100%
bioimageio/core/cli.py PredictCmd 99 22 1 78%
bioimageio/core/cli.py AddWeightsCmd 7 2 0 71%
bioimageio/core/cli.py Bioimageio 10 0 0 100%
bioimageio/core/cli.py (no class) 210 29 0 86%
bioimageio/core/commands.py (no class) 31 7 0 77%
bioimageio/core/common.py _LeftRight 6 0 1 100%
bioimageio/core/common.py CropWidth 0 0 0 100%
bioimageio/core/common.py Halo 0 0 0 100%
bioimageio/core/common.py OverlapWidth 0 0 0 100%
bioimageio/core/common.py PadWidth 0 0 0 100%
bioimageio/core/common.py SliceInfo 0 0 0 100%
bioimageio/core/common.py (no class) 46 0 0 100%
bioimageio/core/dataset.py (no class) 3 0 0 100%
bioimageio/core/digest_spec.py IO_SampleBlockMeta 0 0 0 100%
bioimageio/core/digest_spec.py (no class) 205 28 5 86%
bioimageio/core/io.py _SerializedDatasetStatsEntry 0 0 0 100%
bioimageio/core/io.py (no class) 138 33 1 76%
bioimageio/core/model_adapters.py (no class) 5 1 0 80%
bioimageio/core/prediction.py (no class) 57 22 0 61%
bioimageio/core/proc_ops.py _SimpleOperator 14 4 1 71%
bioimageio/core/proc_ops.py AddKnownDatasetStats 2 2 0 0%
bioimageio/core/proc_ops.py UpdateStats 10 5 0 50%
bioimageio/core/proc_ops.py Binarize 6 5 1 17%
bioimageio/core/proc_ops.py Clip 5 2 0 60%
bioimageio/core/proc_ops.py EnsureDtype 4 2 0 50%
bioimageio/core/proc_ops.py ScaleLinear 19 10 1 47%
bioimageio/core/proc_ops.py ScaleMeanVariance 21 6 0 71%
bioimageio/core/proc_ops.py ScaleRange 25 5 0 80%
bioimageio/core/proc_ops.py Sigmoid 6 2 0 67%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance 14 2 0 86%
bioimageio/core/proc_ops.py FixedZeroMeanUnitVariance 15 9 1 40%
bioimageio/core/proc_ops.py (no class) 191 9 3 95%
bioimageio/core/proc_setup.py PreAndPostprocessing 0 0 0 100%
bioimageio/core/proc_setup.py _ProcessingCallables 0 0 0 100%
bioimageio/core/proc_setup.py _SetupProcessing 0 0 0 100%
bioimageio/core/proc_setup.py _ApplyProcs 4 0 0 100%
bioimageio/core/proc_setup.py RequiredMeasures 0 0 0 100%
bioimageio/core/proc_setup.py RequiredDatasetMeasures 0 0 0 100%
bioimageio/core/proc_setup.py RequiredSampleMeasures 0 0 0 100%
bioimageio/core/proc_setup.py (no class) 87 7 2 92%
bioimageio/core/sample.py Sample 23 5 0 78%
bioimageio/core/sample.py SampleBlockBase 2 2 0 0%
bioimageio/core/sample.py LinearSampleAxisTransform 0 0 0 100%
bioimageio/core/sample.py SampleBlockMeta 11 1 0 91%
bioimageio/core/sample.py SampleBlock 2 0 0 100%
bioimageio/core/sample.py SampleBlockWithOrigin 0 0 0 100%
bioimageio/core/sample.py _ConsolidatedMemberBlocks 7 0 0 100%
bioimageio/core/sample.py (no class) 73 0 0 100%
bioimageio/core/stat_calculators.py MeanCalculator 30 30 0 0%
bioimageio/core/stat_calculators.py MeanVarStdCalculator 50 3 0 94%
bioimageio/core/stat_calculators.py SamplePercentilesCalculator 8 0 0 100%
bioimageio/core/stat_calculators.py MeanPercentilesCalculator 20 3 0 85%
bioimageio/core/stat_calculators.py CrickPercentilesCalculator 37 37 0 0%
bioimageio/core/stat_calculators.py NaiveSampleMeasureCalculator 4 4 0 0%
bioimageio/core/stat_calculators.py StatsCalculator 37 7 0 81%
bioimageio/core/stat_calculators.py (no class) 141 22 1 84%
bioimageio/core/stat_measures.py SampleLike 1 0 0 100%
bioimageio/core/stat_measures.py MeasureBase 0 0 0 100%
bioimageio/core/stat_measures.py SampleMeasureBase 1 1 0 0%
bioimageio/core/stat_measures.py DatasetMeasureBase 0 0 0 100%
bioimageio/core/stat_measures.py _Mean 0 0 0 100%
bioimageio/core/stat_measures.py SampleMean 3 0 0 100%
bioimageio/core/stat_measures.py DatasetMean 1 0 0 100%
bioimageio/core/stat_measures.py _Std 0 0 0 100%
bioimageio/core/stat_measures.py SampleStd 3 0 0 100%
bioimageio/core/stat_measures.py DatasetStd 1 0 0 100%
bioimageio/core/stat_measures.py _Var 0 0 0 100%
bioimageio/core/stat_measures.py SampleVar 3 0 0 100%
bioimageio/core/stat_measures.py DatasetVar 1 0 0 100%
bioimageio/core/stat_measures.py _Quantile 2 0 0 100%
bioimageio/core/stat_measures.py SampleQuantile 4 0 0 100%
bioimageio/core/stat_measures.py DatasetPercentile 2 0 0 100%
bioimageio/core/stat_measures.py (no class) 76 4 0 95%
bioimageio/core/tensor.py Tensor 143 26 2 82%
bioimageio/core/tensor.py (no class) 91 8 2 91%
bioimageio/core/utils/__init__.py (no class) 12 3 0 75%
bioimageio/core/utils/_compare.py (no class) 9 1 1 89%
bioimageio/core/weight_converters/__init__.py (no class) 2 0 0 100%
bioimageio/core/weight_converters/_add_weights.py (no class) 82 54 0 34%
bioimageio/core/weight_converters/_utils_onnx.py (no class) 11 0 0 100%
bioimageio/core/weight_converters/keras_to_tensorflow.py (no class) 68 68 0 0%
bioimageio/core/weight_converters/pytorch_to_onnx.py (no class) 24 1 0 96%
bioimageio/core/weight_converters/pytorch_to_torchscript.py (no class) 20 1 0 95%
bioimageio/core/weight_converters/torchscript_to_onnx.py (no class) 27 27 0 0%
Total   3559 833 32 77%

No items found using the specified filter.