A system-level, binary package and environment manager running on all major operating systems and platforms.
This report presents the forensic synthetic code analysis of conda/conda, a Python project with 7,469 GitHub stars. SynthScan v2.0 examined 603,109 lines of code across 1149 source files, recording 2311 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 4.2 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 2311 distinct pattern matches across 21 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 | conda/misc.py | 90 | def _match_specs_from_explicit(specs: Iterable[str]) -> Iterable[MatchSpec]: | CODE |
| LOW | conda/misc.py | 139 | def install_explicit_packages( | CODE |
| LOW | conda/misc.py | 183 | def _get_package_record_from_specs(specs: list[str]) -> Iterable[PackageCacheRecord]: | CODE |
| LOW | conda/misc.py | 206 | def get_package_records_from_explicit(lines: list[str]) -> Iterable[PackageCacheRecord]: | CODE |
| LOW | conda/resolve.py | 110 | def exactness_and_number_of_deps(resolve_obj, ms): | CODE |
| LOW | conda/resolve.py | 437 | def breadth_first_search_for_dep_graph( | CODE |
| LOW | conda/resolve.py | 1092 | def generate_spec_constraints(self, C, specs): | CODE |
| LOW | conda/resolve.py | 1259 | def environment_is_consistent(self, installed): | CODE |
| LOW | conda/exception_handler.py | 99 | def handle_application_exception( | CODE |
| LOW | conda/exception_handler.py | 114 | def handle_unexpected_exception( | CODE |
| LOW | conda/exception_handler.py | 122 | def handle_reportable_application_exception( | CODE |
| LOW | conda/exception_handler.py | 172 | def print_unexpected_error_report(self, error_report: dict[str, str]) -> None: | CODE |
| LOW | conda/exception_handler.py | 224 | def print_expected_error_report(self, error_report: dict[str, str]) -> None: | CODE |
| LOW | conda/reporters.py | 68 | def get_progress_bar_context_manager() -> AbstractContextManager: | CODE |
| LOW | conda/exceptions.py | 1591 | def format_env_spec_available_plugins( | CODE |
| LOW | conda/activate.py | 813 | def _get_environment_env_vars(self, prefix): | CODE |
| LOW | conda/activate.py | 880 | def backslash_to_forwardslash( | CODE |
| LOW | conda/history.py | 153 | def _parse_old_format_specs_string(specs_string): | CODE |
| LOW | conda/core/link.py | 734 | def _verify_transaction_level(prefix_setups): | CODE |
| LOW | conda/core/link.py | 1129 | def _execute_post_link_actions(axngroup): | CODE |
| LOW | conda/core/link.py | 1264 | def _make_entry_point_actions( | CODE |
| LOW | conda/core/link.py | 1302 | def _make_legacy_action_groups(self): | CODE |
| LOW | conda/core/link.py | 1332 | def print_transaction_summary(self): | CODE |
| LOW | conda/core/package_cache_data.py | 259 | def all_caches_writable_first(cls, pkgs_dirs=None): | CODE |
| LOW | conda/core/package_cache_data.py | 266 | def get_all_extracted_entries(cls): | CODE |
| LOW | conda/core/package_cache_data.py | 320 | def tarball_file_in_this_cache(self, tarball_path, md5sum=None): | CODE |
| LOW | conda/core/package_cache_data.py | 369 | def _scan_for_dist_no_channel(self, dist_str): | CODE |
| LOW | conda/core/package_cache_data.py | 527 | def _dedupe_pkgs_dir_contents(pkgs_dir_contents): | CODE |
| LOW | conda/core/package_cache_data.py | 1066 | def progress_update_cache_action(pct_completed): | CODE |
| LOW | conda/core/path_actions.py | 360 | def create_python_entry_point_windows_exe_action( | CODE |
| LOW | conda/core/index.py | 280 | def _supplement_index_dict_with_prefix(self) -> None: | CODE |
| LOW | conda/core/index.py | 308 | def _supplement_index_dict_with_cache(self) -> None: | CODE |
| LOW | conda/core/index.py | 349 | def _retrieve_all_from_channels(self, key: PackageRecord) -> list[PackageRecord]: | CODE |
| LOW⚡ | conda/core/initialize.py | 1313 | def install_condabin_conda_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1321 | def install_library_bin_conda_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1331 | def install_condabin_conda_activate_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1341 | def install_condabin_rename_tmp_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1349 | def install_condabin_conda_auto_activate_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1359 | def install_condabin_hook_bat(target_path, conda_prefix): | CODE |
| LOW | conda/core/initialize.py | 1427 | def _config_fish_content_to_add_condabin_to_path(conda_prefix): | CODE |
| LOW | conda/core/initialize.py | 1569 | def _config_xonsh_content_to_add_condabin_to_path(conda_prefix): | STRING |
| LOW | conda/core/initialize.py | 1726 | def _bashrc_content_to_add_condabin_to_path(conda_prefix, shell): | STRING |
| LOW | conda/core/initialize.py | 2034 | def add_condabin_to_path_registry(target_path, conda_prefix, reverse=False): | STRING |
| LOW | conda/core/initialize.py | 2110 | def _powershell_profile_content(conda_prefix): | STRING |
| LOW | conda/core/initialize.py | 2127 | def _powershell_profile_content_to_add_condabin_to_path(conda_prefix): | STRING |
| LOW | conda/core/portability.py | 332 | def replace_pyzzer_entry_point_shebang( | CODE |
| LOW | conda/core/portability.py | 427 | def generate_shebang_for_entry_point( | CODE |
| LOW⚡ | conda/core/prefix_data.py | 661 | def _get_environment_state_file(self) -> dict[str, dict[str, str]]: | CODE |
| LOW⚡ | conda/core/prefix_data.py | 670 | def _write_environment_state_file(self, state: dict[str, dict[str, str]]) -> None: | CODE |
| LOW⚡ | conda/core/prefix_data.py | 674 | def _ensure_no_reserved_env_vars(self, env_vars_names: Iterable[str]) -> None: | CODE |
| LOW | conda/core/prefix_data.py | 711 | def unset_environment_env_vars(self, env_vars: list[str]) -> dict[str, str] | None: | CODE |
| LOW | conda/core/prefix_data.py | 760 | def get_conda_anchor_files_and_records( | CODE |
| LOW | conda/core/prefix_data.py | 807 | def delete_prefix_from_linked_data(path: str | os.PathLike | Path) -> bool: | CODE |
| LOW | conda/core/solve.py | 444 | def determine_constricting_specs(self, spec, solution_precs): | CODE |
| LOW | conda/core/solve.py | 485 | def get_request_package_in_solution(self, solution_precs, specs_map): | CODE |
| LOW | conda/core/solve.py | 653 | def _find_inconsistent_packages(self, ssc): | CODE |
| LOW | conda/core/solve.py | 1416 | def diff_for_unlink_link_precs( | CODE |
| LOW | conda/core/envs_manager.py | 26 | def get_user_environments_txt_file(userhome: str = "~") -> str: | CODE |
| LOW | conda/core/envs_manager.py | 210 | def _rewrite_environments_txt(environments_txt_file: str, prefixes: list[str]) -> None: | CODE |
| LOW | conda/core/subdir_data.py | 135 | def clear_cached_local_channel_data(cls, exclude_file: bool = True) -> None: | CODE |
| 1331 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/exports.py | 5 | CODE | |
| LOW | conda/exports.py | 17 | CODE | |
| LOW | conda/exports.py | 23 | CODE | |
| LOW | conda/exports.py | 23 | CODE | |
| LOW | conda/exports.py | 23 | CODE | |
| LOW | conda/exports.py | 24 | CODE | |
| LOW | conda/exports.py | 25 | CODE | |
| LOW | conda/exports.py | 25 | CODE | |
| LOW | conda/exports.py | 29 | CODE | |
| LOW | conda/exports.py | 31 | CODE | |
| LOW | conda/exports.py | 32 | CODE | |
| LOW | conda/exports.py | 36 | CODE | |
| LOW | conda/exports.py | 38 | CODE | |
| LOW | conda/exports.py | 39 | CODE | |
| LOW | conda/exports.py | 50 | CODE | |
| LOW | conda/exports.py | 52 | CODE | |
| LOW | conda/exports.py | 53 | CODE | |
| LOW | conda/exports.py | 54 | CODE | |
| LOW | conda/exports.py | 55 | CODE | |
| LOW | conda/exports.py | 56 | CODE | |
| LOW | conda/exports.py | 56 | CODE | |
| LOW | conda/exports.py | 57 | CODE | |
| LOW | conda/exports.py | 57 | CODE | |
| LOW | conda/exports.py | 58 | CODE | |
| LOW | conda/exports.py | 60 | CODE | |
| LOW | conda/exports.py | 60 | CODE | |
| LOW | conda/exports.py | 61 | CODE | |
| LOW | conda/exports.py | 61 | CODE | |
| LOW | conda/exports.py | 62 | CODE | |
| LOW | conda/exports.py | 62 | CODE | |
| LOW | conda/exports.py | 68 | CODE | |
| LOW | conda/exports.py | 68 | CODE | |
| LOW | conda/misc.py | 5 | CODE | |
| LOW | conda/resolve.py | 8 | CODE | |
| LOW | conda/__init__.py | 5 | CODE | |
| LOW | conda/deprecations.py | 5 | CODE | |
| LOW | conda/exception_handler.py | 5 | CODE | |
| LOW | conda/utils.py | 5 | CODE | |
| LOW | conda/reporters.py | 7 | CODE | |
| LOW | conda/exceptions.py | 5 | CODE | |
| LOW | conda/exceptions.py | 28 | CODE | |
| LOW | conda/exceptions.py | 32 | CODE | |
| LOW | conda/exceptions.py | 32 | CODE | |
| LOW | conda/activate.py | 12 | CODE | |
| LOW | conda/history.py | 5 | CODE | |
| LOW | conda/_preview/env_setup/cli/main_create.py | 10 | CODE | |
| LOW | conda/_preview/env_setup/cli/main_install.py | 10 | CODE | |
| LOW | conda/core/link.py | 5 | CODE | |
| LOW | conda/core/package_cache_data.py | 5 | CODE | |
| LOW | conda/core/path_actions.py | 5 | CODE | |
| LOW | conda/core/index.py | 5 | CODE | |
| LOW | conda/core/portability.py | 5 | CODE | |
| LOW | conda/core/prefix_data.py | 5 | CODE | |
| LOW | conda/core/solve.py | 5 | CODE | |
| LOW | conda/core/envs_manager.py | 5 | CODE | |
| LOW | conda/core/subdir_data.py | 5 | CODE | |
| LOW | conda/plugins/config.py | 11 | CODE | |
| LOW | conda/plugins/previews.py | 5 | CODE | |
| LOW | conda/plugins/__init__.py | 28 | CODE | |
| LOW | conda/plugins/__init__.py | 33 | CODE | |
| 328 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/misc.py | 225 | CODE | |
| LOW | conda/misc.py | 285 | CODE | |
| LOW | conda/resolve.py | 345 | CODE | |
| LOW | conda/resolve.py | 478 | CODE | |
| LOW | conda/resolve.py | 501 | CODE | |
| LOW | conda/resolve.py | 680 | CODE | |
| LOW | conda/resolve.py | 1118 | CODE | |
| LOW | conda/resolve.py | 1153 | CODE | |
| LOW | conda/resolve.py | 1308 | CODE | |
| LOW | conda/resolve.py | 1448 | CODE | |
| LOW | conda/resolve.py | 720 | CODE | |
| LOW | conda/deprecations.py | 403 | CODE | |
| LOW | conda/utils.py | 176 | CODE | |
| LOW | conda/exceptions.py | 1691 | CODE | |
| LOW | conda/exceptions.py | 954 | CODE | |
| LOW | conda/exceptions.py | 988 | CODE | |
| LOW | conda/activate.py | 125 | CODE | |
| LOW | conda/activate.py | 684 | CODE | |
| LOW | conda/activate.py | 738 | CODE | |
| LOW | conda/history.py | 125 | CODE | |
| LOW | conda/history.py | 173 | CODE | |
| LOW | conda/history.py | 309 | CODE | |
| LOW | conda/history.py | 348 | CODE | |
| LOW | conda/core/link.py | 1573 | CODE | |
| LOW | conda/core/link.py | 1723 | CODE | |
| LOW | conda/core/link.py | 639 | CODE | |
| LOW | conda/core/link.py | 734 | CODE | |
| LOW | conda/core/link.py | 909 | CODE | |
| LOW | conda/core/link.py | 1507 | CODE | |
| LOW | conda/core/package_cache_data.py | 126 | CODE | |
| LOW | conda/core/package_cache_data.py | 218 | CODE | |
| LOW | conda/core/package_cache_data.py | 389 | CODE | |
| LOW | conda/core/package_cache_data.py | 808 | CODE | |
| LOW | conda/core/path_actions.py | 420 | CODE | |
| LOW | conda/core/index.py | 474 | CODE | |
| LOW | conda/core/index.py | 481 | CODE | |
| LOW | conda/core/initialize.py | 155 | CODE | |
| LOW | conda/core/initialize.py | 540 | CODE | |
| LOW | conda/core/initialize.py | 1011 | CODE | |
| LOW | conda/core/initialize.py | 1877 | CODE | |
| LOW | conda/core/portability.py | 190 | CODE | |
| LOW | conda/core/portability.py | 332 | CODE | |
| LOW | conda/core/prefix_data.py | 760 | CODE | |
| LOW | conda/core/prefix_data.py | 379 | CODE | |
| LOW | conda/core/prefix_data.py | 435 | CODE | |
| LOW | conda/core/prefix_data.py | 711 | CODE | |
| LOW | conda/core/solve.py | 256 | CODE | |
| LOW | conda/core/solve.py | 444 | CODE | |
| LOW | conda/core/solve.py | 698 | CODE | |
| LOW | conda/core/solve.py | 739 | CODE | |
| LOW | conda/core/solve.py | 978 | CODE | |
| LOW | conda/core/solve.py | 1108 | CODE | |
| LOW | conda/core/subdir_data.py | 53 | CODE | |
| LOW | conda/core/subdir_data.py | 213 | CODE | |
| LOW | conda/core/subdir_data.py | 594 | CODE | |
| LOW | conda/core/subdir_data.py | 720 | CODE | |
| LOW | conda/plugins/config.py | 82 | CODE | |
| LOW | conda/plugins/types.py | 221 | CODE | |
| LOW | conda/plugins/manager.py | 693 | CODE | |
| LOW | conda/plugins/manager.py | 823 | CODE | |
| 129 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | conda/activate.py | 1056 | unset_var_tmpl = "set -e %s || true" | CODE |
| HIGH | conda/core/initialize.py | 1704 | __conda_setup="$('%(conda_exe)s' 'shell.%(shell)s' 'hook' 2> /dev/null)" | CODE |
| HIGH | conda/cli/condarc.py | 561 | CondaKeyError: If the key is unknown, undefined, or the item is not present. | STRING |
| HIGH | conda/common/constants.py | 9 | # to null, or the key didn't exist at all. There could be a bit of potential confusion here, | COMMENT |
| HIGH | conda/auxlib/__init__.py | 88 | # to null, or the key didn't exist at all. There could be a bit of potential confusion here, | COMMENT |
| HIGH⚡ | conda/auxlib/entity.py | 217 | >>> # latest_charge can be null, but it can't be deleted. The default value is a callable. | STRING |
| HIGH⚡ | conda/auxlib/entity.py | 223 | '{"latest_charge": null, "expiration": "1982-02-17T00:00:00"}' | STRING |
| HIGH⚡ | conda/auxlib/entity.py | 225 | >>> # expiration is assigned by default, can't be made null, but can be deleted. | STRING |
| HIGH⚡ | conda/auxlib/entity.py | 233 | '{"latest_charge": null}' | STRING |
| HIGH | conda/base/context.py | 1977 | 'local' channel in the list. If the list is empty or left undefined, no | STRING |
| HIGH | conda/base/context.py | 1986 | the 'local' channel in the list. If the list is empty or left undefined, no | STRING |
| HIGH | conda/base/context.py | 2176 | context_stack.push(search_path, argparse_args) | STRING |
| HIGH⚡ | tests/test_activate.py | 1723 | f"set -e CONDA_PREFIX || true;\n" | CODE |
| HIGH⚡ | tests/test_activate.py | 1724 | f"set -e CONDA_DEFAULT_ENV || true;\n" | CODE |
| HIGH⚡ | tests/test_activate.py | 1725 | f"set -e CONDA_PROMPT_MODIFIER || true;\n" | CODE |
| HIGH | tests/core/test_initialize.py | 949 | __conda_setup="$('{prefix}/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | CODE |
| HIGH | tests/core/test_initialize.py | 980 | __conda_setup="$('{prefix}/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | CODE |
| HIGH | tests/core/test_initialize.py | 1057 | __conda_setup="$('{prefix}/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | CODE |
| HIGH⚡ | tests/core/test_initialize.py | 471 | "set -e _CE_M || true;", | STRING |
| HIGH⚡ | tests/core/test_initialize.py | 472 | "set -e _CE_CONDA || true;", | STRING |
| HIGH⚡ | tests/core/test_initialize.py | 481 | "set -e _CE_M || true;", | STRING |
| HIGH⚡ | tests/core/test_initialize.py | 482 | "set -e _CE_CONDA || true;", | STRING |
| HIGH | tests/plugins/test_environment_export.py | 512 | # Should have a name field (even if None/null) | COMMENT |
| HIGH | tests/shell/test_posix.py | 201 | sh.sendline(f'conda {install} --blah || echo "exitcode=$?"') | CODE |
| HIGH | tests/shell/test_posix.py | 204 | sh.sendline('conda list --blah || echo "exitcode=$?"') | CODE |
| HIGH | tests/models/test_match_spec.py | 1899 | assert MatchSpec("package[extras=[yes, no, 0, 1, True, False, null, None]]").get( | CODE |
| HIGH | tests/models/test_match_spec.py | 1955 | assert MatchSpec("package[flags=[yes, no, 0, 1, True, False, null, None]]").get( | CODE |
| HIGH⚡ | tests/base/test_context.py | 952 | stack.push((), None) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | conda/__init__.py | 184 | # This function is in the base __init__.py so that it can be monkey-patched by other code | COMMENT |
| MEDIUM | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 1105 | """This class is used to evaluate marker expressions.""" | STRING |
| MEDIUM | conda/_private/extract.py | 9 | # This module is imported in each spawned extraction worker. Keep imports here | COMMENT |
| MEDIUM | conda/gateways/shards/__init__.py | 13 | # Define a minimal high-level API for shards | COMMENT |
| MEDIUM | tests/test_exceptions.py | 527 | # Create a mock Response object | COMMENT |
| MEDIUM | tests/test_exceptions.py | 536 | # Create the response with a detail field | COMMENT |
| MEDIUM⚡ | tests/shards/test_coverage.py | 687 | # Create a file:// URI to test the connection function | COMMENT |
| MEDIUM | tests/shards/test_coverage.py | 311 | # Create a file that's not a valid database | COMMENT |
| MEDIUM | tests/shards/test_coverage.py | 945 | # Create a corrupted database file | COMMENT |
| MEDIUM | tests/shards/test_shards.py | 953 | # Create a copy with mutable structure for testing | COMMENT |
| MEDIUM | tests/shards/test_shards_subset.py | 944 | # Create a custom queue that adds delays | COMMENT |
| MEDIUM | tests/shards/test_shards_subset.py | 1179 | # Create a chaotic queue class that adds random delays | COMMENT |
| MEDIUM⚡ | tests/shards/test_shardfetch.py | 43 | # Create a ShardFetch with Shards instance | COMMENT |
| MEDIUM⚡ | tests/shards/test_shardfetch.py | 60 | # Create a Shards instance | COMMENT |
| MEDIUM⚡ | tests/shards/test_shardfetch.py | 70 | # Create a mock future | COMMENT |
| MEDIUM⚡ | tests/shards/test_shardfetch.py | 93 | # Create a temporary cache | COMMENT |
| MEDIUM⚡ | tests/shards/test_shardfetch.py | 96 | # Create a ShardLike instance (not Shards) | COMMENT |
| MEDIUM⚡ | tests/shards/test_shardfetch.py | 123 | # Create a temporary cache | COMMENT |
| MEDIUM⚡ | tests/shards/test_shardfetch.py | 126 | # Create a ShardLike instance (not Shards) | COMMENT |
| MEDIUM | tests/shards/test_shardfetch.py | 154 | # Create a Shards instance | COMMENT |
| MEDIUM | tests/core/test_prefix_data.py | 752 | # Create a mock PrefixGraph that returns both conda and Python packages | COMMENT |
| MEDIUM | tests/core/test_prefix_data.py | 756 | # Create a mock PrefixData instance | COMMENT |
| MEDIUM | tests/core/test_prefix_data.py | 920 | # Create a mock PrefixGraph that returns our test records | COMMENT |
| MEDIUM | tests/core/test_package_cache_data.py | 179 | # Create a package record that simulates repodata v3 format | COMMENT |
| MEDIUM | tests/core/test_package_cache_data.py | 264 | # Create a package record that simulates traditional repodata format | COMMENT |
| MEDIUM | tests/core/test_initialize.py | 1180 | # Define a namedtuple for test case parameters; helps with readability | STRING |
| MEDIUM⚡ | tests/plugins/test_environment_export.py | 409 | # Create a plugin with wildcard pattern | COMMENT |
| MEDIUM | tests/plugins/test_env_specs.py | 444 | # Create a test file with appropriate content | COMMENT |
| MEDIUM | tests/plugins/test_env_specs.py | 466 | # Create a file with non-standard name but valid requirements.txt content | COMMENT |
| MEDIUM | tests/plugins/test_env_specs.py | 515 | # Create a file that doesn't match any plugin | COMMENT |
| MEDIUM | tests/shell/test_cmd_exe.py | 176 | # Create a failing activation script in the environment | COMMENT |
| MEDIUM | tests/cli/test_main_export.py | 853 | # Create an environment with conda packages and pip dependencies | COMMENT |
| MEDIUM | tests/cli/test_main_config.py | 583 | # Create a temporary user condarc | COMMENT |
| MEDIUM | tests/cli/test_main_config.py | 601 | # Create a temporary system condarc | COMMENT |
| MEDIUM | tests/cli/test_main_config.py | 617 | # Create a temporary environment with .condarc | COMMENT |
| MEDIUM⚡ | tests/common/pkg_formats/test_python.py | 44 | ('folder', 'fname', 'content'), # Create a file in folder with content | STRING |
| MEDIUM⚡ | tests/common/pkg_formats/test_python.py | 45 | ('', 'fname', 'content'), # Create a file with content | STRING |
| MEDIUM⚡ | tests/common/pkg_formats/test_python.py | 46 | ('folder', '', ''), # Create a folder | STRING |
| MEDIUM | …-win-amd64.egg/EGG-INFO/scripts/pywin32_postinstall.py | 83 | # Create a function with the same signature as create_shortcut provided | COMMENT |
| MEDIUM | …-win-amd64.egg/EGG-INFO/scripts/pywin32_postinstall.py | 423 | # Create the win32com\gen_py directory. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/resolve.py | 85 | except Exception as e: | CODE |
| LOW | conda/resolve.py | 96 | except Exception as e: | CODE |
| LOW | conda/__init__.py | 114 | except Exception: | CODE |
| LOW | conda/exception_handler.py | 149 | except Exception as info_e: | CODE |
| LOW | conda/exception_handler.py | 201 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 249 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 272 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 332 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 387 | except Exception as e: # pragma: no cover | CODE |
| LOW | conda/exception_handler.py | 396 | except Exception as e: | CODE |
| MEDIUM | conda/exception_handler.py | 269 | def _isatty(self) -> bool: | CODE |
| LOW | conda/utils.py | 82 | except Exception: | CODE |
| LOW | conda/core/link.py | 1115 | except Exception as e: # this won't be a multi error | CODE |
| LOW | conda/core/link.py | 1141 | except Exception as e: # this won't be a multi error | CODE |
| LOW | conda/core/link.py | 1183 | except Exception as e: | CODE |
| LOW | conda/core/link.py | 1604 | except Exception as e: | CODE |
| LOW | conda/core/package_cache_data.py | 949 | except Exception as e: | CODE |
| LOW | conda/core/package_cache_data.py | 993 | except Exception as e: | CODE |
| LOW | conda/core/package_cache_data.py | 1116 | except Exception as e: | CODE |
| MEDIUM | conda/core/initialize.py | 314 | def make_install_plan(conda_prefix): | CODE |
| LOW | conda/core/initialize.py | 693 | except Exception: | CODE |
| LOW | conda/core/initialize.py | 928 | except Exception: | CODE |
| LOW | conda/core/initialize.py | 1944 | except Exception: | STRING |
| LOW | conda/core/subdir_data.py | 461 | except Exception: | CODE |
| LOW | conda/core/subdir_data.py | 539 | except Exception: | CODE |
| LOW | conda/plugins/manager.py | 221 | except Exception as err: | CODE |
| LOW | conda/plugins/manager.py | 261 | except Exception as err: | CODE |
| LOW | conda/plugins/manager.py | 900 | except Exception as e: | CODE |
| LOW | conda/plugins/manager.py | 950 | except Exception as e: | CODE |
| LOW | conda/plugins/manager.py | 983 | except Exception: | CODE |
| LOW | conda/plugins/virtual_packages/cuda.py | 180 | except Exception: | CODE |
| LOW | conda/plugins/subcommands/doctor/__init__.py | 92 | except Exception as err: | CODE |
| LOW | conda/plugins/subcommands/doctor/__init__.py | 119 | except Exception as err: | CODE |
| LOW | …gins/subcommands/doctor/health_checks/altered_files.py | 38 | except Exception as exc: | CODE |
| LOW | …nda/plugins/subcommands/doctor/health_checks/pinned.py | 31 | except Exception: | CODE |
| LOW | …nda/plugins/subcommands/doctor/health_checks/pinned.py | 52 | except Exception as err: | CODE |
| LOW | …nda/plugins/subcommands/doctor/health_checks/pinned.py | 112 | except Exception: | CODE |
| LOW | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 1220 | except Exception as e: | CODE |
| LOW | conda/models/channel.py | 382 | except Exception as e: | CODE |
| LOW | conda/cli/main_config.py | 683 | except Exception: # pragma: no cover | CODE |
| LOW | conda/cli/main_info.py | 219 | except Exception as err: | CODE |
| LOW | conda/cli/common.py | 284 | except Exception as exc: | STRING |
| LOW | conda/notices/core.py | 142 | except Exception: | CODE |
| LOW | conda/testing/gateways/fixtures.py | 117 | except Exception as e: | CODE |
| LOW | conda/common/_os/windows.py | 121 | except Exception as e: | CODE |
| LOW | conda/common/_os/windows.py | 131 | except Exception as e: # pragma: no cover | CODE |
| LOW | conda/common/_os/windows.py | 142 | except Exception as e: | CODE |
| LOW | conda/common/_os/windows.py | 181 | except Exception as e: | CODE |
| LOW | conda/common/path/windows.py | 110 | except Exception as err: | CODE |
| LOW | conda/gateways/logging.py | 94 | except Exception: | STRING |
| LOW | conda/gateways/logging.py | 122 | except Exception: | CODE |
| LOW | conda/gateways/disk/update.py | 129 | except Exception as exc: | CODE |
| LOW | conda/gateways/disk/create.py | 259 | except Exception: | STRING |
| LOW | conda/gateways/disk/permissions.py | 32 | except Exception as e: | CODE |
| MEDIUM | conda/gateways/disk/permissions.py | 20 | def make_writable(path): | CODE |
| LOW | conda/auxlib/logz.py | 196 | except Exception as e: | CODE |
| MEDIUM | conda/auxlib/logz.py | 90 | def fullname(obj): | CODE |
| LOW | conda/base/context.py | 1113 | except Exception as exc: | CODE |
| LOW | conda/base/context.py | 1163 | except Exception as err: | CODE |
| LOW | conda/base/context.py | 1198 | except Exception as e: | CODE |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | conda/core/portability.py | 260 | Replaces occurrences of a search string with a replacement string in a given byte string. Args: data: | STRING |
| HIGH | conda/core/portability.py | 289 | Replaces occurrences of the search string with the replacement string in a matched group. Args: | STRING |
| HIGH | conda/plugins/manager.py | 824 | Get a mapping from plugin names (including aliases) to plugin. Args: plugins: Plugins that | STRING |
| HIGH | conda/plugins/manager.py | 868 | Get an environment specifier plugin by name Args: source: full path to the environment spec file/so | STRING |
| HIGH | conda/plugins/manager.py | 1098 | Detect an environment exporter based on filename matching against default_filenames. Uses fnmatch patt | STRING |
| HIGH | conda/plugins/manager.py | 1142 | Get an environment exporter based on the format name. Args: format_name: Format name to fi | STRING |
| HIGH | conda/plugins/manager.py | 1270 | Get the package extractor plugin for a given package path. Searches through registered package extract | STRING |
| HIGH | conda/models/channel.py | 252 | Generate URLs for this channel across specified platforms. Args: with_credentials: If True, include | STRING |
| HIGH | conda/models/match_spec.py | 781 | Sanitize version strings for MatchSpec parsing. Handles edge cases and translates version patterns for proper | STRING |
| HIGH | conda/cli/condarc.py | 153 | Validate that provided parameters exist in the configuration context. Compares the provided parameters with th | STRING |
| HIGH | conda/testing/fixtures.py | 257 | Test conda CLI. Mimic what is done in `conda.cli.main.main`. `conda ...` == `conda_cli(...)` Args: | STRING |
| HIGH | conda/testing/fixtures.py | 339 | Test pip CLI in a specific conda environment. `pip ...` in environment == `pip_cli(..., prefix=env_path)` | STRING |
| HIGH | conda/testing/fixtures.py | 819 | Function-scoped HTTP test server for serving local files. This fixture starts an HTTP server on a random port | STRING |
| HIGH | conda/common/path/__init__.py | 181 | Split path into (base, extension) for known extensions. Package extensions are determined dynamically from reg | STRING |
| HIGH | conda/auxlib/collection.py | 29 | Give the first value that satisfies the key test. Args: seq (iterable): key (callable): test for ea | STRING |
| HIGH | conda/auxlib/type_coercion.py | 136 | Convert a number, string, or sequence type into a pure boolean. Args: value (number, string, sequence): pre | STRING |
| HIGH | conda/base/context.py | 2293 | Get the prefix to operate in. The prefix may not yet exist. Args: ctx: the context of conda args: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/activate.py | 81 | # 3. Update the command prompt | COMMENT |
| LOW | conda/core/package_cache_data.py | 721 | COMMENT | |
| LOW | conda/core/portability.py | 341 | Args: | COMMENT |
| LOW | conda/core/portability.py | 461 | else: | COMMENT |
| LOW | conda/core/solve.py | 741 | # to the package currently existing in the environment. Setting target instructs the | COMMENT |
| LOW | conda/core/solve.py | 981 | *ssc.specs_map.values(), | COMMENT |
| LOW | conda/core/solve.py | 1141 | ssc.solution_precs = tuple(PrefixGraph(_no_deps_solution).graph) | COMMENT |
| LOW | conda/core/solve.py | 1341 | # prefix, channels, subdirs, specs_to_add, specs_to_remove | COMMENT |
| LOW | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 501 | # ('Description-Content-Type', 'description_content_type'), | COMMENT |
| LOW | conda/models/match_spec.py | 1421 | # Raise on incompatible pattern | COMMENT |
| LOW | conda/models/match_spec.py | 1621 | if self._re_match: | COMMENT |
| LOW | conda/models/prefix_graph.py | 361 | # builder.append(' label="%s";' % title) | COMMENT |
| LOW | conda/models/prefix_graph.py | 381 | # for child in node.optional_children: | COMMENT |
| LOW | conda/cli/find_commands.py | 81 | except (FileNotFoundError, NotADirectoryError, PermissionError, OSError): | COMMENT |
| LOW | conda/cli/install.py | 181 | # 3. the error says it's okay to retry | COMMENT |
| LOW | conda/testing/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | conda/testing/notices/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | conda/testing/gateways/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | conda/common/path/_cygpath.py | 41 | # 1. root filesystem forms: | COMMENT |
| LOW | conda/gateways/connection/adapters/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | conda/gateways/disk/update.py | 161 | with open(path, "a"): | COMMENT |
| LOW | conda/auxlib/decorators.py | 201 | if obj is None: | COMMENT |
| LOW | conda/base/constants.py | 421 | # erlang: https://hex.pm/packages | COMMENT |
| LOW | conda/base/context.py | 1721 | # Override any of conda's objections and safeguards for installing packages and | COMMENT |
| LOW | tests/_preview/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/_preview/env_setup/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/_preview/env_setup/cli/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/core/test_solve.py | 1561 | assert pkg.version == "0.24" | COMMENT |
| LOW | tests/core/test_solve.py | 3301 | # self.prefix = '/a/test/c/prefix' | COMMENT |
| LOW | tests/core/test_solve.py | 3321 | # else: | COMMENT |
| LOW | tests/core/test_solve.py | 3341 | # 'channel-1::python-2.7.13-0', | COMMENT |
| LOW | tests/core/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/core/test_package_cache_data.py | 501 | # pfe = ProgressiveFetchExtract((zlib_conda_prec_bad,)) | COMMENT |
| LOW | tests/plugins/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/plugins/reporter_backends/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | …ts/plugins/data/test-plugin/test_plugin/importerror.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/plugins/data/test-plugin/test_plugin/blocked.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/plugins/data/test-plugin/test_plugin/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/shell/__init__.py | 101 | "zsh": {"base_shell": "posix"}, | COMMENT |
| LOW | tests/models/test_prefix_graph.py | 801 | def test_deep_cyclical_dependency(tmpdir): | COMMENT |
| LOW | tests/models/test_match_spec.py | 1221 | # "build_number": '<3', | COMMENT |
| LOW | tests/models/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/cli/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/_private/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/notices/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/common/test_logic.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/common/_os/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/common/path/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/common/path/test_windows.py | 241 | pytest.param( | COMMENT |
| LOW | tests/gateways/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/gateways/disk/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/data/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/data/build-index5-json.py | 121 | r3json = read_data_source("main_noarch") | COMMENT |
| LOW | tests/data/build-index5-json.py | 141 | # "md5": "bdc6db1adbe7268e3ecbae13ec02066a", | COMMENT |
| LOW | tests/base/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | .github/template-files/config.yml | 21 | dst: .github/workflows/build.yml | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 468 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 493 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 829 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 990 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 1084 | # ------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 74 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | tests/common/pkg_formats/test_python.py | 38 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/common/pkg_formats/test_python.py | 72 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/common/pkg_formats/test_python.py | 332 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/common/pkg_formats/test_python.py | 438 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/common/pkg_formats/test_python.py | 679 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | docs/source/conf.py | 196 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/source/conf.py | 198 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 174 | # elevate all deprecation warnings to errors | COMMENT |
| MEDIUM | conda/resolve.py | 171 | # more, because more modern packages utilize constraints in more sane | COMMENT |
| MEDIUM | conda/models/environment.py | 491 | # Create environment config with comprehensive context settings | COMMENT |
| LOW | conda/notices/types.py | 95 | # If we get an invalid value, rather than fail, we simply use a reasonable default | COMMENT |
| LOW | conda/testing/__init__.py | 34 | # But why not just use _replace_prefix_in_path? => because moving | COMMENT |
| LOW | conda/testing/__init__.py | 47 | # just return the same value every time, even if you update PATH. | COMMENT |
| LOW | conda/testing/fixtures.py | 544 | # no arguments, just create an empty environment | COMMENT |
| LOW | conda/common/_logic.py | 170 | # NOTE: The iterative solving isn't actually used here, we just call | COMMENT |
| LOW | conda/gateways/connection/session.py | 165 | # we just return the default session object. | COMMENT |
| MEDIUM | conda/gateways/disk/create.py | 39 | # using our rm_rf function is more robust than the shutil equivalent | COMMENT |
| MEDIUM | conda/auxlib/decorators.py | 7 | # TODO: spend time filling out functionality and make these more robust | COMMENT |
| MEDIUM⚡ | tests/shards/test_coverage.py | 965 | """Final comprehensive tests for misc module""" | STRING |
| MEDIUM | tests/models/test_match_spec.py | 1715 | """Test conda_env_form() with comprehensive real-world examples.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | CHANGELOG.md | 468 | * Mark `conda.base.constants.CONDA_PACKAGE_EXTENSIONS` as pending deprecation, to be removed in 27.3. Use `conda.base.co | COMMENT |
| CRITICAL | conda/base/constants.py | 199 | addendum="Use `conda.base.context.context.plugin_manager.get_package_extractors()` instead.", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/reporters.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | conda/core/prefix_data.py | 724 | def set_creation_time(self) -> None: | CODE |
| LOW | conda/core/prefix_data.py | 736 | def set_nonadmin(self) -> None: | CODE |
| LOW | conda/plugins/__init__.py | 38 | __all__ = ["hookimpl"] | CODE |
| LOW | conda/plugins/types.py | 473 | def update_to(self, fraction) -> None: ... | CODE |
| LOW | conda/plugins/hookspec.py | 552 | def update_to(self, fraction) -> None: | STRING |
| LOW | conda/plugins/reporter_backends/console.py | 48 | def update_to(self, fraction) -> None: | CODE |
| LOW | conda/plugins/reporter_backends/console.py | 92 | def update_to(self, fraction) -> None: | CODE |
| LOW | conda/plugins/reporter_backends/json.py | 45 | def update_to(self, fraction) -> None: | CODE |
| LOW | …a/plugins/subcommands/doctor/health_checks/__init__.py | 32 | __all__ = ["plugins"] | CODE |
| LOW | conda/cli/main_config.py | 398 | def set_keys(*args: tuple[str, Any], path: str | os.PathLike[str] | Path) -> None: | CODE |
| LOW | conda/cli/main_config.py | 774 | def _set_key(key: str, item: Any, config: dict) -> None: | CODE |
| LOW | conda/cli/condarc.py | 504 | def set_key(self, key: str, item: Any) -> None: | CODE |
| LOW | conda/_private/zstd.py | 24 | __all__ = [ | CODE |
| LOW | conda/_private/shards/__init__.py | 12 | __all__ = [ | CODE |
| LOW | conda/notices/fetch.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | conda/notices/cache.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | conda/notices/core.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | conda/common/io.py | 610 | def _set_entry_name(self, f: Callable[..., Any]) -> None: | CODE |
| LOW | conda/common/path/__init__.py | 53 | __all__ = [ | CODE |
| LOW | conda/gateways/shards/__init__.py | 22 | __all__ = ["RepodataSubset", "build_repodata_subset", "BuildRepodataSubset"] | CODE |
| LOW | conda/auxlib/__init__.py | 36 | __all__ = [ | CODE |
| LOW | conda/auxlib/entity.py | 270 | __all__ = [ | CODE |
| LOW | conda/auxlib/type_coercion.py | 21 | __all__ = ["boolify", "typify", "maybecall", "numberify"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/resolve.py | 1281 | # Check if satisfiable | COMMENT |
| LOW | conda/resolve.py | 1501 | # Check if satisfiable | COMMENT |
| LOW | conda/core/solve.py | 360 | # Check if specs are satisfied by current environment. If they are, exit early. | COMMENT |
| LOW | conda/plugins/manager.py | 1118 | # Check if basename matches any of the default filename patterns | COMMENT |
| LOW | conda/models/match_spec.py | 1436 | # Check if we have suffix+suffix or prefix+prefix | STRING |
| LOW | conda/gateways/connection/download.py | 106 | # Check if adapter supports optimized direct-to-file downloads | COMMENT |
| LOW | tests/shards/http_server.py | 46 | # Check if file exists and is a file (not a directory) | COMMENT |
| LOW⚡ | tests/shell/test_cmd_exe.py | 158 | # Set TEMP to invalid path | COMMENT |
| LOW | tests/shell/test_cmd_exe.py | 261 | # Check if activation succeeded by checking CONDA_PREFIX | COMMENT |
| LOW⚡ | tests/testing/test_http_test_server.py | 28 | # Check if content contains expected YAML fields | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/resolve.py | 241 | CODE | |
| LOW | conda/__init__.py | 159 | CODE | |
| LOW | conda/core/index.py | 77 | CODE | |
| LOW | conda/core/index.py | 437 | CODE | |
| LOW | conda/plugins/prefix_data_loaders/pypi/pkg_format.py | 1202 | CODE | |
| LOW | conda/models/dist.py | 94 | CODE | |
| LOW | conda/cli/main_list.py | 183 | CODE | |
| LOW | conda/cli/main_list.py | 311 | CODE | |
| LOW | conda/common/url.py | 149 | CODE | |
| LOW | conda/common/path/python.py | 56 | CODE | |
| LOW | conda/gateways/connection/adapters/ftp.py | 241 | CODE | |
| LOW | conda/auxlib/entity.py | 382 | CODE | |
| LOW | conda/auxlib/entity.py | 560 | CODE | |
| LOW | conda/auxlib/entity.py | 590 | CODE | |
| LOW | conda/auxlib/entity.py | 640 | CODE | |
| LOW | conda/auxlib/entity.py | 674 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/exceptions.py | 1474 | "placeholder": placeholder, | CODE |
| LOW | conda/gateways/disk/read.py | 219 | ParseResult = namedtuple("ParseResult", ("placeholder", "filemode", "filepath")) | CODE |
| LOW | tests/test_exceptions.py | 922 | assert json_obj["placeholder"] == placeholder | CODE |
| LOW⚡ | tests/core/test_prefix_data.py | 499 | url="https://conda.anaconda.org/t/some-fake-token/fake/noarch/a-1.0-0.tar.bz2", | CODE |
| LOW⚡ | tests/core/test_prefix_data.py | 508 | assert "/t/some-fake-token/" in json_content | CODE |
| LOW⚡ | tests/core/test_initialize.py | 1467 | dummy_value = 0 | STRING |
| LOW⚡ | tests/core/test_initialize.py | 1470 | return dummy_value, "REG_DWORD" | STRING |
| LOW⚡ | tests/core/test_initialize.py | 1473 | nonlocal dummy_value | STRING |
| LOW⚡ | tests/core/test_initialize.py | 1474 | dummy_value = value | STRING |
| LOW⚡ | tests/cli/test_cli_install.py | 46 | assert "Lorem ipsum dolor sit amet" in stdout | CODE |
| LOW⚡ | tests/cli/test_cli_install.py | 46 | assert "Lorem ipsum dolor sit amet" in stdout | CODE |
| LOW | tests/cli/test_main_list.py | 177 | token = "t/some-fake-token/" | CODE |
| LOW | …recipes/pre_link_messages_package/message-from-pkg.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, | CODE |
| LOW | …recipes/pre_link_messages_package/message-from-pkg.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/models/records.py | 495 | # WARNING: This is right now only used in link.py _change_report_str(). It is not | COMMENT |
| LOW | conda/common/_logic.py | 575 | # NOTE: The following ITE call is _the_ hotspot of the Python-side | COMMENT |
| LOW | conda/common/io.py | 265 | # NOTE: This function is not thread-safe. Using within multi-threading may cause spurious | STRING |
| LOW | …cs/source/dev-guide/writing-tests/windows-applocker.md | 21 | ### Step 1: Enable the [Application Identity Service][Application Identity Service] | COMMENT |
| LOW | …cs/source/dev-guide/writing-tests/windows-applocker.md | 34 | ### Step 2: Configure AppLocker Enforcement | COMMENT |
| LOW | …cs/source/dev-guide/writing-tests/windows-applocker.md | 42 | ### Step 3: Create AppLocker Rules | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | conda/plugins/hookspec.py | 801 | # you can use the shared utility: | STRING |
| MEDIUM | tests/core/test_solve.py | 2650 | # NOTE: So far, NOT actually testing the FREEZE_DEPS flag. I'm unable to contrive a | COMMENT |
| MEDIUM | tests/shell/__init__.py | 33 | # Here, by removing --dev you can try weird situations that you may want to test, upgrade paths | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/plugins/test_error_hints.py | 54 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/base/constants.py | 321 | # STRICT_OR_FLEXIBLE = 'strict_or_flexible' # TODO: consider implementing if needed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_deprecations.py | 70 | def test_function( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conda/_private/shards/subset.py | 32 | ## Example usage | STRING |