Coverage report:
94.99%
hide covered
Files
Functions
Classes
coverage.py v7.10.0
, created at 2025-09-10 21:20 +1000
File
function
statements
missing
excluded
branches
partial
coverage
src/geosdhydro/_internal/__init__.py
(no function)
0
0
0
0
0
100.00%
src/geosdhydro/_internal/cli.py
_DebugInfo.__init__
1
0
0
0
0
100.00%
src/geosdhydro/_internal/cli.py
_DebugInfo.__call__
2
0
0
0
0
100.00%
src/geosdhydro/_internal/cli.py
get_parser
4
0
0
0
0
100.00%
src/geosdhydro/_internal/cli.py
main
4
0
0
0
0
100.00%
src/geosdhydro/_internal/cli.py
(no function)
10
0
0
0
0
100.00%
src/geosdhydro/_internal/debug.py
_interpreter_name_version
8
2
0
4
2
66.67%
src/geosdhydro/_internal/debug.py
_get_version
4
2
0
0
0
50.00%
src/geosdhydro/_internal/debug.py
_get_debug_info
4
0
0
0
0
100.00%
src/geosdhydro/_internal/debug.py
_print_debug_info
9
1
0
4
1
84.62%
src/geosdhydro/_internal/debug.py
(no function)
38
1
0
2
1
95.00%
src/geosdhydro/_internal/swift.py
_is_convertible_to_float64
3
1
0
2
1
60.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.__init__
14
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.gdf
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.gdf
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.include_coordinates
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.include_coordinates
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.runoff_model
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.runoff_model
1
1
0
0
0
0.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.routing_model
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.routing_model
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter._check_geodf
17
0
0
10
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.convert
1
0
0
0
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter.save_to_file
2
2
0
0
0
0.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter._create_links
6
0
0
2
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter._get_node_coordinates
9
0
0
2
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter._node_name
3
0
0
2
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter._create_nodes
13
0
0
4
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter._create_subareas
8
0
0
4
0
100.00%
src/geosdhydro/_internal/swift.py
ShapefileToSwiftConverter._create_subareas.subarea_name
3
0
0
2
0
100.00%
src/geosdhydro/_internal/swift.py
(no function)
38
0
0
0
0
100.00%
tests/conftest.py
(no function)
0
0
0
0
0
100.00%
tests/test_api.py
_fixture_loader
4
0
0
0
0
100.00%
tests/test_api.py
_fixture_internal_api
1
0
0
0
0
100.00%
tests/test_api.py
_fixture_public_api
1
0
0
0
0
100.00%
tests/test_api.py
_yield_public_objects
15
1
0
12
1
92.59%
tests/test_api.py
_fixture_modulelevel_internal_objects
1
0
0
0
0
100.00%
tests/test_api.py
_fixture_internal_objects
1
1
0
0
0
0.00%
tests/test_api.py
_fixture_public_objects
1
0
0
0
0
100.00%
tests/test_api.py
_fixture_inventory
5
1
0
2
1
71.43%
tests/test_api.py
test_exposed_objects
2
0
0
0
0
100.00%
tests/test_api.py
test_unique_names
5
0
0
2
0
100.00%
tests/test_api.py
test_single_locations
7
1
0
4
1
81.82%
tests/test_api.py
test_single_locations._public_path
1
1
0
0
0
0.00%
tests/test_api.py
test_api_matches_inventory
4
0
0
0
0
100.00%
tests/test_api.py
test_inventory_matches_api
10
1
0
6
2
81.25%
tests/test_api.py
(no function)
28
0
2
0
0
100.00%
tests/test_cli.py
test_main
1
0
0
0
0
100.00%
tests/test_cli.py
test_show_help
4
0
0
0
0
100.00%
tests/test_cli.py
test_show_version
4
0
0
0
0
100.00%
tests/test_cli.py
test_show_debug_info
7
0
0
0
0
100.00%
tests/test_cli.py
(no function)
8
0
0
0
0
100.00%
tests/test_swift.py
test_one_link_two_nodes_one_subarea
20
0
0
0
0
100.00%
tests/test_swift.py
test_one_link_two_nodes_no_subarea
14
0
0
0
0
100.00%
tests/test_swift.py
test_coordinates_included
13
0
0
0
0
100.00%
tests/test_swift.py
test_complex_catchment_structure
12
0
0
0
0
100.00%
tests/test_swift.py
test_invalid_spathlen_type
4
0
0
0
0
100.00%
tests/test_swift.py
test_invalid_spathlenname_type
4
0
0
0
0
100.00%
tests/test_swift.py
test_duplicate_link_ids
5
0
0
0
0
100.00%
tests/test_swift.py
test_valid_numeric_types
11
0
0
2
0
100.00%
tests/test_swift.py
test_invalid_numeric_types
16
0
0
0
0
100.00%
tests/test_swift.py
test_element_names
19
0
0
0
0
100.00%
tests/test_swift.py
(no function)
16
0
0
0
0
100.00%
Total
453
16
2
66
10
94.99%
No items found using the specified filter.