Coverage report: 69%

Files Functions Classes

coverage.py v7.14.3, created at 2026-06-25 08:39 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
python/lsst/__init__.py (no function)   100% 2 0 0   100% 0 0   100%
python/lsst/dax/__init__.py (no function)   100% 2 0 0   100% 0 0   100%
python/lsst/dax/images/__init__.py (no function)   100% 2 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/__init__.py (no function)   100% 3 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/_fits_projection.py projection_and_bbox_from_fits_header   100% 11 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/_fits_projection.py _frame_index_by_ident   75% 4 1 0   75% 4 1   75%
python/lsst/dax/images/cutout/_fits_projection.py (no function)   100% 12 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/_image_cutout.py _property_list_from_header   0% 5 5 0   0% 2 0   0%
python/lsst/dax/images/cutout/_image_cutout.py Extraction.mask   60% 25 10 0   62% 8 3   61%
python/lsst/dax/images/cutout/_image_cutout.py Extraction._record_legacy_mask_plane   39% 18 11 0   30% 10 1   36%
python/lsst/dax/images/cutout/_image_cutout.py Extraction.write_fits   50% 8 4 0   25% 4 1   42%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.__init__   100% 5 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.process_ref   100% 4 0 0   50% 2 1   83%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.process_uuid   100% 4 0 0   50% 2 1   83%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.process_search   0% 4 4 0   0% 2 0   0%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.extract_ref   67% 3 1 0   50% 2 1   60%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory._read_astropy_hdulist   93% 57 4 0   63% 30 11   83%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory._extract_ref_legacy   0% 46 46 0   0% 14 0   0%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory._extract_ref_v2   90% 29 3 0   83% 12 2   88%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory._record_cutout_provenance   100% 12 0 0   100% 2 0   100%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.extract_uuid   67% 6 2 0   50% 4 2   60%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.extract_search   0% 4 4 0   0% 2 0   0%
python/lsst/dax/images/cutout/_image_cutout.py ImageCutoutFactory.write_fits   100% 7 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/_image_cutout.py (no function)   100% 69 0 3   100% 0 0   100%
python/lsst/dax/images/cutout/projection_finders.py ProjectionFinder.find_projection   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/projection_finders.py ProjectionFinder.__call__   0% 4 4 0   0% 2 0   0%
python/lsst/dax/images/cutout/projection_finders.py ProjectionFinder.make_default   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/projection_finders.py ReadComponents.find_projection   0% 7 7 0   0% 2 0   0%
python/lsst/dax/images/cutout/projection_finders.py ReadComponentsAstropyFits.find_projection   0% 17 17 0   0% 8 0   0%
python/lsst/dax/images/cutout/projection_finders.py TryComponentParents.__init__   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/projection_finders.py TryComponentParents.find_projection   0% 6 6 0   0% 4 0   0%
python/lsst/dax/images/cutout/projection_finders.py UseSkyMap.__init__   0% 3 3 0   100% 0 0   0%
python/lsst/dax/images/cutout/projection_finders.py UseSkyMap.find_projection   0% 10 10 0   0% 6 0   0%
python/lsst/dax/images/cutout/projection_finders.py Chain.__init__   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/projection_finders.py Chain.find_projection   0% 4 4 0   0% 4 0   0%
python/lsst/dax/images/cutout/projection_finders.py MatchDatasetTypeName.__init__   0% 3 3 0   100% 0 0   0%
python/lsst/dax/images/cutout/projection_finders.py MatchDatasetTypeName.find_projection   0% 6 6 0   0% 6 0   0%
python/lsst/dax/images/cutout/projection_finders.py (no function)   100% 38 0 2   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _skycoord_from_lonlat   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _AstLineSource.__init__   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _AstLineSource.astsource   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _starlink_sky_to_pixel   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py PixelStencil.bbox   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py PixelStencil._coverage   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py PixelStencil.set_mask   100% 8 0 0   100% 2 0   100%
python/lsst/dax/images/cutout/stencils.py _AstPixelRegion.__init__   100% 3 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _AstPixelRegion.bbox   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _AstPixelRegion._coverage   100% 3 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _SphgeomPixelRegion.__init__   100% 3 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _SphgeomPixelRegion.bbox   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py _SphgeomPixelRegion._coverage   100% 3 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyStencil.to_pixels   86% 7 1 0   75% 4 1   82%
python/lsst/dax/images/cutout/stencils.py SkyStencil._pixel_bbox   100% 2 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyStencil._resolve_box   100% 8 0 0   100% 4 0   100%
python/lsst/dax/images/cutout/stencils.py SkyStencil._ast_sky_region   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyStencil._boundary_skycoord   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyStencil.region   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyStencil.to_fits_metadata   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyStencil.fingerprint   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyCircle.__init__   100% 3 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle.__repr__   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle.from_astropy   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle.from_sphgeom   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyCircle.to_polygon   100% 6 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle._ast_sky_region   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle._boundary_skycoord   100% 4 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle.region   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle.to_fits_metadata   100% 6 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyCircle.fingerprint   0% 6 6 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyPolygon.__init__   100% 2 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyPolygon.from_astropy   0% 1 1 0   100% 0 0   0%
python/lsst/dax/images/cutout/stencils.py SkyPolygon._ast_sky_region   90% 10 1 0   50% 2 1   83%
python/lsst/dax/images/cutout/stencils.py SkyPolygon._boundary_skycoord   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyPolygon.region   100% 1 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/stencils.py SkyPolygon.to_fits_metadata   88% 8 1 0   75% 4 1   83%
python/lsst/dax/images/cutout/stencils.py SkyPolygon.fingerprint   0% 5 5 0   0% 2 0   0%
python/lsst/dax/images/cutout/stencils.py _angle_from_astropy   67% 3 1 0   50% 2 1   60%
python/lsst/dax/images/cutout/stencils.py _lonlat_from_astropy   75% 4 1 0   50% 2 1   67%
python/lsst/dax/images/cutout/stencils.py (no function)   100% 90 0 0   100% 0 0   100%
python/lsst/dax/images/cutout/version.py (no function)   100% 5 0 0   100% 0 0   100%
tests/bench_stencils.py _arcsec   0% 1 1 0   100% 0 0   0%
tests/bench_stencils.py _projection   0% 7 7 0   100% 0 0   0%
tests/bench_stencils.py _run   0% 5 5 0   100% 0 0   0%
tests/bench_stencils.py _run.once   0% 3 3 0   100% 0 0   0%
tests/bench_stencils.py main   0% 7 7 0   0% 2 0   0%
tests/bench_stencils.py (no function)   0% 17 17 0   0% 2 0   0%
tests/test_fits_projection.py _make_header   100% 5 0 0   100% 2 0   100%
tests/test_fits_projection.py FitsProjectionTestCase.setUp   100% 2 0 0   100% 0 0   100%
tests/test_fits_projection.py FitsProjectionTestCase.test_bbox_origin_and_size   100% 6 0 0   100% 0 0   100%
tests/test_fits_projection.py FitsProjectionTestCase.test_reference_pixel_maps_to_crval   100% 7 0 0   100% 0 0   100%
tests/test_fits_projection.py FitsProjectionAfwReferenceTestCase.setUp   100% 2 0 0   100% 0 0   100%
tests/test_fits_projection.py FitsProjectionAfwReferenceTestCase.test_projection_matches_afw   100% 11 0 0   100% 2 0   100%
tests/test_fits_projection.py FitsProjectionAfwReferenceTestCase.test_bbox_matches_afw_reference   100% 6 0 0   100% 0 0   100%
tests/test_fits_projection.py (no function)   88% 25 3 0   50% 2 1   85%
tests/test_imageCutoutsBackend.py TestImageCutoutsBackend.setUpClass   100% 4 0 0   100% 0 0   100%
tests/test_imageCutoutsBackend.py TestImageCutoutsBackend.setUp   0% 8 8 0   100% 0 0   0%
tests/test_imageCutoutsBackend.py TestImageCutoutsBackend.test_extract_ref   0% 29 29 0   0% 10 0   0%
tests/test_imageCutoutsBackend.py TestImageCutoutsBackend.test_provenance_in_primary_header   0% 17 17 0   0% 8 0   0%
tests/test_imageCutoutsBackend.py TestImageCutoutsBackend.test_astropy_masked_image_planes_readable_by_afw   0% 15 15 0   0% 2 0   0%
tests/test_imageCutoutsBackend.py (no function)   88% 26 3 0   50% 2 1   86%
tests/test_imageCutoutsBackendV2.py TestImageCutoutsBackendV2.setUp   100% 11 0 0   100% 0 0   100%
tests/test_imageCutoutsBackendV2.py TestImageCutoutsBackendV2.test_extract_ref   89% 19 2 0   83% 6 1   88%
tests/test_imageCutoutsBackendV2.py TestImageCutoutsBackendV2.test_outside_stencil_mask   100% 18 0 0   100% 4 0   100%
tests/test_imageCutoutsBackendV2.py TestImageCutoutsBackendV2.test_off_edge_cutout   100% 9 0 0   100% 0 0   100%
tests/test_imageCutoutsBackendV2.py TestImageCutoutsBackendV2.test_process_ref   100% 8 0 0   100% 2 0   100%
tests/test_imageCutoutsBackendV2.py TestImageCutoutsBackendV2.test_process_uuid   100% 8 0 0   100% 2 0   100%
tests/test_imageCutoutsBackendV2.py TestImageCutoutsBackendV2.test_provenance_in_primary_header   100% 15 0 0   100% 6 0   100%
tests/test_imageCutoutsBackendV2.py (no function)   95% 22 1 0   50% 2 1   92%
tests/test_stencils.py _arcsec   100% 1 0 0   100% 0 0   100%
tests/test_stencils.py _make_wcs   100% 7 0 0   100% 0 0   100%
tests/test_stencils.py _make_car_wcs   100% 7 0 0   100% 0 0   100%
tests/test_stencils.py ModuleHelpersTestCase.test_mask_backend_members   100% 1 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.setUp   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.test_from_astropy   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.test_repr   100% 1 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.test_to_pixel   100% 1 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.test_to_polygon   100% 3 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.test_ast_sky_region_circle_contains_center   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.test_to_pixel_sphgeom   100% 1 0 0   100% 0 0   100%
tests/test_stencils.py SkyCircleTestCase.test_to_pixel_sphgeom_polygon   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py SkyPolygonTestCase.setUp   100% 1 0 0   100% 0 0   100%
tests/test_stencils.py SkyPolygonTestCase.test_ast_sky_region_polygon_contains_centroid   100% 3 0 0   100% 0 0   100%
tests/test_stencils.py BackendComparisonTestCase.setUp   100% 3 0 0   100% 0 0   100%
tests/test_stencils.py BackendComparisonTestCase._masked_array   100% 4 0 0   100% 0 0   100%
tests/test_stencils.py BackendComparisonTestCase.test_backends_agree_circle   100% 5 0 0   100% 0 0   100%
tests/test_stencils.py BackendComparisonTestCase.test_backends_agree_polygon   100% 5 0 0   100% 0 0   100%
tests/test_stencils.py BackendComparisonTestCase.test_set_mask_covered_false_marks_outside   100% 11 0 0   100% 0 0   100%
tests/test_stencils.py GreatCircleCurvatureTestCase.setUp   100% 4 0 0   100% 0 0   100%
tests/test_stencils.py GreatCircleCurvatureTestCase._coverage   100% 4 0 0   100% 0 0   100%
tests/test_stencils.py GreatCircleCurvatureTestCase.test_scenario_exercises_curvature   100% 3 0 0   100% 0 0   100%
tests/test_stencils.py GreatCircleCurvatureTestCase.test_ast_backend_follows_great_circle   100% 3 0 0   100% 0 0   100%
tests/test_stencils.py GreatCircleCurvatureTestCase.test_sphgeom_backend_follows_great_circle   100% 3 0 0   100% 0 0   100%
tests/test_stencils.py _brute_force_stencil_array   100% 4 0 0   100% 0 0   100%
tests/test_stencils.py _cartesian_pixel_coverage   100% 9 0 0   100% 0 0   100%
tests/test_stencils.py _check_to_pixel   67% 21 7 0   75% 4 1   68%
tests/test_stencils.py StencilContainmentTestCase.setUp   100% 3 0 0   100% 0 0   100%
tests/test_stencils.py StencilContainmentTestCase._circle   100% 1 0 0   100% 0 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_false_raises_on_partial_overlap   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_false_raises_when_box_inside_stencil   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_false_raises_when_disjoint   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_true_raises_when_touching   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_true_raises_when_disjoint   100% 2 0 0   100% 0 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_true_unchanged_when_contained   100% 3 0 0   100% 2 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_true_clips_to_intersection_on_partial_overlap   100% 3 0 0   100% 2 0   100%
tests/test_stencils.py StencilContainmentTestCase.test_clip_true_clips_to_box_when_box_inside_stencil   100% 3 0 0   100% 2 0   100%
tests/test_stencils.py StencilFitsMetadataTestCase.test_circle   100% 9 0 0   100% 0 0   100%
tests/test_stencils.py StencilFitsMetadataTestCase.test_polygon   100% 9 0 0   100% 0 0   100%
tests/test_stencils.py (no function)   98% 66 1 0   50% 2 1   97%
Total     74% 1187 310 5   45% 220 35   69%

No items found using the specified filter.