Coverage report: 84%

Files Functions Classes

coverage.py v7.6.1, created at 2024-10-01 15:35 +0000

File function statements missing excluded coverage
src/rok4/enums.py (no function) 17 0 0 100%
src/rok4/exceptions.py MissingAttributeError.__init__ 3 0 0 100%
src/rok4/exceptions.py MissingEnvironmentError.__init__ 2 0 0 100%
src/rok4/exceptions.py StorageError.__init__ 3 0 0 100%
src/rok4/exceptions.py FormatError.__init__ 4 0 0 100%
src/rok4/exceptions.py (no function) 8 0 0 100%
src/rok4/layer.py Layer.from_descriptor 30 7 0 77%
src/rok4/layer.py Layer.from_parameters 22 5 0 77%
src/rok4/layer.py Layer.__init__ 6 0 0 100%
src/rok4/layer.py Layer.__load_pyramids 27 4 0 85%
src/rok4/layer.py Layer.__str__ 1 1 0 0%
src/rok4/layer.py Layer.serializable 10 1 0 90%
src/rok4/layer.py Layer.write_descriptor 4 1 0 75%
src/rok4/layer.py Layer.type 3 0 0 100%
src/rok4/layer.py Layer.bbox 1 1 0 0%
src/rok4/layer.py Layer.geobbox 1 0 0 100%
src/rok4/layer.py (no function) 27 0 0 100%
src/rok4/pyramid.py b36_number_encode 8 0 0 100%
src/rok4/pyramid.py b36_number_decode 1 0 0 100%
src/rok4/pyramid.py b36_path_decode 9 0 0 100%
src/rok4/pyramid.py b36_path_encode 15 0 0 100%
src/rok4/pyramid.py Level.from_descriptor 23 6 0 74%
src/rok4/pyramid.py Level.from_other 8 0 0 100%
src/rok4/pyramid.py Level.__str__ 1 1 0 0%
src/rok4/pyramid.py Level.serializable 16 10 0 38%
src/rok4/pyramid.py Level.id 1 0 0 100%
src/rok4/pyramid.py Level.bbox 3 3 0 0%
src/rok4/pyramid.py Level.resolution 1 0 0 100%
src/rok4/pyramid.py Level.tile_matrix 1 0 0 100%
src/rok4/pyramid.py Level.slab_width 1 0 0 100%
src/rok4/pyramid.py Level.slab_height 1 0 0 100%
src/rok4/pyramid.py Level.tile_limits 1 1 0 0%
src/rok4/pyramid.py Level.is_in_limits 1 0 0 100%
src/rok4/pyramid.py Level.set_limits_from_bbox 2 2 0 0%
src/rok4/pyramid.py Pyramid.from_descriptor 27 2 0 93%
src/rok4/pyramid.py Pyramid.from_other 28 5 0 82%
src/rok4/pyramid.py Pyramid.__init__ 4 0 0 100%
src/rok4/pyramid.py Pyramid.__str__ 1 1 0 0%
src/rok4/pyramid.py Pyramid.serializable 10 1 0 90%
src/rok4/pyramid.py Pyramid.list 1 1 0 0%
src/rok4/pyramid.py Pyramid.descriptor 1 0 0 100%
src/rok4/pyramid.py Pyramid.name 1 0 0 100%
src/rok4/pyramid.py Pyramid.tms 1 0 0 100%
src/rok4/pyramid.py Pyramid.raster_specifications 1 1 0 0%
src/rok4/pyramid.py Pyramid.storage_type 1 0 0 100%
src/rok4/pyramid.py Pyramid.storage_root 1 0 0 100%
src/rok4/pyramid.py Pyramid.storage_depth 1 0 0 100%
src/rok4/pyramid.py Pyramid.storage_s3_cluster 6 4 0 33%
src/rok4/pyramid.py Pyramid.storage_depth 3 1 0 67%
src/rok4/pyramid.py Pyramid.own_masks 1 0 0 100%
src/rok4/pyramid.py Pyramid.format 1 1 0 0%
src/rok4/pyramid.py Pyramid.channels 1 1 0 0%
src/rok4/pyramid.py Pyramid.tile_extension 9 3 0 67%
src/rok4/pyramid.py Pyramid.bottom_level 1 0 0 100%
src/rok4/pyramid.py Pyramid.top_level 1 1 0 0%
src/rok4/pyramid.py Pyramid.type 3 0 0 100%
src/rok4/pyramid.py Pyramid.load_list 7 0 0 100%
src/rok4/pyramid.py Pyramid.list_generator 37 7 0 81%
src/rok4/pyramid.py Pyramid.get_level 1 0 0 100%
src/rok4/pyramid.py Pyramid.get_levels 24 8 0 67%
src/rok4/pyramid.py Pyramid.write_descriptor 2 0 0 100%
src/rok4/pyramid.py Pyramid.get_infos_from_slab_path 20 11 0 45%
src/rok4/pyramid.py Pyramid.get_slab_path_from_infos 6 2 0 67%
src/rok4/pyramid.py Pyramid.get_tile_data_binary 22 4 0 82%
src/rok4/pyramid.py Pyramid.get_tile_data_raster 40 26 0 35%
src/rok4/pyramid.py Pyramid.get_tile_data_vector 13 4 0 69%
src/rok4/pyramid.py Pyramid.get_tile_indices 9 2 0 78%
src/rok4/pyramid.py Pyramid.delete_level 4 4 0 0%
src/rok4/pyramid.py Pyramid.add_level 9 9 0 0%
src/rok4/pyramid.py Pyramid.size 3 3 0 0%
src/rok4/pyramid.py (no function) 103 0 0 100%
src/rok4/raster.py Raster.__init__ 6 0 0 100%
src/rok4/raster.py Raster.from_file 21 0 0 100%
src/rok4/raster.py Raster.from_parameters 8 0 0 100%
src/rok4/raster.py RasterSet.__init__ 4 0 0 100%
src/rok4/raster.py RasterSet.from_list 29 2 0 93%
src/rok4/raster.py RasterSet.from_descriptor 17 2 0 88%
src/rok4/raster.py RasterSet.serializable 10 0 0 100%
src/rok4/raster.py RasterSet.write_descriptor 4 0 0 100%
src/rok4/raster.py (no function) 27 0 0 100%
src/rok4/storage.py __get_ttl_hash 3 1 0 67%
src/rok4/storage.py __get_s3_client 29 2 0 93%
src/rok4/storage.py disconnect_s3_clients 2 0 0 100%
src/rok4/storage.py __get_ceph_ioctx 14 4 0 71%
src/rok4/storage.py disconnect_ceph_clients 2 0 0 100%
src/rok4/storage.py get_infos_from_path 13 1 0 92%
src/rok4/storage.py get_path_from_infos 1 0 0 100%
src/rok4/storage.py hash_file 7 0 0 100%
src/rok4/storage.py get_data_str 1 0 0 100%
src/rok4/storage.py __get_cached_data_binary 48 13 0 73%
src/rok4/storage.py get_data_binary 1 0 0 100%
src/rok4/storage.py put_data_str 21 10 0 52%
src/rok4/storage.py get_size 28 9 0 68%
src/rok4/storage.py exists 30 6 0 80%
src/rok4/storage.py remove 23 9 0 61%
src/rok4/storage.py copy 173 29 0 83%
src/rok4/storage.py link 34 8 0 76%
src/rok4/storage.py get_osgeo_path 13 1 0 92%
src/rok4/storage.py size_path 25 2 0 92%
src/rok4/storage.py (no function) 69 12 0 83%
src/rok4/style.py Colour.__init__ 18 5 0 72%
src/rok4/style.py Colour.rgba 1 0 0 100%
src/rok4/style.py Colour.rgb 1 0 0 100%
src/rok4/style.py Palette.__init__ 13 1 0 92%
src/rok4/style.py Palette.convert 23 2 0 91%
src/rok4/style.py Slope.__init__ 8 2 0 75%
src/rok4/style.py Exposition.__init__ 7 2 0 71%
src/rok4/style.py Estompage.__init__ 8 2 0 75%
src/rok4/style.py Legend.__init__ 9 2 0 78%
src/rok4/style.py Style.__init__ 32 0 0 100%
src/rok4/style.py Style.bands 7 0 0 100%
src/rok4/style.py Style.format 5 0 0 100%
src/rok4/style.py Style.input_nodata 9 1 0 89%
src/rok4/style.py Style.is_identity 1 0 0 100%
src/rok4/style.py (no function) 35 0 0 100%
src/rok4/tile_matrix_set.py TileMatrix.__init__ 12 0 0 100%
src/rok4/tile_matrix_set.py TileMatrix.x_to_column 1 0 0 100%
src/rok4/tile_matrix_set.py TileMatrix.y_to_row 1 0 0 100%
src/rok4/tile_matrix_set.py TileMatrix.tile_to_bbox 3 0 0 100%
src/rok4/tile_matrix_set.py TileMatrix.bbox_to_tiles 3 0 0 100%
src/rok4/tile_matrix_set.py TileMatrix.point_to_indices 6 0 0 100%
src/rok4/tile_matrix_set.py TileMatrix.tile_width 1 1 0 0%
src/rok4/tile_matrix_set.py TileMatrix.tile_heigth 1 1 0 0%
src/rok4/tile_matrix_set.py TileMatrixSet.__init__ 24 0 0 100%
src/rok4/tile_matrix_set.py TileMatrixSet.get_level 1 0 0 100%
src/rok4/tile_matrix_set.py TileMatrixSet.sorted_levels 1 1 0 0%
src/rok4/tile_matrix_set.py (no function) 23 0 0 100%
src/rok4/utils.py srs_to_spatialreference 8 0 0 100%
src/rok4/utils.py bbox_to_geometry 22 0 0 100%
src/rok4/utils.py reproject_bbox 15 1 0 93%
src/rok4/utils.py reproject_point 9 1 0 89%
src/rok4/utils.py compute_bbox 13 1 0 92%
src/rok4/utils.py compute_format 21 0 0 100%
src/rok4/utils.py (no function) 15 0 0 100%
src/rok4/vector.py Vector.from_file 85 12 0 86%
src/rok4/vector.py Vector.from_parameters 5 0 0 100%
src/rok4/vector.py (no function) 10 0 0 100%
Total   1786 291 0 84%

No items found using the specified filter.