Coverage report: 89%

Files Functions Classes

coverage.py v7.17.2, created at 2026-11-07 05:08 +0000

    Statements   Branches   Total
File   coverage statements missing excluded   coverage branches partial   coverage
apio/__init__.py   100% 3 0 0   100% 0 0   100%
apio/__main__.py   91% 35 3 0   83% 18 3   89%
apio/apio_context.py   91% 148 13 0   88% 24 1   91%
apio/commands/__init__.py   100% 0 0 0   100% 0 0   100%
apio/commands/apio.py   100% 13 0 0   100% 0 0   100%
apio/commands/apio_api.py   93% 389 28 0   77% 78 16   90%
apio/commands/apio_boards.py   100% 107 0 0   96% 24 1   99%
apio/commands/apio_build.py   100% 21 0 0   100% 0 0   100%
apio/commands/apio_clean.py   86% 43 6 0   79% 14 3   84%
apio/commands/apio_create.py   100% 24 0 0   100% 4 0   100%
apio/commands/apio_devices.py   46% 70 38 0   25% 8 2   44%
apio/commands/apio_docs.py   56% 18 8 0   0% 2 0   50%
apio/commands/apio_drivers.py   100% 7 0 0   100% 0 0   100%
apio/commands/apio_drivers_install.py   100% 20 0 0   100% 0 0   100%
apio/commands/apio_drivers_uninstall.py   100% 20 0 0   100% 0 0   100%
apio/commands/apio_examples.py   95% 97 5 0   77% 22 5   92%
apio/commands/apio_format.py   87% 53 7 0   65% 20 7   81%
apio/commands/apio_fpgas.py   98% 107 2 0   82% 22 4   95%
apio/commands/apio_graph.py   92% 39 3 0   50% 6 3   87%
apio/commands/apio_info.py   89% 230 25 0   80% 50 8   88%
apio/commands/apio_lint.py   100% 26 0 0   100% 0 0   100%
apio/commands/apio_packages.py   87% 70 9 0   56% 18 6   81%
apio/commands/apio_preferences.py   100% 67 0 0   100% 12 0   100%
apio/commands/apio_raw.py   85% 48 7 0   67% 18 4   80%
apio/commands/apio_report.py   100% 19 0 0   100% 0 0   100%
apio/commands/apio_sim.py   100% 31 0 0   100% 4 0   100%
apio/commands/apio_test.py   100% 29 0 0   100% 4 0   100%
apio/commands/apio_upload.py   80% 25 5 0   100% 0 0   80%
apio/commands/options.py   100% 19 0 0   100% 0 0   100%
apio/common/__init__.py   100% 0 0 0   100% 0 0   100%
apio/common/apio_console.py   95% 146 8 0   87% 38 3   93%
apio/common/apio_platforms.py   92% 39 3 0   50% 8 4   85%
apio/common/apio_styles.py   100% 13 0 0   100% 0 0   100%
apio/common/apio_themes.py   100% 11 0 0   100% 0 0   100%
apio/common/build_report.py   97% 65 2 0   91% 22 2   95%
apio/common/common_util.py   70% 77 23 0   61% 18 3   68%
apio/common/debug_util.py   95% 20 1 0   75% 4 1   92%
apio/common/proto_util.py   93% 70 5 0   81% 32 6   89%
apio/common/rich_lib_windows.py   60% 15 6 0   50% 2 1   59%
apio/common/subprocess_env.py   81% 98 19 0   74% 54 10   78%
apio/managers/__init__.py   100% 0 0 0   100% 0 0   100%
apio/managers/apio_definitions.py   95% 139 7 0   86% 50 7   93%
apio/managers/downloader.py   97% 33 1 0   88% 8 1   95%
apio/managers/drivers.py   58% 169 71 0   28% 58 16   50%
apio/managers/examples.py   94% 111 7 0   82% 40 7   91%
apio/managers/package_manager.py   81% 316 60 0   64% 114 31   77%
apio/managers/profile.py   95% 60 3 0   75% 12 3   92%
apio/managers/programmers.py   85% 193 28 0   61% 82 28   78%
apio/managers/project.py   89% 175 19 0   86% 78 9   88%
apio/managers/remote_config.py   74% 198 52 0   50% 48 10   69%
apio/managers/scons_filter.py   86% 104 15 8   74% 34 7   83%
apio/managers/scons_manager.py   90% 107 11 0   67% 12 4   87%
apio/scons/SConstruct   100% 2 0 0   100% 0 0   100%
apio/scons/__init__.py   100% 0 0 0   100% 0 0   100%
apio/scons/apio_env.py   81% 73 14 0   75% 20 3   80%
apio/scons/gtkwave_util.py   94% 36 2 0   100% 12 0   96%
apio/scons/plugin_base.py   92% 64 5 23   75% 4 1   91%
apio/scons/plugin_ecp5.py   100% 57 0 0   100% 0 0   100%
apio/scons/plugin_gowin.py   100% 62 0 0   50% 4 2   97%
apio/scons/plugin_ice40.py   100% 55 0 0   100% 0 0   100%
apio/scons/plugin_util.py   86% 286 39 0   78% 98 12   84%
apio/scons/plugin_xilinx.py   100% 67 0 0   100% 0 0   100%
apio/scons/scons_handler.py   94% 178 10 0   87% 30 4   93%
apio/utils/__init__.py   100% 0 0 0   100% 0 0   100%
apio/utils/cmd_util.py   92% 144 11 0   90% 40 0   92%
apio/utils/env_options.py   100% 31 0 0   100% 10 0   100%
apio/utils/jsonc.py   100% 41 0 0   92% 12 1   98%
apio/utils/resource_util.py   96% 69 3 0   94% 16 1   95%
apio/utils/serial_util.py   86% 100 14 0   72% 40 5   82%
apio/utils/usb_util.py   69% 135 42 0   58% 48 10   66%
apio/utils/util.py   87% 215 27 0   74% 58 9   85%
tests/__init__.py   100% 0 0 0   100% 0 0   100%
tests/conftest.py   96% 247 10 0   82% 22 4   95%
tests/first_test.py   100% 6 0 0   100% 0 0   100%
tests/integration_tests/__init__.py   100% 0 0 0   100% 0 0   100%
tests/integration_tests/test_packages_checker.py   100% 21 0 0   100% 0 0   100%
tests/integration_tests/test_projects.py   100% 196 0 0   100% 4 0   100%
tests/unit_tests/__init__.py   100% 0 0 0   100% 0 0   100%
tests/unit_tests/commands/__init__.py   100% 0 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio.py   100% 20 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_api.py   100% 206 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_boards.py   100% 45 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_build.py   100% 47 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_clean.py   100% 39 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_create.py   100% 34 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_devices.py   100% 17 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_drivers.py   62% 45 17 0   50% 8 4   60%
tests/unit_tests/commands/test_apio_examples.py   100% 43 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_format.py   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_fpgas.py   100% 37 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_graph.py   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_info.py   100% 61 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_lint.py   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_packages.py   100% 52 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_preferences.py   100% 32 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_raw.py   100% 81 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_report.py   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_sim.py   100% 53 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_test.py   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_upload.py   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_shortcuts.py   100% 20 0 0   100% 0 0   100%
tests/unit_tests/common/test_apio_console.py   100% 68 0 0   100% 0 0   100%
tests/unit_tests/common/test_apio_themes.py   100% 5 0 0   100% 2 0   100%
tests/unit_tests/common/test_build_report.py   100% 67 0 0   100% 0 0   100%
tests/unit_tests/common/test_common_utils.py   100% 66 0 0   100% 0 0   100%
tests/unit_tests/common/test_proto_util.py   100% 93 0 0   100% 0 0   100%
tests/unit_tests/common/test_subprocess_env.py   94% 85 5 0   75% 12 1   92%
tests/unit_tests/managers/__init__.py   100% 0 0 0   100% 0 0   100%
tests/unit_tests/managers/test_apio_definitions.py   100% 155 0 0   100% 0 0   100%
tests/unit_tests/managers/test_downloader.py   100% 11 0 0   100% 0 0   100%
tests/unit_tests/managers/test_package_manager.py   100% 47 0 0   100% 0 0   100%
tests/unit_tests/managers/test_profile.py   100% 27 0 0   100% 4 0   100%
tests/unit_tests/managers/test_programmers.py   100% 138 0 0   100% 0 0   100%
tests/unit_tests/managers/test_project.py   100% 65 0 0   100% 2 0   100%
tests/unit_tests/managers/test_remote_config.py   100% 126 0 0   100% 0 0   100%
tests/unit_tests/managers/test_scons_filters.py   100% 10 0 0   100% 0 0   100%
tests/unit_tests/managers/test_scons_manager.py   100% 40 0 0   100% 0 0   100%
tests/unit_tests/scons/__init__.py   100% 0 0 0   100% 0 0   100%
tests/unit_tests/scons/test_apio_env.py   100% 13 0 0   100% 0 0   100%
tests/unit_tests/scons/test_gtkwave_util.py   100% 53 0 0   100% 4 0   100%
tests/unit_tests/scons/test_plugin_util.py   100% 145 0 0   100% 2 0   100%
tests/unit_tests/scons/test_plugin_xilinx.py   100% 41 0 0   100% 2 0   100%
tests/unit_tests/scons/testing.py   100% 32 0 0   100% 8 0   100%
tests/unit_tests/test_apio_context.py   100% 49 0 0   100% 2 0   100%
tests/unit_tests/test_conftest.py   100% 109 0 0   100% 0 0   100%
tests/unit_tests/test_definitions.py   100% 16 0 0   100% 4 0   100%
tests/unit_tests/test_main.py   100% 18 0 0   100% 4 0   100%
tests/unit_tests/utils/__init__.py   100% 0 0 0   100% 0 0   100%
tests/unit_tests/utils/test_apio_platforms.py   100% 5 0 0   100% 2 0   100%
tests/unit_tests/utils/test_cmd_util.py   97% 32 1 0   100% 0 0   97%
tests/unit_tests/utils/test_env_options.py   100% 52 0 0   100% 6 0   100%
tests/unit_tests/utils/test_jsonc.py   100% 5 0 0   100% 0 0   100%
tests/unit_tests/utils/test_serial_util.py   100% 54 0 0   100% 0 0   100%
tests/unit_tests/utils/test_usb_util.py   100% 42 0 0   100% 0 0   100%
tests/unit_tests/utils/test_util.py   100% 116 0 0   100% 0 0   100%
Total   92% 8717 700 31   74% 1542 273   89%

No items found using the specified filter.