Coverage report: 73%

Files Functions Classes

coverage.py v7.6.7, created at 2024-11-19 09:02 +0000

File class statements missing excluded coverage
bioimageio/core/__init__.py (no class) 22 0 0 100%
bioimageio/core/__main__.py (no class) 6 1 0 83%
bioimageio/core/_magic_tensor_ops.py MagicTensorOpsMixin 51 41 0 20%
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 68 8 0 88%
bioimageio/core/_prediction_pipeline.py (no class) 46 4 1 91%
bioimageio/core/_resource_tests.py (no class) 169 43 0 75%
bioimageio/core/_settings.py Settings 0 0 0 100%
bioimageio/core/_settings.py (no class) 10 0 0 100%
bioimageio/core/axis.py Axis 8 2 1 75%
bioimageio/core/axis.py AxisInfo 19 6 1 68%
bioimageio/core/axis.py (no class) 35 3 0 91%
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 WithSource 4 1 0 75%
bioimageio/core/cli.py ValidateFormatCmd 1 1 0 0%
bioimageio/core/cli.py TestCmd 1 0 0 100%
bioimageio/core/cli.py PackageCmd 4 2 0 50%
bioimageio/core/cli.py PredictCmd 97 22 1 77%
bioimageio/core/cli.py Bioimageio 10 0 0 100%
bioimageio/core/cli.py (no class) 155 29 0 81%
bioimageio/core/commands.py (no class) 29 5 0 83%
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) 40 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) 162 17 4 90%
bioimageio/core/io.py _SerializedDatasetStatsEntry 0 0 0 100%
bioimageio/core/io.py (no class) 86 11 0 87%
bioimageio/core/model_adapters/__init__.py (no class) 2 0 0 100%
bioimageio/core/model_adapters/_keras_model_adapter.py KerasModelAdapter 26 26 0 0%
bioimageio/core/model_adapters/_keras_model_adapter.py (no class) 29 4 0 86%
bioimageio/core/model_adapters/_model_adapter.py ModelAdapter 46 27 0 41%
bioimageio/core/model_adapters/_model_adapter.py (no class) 20 1 0 95%
bioimageio/core/model_adapters/_onnx_model_adapter.py ONNXModelAdapter 19 4 0 79%
bioimageio/core/model_adapters/_onnx_model_adapter.py (no class) 18 3 0 83%
bioimageio/core/model_adapters/_pytorch_model_adapter.py PytorchModelAdapter 44 8 0 82%
bioimageio/core/model_adapters/_pytorch_model_adapter.py (no class) 23 3 0 87%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapterBase 68 68 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py TensorflowModelAdapter 3 3 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py KerasModelAdapter 3 3 0 0%
bioimageio/core/model_adapters/_tensorflow_model_adapter.py (no class) 31 1 0 97%
bioimageio/core/model_adapters/_torchscript_model_adapter.py TorchscriptModelAdapter 30 4 0 87%
bioimageio/core/model_adapters/_torchscript_model_adapter.py (no class) 20 3 0 85%
bioimageio/core/prediction.py (no class) 63 26 0 59%
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 15 4 1 73%
bioimageio/core/proc_ops.py ScaleMeanVariance 21 6 0 71%
bioimageio/core/proc_ops.py ScaleRange 25 11 0 56%
bioimageio/core/proc_ops.py Sigmoid 6 5 0 17%
bioimageio/core/proc_ops.py ZeroMeanUnitVariance 14 4 0 71%
bioimageio/core/proc_ops.py FixedZeroMeanUnitVariance 15 13 1 13%
bioimageio/core/proc_ops.py (no class) 184 11 3 94%
bioimageio/core/proc_setup.py PreAndPostprocessing 0 0 0 100%
bioimageio/core/proc_setup.py _SetupProcessing 0 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) 82 11 1 87%
bioimageio/core/sample.py Sample 22 4 0 82%
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) 71 0 0 100%
bioimageio/core/stat_calculators.py MeanCalculator 30 30 0 0%
bioimageio/core/stat_calculators.py MeanVarStdCalculator 46 1 0 98%
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 36 36 0 0%
bioimageio/core/stat_calculators.py NaiveSampleMeasureCalculator 4 4 0 0%
bioimageio/core/stat_calculators.py StatsCalculator 37 11 0 70%
bioimageio/core/stat_calculators.py (no class) 140 28 1 80%
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 134 45 2 66%
bioimageio/core/tensor.py (no class) 87 8 2 91%
bioimageio/core/utils/__init__.py (no class) 11 3 0 73%
bioimageio/core/utils/testing.py test_func 1 0 0 100%
bioimageio/core/utils/testing.py (no class) 14 0 0 100%
bioimageio/core/weight_converter/__init__.py (no class) 0 0 0 100%
bioimageio/core/weight_converter/keras/__init__.py (no class) 0 0 0 100%
bioimageio/core/weight_converter/keras/_tensorflow.py (no class) 75 60 0 20%
bioimageio/core/weight_converter/torch/__init__.py (no class) 0 0 0 100%
bioimageio/core/weight_converter/torch/_onnx.py (no class) 56 43 0 23%
bioimageio/core/weight_converter/torch/_torchscript.py (no class) 73 61 1 16%
bioimageio/core/weight_converter/torch/_utils.py (no class) 14 7 0 50%
Total   3162 842 23 73%

No items found using the specified filter.