Coverage report: 89%

Files Functions Classes

coverage.py v7.16.1, created at 2026-09-23 03:53 +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 EnvMutations   100% 0 0 0   100% 0 0   100%
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   87% 189 25 0   76% 86 15   83%
apio/apio_context.py (no class)   100% 67 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% 331 22 0   74% 58 15   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)   88% 52 6 0   70% 20 6   83%
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% 231 26 0   79% 52 9   87%
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% 46 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)   77% 26 6 0   100% 0 0   77%
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_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)   100% 41 0 0   100% 6 0   100%
apio/common/common_util.py (no class)   78% 50 11 0   90% 10 1   80%
apio/common/debug_util.py (no class)   95% 20 1 0   75% 4 1   92%
apio/common/proto_util.py (no class)   95% 62 3 0   82% 28 5   91%
apio/common/rich_lib_windows.py (no class)   60% 15 6 0   50% 2 1   59%
apio/managers/__init__.py (no class)   100% 0 0 0   100% 0 0   100%
apio/managers/apio_definitions.py ApioDefinitions   92% 74 6 0   83% 36 6   89%
apio/managers/apio_definitions.py (no class)   100% 21 0 0   100% 0 0   100%
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   44% 121 68 0   28% 58 16   39%
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% 216 53 0   62% 104 30   71%
apio/managers/package_manager.py (no class)   100% 66 0 0   50% 2 1   99%
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 PackageRemoteConfig   100% 0 0 0   100% 0 0   100%
apio/managers/remote_config.py RemoteConfig   68% 151 49 0   48% 42 10   63%
apio/managers/remote_config.py (no class)   94% 64 4 0   100% 2 0   94%
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% 32 0 3   100% 0 0   100%
apio/managers/scons_manager.py SConsManager   89% 116 13 0   75% 20 5   87%
apio/managers/scons_manager.py (no class)   100% 27 0 0   100% 0 0   100%
apio/managers/xilinx_chipdb.py (no class)   86% 69 10 0   67% 18 6   82%
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   68% 41 13 0   81% 16 1   72%
apio/scons/apio_env.py (no class)   100% 27 0 0   100% 0 0   100%
apio/scons/gtkwave_util.py (no class)   93% 30 2 0   100% 8 0   95%
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% 16 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% 16 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% 16 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)   87% 282 38 0   77% 94 12   84%
apio/scons/plugin_xilinx.py PluginXilinx   100% 40 0 0   100% 0 0   100%
apio/scons/plugin_xilinx.py (no class)   100% 16 0 0   100% 0 0   100%
apio/scons/scons_handler.py SconsHandler   93% 137 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/apio_platforms.py ApioPlatform   100% 5 0 0   100% 0 0   100%
apio/utils/apio_platforms.py (no class)   91% 34 3 0   50% 8 4   83%
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)   89% 92 10 0   83% 24 0   88%
apio/utils/env_options.py (no class)   96% 27 1 0   88% 8 1   94%
apio/utils/resource_util.py ProjectResources   100% 0 0 0   100% 0 0   100%
apio/utils/resource_util.py (no class)   84% 32 5 0   50% 2 1   82%
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)   56% 91 40 0   29% 24 7   50%
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)   91% 191 18 0   78% 54 12   88%
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   93% 89 6 0   100% 18 0   94%
tests/conftest.py ApioRunner   94% 69 4 0   50% 4 2   92%
tests/conftest.py (no class)   100% 81 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% 190 0 0   100% 4 0   100%
tests/integration_tests/test_xilinx_parts.py (no class)   100% 22 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% 163 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% 60 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% 39 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% 94 0 0   100% 0 0   100%
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% 132 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_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% 128 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% 125 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/managers/test_xilinx_chipdb.py (no class)   100% 49 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% 11 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% 131 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% 29 0 0   100% 10 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_main.py (no class)   100% 18 0 0   100% 4 0   100%
tests/unit_tests/test_resources.py (no class)   100% 22 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_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)   99% 78 1 0   100% 0 0   99%
Total     92% 8219 670 31   74% 1450 275   89%

No items found using the specified filter.