Coverage report: 89%

Files Functions Classes

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

      Statements   Branches   Total
File class   coverage statements missing excluded   coverage branches partial   coverage
apio/__init__.py (no class)   100% 3 0 0   100% 0 0   100%
apio/__main__.py (no class)   91% 35 3 0   83% 18 3   89%
apio/apio_context.py ProjectPolicy   100% 0 0 0   100% 0 0   100%
apio/apio_context.py PackagesPolicy   100% 0 0 0   100% 0 0   100%
apio/apio_context.py ApioContext   86% 90 13 0   88% 24 1   86%
apio/apio_context.py (no class)   100% 58 0 0   100% 0 0   100%
apio/commands/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
apio/commands/apio.py (no class)   100% 13 0 0   100% 0 0   100%
apio/commands/apio_api.py CmdInfo   100% 0 0 0   100% 0 0   100%
apio/commands/apio_api.py (no class)   93% 389 28 0   77% 78 16   90%
apio/commands/apio_boards.py Entry   100% 1 0 0   100% 0 0   100%
apio/commands/apio_boards.py (no class)   100% 106 0 0   96% 24 1   99%
apio/commands/apio_build.py (no class)   100% 21 0 0   100% 0 0   100%
apio/commands/apio_clean.py (no class)   86% 43 6 0   79% 14 3   84%
apio/commands/apio_create.py (no class)   100% 24 0 0   100% 4 0   100%
apio/commands/apio_devices.py (no class)   46% 70 38 0   25% 8 2   44%
apio/commands/apio_docs.py (no class)   56% 18 8 0   0% 2 0   50%
apio/commands/apio_drivers.py (no class)   100% 7 0 0   100% 0 0   100%
apio/commands/apio_drivers_install.py (no class)   100% 20 0 0   100% 0 0   100%
apio/commands/apio_drivers_uninstall.py (no class)   100% 20 0 0   100% 0 0   100%
apio/commands/apio_examples.py (no class)   95% 97 5 0   77% 22 5   92%
apio/commands/apio_format.py (no class)   87% 53 7 0   65% 20 7   81%
apio/commands/apio_fpgas.py Entry   100% 1 0 0   100% 0 0   100%
apio/commands/apio_fpgas.py (no class)   98% 106 2 0   82% 22 4   95%
apio/commands/apio_graph.py (no class)   92% 39 3 0   50% 6 3   87%
apio/commands/apio_info.py (no class)   89% 230 25 0   80% 50 8   88%
apio/commands/apio_lint.py (no class)   100% 26 0 0   100% 0 0   100%
apio/commands/apio_packages.py (no class)   87% 70 9 0   56% 18 6   81%
apio/commands/apio_preferences.py (no class)   100% 67 0 0   100% 12 0   100%
apio/commands/apio_raw.py (no class)   85% 48 7 0   67% 18 4   80%
apio/commands/apio_report.py (no class)   100% 19 0 0   100% 0 0   100%
apio/commands/apio_sim.py (no class)   100% 31 0 0   100% 4 0   100%
apio/commands/apio_test.py (no class)   100% 29 0 0   100% 4 0   100%
apio/commands/apio_upload.py (no class)   80% 25 5 0   100% 0 0   80%
apio/commands/options.py (no class)   100% 19 0 0   100% 0 0   100%
apio/common/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
apio/common/apio_console.py ConsoleState   100% 4 0 0   100% 0 0   100%
apio/common/apio_console.py (no class)   94% 142 8 0   87% 38 3   93%
apio/common/apio_platforms.py ApioPlatform   100% 5 0 0   100% 0 0   100%
apio/common/apio_platforms.py (no class)   91% 34 3 0   50% 8 4   83%
apio/common/apio_styles.py (no class)   100% 13 0 0   100% 0 0   100%
apio/common/apio_themes.py ApioTheme   100% 0 0 0   100% 0 0   100%
apio/common/apio_themes.py (no class)   100% 11 0 0   100% 0 0   100%
apio/common/build_report.py ResourceReport   100% 0 0 0   100% 0 0   100%
apio/common/build_report.py ClockReport   100% 0 0 0   100% 0 0   100%
apio/common/build_report.py BuildReport   100% 0 0 0   100% 0 0   100%
apio/common/build_report.py (no class)   97% 65 2 0   91% 22 2   95%
apio/common/common_util.py (no class)   70% 77 23 0   61% 18 3   68%
apio/common/debug_util.py (no class)   95% 20 1 0   75% 4 1   92%
apio/common/proto_util.py (no class)   93% 70 5 0   81% 32 6   89%
apio/common/rich_lib_windows.py (no class)   60% 15 6 0   50% 2 1   59%
apio/common/subprocess_env.py (no class)   81% 98 19 0   74% 54 10   78%
apio/managers/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
apio/managers/apio_definitions.py ApioDefinitions   94% 99 6 0   88% 48 6   92%
apio/managers/apio_definitions.py ProjectDefinitions   100% 0 0 0   100% 0 0   100%
apio/managers/apio_definitions.py (no class)   98% 40 1 0   50% 2 1   95%
apio/managers/downloader.py FileDownloader   95% 21 1 0   88% 8 1   93%
apio/managers/downloader.py (no class)   100% 12 0 0   100% 0 0   100%
apio/managers/drivers.py Drivers   43% 124 71 0   28% 58 16   38%
apio/managers/drivers.py (no class)   100% 45 0 0   100% 0 0   100%
apio/managers/examples.py ExampleInfo   100% 1 0 0   100% 0 0   100%
apio/managers/examples.py Examples   92% 87 7 0   82% 40 7   89%
apio/managers/examples.py (no class)   100% 23 0 0   100% 0 0   100%
apio/managers/package_manager.py RequiredPackageStatus   100% 2 0 0   100% 0 0   100%
apio/managers/package_manager.py OrphanType   100% 0 0 0   100% 0 0   100%
apio/managers/package_manager.py PackagesScanResults   56% 9 4 0   100% 0 0   56%
apio/managers/package_manager.py PackageManager   75% 218 54 0   62% 106 30   71%
apio/managers/package_manager.py (no class)   98% 87 2 0   88% 8 1   97%
apio/managers/profile.py Profile   93% 42 3 0   75% 12 3   89%
apio/managers/profile.py (no class)   100% 18 0 0   100% 0 0   100%
apio/managers/programmers.py _DeviceScanner   27% 11 8 0   0% 4 0   20%
apio/managers/programmers.py (no class)   89% 182 20 0   64% 78 28   82%
apio/managers/project.py EnvOptionSpec   100% 0 0 0   100% 0 0   100%
apio/managers/project.py Project   84% 90 14 0   87% 60 6   85%
apio/managers/project.py (no class)   94% 85 5 0   83% 18 3   92%
apio/managers/remote_config.py RemoteConfigPolicy   100% 0 0 0   100% 0 0   100%
apio/managers/remote_config.py RemoteConfig   65% 139 48 0   48% 46 10   61%
apio/managers/remote_config.py (no class)   93% 59 4 0   100% 2 0   93%
apio/managers/scons_filter.py PipeId   100% 0 0 0   100% 0 0   100%
apio/managers/scons_filter.py RangeEvents   100% 0 0 0   100% 0 0   100%
apio/managers/scons_filter.py RangeDetector   76% 17 4 5   75% 8 2   76%
apio/managers/scons_filter.py PnrRangeDetector   100% 6 0 0   100% 4 0   100%
apio/managers/scons_filter.py SconsFilter   77% 47 11 0   68% 22 5   74%
apio/managers/scons_filter.py (no class)   100% 34 0 3   100% 0 0   100%
apio/managers/scons_manager.py SConsManager   87% 82 11 0   67% 12 4   84%
apio/managers/scons_manager.py (no class)   100% 25 0 0   100% 0 0   100%
apio/scons/SConstruct (no class)   100% 2 0 0   100% 0 0   100%
apio/scons/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
apio/scons/apio_env.py ApioEnv   71% 49 14 0   75% 20 3   72%
apio/scons/apio_env.py (no class)   100% 24 0 0   100% 0 0   100%
apio/scons/gtkwave_util.py (no class)   94% 36 2 0   100% 12 0   96%
apio/scons/plugin_base.py ArchPluginInfo   100% 0 0 0   100% 0 0   100%
apio/scons/plugin_base.py PluginBase   88% 40 5 14   75% 4 1   86%
apio/scons/plugin_base.py (no class)   100% 24 0 9   100% 0 0   100%
apio/scons/plugin_ecp5.py PluginEcp5   100% 33 0 0   100% 0 0   100%
apio/scons/plugin_ecp5.py (no class)   100% 24 0 0   100% 0 0   100%
apio/scons/plugin_gowin.py PluginGowin   100% 38 0 0   50% 4 2   95%
apio/scons/plugin_gowin.py (no class)   100% 24 0 0   100% 0 0   100%
apio/scons/plugin_ice40.py PluginIce40   100% 31 0 0   100% 0 0   100%
apio/scons/plugin_ice40.py (no class)   100% 24 0 0   100% 0 0   100%
apio/scons/plugin_util.py TestbenchInfo   100% 1 0 0   100% 0 0   100%
apio/scons/plugin_util.py (no class)   86% 285 39 0   78% 98 12   84%
apio/scons/plugin_xilinx.py PluginXilinx   100% 43 0 0   100% 0 0   100%
apio/scons/plugin_xilinx.py (no class)   100% 24 0 0   100% 0 0   100%
apio/scons/scons_handler.py SconsHandler   93% 140 10 0   87% 30 4   92%
apio/scons/scons_handler.py (no class)   100% 38 0 0   100% 0 0   100%
apio/utils/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
apio/utils/cmd_util.py ApioOption   100% 2 0 0   100% 0 0   100%
apio/utils/cmd_util.py ApioSubgroup   100% 0 0 0   100% 0 0   100%
apio/utils/cmd_util.py ApioGroup   97% 35 1 0   100% 14 0   98%
apio/utils/cmd_util.py ApioCommand   100% 2 0 0   100% 0 0   100%
apio/utils/cmd_util.py ApioCmdContext   100% 7 0 0   100% 2 0   100%
apio/utils/cmd_util.py (no class)   90% 98 10 0   83% 24 0   89%
apio/utils/env_options.py (no class)   100% 31 0 0   100% 10 0   100%
apio/utils/jsonc.py _State   100% 0 0 0   100% 0 0   100%
apio/utils/jsonc.py _Action   100% 0 0 0   100% 0 0   100%
apio/utils/jsonc.py _Transition   100% 0 0 0   100% 0 0   100%
apio/utils/jsonc.py (no class)   100% 41 0 0   92% 12 1   98%
apio/utils/resource_util.py ApioConfig   100% 11 0 0   100% 4 0   100%
apio/utils/resource_util.py (no class)   95% 58 3 0   92% 12 1   94%
apio/utils/serial_util.py SerialDevice   100% 3 0 0   100% 0 0   100%
apio/utils/serial_util.py SerialDeviceFilter   100% 42 0 0   100% 22 0   100%
apio/utils/serial_util.py (no class)   75% 55 14 0   39% 18 5   66%
apio/utils/usb_util.py UsbDevice   100% 3 0 0   100% 0 0   100%
apio/utils/usb_util.py UsbDeviceFilter   100% 35 0 0   100% 18 0   100%
apio/utils/usb_util.py (no class)   57% 97 42 0   33% 30 10   51%
apio/utils/util.py AsyncPipe   87% 31 4 0   70% 10 3   83%
apio/utils/util.py TerminalMode   100% 0 0 0   100% 0 0   100%
apio/utils/util.py CommandResult   100% 0 0 0   100% 0 0   100%
apio/utils/util.py (no class)   88% 184 23 0   75% 48 6   85%
tests/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
tests/conftest.py _LogTee   100% 8 0 0   100% 0 0   100%
tests/conftest.py CapturedLog   71% 7 2 0   100% 0 0   71%
tests/conftest.py ApioResult   100% 0 0 0   100% 0 0   100%
tests/conftest.py ApioSandbox   96% 89 4 0   89% 18 2   94%
tests/conftest.py ApioRunner   93% 61 4 0   50% 4 2   91%
tests/conftest.py (no class)   100% 82 0 0   100% 0 0   100%
tests/first_test.py (no class)   100% 6 0 0   100% 0 0   100%
tests/integration_tests/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
tests/integration_tests/test_packages_checker.py (no class)   100% 21 0 0   100% 0 0   100%
tests/integration_tests/test_projects.py (no class)   100% 196 0 0   100% 4 0   100%
tests/unit_tests/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
tests/unit_tests/commands/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio.py (no class)   100% 20 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_api.py (no class)   100% 206 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_boards.py (no class)   100% 45 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_build.py (no class)   100% 47 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_clean.py (no class)   100% 39 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_create.py (no class)   100% 34 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_devices.py (no class)   100% 17 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_drivers.py (no class)   62% 45 17 0   50% 8 4   60%
tests/unit_tests/commands/test_apio_examples.py (no class)   100% 43 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_format.py (no class)   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_fpgas.py (no class)   100% 37 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_graph.py (no class)   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_info.py (no class)   100% 61 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_lint.py (no class)   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_packages.py (no class)   100% 52 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_preferences.py (no class)   100% 32 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_raw.py (no class)   100% 81 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_report.py (no class)   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_sim.py (no class)   100% 53 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_test.py (no class)   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_apio_upload.py (no class)   100% 13 0 0   100% 0 0   100%
tests/unit_tests/commands/test_shortcuts.py (no class)   100% 20 0 0   100% 0 0   100%
tests/unit_tests/common/test_apio_console.py (no class)   100% 68 0 0   100% 0 0   100%
tests/unit_tests/common/test_apio_themes.py (no class)   100% 5 0 0   100% 2 0   100%
tests/unit_tests/common/test_build_report.py (no class)   100% 67 0 0   100% 0 0   100%
tests/unit_tests/common/test_common_utils.py (no class)   100% 66 0 0   100% 0 0   100%
tests/unit_tests/common/test_proto_util.py (no class)   100% 93 0 0   100% 0 0   100%
tests/unit_tests/common/test_subprocess_env.py (no class)   94% 85 5 0   75% 12 1   92%
tests/unit_tests/managers/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
tests/unit_tests/managers/test_apio_definitions.py (no class)   100% 155 0 0   100% 0 0   100%
tests/unit_tests/managers/test_downloader.py (no class)   100% 11 0 0   100% 0 0   100%
tests/unit_tests/managers/test_package_manager.py (no class)   100% 47 0 0   100% 0 0   100%
tests/unit_tests/managers/test_profile.py (no class)   100% 27 0 0   100% 4 0   100%
tests/unit_tests/managers/test_programmers.py FakeDeviceScanner   100% 7 0 0   100% 0 0   100%
tests/unit_tests/managers/test_programmers.py (no class)   100% 131 0 0   100% 0 0   100%
tests/unit_tests/managers/test_project.py (no class)   100% 65 0 0   100% 2 0   100%
tests/unit_tests/managers/test_remote_config.py (no class)   100% 126 0 0   100% 0 0   100%
tests/unit_tests/managers/test_scons_filters.py (no class)   100% 10 0 0   100% 0 0   100%
tests/unit_tests/managers/test_scons_manager.py (no class)   100% 40 0 0   100% 0 0   100%
tests/unit_tests/scons/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
tests/unit_tests/scons/test_apio_env.py (no class)   100% 13 0 0   100% 0 0   100%
tests/unit_tests/scons/test_gtkwave_util.py (no class)   100% 53 0 0   100% 4 0   100%
tests/unit_tests/scons/test_plugin_util.py (no class)   100% 145 0 0   100% 2 0   100%
tests/unit_tests/scons/test_plugin_xilinx.py (no class)   100% 41 0 0   100% 2 0   100%
tests/unit_tests/scons/testing.py SconsHacks   100% 6 0 0   100% 0 0   100%
tests/unit_tests/scons/testing.py (no class)   100% 26 0 0   100% 8 0   100%
tests/unit_tests/test_apio_context.py (no class)   100% 49 0 0   100% 2 0   100%
tests/unit_tests/test_conftest.py State   100% 2 0 0   100% 0 0   100%
tests/unit_tests/test_conftest.py (no class)   100% 107 0 0   100% 0 0   100%
tests/unit_tests/test_definitions.py (no class)   100% 16 0 0   100% 4 0   100%
tests/unit_tests/test_main.py (no class)   100% 18 0 0   100% 4 0   100%
tests/unit_tests/utils/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
tests/unit_tests/utils/test_apio_platforms.py (no class)   100% 5 0 0   100% 2 0   100%
tests/unit_tests/utils/test_cmd_util.py (no class)   97% 32 1 0   100% 0 0   97%
tests/unit_tests/utils/test_env_options.py (no class)   100% 52 0 0   100% 6 0   100%
tests/unit_tests/utils/test_jsonc.py (no class)   100% 5 0 0   100% 0 0   100%
tests/unit_tests/utils/test_serial_util.py (no class)   100% 54 0 0   100% 0 0   100%
tests/unit_tests/utils/test_usb_util.py (no class)   100% 42 0 0   100% 0 0   100%
tests/unit_tests/utils/test_util.py (no class)   100% 116 0 0   100% 0 0   100%
Total     92% 8717 700 31   74% 1542 273   89%

No items found using the specified filter.