Coverage report: 87%

Files Functions Classes

coverage.py v7.11.0, created at 2025-11-06 10:20 +0000

File statements missing excluded branches partial coverage
apio/__init__.py 8 0 0 0 0 100%
apio/__main__.py 10 3 0 4 1 71%
apio/apio_context.py 282 25 0 72 12 89%
apio/commands/__init__.py 0 0 0 0 0 100%
apio/commands/apio.py 13 0 0 0 0 100%
apio/commands/apio_api.py 250 25 0 46 12 88%
apio/commands/apio_boards.py 109 0 0 24 1 99%
apio/commands/apio_build.py 22 0 0 0 0 100%
apio/commands/apio_clean.py 51 6 0 14 2 88%
apio/commands/apio_create.py 26 0 0 4 0 100%
apio/commands/apio_devices.py 73 38 0 8 2 46%
apio/commands/apio_drivers.py 7 0 0 0 0 100%
apio/commands/apio_drivers_install.py 23 8 0 0 0 65%
apio/commands/apio_drivers_uninstall.py 23 8 0 0 0 65%
apio/commands/apio_examples.py 76 7 0 16 5 87%
apio/commands/apio_format.py 56 11 0 18 6 77%
apio/commands/apio_fpgas.py 104 6 0 24 5 91%
apio/commands/apio_graph.py 40 3 0 6 3 87%
apio/commands/apio_info.py 138 10 0 40 8 90%
apio/commands/apio_lint.py 32 0 0 0 0 100%
apio/commands/apio_packages.py 79 12 0 22 8 80%
apio/commands/apio_preferences.py 69 0 0 12 0 100%
apio/commands/apio_raw.py 35 8 0 8 2 72%
apio/commands/apio_report.py 21 0 0 0 0 100%
apio/commands/apio_sim.py 30 0 0 4 0 100%
apio/commands/apio_test.py 21 0 0 0 0 100%
apio/commands/apio_upgrade.py 46 20 0 6 3 56%
apio/commands/apio_upload.py 27 6 0 0 0 78%
apio/commands/options.py 21 0 0 0 0 100%
apio/common/__init__.py 0 0 0 0 0 100%
apio/common/apio_console.py 125 5 0 24 3 95%
apio/common/apio_styles.py 13 0 0 0 0 100%
apio/common/apio_themes.py 12 0 0 0 0 100%
apio/common/common_util.py 46 7 0 10 1 86%
apio/common/rich_lib_windows.py 13 6 0 2 1 53%
apio/managers/__init__.py 0 0 0 0 0 100%
apio/managers/downloader.py 32 2 0 8 3 88%
apio/managers/drivers.py 148 107 0 36 0 22%
apio/managers/examples.py 112 18 0 44 9 81%
apio/managers/packages.py 206 59 0 84 23 69%
apio/managers/programmers.py 190 33 0 76 25 77%
apio/managers/project.py 203 27 0 86 8 87%
apio/managers/scons_filter.py 96 16 8 30 6 79%
apio/managers/scons_manager.py 143 22 0 24 5 80%
apio/managers/unpacker.py 38 4 4 10 4 83%
apio/profile.py 235 42 0 50 15 79%
apio/scons/SConstruct 4 0 0 0 0 100%
apio/scons/__init__.py 0 0 0 0 0 100%
apio/scons/apio_env.py 62 0 0 16 0 100%
apio/scons/plugin_base.py 63 5 21 4 1 91%
apio/scons/plugin_ecp5.py 50 0 0 0 0 100%
apio/scons/plugin_gowin.py 47 0 0 0 0 100%
apio/scons/plugin_ice40.py 47 0 0 0 0 100%
apio/scons/plugin_util.py 244 22 0 68 11 88%
apio/scons/scons_handler.py 156 11 0 24 4 92%
apio/utils/__init__.py 0 0 0 0 0 100%
apio/utils/cmd_util.py 143 11 0 40 0 92%
apio/utils/env_options.py 26 1 0 8 1 94%
apio/utils/jsonc.py 41 0 0 12 1 98%
apio/utils/resource_util.py 94 36 0 22 9 61%
apio/utils/serial_util.py 94 9 0 36 5 88%
apio/utils/usb_util.py 127 37 0 42 7 68%
apio/utils/util.py 208 26 0 54 13 85%
tests/__init__.py 0 0 0 0 0 100%
tests/conftest.py 209 8 0 24 3 95%
tests/first_test.py 6 0 0 0 0 100%
tests/integration_tests/__init__.py 0 0 0 0 0 100%
tests/integration_tests/test_projects.py 152 0 0 4 0 100%
tests/unit_tests/__init__.py 0 0 0 0 0 100%
tests/unit_tests/commands/__init__.py 0 0 0 0 0 100%
tests/unit_tests/commands/test_apio.py 20 0 0 0 0 100%
tests/unit_tests/commands/test_apio_api.py 120 0 0 0 0 100%
tests/unit_tests/commands/test_apio_boards.py 43 0 0 0 0 100%
tests/unit_tests/commands/test_apio_build.py 46 0 0 0 0 100%
tests/unit_tests/commands/test_apio_clean.py 51 0 0 4 0 100%
tests/unit_tests/commands/test_apio_create.py 35 0 0 0 0 100%
tests/unit_tests/commands/test_apio_devices.py 17 0 0 0 0 100%
tests/unit_tests/commands/test_apio_drivers.py 9 0 0 0 0 100%
tests/unit_tests/commands/test_apio_examples.py 39 0 0 0 0 100%
tests/unit_tests/commands/test_apio_format.py 13 0 0 0 0 100%
tests/unit_tests/commands/test_apio_fpgas.py 35 0 0 0 0 100%
tests/unit_tests/commands/test_apio_graph.py 13 0 0 0 0 100%
tests/unit_tests/commands/test_apio_info.py 32 0 0 0 0 100%
tests/unit_tests/commands/test_apio_lint.py 13 0 0 0 0 100%
tests/unit_tests/commands/test_apio_packages.py 53 0 0 0 0 100%
tests/unit_tests/commands/test_apio_preferences.py 32 0 0 0 0 100%
tests/unit_tests/commands/test_apio_raw.py 18 0 0 0 0 100%
tests/unit_tests/commands/test_apio_report.py 13 0 0 0 0 100%
tests/unit_tests/commands/test_apio_sim.py 12 0 0 0 0 100%
tests/unit_tests/commands/test_apio_test.py 13 0 0 0 0 100%
tests/unit_tests/commands/test_apio_upgrade.py 7 0 0 0 0 100%
tests/unit_tests/commands/test_apio_upload.py 13 0 0 0 0 100%
tests/unit_tests/commands/test_shortcuts.py 20 0 0 0 0 100%
tests/unit_tests/common/test_apio_console.py 14 0 0 0 0 100%
tests/unit_tests/common/test_apio_themes.py 5 0 0 2 0 100%
tests/unit_tests/common/test_common_utils.py 66 0 0 0 0 100%
tests/unit_tests/managers/__init__.py 0 0 0 0 0 100%
tests/unit_tests/managers/test_programmers.py 134 0 0 0 0 100%
tests/unit_tests/managers/test_project.py 71 0 0 0 0 100%
tests/unit_tests/managers/test_scons_filters.py 10 0 0 0 0 100%
tests/unit_tests/managers/test_scons_manager.py 36 0 0 0 0 100%
tests/unit_tests/scons/__init__.py 0 0 0 0 0 100%
tests/unit_tests/scons/test_apio_env.py 23 0 0 0 0 100%
tests/unit_tests/scons/test_plugin_util.py 114 0 0 2 0 100%
tests/unit_tests/scons/testing.py 35 0 0 8 0 100%
tests/unit_tests/test_apio_context.py 35 0 0 2 0 100%
tests/unit_tests/test_profile.py 44 0 0 0 0 100%
tests/unit_tests/test_resources.py 82 1 0 24 1 98%
tests/unit_tests/utils/__init__.py 0 0 0 0 0 100%
tests/unit_tests/utils/test_cmd_util.py 32 1 0 0 0 97%
tests/unit_tests/utils/test_jsonc.py 5 0 0 0 0 100%
tests/unit_tests/utils/test_serial_util.py 55 0 0 0 0 100%
tests/unit_tests/utils/test_usb_util.py 43 0 0 0 0 100%
tests/unit_tests/utils/test_util.py 62 1 0 0 0 98%
Total 6610 713 33 1208 229 87%

No items found using the specified filter.