Multipass orchestrates virtual Ubuntu instances
This report presents the forensic synthetic code analysis of canonical/multipass, a C++ project with 9,179 GitHub stars. SynthScan v2.0 examined 182,810 lines of code across 1307 source files, recording 434 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 2.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 434 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | packaging/windows/custom-actions/pch.h | 1 | // pch.h: This is a precompiled header file. | COMMENT |
| LOW | packaging/windows/custom-actions/pch.cpp | 1 | // pch.cpp: source file corresponding to the pre-compiled header | COMMENT |
| LOW | packaging/windows/custom-actions/framework.h | 1 | #pragma once | COMMENT |
| LOW | rxx/Cargo.toml | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | rxx/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | rxx/macros/Cargo.toml | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | rxx/namegen/Cargo.toml | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | rxx/namegen/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | include/multipass/utils.h | 21 | #include <multipass/network_interface_info.h> | COMMENT |
| LOW | include/multipass/async_periodic_download_task.h | 21 | #include <multipass/logging/log.h> | COMMENT |
| LOW | include/multipass/virtual_machine.h | 21 | #include "network_interface.h" | COMMENT |
| LOW | include/multipass/file_ops.h | 21 | #include "singleton.h" | COMMENT |
| LOW | include/multipass/vm_image_vault.h | 21 | #include "memory_size.h" | COMMENT |
| LOW | include/multipass/posix.h | 21 | #include <io.h> | COMMENT |
| LOW | include/multipass/platform.h | 21 | #include <multipass/availability_zone_manager.h> | COMMENT |
| LOW | 3rd-party/vcpkg-ports/qemu/generate-mingw-lockfile.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | 3rd-party/vcpkg-ports/xz-embedded/CMakeLists.txt | 1 | # Copyright © 2017-2026 Canonical Ltd. | COMMENT |
| LOW | tests/unit/test_alias_dict.cpp | 21 | #include <multipass/cli/table_formatter.h> | COMMENT |
| LOW | tests/unit/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | tests/unit/test_daemon_start.cpp | 21 | #include "common.h" | COMMENT |
| LOW | tests/unit/test_ubuntu_image_host.cpp | 21 | #include "mock_platform.h" | COMMENT |
| LOW | tests/unit/test_sshfsmount.cpp | 21 | #include "sftp_server_test_fixture.h" | COMMENT |
| LOW | tests/unit/test_client_common.cpp | 21 | #include "mock_cert_provider.h" | COMMENT |
| LOW | tests/unit/daemon_test_fixture.cpp | 21 | #include "common.h" | COMMENT |
| LOW | tests/unit/test_sftpserver.cpp | 21 | #include "mock_file_ops.h" | COMMENT |
| LOW | tests/unit/test_image_vault.cpp | 21 | #include "mock_file_ops.h" | COMMENT |
| LOW | tests/unit/mock_cert_provider.h | 21 | COMMENT | |
| LOW | tests/unit/test_base_virtual_machine.cpp | 21 | #include "mock_cloud_init_file_ops.h" | COMMENT |
| LOW | tests/unit/common.h | 61 | #define MP_TYPED_TEST_SUITE(suite_name, types_param) TYPED_TEST_SUITE(suite_name, types_param, ) | COMMENT |
| LOW | tests/unit/test_utils.cpp | 21 | #include "mock_openssl_syscalls.h" | COMMENT |
| LOW | tests/unit/test_base_snapshot.cpp | 21 | #include "mock_file_ops.h" | COMMENT |
| LOW | tests/unit/test_sshfs_mount_handler.cpp | 21 | #include "mock_logger.h" | COMMENT |
| LOW | tests/unit/test_daemon.cpp | 21 | #include "fake_alias_config.h" | COMMENT |
| LOW | tests/unit/test_daemon.cpp | 41 | #include "stub_availability_zone_manager.h" | COMMENT |
| LOW | tests/unit/test_singleton.cpp | 81 | // : Singleton<TryMultipleton>{Singleton<TryMultipleton>::pass} // error: private | COMMENT |
| LOW | tests/unit/disabling_macros.h | 21 | // Use like this: TEST_F(TestSuite, DISABLE_ON_XXX(testName)) | COMMENT |
| LOW | tests/unit/disabling_macros.h | 41 | #define DISABLE_ON_WINDOWS(testName) testName | COMMENT |
| LOW | tests/unit/test_cli_client.cpp | 21 | #include "disabling_macros.h" | COMMENT |
| LOW | tests/unit/test_cli_client.cpp | 41 | #include <src/client/cli/client.h> | COMMENT |
| LOW | tests/unit/test_daemon_mount.cpp | 21 | #include "mock_logger.h" | COMMENT |
| LOW | tests/unit/mock_virtual_machine.h | 21 | #include "mock_ssh_process.h" | COMMENT |
| LOW | tests/unit/macos/test_platform_osx.cpp | 21 | #include "tests/unit/mock_environment_helpers.h" | COMMENT |
| LOW | tests/unit/hyperv/test_hyperv_backend.cpp | 21 | #include "tests/unit/mock_process_factory.h" | COMMENT |
| LOW | tests/unit/unix/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | tests/unit/unix/test_platform_unix.cpp | 21 | #include <tests/unit/common.h> | COMMENT |
| LOW | tests/unit/linux/test_backend_utils.cpp | 21 | #include "tests/unit/mock_logger.h" | COMMENT |
| LOW | tests/unit/linux/test_platform_linux.cpp | 21 | #include "tests/unit/mock_environment_helpers.h" | COMMENT |
| LOW | tests/unit/qemu/test_qemu_backend.cpp | 21 | #include "tests/unit/mock_cloud_init_file_ops.h" | COMMENT |
| LOW | tests/unit/qemu/test_qemu_backend.cpp | 41 | COMMENT | |
| LOW | tests/unit/qemu/test_qemu_snapshot.cpp | 21 | #include "tests/unit/mock_process_factory.h" | COMMENT |
| LOW | tests/unit/qemu/macos/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | tests/unit/qemu/linux/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | tests/unit/qemu/linux/test_dnsmasq_server.cpp | 21 | #include "tests/unit/mock_logger.h" | COMMENT |
| LOW | tests/unit/applevz/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | …/unit/applevz/test_applevz_virtual_machine_factory.cpp | 21 | #include "tests/unit/mock_cloud_init_file_ops.h" | COMMENT |
| LOW | tests/unit/windows/test_platform_win.cpp | 21 | #include "tests/unit/mock_logger.h" | COMMENT |
| LOW | tests/unit/windows/test_smb_mount_handler.cpp | 21 | #include "tests/unit/mock_logger.h" | COMMENT |
| LOW | tests/unit/hyperv_api/CMakeLists.txt | 1 | # Copyright (C) Canonical, Ltd. | COMMENT |
| LOW | …unit/hyperv_api/test_ut_hyperv_hcs_virtual_machine.cpp | 21 | #include <multipass/exceptions/start_exception.h> | COMMENT |
| 156 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/macos/merge_pkgs.py | 5 | CODE | |
| LOW | packaging/gui-less/generate-snapcraft.py | 12 | CODE | |
| LOW | tools/distro-scraper/scraper/models.py | 1 | CODE | |
| LOW | 3rd-party/vcpkg-ports/qemu/generate-mingw-lockfile.py | 34 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 19 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 19 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 19 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 19 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 19 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 19 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 27 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 27 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 28 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 28 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 29 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 57 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 58 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 58 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 58 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 59 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 59 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 59 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 64 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 65 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 66 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 67 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 68 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 69 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 69 | CODE | |
| LOW | tests/cli/multipass/__init__.py | 69 | CODE | |
| LOW | tests/cli/controller/launchd_multipassd_controller.py | 19 | CODE | |
| LOW | tests/cli/controller/__init__.py | 19 | CODE | |
| LOW | tests/cli/controller/__init__.py | 20 | CODE | |
| LOW | tests/cli/controller/__init__.py | 21 | CODE | |
| LOW | tests/cli/controller/__init__.py | 22 | CODE | |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | git-hooks/commit-msg.py | 148 | def test_valid_single_line_commit_messages(self): | CODE |
| LOW | git-hooks/commit-msg.py | 158 | def test_valid_multi_line_commit_messages(self): | CODE |
| LOW | tests/cli/cli_exec_test.py | 31 | def test_exec_propagates_command_exit_code(self, instance): | CODE |
| LOW | tests/cli/cli_transfer_test.py | 32 | def test_transfer_single_file(self, instance): | CODE |
| LOW | tests/cli/cli_transfer_test.py | 50 | def test_transfer_single_file_create_parents(self, instance): | CODE |
| LOW | tests/cli/cli_transfer_test.py | 84 | def test_transfer_directory_recursive(self, instance): | CODE |
| LOW | tests/cli/conftest.py | 243 | def pytest_assertrepr_compare(op, left, right): | CODE |
| LOW | tests/cli/conftest.py | 259 | def pytest_collection_modifyitems(config, items): | CODE |
| LOW | tests/cli/conftest.py | 371 | def remove_temporary_storage_dir(target_dir): | CODE |
| LOW | tests/cli/conftest.py | 376 | def make_temporary_storage_dir(): | CODE |
| LOW | tests/cli/conftest.py | 399 | def ensure_multipass_binaries_are_present(): | CODE |
| LOW | tests/cli/conftest.py | 591 | def windows_privileged_mounts(multipassd): | CODE |
| LOW | tests/cli/cli_mount_test.py | 91 | def test_mount_to_specific_target(self, instance, mount_type): | CODE |
| LOW | tests/cli/cli_mount_test.py | 124 | def test_mount_same_src_again(self, instance, mount_type): | CODE |
| LOW | tests/cli/cli_alias_test.py | 69 | def test_create_alias_in_another_context(self, instance): | CODE |
| LOW | tests/cli/cli_clone_test.py | 42 | def test_clone_nonexistent_instance(self): | CODE |
| LOW | tests/cli/cli_clone_test.py | 46 | def test_clone_running_instance(self, instance): | CODE |
| LOW | tests/cli/cli_clone_test.py | 59 | def test_clone_instance_with_snapshot(self, instance): | CODE |
| LOW | tests/cli/cli_clone_test.py | 69 | def test_clone_verify_clone_has_different_properties(self, instance): | CODE |
| LOW | tests/cli/cli_shell_test.py | 75 | def test_shell_exit_code_propagation(self, instance): | CODE |
| LOW | tests/cli/cli_settings_test.py | 49 | def test_get_disabled_primary_name(self): | CODE |
| LOW | tests/cli/cli_settings_test.py | 57 | def test_set_driver_name_to_default(self, multipassd): | CODE |
| LOW | tests/cli/cli_vm_resource_test.py | 45 | def test_modify_vm_while_running(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 45 | def test_take_snapshot_of_nonexistent_instance(self): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 52 | def test_try_restore_snapshot_of_nonexistent_instance(self): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 68 | def test_take_snapshot_name_conflict(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 82 | def test_snapshot_restore_while_running(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 100 | def test_take_snapshot_linear_history(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 112 | def test_take_snapshot_delete_linear_history(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 139 | def test_take_snapshot_and_restore_linear(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 179 | def test_take_snapshot_and_restore_branched(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 232 | def test_take_snapshot_delete_branched(self, instance): | CODE |
| LOW | tests/cli/cli_snapshot_test.py | 350 | def test_take_snapshot_name_tbd(self, instance): | CODE |
| LOW | tests/cli/cli_vm_lifecycle_test.py | 32 | def test_lifecycle_ops_on_nonexistent(self): | CODE |
| LOW | tests/cli/cli_vm_lifecycle_test.py | 81 | def test_launch_delete_recover_purge(self, instance): | CODE |
| LOW | tests/cli/cli_list_test.py | 37 | def test_list_snapshots_empty(self, feat_snapshot): | CODE |
| LOW | tests/cli/multipass/cmd_output.py | 26 | def strip_lxd_deprecation_notice(text: str) -> str: | CODE |
| LOW | tests/cli/multipass/validate.py | 74 | def validate_info_snapshot_output(name, properties): | CODE |
| LOW | tests/cli/multipass/feature_versions.py | 38 | def multipass_version_has_feature(feature_name, version=None): | CODE |
| LOW | tests/cli/multipass/feature_versions.py | 58 | def skip_if_feature_not_supported(feature_name, version=None): | CODE |
| LOW | tests/cli/multipass/basics.py | 28 | def default_storage_dir_for_backend(backend): | CODE |
| LOW | tests/cli/multipass/helpers.py | 218 | def get_cloudinit_instance_id(name): | CODE |
| LOW | tests/cli/multipass/helpers.py | 233 | def get_default_interface_name(name): | CODE |
| LOW | tests/cli/multipass/helpers.py | 291 | def default_daemon_controller(): | CODE |
| LOW | tests/cli/multipass/snapshot.py | 78 | def collapse_to_snapshot_tree(flat_map): | CODE |
| LOW | …sts/cli/controller/standalone_multipassd_controller.py | 127 | def supports_self_autorestart(self): | CODE |
| LOW | …sts/cli/controller/standalone_multipassd_controller.py | 130 | def wait_for_self_autorestart(self): | CODE |
| LOW | tests/cli/controller/launchd_multipassd_controller.py | 89 | def perform_daemon_shutdown_procedure(daemon_pid: int): | CODE |
| LOW | tests/cli/controller/launchd_multipassd_controller.py | 270 | def supports_self_autorestart(self) -> bool: | CODE |
| LOW | tests/cli/controller/winsvc_multipassd_controller.py | 209 | def supports_self_autorestart(self) -> bool: | CODE |
| LOW | tests/cli/controller/winsvc_multipassd_controller.py | 212 | async def wait_for_self_autorestart(self, timeout: int = 60) -> None: | CODE |
| LOW | tests/cli/controller/multipassd_controller.py | 51 | def supports_self_autorestart(self) -> bool: | CODE |
| LOW | tests/cli/controller/multipassd_controller.py | 55 | async def wait_for_self_autorestart(self) -> None: | CODE |
| LOW | tests/cli/controller/multipassd_governor.py | 165 | async def _ensure_client_certs_are_created(self): | CODE |
| LOW | tests/cli/controller/multipassd_governor.py | 174 | def _authenticate_client_cert(self): | CODE |
| LOW | tests/cli/controller/multipassd_governor.py | 297 | async def wait_for_multipassd_ready(timeout=60): | CODE |
| LOW | tests/cli/controller/snap_multipassd_controller.py | 117 | async def wait_for_self_autorestart(self, timeout=60): | CODE |
| LOW | tests/cli/controller/snap_multipassd_controller.py | 127 | def supports_self_autorestart(self) -> bool: | CODE |
| LOW | tests/cli/controller/snap_multipassd_controller.py | 140 | async def _get_active_enter_timestamp_monotonic(self): | CODE |
| LOW | tests/cli/utilities/temputils.py | 30 | def make_test_tmp_dir_for_snap(snap_name): | CODE |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/distro-scraper/scraper/cli.py | 107 | except Exception as e: | CODE |
| LOW | tools/distro-scraper/scraper/cli.py | 118 | except Exception as e: | CODE |
| LOW | git-hooks/commit-msg.py | 495 | except Exception as e: | STRING |
| MEDIUM | git-hooks/commit-msg.py | 496 | print(f"Error running tests: {e}", file=sys.stderr) | STRING |
| MEDIUM⚡ | git-hooks/commit-msg.py | 520 | print("Error: Expected a commit message file path", file=sys.stderr) | STRING |
| LOW⚡ | git-hooks/commit-msg.py | 529 | except Exception as e: | STRING |
| MEDIUM⚡ | git-hooks/commit-msg.py | 530 | print(f"Error reading commit msg: {e}", file=sys.stderr) | STRING |
| LOW | tests/cli/multipass/multipass_cmd.py | 196 | except Exception as ex: | CODE |
| LOW | tests/cli/controller/launchd_multipassd_controller.py | 295 | except Exception: | CODE |
| LOW | tests/cli/controller/winsvc_multipassd_controller.py | 147 | except Exception as ex: | CODE |
| LOW | tests/cli/controller/winsvc_multipassd_controller.py | 172 | except Exception: | CODE |
| LOW | tests/cli/controller/winsvc_multipassd_controller.py | 233 | except Exception: | CODE |
| LOW | tests/cli/controller/winsvc_multipassd_controller.py | 240 | except Exception: | CODE |
| LOW | tests/cli/controller/winsvc_multipassd_controller.py | 256 | except Exception: | CODE |
| LOW | tests/cli/controller/multipassd_governor.py | 93 | except Exception as e: | CODE |
| MEDIUM | tests/cli/controller/multipassd_governor.py | 95 | print(f"Error in log reader: {e}", file=sys.stderr) | CODE |
| LOW | tests/cli/controller/multipassd_governor.py | 257 | except Exception as e: | CODE |
| LOW | tests/cli/controller/multipassd_governor.py | 355 | except Exception as exc: | CODE |
| LOW | tests/cli/utilities/pexpectutils.py | 130 | except Exception: | CODE |
| MEDIUM | tests/cli/utilities/pexpectutils.py | 126 | def terminate(self, force=False): | CODE |
| LOW | tests/cli/utilities/threadutils.py | 100 | except Exception: | CODE |
| LOW | tests/cli/utilities/threadutils.py | 179 | except Exception: | CODE |
| LOW | docs/.sphinx/update_sp.py | 51 | except Exception as e: | CODE |
| LOW | docs/.sphinx/update_sp.py | 241 | except Exception as e: | CODE |
| LOW | docs/.sphinx/update_sp.py | 265 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/cli/multipass/multipass_cmd.py | 101 | Run a Multipass CLI command with optional retry, timeout, and context manager support. This function wraps Mult | STRING |
| HIGH | tests/cli/multipass/basics.py | 29 | Get default storage dir for a backend. Args: backend (str): "snap", "launchd", "winsvc", or "standalon | STRING |
| HIGH | tests/cli/utilities/threadutils.py | 238 | Wait for a Future to complete without blocking signal handling. Args: fut: The Future to wait for | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/cli/controller/launchd_multipassd_controller.py | 0 | return exit code if available; else none. should return promptly if stopped. | STRING |
| HIGH | tests/cli/controller/multipassd_controller.py | 0 | return exit code if available; else none. should return promptly if stopped. | STRING |
| HIGH | tests/cli/controller/snap_multipassd_controller.py | 0 | return exit code if available; else none. should return promptly if stopped. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/macos.yml | 265 | # Define the trap to catch the exit code AND check for core dumps | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 249 | # Create the directory for the coredumps and ensure the directory is empty | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 269 | # Create the directory for the coredumps | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 304 | # Create the directory for the coredumps | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/distro-scraper/scraper/cli.py | 47 | CODE | |
| LOW | 3rd-party/vcpkg-ports/qemu/generate-mingw-lockfile.py | 83 | CODE | |
| LOW | tests/cli/multipass/multipass_spawn.py | 42 | CODE | |
| LOW | tests/cli/multipass/validate.py | 24 | CODE | |
| LOW | tests/cli/controller/multipassd_governor.py | 297 | CODE | |
| LOW | tests/cli/utilities/threadutils.py | 110 | CODE | |
| LOW | tests/cli/utilities/threadutils.py | 168 | CODE | |
| LOW | tests/cli/utilities/threadutils.py | 194 | CODE | |
| LOW | docs/.sphinx/update_sp.py | 37 | CODE | |
| LOW | docs/.sphinx/update_sp.py | 138 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …how-to-guides/manage-instances/configure-static-ips.md | 8 | ## Step 1: Create a Bridge | COMMENT |
| LOW | …how-to-guides/manage-instances/configure-static-ips.md | 27 | ## Step 2: Launch an instance with a manual network | COMMENT |
| LOW | …how-to-guides/manage-instances/configure-static-ips.md | 37 | ## Step 3: Configure the extra interface | COMMENT |
| LOW | …how-to-guides/manage-instances/configure-static-ips.md | 58 | ## Step 4: Apply the new configuration | COMMENT |
| LOW | …how-to-guides/manage-instances/configure-static-ips.md | 68 | ## Step 5: Confirm that it works | COMMENT |
| LOW | …how-to-guides/manage-instances/configure-static-ips.md | 88 | ## Step 6: More instances | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cli/conftest.py | 593 | # Check if privileged mounts are already enabled | COMMENT |
| LOW | docs/.sphinx/update_sp.py | 32 | # Check if debugging | COMMENT |
| LOW | .github/workflows/macos.yml | 159 | # Check if we actually need to call NuGet through mono. | COMMENT |
| LOW | .github/workflows/macos.yml | 269 | # Check if any files were generated in /cores/ | COMMENT |
| LOW | .github/workflows/linux.yml | 241 | # Check if any files were generated in /coredump/ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/conf.py | 203 | # NOTE: If undefined, set to None, or empty, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/utils/json_utils.cpp | 118 | // In this implementation our general strategy is to maintain a `std::stack` of counted iterators | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_cloud_init_iso.cpp | 411 | original_iso.add_file("network-config", "dummy_data"); | CODE |
| LOW | tests/unit/test_cloud_init_iso.cpp | 437 | original_iso.add_file("network-config", "dummy_data"); | CODE |
| LOW | tests/unit/applevz/test_applevz_utils.cpp | 201 | MP_UTILS.make_file_with_content(asif_path.toStdString(), "placeholder", true); | CODE |
| LOW | tests/unit/applevz/test_applevz_utils.cpp | 233 | MP_UTILS.make_file_with_content(asif_path.toStdString(), "placeholder", false); | CODE |
| LOW | tests/unit/applevz/test_applevz_utils.cpp | 386 | MP_UTILS.make_file_with_content(asif_path.toStdString(), "placeholder", false); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/.sphinx/_static/bundle.js | 1 | (()=>{"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}functio | CODE |
| MEDIUM | src/platform/console/terminal.cpp | 33 | * but I'm unable to find a cross-platform way to get the FD corresponding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sts/cli/controller/standalone_multipassd_controller.py | 39 | # No prologue needed -- just pass it via process env | COMMENT |
| MEDIUM | src/iso/cloud_init_iso.cpp | 690 | // Initially, we utilize this information to navigate to and read the file data. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/distro-scraper/scraper/cli.py | 13 | logger = logging.getLogger(__name__) | CODE |