A system-level, binary package and environment manager running on all major operating systems and platforms.
This report summarizes scanner evidence for conda/conda, a Python project with 7,530 GitHub stars. SynthScan examined 614,585 lines of code across 1180 source files, recording 2623 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 5.0 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1970 finding(s).
Are imports declared and package/API names verified? 448 finding(s).
Are wrappers, guards, and repeated structures necessary? 1836 finding(s).
Which changes need focused human review? 2623 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2623 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 | 104 | def handle_application_exception( | CODE |
| LOW | conda/exception_handler.py | 119 | def handle_unexpected_exception( | CODE |
| LOW | conda/exception_handler.py | 127 | def handle_reportable_application_exception( | CODE |
| LOW | conda/exception_handler.py | 177 | def print_unexpected_error_report(self, error_report: dict[str, str]) -> None: | CODE |
| LOW | conda/exception_handler.py | 233 | 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 | 1606 | def format_env_spec_available_plugins( | CODE |
| LOW | conda/activate.py | 828 | def _get_environment_env_vars(self, prefix): | CODE |
| LOW | conda/activate.py | 895 | def backslash_to_forwardslash( | CODE |
| LOW | conda/history.py | 153 | def _parse_old_format_specs_string(specs_string): | CODE |
| LOW | conda/core/link.py | 335 | def _cleanup_transaction_artifacts(self): | CODE |
| LOW | conda/core/link.py | 749 | def _verify_transaction_level(prefix_setups): | CODE |
| LOW | conda/core/link.py | 1145 | def _execute_post_link_actions(axngroup): | CODE |
| LOW | conda/core/link.py | 1280 | def _make_entry_point_actions( | CODE |
| LOW | conda/core/link.py | 1321 | def _make_legacy_action_groups(self): | CODE |
| LOW | conda/core/link.py | 1351 | def print_transaction_summary(self): | CODE |
| LOW | conda/core/package_cache_data.py | 94 | def get_softlinked_package_dirs() -> set[Path]: | CODE |
| LOW | conda/core/package_cache_data.py | 290 | def all_caches_writable_first(cls, pkgs_dirs=None): | CODE |
| LOW | conda/core/package_cache_data.py | 297 | def get_all_extracted_entries(cls): | CODE |
| LOW | conda/core/package_cache_data.py | 362 | def tarball_file_in_this_cache(self, tarball_path, md5sum=None): | CODE |
| LOW | conda/core/package_cache_data.py | 411 | def _scan_for_dist_no_channel(self, dist_str): | CODE |
| LOW | conda/core/package_cache_data.py | 577 | def _dedupe_pkgs_dir_contents(pkgs_dir_contents): | CODE |
| LOW | conda/core/package_cache_data.py | 1113 | def progress_update_cache_action(pct_completed): | CODE |
| LOW | conda/core/path_actions.py | 359 | def create_python_entry_point_windows_exe_action( | CODE |
| LOW | conda/core/index.py | 289 | def _supplement_index_dict_with_prefix(self) -> None: | CODE |
| LOW | conda/core/index.py | 317 | def _supplement_index_dict_with_cache(self) -> None: | CODE |
| LOW | conda/core/index.py | 358 | def _retrieve_all_from_channels(self, key: PackageRecord) -> list[PackageRecord]: | CODE |
| LOW⚡ | conda/core/initialize.py | 1307 | def install_condabin_conda_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1315 | def install_library_bin_conda_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1325 | def install_condabin_conda_activate_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1335 | def install_condabin_rename_tmp_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1343 | def install_condabin_conda_auto_activate_bat(target_path, conda_prefix): | CODE |
| LOW⚡ | conda/core/initialize.py | 1353 | def install_condabin_hook_bat(target_path, conda_prefix): | CODE |
| LOW | conda/core/initialize.py | 1421 | def _config_fish_content_to_add_condabin_to_path(conda_prefix): | CODE |
| LOW | conda/core/initialize.py | 1563 | def _config_xonsh_content_to_add_condabin_to_path(conda_prefix): | STRING |
| LOW | conda/core/initialize.py | 1720 | def _bashrc_content_to_add_condabin_to_path(conda_prefix, shell): | STRING |
| LOW | conda/core/initialize.py | 2028 | def add_condabin_to_path_registry(target_path, conda_prefix, reverse=False): | STRING |
| LOW | conda/core/initialize.py | 2104 | def _powershell_profile_content(conda_prefix): | STRING |
| LOW | conda/core/initialize.py | 2121 | 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 | 758 | def get_conda_anchor_files_and_records( | CODE |
| LOW | conda/core/prefix_data.py | 805 | def delete_prefix_from_linked_data(path: str | os.PathLike | Path) -> bool: | CODE |
| LOW | conda/core/launchers.py | 26 | def get_windows_launcher_stub( | CODE |
| LOW | conda/core/solve.py | 140 | def _validate_exclude_newer_support(self) -> None: | CODE |
| LOW | conda/core/solve.py | 160 | def _validate_exclude_newer_link_precs( | CODE |
| LOW | conda/core/solve.py | 381 | def _notify_pip_as_python_deprecation(self, link_precs): | STRING |
| LOW | conda/core/solve.py | 604 | def determine_constricting_specs(self, spec, solution_precs): | STRING |
| 1555 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 | 30 | CODE | |
| LOW | conda/exports.py | 31 | CODE | |
| LOW | conda/exports.py | 35 | CODE | |
| LOW | conda/exports.py | 38 | CODE | |
| LOW | conda/exports.py | 49 | CODE | |
| LOW | conda/exports.py | 51 | 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 | 55 | CODE | |
| LOW | conda/exports.py | 56 | CODE | |
| LOW | conda/exports.py | 56 | CODE | |
| LOW | conda/exports.py | 57 | CODE | |
| LOW | conda/exports.py | 59 | CODE | |
| LOW | conda/exports.py | 59 | 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 | 67 | CODE | |
| LOW | conda/exports.py | 67 | 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/exclude_newer.py | 5 | CODE | |
| LOW | conda/core/prefix_data.py | 5 | CODE | |
| LOW | conda/core/launchers.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 | |
| 344 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | conda/misc.py | 358 | except UnicodeDecodeError: # data is binary | CODE |
| HIGH | conda/deprecations.py | 415 | except IndexError: | CODE |
| HIGH | conda/deprecations.py | 422 | except AttributeError: | CODE |
| HIGH | conda/activate.py | 292 | except ValueError: | CODE |
| HIGH | conda/core/index.py | 400 | except AttributeError: | CODE |
| HIGH | conda/core/index.py | 405 | except KeyError: | CODE |
| HIGH | conda/core/index.py | 410 | except KeyError: | CODE |
| HIGH | conda/core/initialize.py | 689 | except Exception: | CODE |
| HIGH | conda/core/initialize.py | 924 | except Exception: | CODE |
| HIGH | conda/core/prefix_data.py | 463 | except OSError: | CODE |
| HIGH | conda/core/prefix_data.py | 461 | except OSError: | CODE |
| HIGH | conda/core/envs_manager.py | 54 | except: | CODE |
| HIGH | conda/plugins/manager.py | 1170 | except Exception: | CODE |
| HIGH | conda/plugins/subcommands/doctor/__init__.py | 118 | except CondaSystemExit: | CODE |
| HIGH | conda/models/version.py | 652 | except ValueError: | CODE |
| HIGH | conda/models/records.py | 760 | except OSError: | CODE |
| HIGH | conda/models/records.py | 773 | except OSError: | CODE |
| HIGH | conda/models/channel.py | 210 | except AttributeError: | CODE |
| HIGH | conda/cli/main_clean.py | 338 | except StopIteration: | CODE |
| HIGH | conda/cli/main_clean.py | 172 | except NotImplementedError: | CODE |
| HIGH | conda/cli/main_clean.py | 203 | except NotImplementedError: | CODE |
| HIGH | conda/cli/condarc.py | 500 | except KeyError: | CODE |
| HIGH | conda/cli/condarc.py | 695 | except CondaKeyError: | CODE |
| HIGH | conda/cli/conda_argparse.py | 746 | except argparse.ArgumentError: | CODE |
| HIGH | conda/cli/main_package.py | 87 | except OSError: # directory might not be empty | CODE |
| HIGH | conda/_private/shards/shards.py | 670 | except (FileNotFoundError, json.JSONDecodeError): | CODE |
| HIGH | conda/notices/cache.py | 201 | except OSError: | CODE |
| HIGH | conda/notices/cache.py | 206 | except OSError: | CODE |
| HIGH | conda/notices/core.py | 147 | except OSError: | CODE |
| HIGH | conda/common/datetime.py | 51 | except ValueError: | CODE |
| HIGH | conda/common/_os/linux.py | 27 | except ValueError: | CODE |
| HIGH | conda/gateways/connection/download.py | 142 | except (LookupError, ValueError): | CODE |
| HIGH | conda/gateways/connection/session.py | 364 | except AttributeError: | CODE |
| HIGH | conda/gateways/repodata/__init__.py | 667 | except OSError: | CODE |
| HIGH | conda/gateways/repodata/zstd.py | 105 | except (KeyError, ValueError, AttributeError): | CODE |
| HIGH | conda/gateways/repodata/zstd.py | 291 | except OSError: | CODE |
| HIGH | conda/gateways/disk/update.py | 50 | except CancelOperation: | CODE |
| HIGH | conda/gateways/disk/delete.py | 265 | except: | CODE |
| HIGH | conda/gateways/disk/delete.py | 109 | except: | CODE |
| HIGH | conda/gateways/disk/read.py | 57 | except FileNotFoundError: | CODE |
| HIGH | conda/auxlib/entity.py | 692 | except KeyError: | CODE |
| HIGH | conda/auxlib/entity.py | 813 | except AttributeError: | CODE |
| HIGH | conda/base/context.py | 189 | except ValueError: # pragma: no cover | CODE |
| HIGH | tests/conftest.py | 277 | except AttributeError: | CODE |
| HIGH | tests/conftest.py | 286 | except AttributeError: | CODE |
| HIGH | tests/shards/conftest.py | 229 | except KeyboardInterrupt: | CODE |
| HIGH | tests/shards/test_coverage.py | 215 | except queue.Empty: | CODE |
| HIGH | tests/shards/test_coverage.py | 757 | except queue.Empty: | CODE |
| HIGH | tests/shards/test_coverage.py | 900 | except queue.Empty: | CODE |
| HIGH | tests/shards/http_server.py | 104 | except KeyboardInterrupt: | CODE |
| HIGH | tests/plugins/test_settings.py | 90 | except AttributeError: | CODE |
| HIGH | tests/models/test_match_spec.py | 2254 | except (InvalidMatchSpec, InvalidSpec): | CODE |
| HIGH | tests/cli/test_startup_benchmarks.py | 170 | except SystemExit: | CODE |
| HIGH | tests/cli/test_main_config.py | 721 | except ValueError: | CODE |
| HIGH | tests/cli/test_main_notices.py | 254 | except SystemExit: | CODE |
| HIGH | tests/common/pkg_formats/test_python.py | 55 | except Exception: | CODE |
| HIGH | …-win-amd64.egg/EGG-INFO/scripts/pywin32_postinstall.py | 462 | except ImportError: | CODE |
| HIGH | …-win-amd64.egg/EGG-INFO/scripts/pywin32_postinstall.py | 504 | except os.error: | CODE |
| HIGH | …-win-amd64.egg/EGG-INFO/scripts/pywin32_postinstall.py | 508 | except os.error: | CODE |
| HIGH | …-win-amd64.egg/EGG-INFO/scripts/pywin32_postinstall.py | 18 | except IOError: | CODE |
| 5 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 | 404 | CODE | |
| LOW | conda/utils.py | 176 | CODE | |
| LOW | conda/exceptions.py | 1706 | CODE | |
| LOW | conda/exceptions.py | 969 | CODE | |
| LOW | conda/exceptions.py | 1003 | CODE | |
| LOW | conda/activate.py | 126 | CODE | |
| LOW | conda/activate.py | 699 | CODE | |
| LOW | conda/activate.py | 753 | 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 | 1592 | CODE | |
| LOW | conda/core/link.py | 1742 | CODE | |
| LOW | conda/core/link.py | 654 | CODE | |
| LOW | conda/core/link.py | 749 | CODE | |
| LOW | conda/core/link.py | 924 | CODE | |
| LOW | conda/core/link.py | 1526 | CODE | |
| LOW | conda/core/package_cache_data.py | 157 | CODE | |
| LOW | conda/core/package_cache_data.py | 249 | CODE | |
| LOW | conda/core/package_cache_data.py | 431 | CODE | |
| LOW | conda/core/package_cache_data.py | 846 | CODE | |
| LOW | conda/core/path_actions.py | 424 | CODE | |
| LOW | conda/core/index.py | 498 | CODE | |
| LOW | conda/core/index.py | 510 | CODE | |
| LOW | conda/core/initialize.py | 153 | CODE | |
| LOW | conda/core/initialize.py | 536 | CODE | |
| LOW | conda/core/initialize.py | 1007 | CODE | |
| LOW | conda/core/initialize.py | 1871 | CODE | |
| LOW | conda/core/portability.py | 190 | CODE | |
| LOW | conda/core/portability.py | 332 | CODE | |
| LOW | conda/core/prefix_data.py | 758 | 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 | 326 | CODE | |
| LOW | conda/core/solve.py | 419 | CODE | |
| LOW | conda/core/solve.py | 604 | CODE | |
| LOW | conda/core/solve.py | 858 | CODE | |
| LOW | conda/core/solve.py | 899 | CODE | |
| LOW | conda/core/solve.py | 1138 | CODE | |
| LOW | conda/core/solve.py | 1268 | 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 | 354 | CODE | |
| 133 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | conda/activate.py | 1071 | unset_var_tmpl = "set -e %s || true" | CODE |
| HIGH | conda/core/initialize.py | 1698 | __conda_setup="$('%(conda_exe)s' 'shell.%(shell)s' 'hook' 2> /dev/null)" | CODE |
| HIGH | conda/cli/condarc.py | 564 | 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 | 2072 | 'local' channel in the list. If the list is empty or left undefined, no | STRING |
| HIGH | conda/base/context.py | 2081 | the 'local' channel in the list. If the list is empty or left undefined, no | STRING |
| HIGH | conda/base/context.py | 2273 | context_stack.push(search_path, argparse_args) | STRING |
| HIGH⚡ | tests/test_activate.py | 1759 | f"set -e CONDA_PREFIX || true;\n" | CODE |
| HIGH⚡ | tests/test_activate.py | 1760 | f"set -e CONDA_DEFAULT_ENV || true;\n" | CODE |
| HIGH⚡ | tests/test_activate.py | 1761 | f"set -e CONDA_PROMPT_MODIFIER || true;\n" | CODE |
| HIGH | tests/core/test_initialize.py | 982 | __conda_setup="$('{prefix}/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | CODE |
| HIGH | tests/core/test_initialize.py | 1013 | __conda_setup="$('{prefix}/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | CODE |
| HIGH | tests/core/test_initialize.py | 1090 | __conda_setup="$('{prefix}/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | CODE |
| HIGH⚡ | tests/core/test_initialize.py | 504 | "set -e _CE_M || true;", | STRING |
| HIGH⚡ | tests/core/test_initialize.py | 505 | "set -e _CE_CONDA || true;", | STRING |
| HIGH⚡ | tests/core/test_initialize.py | 514 | "set -e _CE_M || true;", | STRING |
| HIGH⚡ | tests/core/test_initialize.py | 515 | "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 | 198 | sh.sendline(f'conda {install} --blah || echo "exitcode=$?"') | CODE |
| HIGH | tests/shell/test_posix.py | 201 | sh.sendline('conda list --blah || echo "exitcode=$?"') | CODE |
| HIGH | tests/models/test_match_spec.py | 1912 | assert MatchSpec("package[extras=[yes, no, 0, 1, True, False, null, None]]").get( | CODE |
| HIGH | tests/models/test_match_spec.py | 2066 | assert MatchSpec("package[flags=[yes, no, 0, 1, True, False, null, None]]").get( | CODE |
| HIGH⚡ | tests/base/test_context.py | 958 | stack.push((), None) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | conda/__init__.py | 221 | # 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 | 10 | # 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 | 720 | # Create a file:// URI to test the connection function | COMMENT |
| MEDIUM | tests/shards/test_coverage.py | 344 | # Create a file that's not a valid database | COMMENT |
| MEDIUM | tests/shards/test_coverage.py | 978 | # Create a corrupted database file | COMMENT |
| MEDIUM | tests/shards/test_shards.py | 1050 | # Create a copy with mutable structure for testing | COMMENT |
| MEDIUM | tests/shards/test_shards_subset.py | 1054 | # Create a custom queue that adds delays | COMMENT |
| MEDIUM | tests/shards/test_shards_subset.py | 1289 | # 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 | 451 | # Create a package record that simulates repodata v3 format | COMMENT |
| MEDIUM | tests/core/test_package_cache_data.py | 536 | # Create a package record that simulates traditional repodata format | COMMENT |
| MEDIUM | tests/core/test_initialize.py | 1213 | # 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 | 171 | # 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 | 642 | # Create a temporary user condarc | COMMENT |
| MEDIUM | tests/cli/test_main_config.py | 660 | # Create a temporary system condarc | COMMENT |
| MEDIUM | tests/cli/test_main_config.py | 676 | # 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 | 144 | except Exception: | CODE |
| LOW | conda/exception_handler.py | 154 | except Exception as info_e: | CODE |
| LOW | conda/exception_handler.py | 206 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 258 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 281 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 341 | except Exception as e: | CODE |
| LOW | conda/exception_handler.py | 396 | except Exception as e: # pragma: no cover | CODE |
| LOW | conda/exception_handler.py | 405 | except Exception as e: | CODE |
| MEDIUM | conda/exception_handler.py | 278 | def _isatty(self) -> bool: | CODE |
| LOW | conda/utils.py | 82 | except Exception: | CODE |
| LOW | conda/core/link.py | 1131 | except Exception as e: # this won't be a multi error | CODE |
| LOW | conda/core/link.py | 1157 | except Exception as e: # this won't be a multi error | CODE |
| LOW | conda/core/link.py | 1199 | except Exception as e: | CODE |
| LOW | conda/core/link.py | 1623 | except Exception as e: | CODE |
| LOW | conda/core/package_cache_data.py | 995 | except Exception as e: | CODE |
| LOW | conda/core/package_cache_data.py | 1039 | except Exception as e: | CODE |
| LOW | conda/core/package_cache_data.py | 1163 | except Exception as e: | CODE |
| MEDIUM | conda/core/initialize.py | 310 | def make_install_plan(conda_prefix): | CODE |
| LOW | conda/core/initialize.py | 689 | except Exception: | CODE |
| LOW | conda/core/initialize.py | 924 | except Exception: | CODE |
| LOW | conda/core/initialize.py | 1938 | except Exception: | STRING |
| LOW | conda/core/exclude_newer.py | 175 | except Exception: | CODE |
| 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 | 336 | except Exception as err: | CODE |
| LOW | conda/plugins/manager.py | 376 | except Exception as err: | CODE |
| LOW | conda/plugins/manager.py | 1087 | except Exception as e: | CODE |
| LOW | conda/plugins/manager.py | 1137 | except Exception as e: | CODE |
| LOW | conda/plugins/manager.py | 1170 | except Exception: | CODE |
| LOW | conda/plugins/virtual_packages/cuda.py | 180 | except Exception: | CODE |
| LOW | conda/plugins/subcommands/doctor/__init__.py | 94 | except Exception as err: | CODE |
| LOW | conda/plugins/subcommands/doctor/__init__.py | 121 | except Exception as err: | CODE |
| LOW | …gins/subcommands/doctor/health_checks/missing_files.py | 40 | except Exception as exc: | 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 | 384 | except Exception as e: | CODE |
| LOW | conda/cli/main_config.py | 691 | except Exception: # pragma: no cover | CODE |
| LOW | conda/cli/main_info.py | 245 | except Exception as err: | CODE |
| LOW | conda/cli/common.py | 255 | except Exception as exc: | STRING |
| LOW | conda/_private/extract.py | 36 | except Exception as error: | CODE |
| LOW | conda/_private/extract.py | 42 | except Exception: | CODE |
| 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/repodata/__init__.py | 206 | except Exception: | CODE |
| LOW | conda/gateways/disk/update.py | 129 | except Exception as exc: | CODE |
| LOW | conda/gateways/disk/create.py | 200 | 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 |
| 42 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 | 1011 | Get a mapping from plugin names (including aliases) to plugin. Args: plugins: Plugins that | STRING |
| HIGH | conda/plugins/manager.py | 1055 | Get an environment specifier plugin by name Args: source: full path to the environment spec file/so | STRING |
| HIGH | conda/plugins/manager.py | 1271 | Detect an environment exporter based on filename matching against default_filenames. Uses fnmatch patt | STRING |
| HIGH | conda/plugins/manager.py | 1315 | Get an environment exporter based on the format name. Args: format_name: Format name to fi | STRING |
| HIGH | conda/plugins/manager.py | 1443 | 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 | 783 | 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 | 340 | Test pip CLI in a specific conda environment. `pip ...` in environment == `pip_cli(..., prefix=env_path)` | STRING |
| HIGH | conda/testing/fixtures.py | 820 | 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 | 182 | 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 | 2390 | 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 | # 2. Execute/source activate.d/deactivate.d scripts | COMMENT |
| LOW | conda/core/path_actions.py | 1401 | # so our tarball source isn't a package cache, but that doesn't mean it's not | COMMENT |
| LOW | conda/core/portability.py | 341 | Args: | COMMENT |
| LOW | conda/core/portability.py | 461 | executable_in_prefix = False | COMMENT |
| LOW | conda/core/solve.py | 901 | # to the package currently existing in the environment. Setting target instructs the | COMMENT |
| LOW | conda/core/solve.py | 1141 | *ssc.specs_map.values(), | COMMENT |
| LOW | conda/core/solve.py | 1301 | ssc.solution_precs = tuple(PrefixGraph(_no_deps_solution).graph) | 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 | 1481 | else: | COMMENT |
| LOW | conda/models/match_spec.py | 1681 | 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 | # 2. there are more repodatas to try AND | 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 | # java: https://repo1.maven.org/maven2/ | COMMENT |
| LOW | conda/base/context.py | 1241 | def platform_system_release(self) -> tuple[str, str]: | 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 | 1601 | COMMENT | |
| LOW | tests/core/test_solve.py | 3341 | # self.saved_values = {} | COMMENT |
| LOW | tests/core/test_solve.py | 3361 | # def test_simple_install_uninstall(self, prefix_specified): | COMMENT |
| LOW | tests/core/test_solve.py | 3381 | # with get_solver_3(specs_to_add, prefix_records=final_state_1, history_specs=specs) as solver: | COMMENT |
| LOW | tests/core/__init__.py | 1 | # Copyright (C) 2012 Anaconda, Inc | COMMENT |
| LOW | tests/core/test_package_cache_data.py | 761 | 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/models/test_prefix_graph.py | 801 | def test_deep_cyclical_dependency(tmpdir): | COMMENT |
| LOW | tests/models/test_match_spec.py | 1221 | # "name": "python", | 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/data/recipes/generate_packages.sh | 1 | #!/usr/bin/env bash | 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 | 198 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/source/conf.py | 200 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 176 | # 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 | 97 | # 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 | 545 | # 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 | 166 | # 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 | 998 | """Final comprehensive tests for misc module""" | STRING |
| MEDIUM | tests/models/test_match_spec.py | 1716 | """Test conda_env_form() with comprehensive real-world examples.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | CHANGELOG.md | 809 | * 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 | 198 | 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 | 734 | def set_nonadmin(self) -> None: | CODE |
| LOW | conda/plugins/__init__.py | 32 | __all__ = ["hookimpl"] | CODE |
| LOW | conda/plugins/types.py | 473 | def update_to(self, fraction) -> None: ... | CODE |
| LOW | conda/plugins/hookspec.py | 544 | 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 | 406 | def set_keys(*args: tuple[str, Any], path: str | os.PathLike[str] | Path) -> None: | CODE |
| LOW | conda/cli/main_config.py | 786 | def _set_key(key: str, item: Any, config: dict) -> None: | CODE |
| LOW | conda/cli/condarc.py | 507 | 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 | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | conda/notices/core.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | conda/common/io.py | 619 | 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 | 523 | # Check if specs are satisfied by current environment. If they are, exit early. | STRING |
| LOW | conda/plugins/manager.py | 1291 | # Check if basename matches any of the default filename patterns | COMMENT |
| LOW | conda/models/match_spec.py | 1497 | # Check if we have suffix+suffix or prefix+prefix | COMMENT |
| 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 | 153 | # Set TEMP to invalid path | COMMENT |
| LOW | tests/shell/test_cmd_exe.py | 252 | # 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 | 196 | CODE | |
| LOW | conda/core/index.py | 77 | CODE | |
| LOW | conda/core/index.py | 459 | 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 | 184 | CODE | |
| LOW | conda/cli/main_list.py | 312 | 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 | 1489 | "placeholder": placeholder, | CODE |
| LOW | conda/gateways/disk/read.py | 214 | 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 | 1500 | dummy_value = 0 | STRING |
| LOW⚡ | tests/core/test_initialize.py | 1503 | return dummy_value, "REG_DWORD" | STRING |
| LOW⚡ | tests/core/test_initialize.py | 1506 | nonlocal dummy_value | STRING |
| LOW⚡ | tests/core/test_initialize.py | 1507 | dummy_value = value | STRING |
| LOW⚡ | tests/cli/test_cli_install.py | 48 | assert "Lorem ipsum dolor sit amet" in stdout | CODE |
| LOW⚡ | tests/cli/test_cli_install.py | 48 | 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 | 508 | # 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 | 257 | # 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 | 803 | # you can use the shared utility: | STRING |
| MEDIUM | tests/core/test_solve.py | 2684 | # NOTE: So far, NOT actually testing the FREEZE_DEPS flag. I'm unable to contrive a | 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 | 320 | # 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 |