AI Slop Code RIsk Monitor

ansible/ansible

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.

23.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ansible/ansible, a Python project with 70,952 GitHub stars. SynthScan examined 391,775 lines of code across 4548 source files, recording 6173 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 23.2 (Elevated 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.

23.2
Adjusted Signal
23.2
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
71.0K
Stars
Python
Language
391.8K
Lines of Code
4.5K
Files
6.2K
Pattern Hits
2026-10-12
Scan Date
0.12
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 39.7/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 3307 finding(s).

Hallucinated Dependency & Supply Chain Risk 27.7/100 · MEDIUM

Are imports declared and package/API names verified? 1898 finding(s).

Agent Over-Engineering Ratio 42.8/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 2777 finding(s).

PR Review Velocity Impact 71.6/100 · HIGH

Which changes need focused human review? 6173 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 7HIGH 561MEDIUM 413LOW 5192

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 6173 distinct pattern matches across 23 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.

Hyper-Verbose Identifiers1751 hits · 1756 pts
SeverityFileLineSnippetContext
LOW⚡packaging/release.py808def get_latest_setuptools_version() -> Version:CODE
LOW⚡packaging/release.py816def set_setuptools_upper_bound(requested_version: Version) -> None:CODE
LOWpackaging/release.py840def create_reproducible_sdist(original_path: pathlib.Path, output_path: pathlib.Path, mtime: int) -> None:CODE
LOWpackaging/release.py855def create_reproducible_tar_info(original: tarfile.TarInfo, mtime: int) -> tarfile.TarInfo:CODE
LOWpackaging/release.py915def get_release_artifact_details(repository: str, version: Version, validate: bool) -> list[ReleaseArtifact]:CODE
LOWpackaging/release.py929def describe_release_artifact(version: Version, item: dict[str, t.Any], validate: bool) -> ReleaseArtifact:CODE
LOWpackaging/release.py985def create_template_environment() -> jinja2.Environment:CODE
LOWpackaging/release.py995def create_github_release_notes(upstream: Remote, repository: str, version: Version, validate: bool) -> str:CODE
LOWpackaging/cli-doc/build.py177def populate_subparser_actions(parser: argparse.ArgumentParser, shared_option_names: tuple[str, ...], actions: dict[str,CODE
LOW…n/targets/error-redaction/filter_plugins/make_error.py15def make_redacted_context_error(value: object) -> None:CODE
LOW…n/targets/error-redaction/filter_plugins/make_error.py22def make_redacted_orig_exc_error(value: object) -> None:CODE
LOW…st/integration/targets/ansible-test-container/runme.py130def get_container_completion_entries() -> dict[str, dict[str, str]]:CODE
LOW…st/integration/targets/ansible-test-container/runme.py376def prepare_prime_podman_storage() -> list[str]:CODE
LOW…st/integration/targets/ansible-test-container/runme.py862 def configure_unprivileged_user(cls) -> None:CODE
LOW…ts/inventory_cache/plugins/inventory/exercise_cache.py103 def test_update_cache_if_changed(self):STRING
LOW…egration/targets/dnf/filter_plugins/dnf_module_list.py29def get_first_single_version_module(stdout):CODE
LOW…filter_plugins/override_formerly_core_masked_filter.py4def override_formerly_core_masked_filter(*args, **kwargs):CODE
LOW…ons/test_plugins/override_formerly_core_masked_test.py4def override_formerly_core_masked_test(value, *args, **kwargs):CODE
LOW…rgets/ansible-galaxy-collection/files/build_bad_tar.py47def calculate_target_filename(symlink_path, linkname):CODE
LOWtest/sanity/code-smell/update-bundled.py57def get_files_with_bundled_metadata(paths):CODE
LOWtest/sanity/code-smell/update-bundled.py105def get_latest_applicable_version(pypi_data, constraints=None):CODE
LOWtest/units/conftest.py58# def prevent_collection_loader_leak(request: pytest.FixtureRequest):COMMENT
LOWtest/units/controller_only_conftest.py21def _zap_vault_secrets_context() -> t.Generator[None]:CODE
LOWtest/units/controller_only_conftest.py34def _empty_vault_secrets_context(_zap_vault_secrets_context) -> t.Generator[None]:CODE
LOWtest/units/controller_only_conftest.py52def _ignore_untrusted_template(mocker: MockerFixture) -> t.Generator[None]:CODE
LOW⚡test/units/_internal/test_secret_input.py27def test_yaml_secrets_are_masked(tmp_path: pathlib.Path) -> None:CODE
LOW⚡test/units/_internal/test_secret_input.py35def test_json_secrets_are_masked(tmp_path: pathlib.Path) -> None:CODE
LOW⚡test/units/_internal/test_secret_input.py43def test_multiple_files_are_masked(tmp_path: pathlib.Path) -> None:CODE
LOW⚡test/units/_internal/test_secret_input.py52def test_executable_secrets_are_masked(tmp_path: pathlib.Path) -> None:CODE
LOWtest/units/_internal/test_secret_input.py63def test_empty_secrets_list_is_accepted(tmp_path: pathlib.Path) -> None:CODE
LOWtest/units/_internal/test_secret_input.py102def test_non_string_secret_not_cast(tmp_path: pathlib.Path, entry: str) -> None:CODE
LOWtest/units/_internal/test_secret_input.py109def test_executable_non_zero_exit(tmp_path: pathlib.Path) -> None:CODE
LOWtest/units/_internal/test_event_formatting.py12def test_traceback_formatting() -> None:CODE
LOWtest/units/_internal/_encryption/test_crypt.py12 def test_unsupported_platform(self, mocker: MockerFixture) -> None:CODE
LOWtest/units/_internal/_encryption/test_crypt.py35 def test_library_with_no_crypt_methods(self, mocker: MockerFixture) -> None:CODE
LOWtest/units/_internal/_encryption/test_crypt.py50 def test_library_with_no_crypt_r_or_crypt_gensalt_rn(self, mocker: MockerFixture) -> None:CODE
LOWtest/units/_internal/_encryption/test_crypt.py100 def test_crypt_result_failure(self, mocker: MockerFixture, failure_token: bytes) -> None:CODE
LOWtest/units/_internal/_encryption/test_crypt.py108 def test_crypt_gensalt_called_with_no_impl(self, mocker: MockerFixture) -> None:CODE
LOW⚡test/units/_internal/_encryption/test_crypt.py126 def test_crypt_gensalt_fail_errno(self, mocker: MockerFixture) -> None:CODE
LOW⚡test/units/_internal/_encryption/test_crypt.py134 def test_crypt_gensalt_result_none(self, mocker: MockerFixture) -> None:CODE
LOW⚡test/units/_internal/_encryption/test_crypt.py142 def test_crypt_gensalt_result_failure(self, mocker: MockerFixture) -> None:CODE
LOWtest/units/_internal/_errors/test_alarm_timeout.py30def test_alarm_timeout_success(timeout: int | None) -> None:CODE
LOWtest/units/_internal/_errors/test_alarm_timeout.py41def test_alarm_timeout_timeout() -> None:CODE
LOWtest/units/_internal/_errors/test_alarm_timeout.py61def test_alarm_timeout_bad_values(timeout: t.Any, expected_error_type: type[Exception], expected_error_pattern: str) -> CODE
LOWtest/units/_internal/_errors/test_alarm_timeout.py72def test_alarm_timeout_bad_state() -> None:CODE
LOWtest/units/_internal/_errors/test_alarm_timeout.py118def test_alarm_timeout_escape_broad_exception():CODE
LOWtest/units/_internal/_errors/test_error_utils.py57def test_exception_result_contribution(exceptions: t.Sequence[BaseException], expected: dict[str, t.Any]) -> None:CODE
LOWtest/units/_internal/_errors/test_task_timeout.py8def test_task_timeout_result_contribution() -> None:CODE
LOWtest/units/_internal/_ansiballz/test_builder.py7def test_debugger_source_mapping() -> None:CODE
LOWtest/units/_internal/templating/test_common_.py17def get_dunder_methods_to_intercept() -> list[str]:CODE
LOWtest/units/_internal/templating/test_common_.py67def test_jinja_undefined_shape():CODE
LOWtest/units/_internal/templating/test_common_.py96def test_getattr_attribute_error(marker: Marker) -> None:CODE
LOWtest/units/_internal/templating/test_utils.py22def test_marker_getattr_dunder(marker: Marker) -> None:CODE
LOWtest/units/_internal/templating/conftest.py22def get_concrete_marker_types() -> list[type[Marker]]:CODE
LOW⚡test/units/_internal/templating/test_lazy_containers.py514def test_list_adapter_equality(value: str, expected: list) -> None:CODE
LOW⚡test/units/_internal/templating/test_lazy_containers.py521def test_list_adapter_source_propagation(value: t.Any) -> None:CODE
LOW⚡test/units/_internal/templating/test_lazy_containers.py528def test_lazy_containers_to_yaml(value: t.Any) -> None:CODE
LOW⚡test/units/_internal/templating/test_lazy_containers.py533def test_lazy_containers_to_json(value: t.Any) -> None:CODE
LOW⚡test/units/_internal/templating/test_lazy_containers.py760 def call_filter_with_native_args_kwargs() -> t.Any:CODE
LOW⚡test/units/_internal/templating/test_lazy_containers.py763 def call_test_with_native_args_kwargs() -> t.Any:CODE
1691 more matches not shown…
Unused Imports1715 hits · 1690 pts
SeverityFileLineSnippetContext
LOWpackaging/release.py5CODE
LOWpackaging/cli-doc/build.py5CODE
LOW.azure-pipelines/scripts/combine-coverage.py10CODE
LOW.azure-pipelines/scripts/publish-codecov.py8CODE
LOW.azure-pipelines/scripts/time-command.py4CODE
LOW…lookup-option-name/lookup_plugins/non_terms_posargs.py1CODE
LOW…lback-dispatch/callback_plugins/oops_always_enabled.py1CODE
LOW…/callback-dispatch/callback_plugins/v1_only_methods.py1CODE
LOW…ck-dispatch/callback_plugins/legacy_warning_display.py1CODE
LOW…llback-dispatch/callback_plugins/missing_base_class.py1CODE
LOW…integration/targets/callback-dispatch/library/noisy.py1CODE
LOW…s/module-serialization-profiles/library/echo_modern.py1CODE
LOW…s/module-serialization-profiles/library/echo_legacy.py1CODE
LOW…ule-serialization-profiles/library/echo_unspecified.py1CODE
LOWtest/integration/targets/pause/test-pause.py3CODE
LOW…tion/targets/module_no_log/library/module_that_logs.py2CODE
LOW…argets/module_no_log/library/module_that_has_secret.py2CODE
LOW…module_no_log/library/module_with_no_log_suboptions.py2CODE
LOW…ult_pickle_error/action_plugins/result_pickle_error.py5CODE
LOW…ns/ns/col/plugins/doc_fragments/return_doc_fragment.py3CODE
LOW…llections/ns/col/plugins/lookup/import_order_lookup.py3CODE
LOW…llections/ns/col/plugins/modules/option_name_casing.py4CODE
LOW…tions/ns/col/plugins/modules/check_mode_attribute_6.py4CODE
LOW…ble_collections/ns/col/plugins/modules/import_order.py4CODE
LOW…tions/ns/col/plugins/modules/check_mode_attribute_2.py4CODE
LOW…/ns/col/plugins/modules/valid_argument_spec_context.py4CODE
LOW…tions/ns/col/plugins/modules/check_mode_attribute_3.py4CODE
LOW…_collections/ns/col/plugins/modules/_not_deprecated.py4CODE
LOW…/ansible_collections/ns/col/plugins/modules/sidecar.py3CODE
LOW…le_collections/ns/col/plugins/modules/wrong_aliases.py4CODE
LOW…_collections/ns/col/plugins/modules/semantic_markup.py4CODE
LOW…ins/modules/invalid_argument_spec_incorrect_context.py4CODE
LOW…tions/ns/col/plugins/modules/check_mode_attribute_7.py4CODE
LOW…col/plugins/modules/invalid_argument_spec_extra_key.py4CODE
LOW…lections/ns/col/plugins/modules/invalid_yaml_syntax.py4CODE
LOW…collections/ns/col/plugins/modules/return_fragments.py4CODE
LOW…s/ns/col/plugins/modules/return_fragments_not_exist.py4CODE
LOW…ections/ns/col/plugins/modules/invalid_choice_value.py4CODE
LOW…tions/ns/col/plugins/modules/check_mode_attribute_4.py4CODE
LOW…ions/ns/col/plugins/modules/doc_fragments_not_exist.py4CODE
LOW…tions/ns/col/plugins/modules/check_mode_attribute_5.py4CODE
LOW…ible_collections/ns/col/plugins/modules/no_callable.py4CODE
LOW…tions/ns/col/plugins/modules/check_mode_attribute_1.py4CODE
LOW…rgets/module_utils_common.respawn/library/respawnme.py6CODE
LOW…ble_collections/my_ns/my_col/plugins/test/test_test.py1CODE
LOW…/my_col/plugins/lookup/lookup_no_future_boilerplate.py3CODE
LOW…collections/my_ns/my_col/plugins/lookup/lookup_name.py1CODE
LOW…collections/my_ns/my_col/plugins/filter/test_filter.py1CODE
LOWtest/integration/targets/no_log/library/module.py6CODE
LOW…on/targets/no_log/action_plugins/action_sets_no_log.py1CODE
LOW…odule_precedence/roles_with_extension/foo/library/a.py2CODE
LOW…le_precedence/roles_with_extension/foo/library/ping.py22CODE
LOW…s/module_precedence/multiple_roles/foo/library/ping.py22CODE
LOW…s/module_precedence/multiple_roles/bar/library/ping.py22CODE
LOW…tion/targets/module_precedence/lib_with_extension/a.py2CODE
LOW…n/targets/module_precedence/lib_with_extension/ping.py22CODE
LOWtest/integration/targets/infra/library/test.py4CODE
LOW…ble_collections/ns/col/plugins/module_utils/my_util.py1CODE
LOW…on/ansible_collections/ns/col/plugins/modules/hello.py4CODE
LOW…tegration/targets/task-args/action_plugins/echo_raw.py1CODE
1655 more matches not shown…
Empty Error Handlers226 hits · 1130 pts
SeverityFileLineSnippetContext
HIGHpackaging/release.py241except ImportError:CODE
HIGHpackaging/cli-doc/build.py50except ImportError:CODE
HIGH…ck-dispatch/callback_plugins/legacy_warning_display.py31except AssertionError:CODE
HIGH…ration/targets/until/action_plugins/shell_no_failed.py16except KeyError:CODE
HIGH…t/ansible_collections/ns/col/plugins/lookup/vendor2.py22except ImportError:CODE
HIGH…t/ansible_collections/ns/col/plugins/lookup/vendor1.py22except ImportError:CODE
HIGH…ns/ns/col/tests/integration/targets/hello/files/bad.py7except ImportError:CODE
HIGH…ns/ns/col/tests/integration/targets/hello/files/bad.py12except ImportError:CODE
HIGH…st/integration/targets/ansible-test-container/runme.py407except ProcessLookupError:CODE
HIGH…ts/inventory_cache/plugins/inventory/exercise_cache.py159except KeyError:CODE
HIGH…ts/inventory_cache/plugins/inventory/exercise_cache.py195except KeyError:CODE
HIGH…ts/inventory_cache/plugins/inventory/exercise_cache.py268except KeyError:CODE
HIGH…ts/inventory_cache/plugins/inventory/exercise_cache.py295except KeyError:CODE
HIGH…egration/targets/service/files/ansible_test_service.py54except OSError: # ERROR, fd wasn't open to begin with (ignored)CODE
HIGH…on/targets/service_facts/files/ansible_test_service.py54except OSError: # ERROR, fd wasn't open to begin with (ignored)CODE
HIGHtest/sanity/code-smell/boilerplate.py43except Exception: # pylint: disable=broad-exceptCODE
HIGHtest/units/conftest.py16except ImportError:CODE
HIGHtest/units/_internal/templating/test_templar.py878except Exception:CODE
HIGHtest/units/module_utils/basic/test_run_command.py253except SystemExit:CODE
HIGH…ctions/ansible/windows/plugins/plugin_utils/_reboot.py577except AttributeError:CODE
HIGH…ctions/ansible/windows/plugins/plugin_utils/_reboot.py507except getattr(json.decoder, "JSONDecodeError", ValueError):CODE
HIGHtest/lib/ansible_test/_internal/util.py777except FileNotFoundError:CODE
HIGHtest/lib/ansible_test/_internal/containers.py287except AttributeError:CODE
HIGHtest/lib/ansible_test/_internal/containers.py329except AttributeError:CODE
HIGHtest/lib/ansible_test/_internal/coverage_util.py216except AttributeError:CODE
HIGHtest/lib/ansible_test/_internal/util_common.py571except KeyError:CODE
HIGHtest/lib/ansible_test/_internal/__init__.py98except PrimeContainers:CODE
HIGHtest/lib/ansible_test/_internal/docker_util.py235except AttributeError:CODE
HIGHtest/lib/ansible_test/_internal/docker_util.py287except AttributeError:CODE
HIGHtest/lib/ansible_test/_internal/docker_util.py171except KeyError:CODE
HIGHtest/lib/ansible_test/_internal/target.py112except KeyError:CODE
HIGHtest/lib/ansible_test/_internal/ssh.py96except Exception: # pylint: disable=broad-exceptCODE
HIGHtest/lib/ansible_test/_internal/ansible_util.py220except AttributeError:CODE
HIGHtest/lib/ansible_test/_internal/ansible_util.py266except AttributeError:CODE
HIGHtest/lib/ansible_test/_internal/core_ci.py369except FileNotFoundError:CODE
HIGHtest/lib/ansible_test/_internal/inventory.py101except shutil.SameFileError:CODE
HIGHtest/lib/ansible_test/_internal/inventory.py134except shutil.SameFileError:CODE
HIGHtest/lib/ansible_test/_internal/ci/local.py177except SubprocessError:CODE
HIGH…/lib/ansible_test/_internal/cli/argparsing/__init__.py229except Exception: # pylint: disable=broad-exceptCODE
HIGH…/lib/ansible_test/_internal/cli/argparsing/__init__.py197except Exception: # pylint: disable=broad-exceptCODE
HIGH…lib/ansible_test/_internal/commands/sanity/__init__.py528except AttributeError:CODE
HIGH…st/lib/ansible_test/_util/target/setup/requirements.py351except FileNotFoundError:CODE
HIGH…ib/ansible_test/_util/target/sanity/import/importer.py538except AttributeError:CODE
HIGH…l/controller/sanity/pylint/plugins/deprecated_calls.py324except IndexError:CODE
HIGH…est/_util/controller/sanity/pylint/plugins/unwanted.py203except astroid.exceptions.InferenceError:CODE
HIGH…anity/validate-modules/validate_modules/module_args.py156except AnsibleModuleCallError:CODE
HIGH…ller/sanity/validate-modules/validate_modules/utils.py89except (IndexError, AttributeError):CODE
HIGH…oller/sanity/validate-modules/validate_modules/main.py2672except KeyboardInterrupt:CODE
HIGH…oller/sanity/validate-modules/validate_modules/main.py495except AttributeError:CODE
HIGH…oller/sanity/validate-modules/validate_modules/main.py1001except AnsibleFragmentError:CODE
HIGH…oller/sanity/validate-modules/validate_modules/main.py1701except ValueError:CODE
HIGH…oller/sanity/validate-modules/validate_modules/main.py2409except ValueError:CODE
HIGH…oller/sanity/validate-modules/validate_modules/main.py1723except ValueError:CODE
HIGHhacking/backport/backport_of_line_adder.py163except Exception:CODE
HIGHhacking/backport/backport_of_line_adder.py193except Exception:CODE
HIGHlib/ansible/_internal/_wrapt.py118except AttributeError:CODE
HIGHlib/ansible/_internal/_wrapt.py126except AttributeError:CODE
HIGHlib/ansible/_internal/_wrapt.py213except AttributeError:CODE
HIGHlib/ansible/_internal/_wrapt.py217except AttributeError:CODE
HIGHlib/ansible/_internal/_wrapt.py221except AttributeError:CODE
166 more matches not shown…
Self-Referential Comments324 hits · 949 pts
SeverityFileLineSnippetContext
MEDIUMtest/integration/targets/win_script/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/blockinfile/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…/targets/old_style_modules_posix/library/helloworld.sh2# This file is part of AnsibleCOMMENT
MEDIUM…le_precedence/roles_with_extension/foo/library/ping.py7# This file is part of AnsibleCOMMENT
MEDIUM…s/module_precedence/multiple_roles/foo/library/ping.py7# This file is part of AnsibleCOMMENT
MEDIUM…s/module_precedence/multiple_roles/bar/library/ping.py7# This file is part of AnsibleCOMMENT
MEDIUM…n/targets/module_precedence/lib_with_extension/ping.py7# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/ping/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/async_fail/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…ntegration/targets/async_fail/action_plugins/normal.py3# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/changed_when/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/file/tasks/selinux_tests.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/file/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…n/targets/hash/roles/test_hash_behaviour/vars/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…/targets/hash/roles/test_hash_behaviour/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…n/targets/hash/roles/test_hash_behaviour/meta/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…rgets/hash/roles/test_hash_behaviour/defaults/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/win_raw/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/group_by/create_groups.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/group_by/test_group_by.yml4# This file is part of AnsibleCOMMENT
MEDIUM…integration/targets/group_by/test_group_by_skipped.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/assemble/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/assemble/meta/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/systemd/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…argets/check_mode/roles/test_check_mode/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…argets/check_mode/roles/test_always_run/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…targets/check_mode/roles/test_always_run/meta/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/async/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…ts/var_blending/roles/test_var_blending/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/template/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/template/tasks/main.yml422# Create a template using a child template, to ensure that variablesCOMMENT
MEDIUM…on/targets/includes/roles/test_includes/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…ion/targets/shell-plugins/action_plugins/test_shell.py1# This file is part of AnsibleCOMMENT
MEDIUM…tegration/targets/user/tasks/test_create_user_home.yml43# Create a new user account with a path that has parent directories that do not existCOMMENT
MEDIUMtest/integration/targets/loop-until/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/add_host/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/script/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/ignore_errors/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/special_vars/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/pip/tasks/pip.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/fetch/runme.sh30# Create a non-root user account and configure SSH access for that accountCOMMENT
MEDIUMtest/integration/targets/failed_when/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/stat/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…ude_import/playbook/sub_playbook/library/helloworld.py2# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/find/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…targets/parsing/roles/test_good_parsing/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/iptables/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…ntegration/targets/iptables/tasks/chain_management.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/service/meta/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/windows-minimal/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…gets/collections/custom_vars_plugins/v1_vars_plugin.py3# This file is part of AnsibleCOMMENT
MEDIUM…gets/collections/custom_vars_plugins/v2_vars_plugin.py3# This file is part of AnsibleCOMMENT
MEDIUM…ollections/testns/testcoll/plugins/vars/custom_vars.py3# This file is part of AnsibleCOMMENT
MEDIUM…ons/testns/content_adj/plugins/vars/custom_adj_vars.py3# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/uri/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/apt_key/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUMtest/integration/targets/raw/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…ndlers/roles/test_handlers_include_role/tasks/main.yml1# This file is part of AnsibleCOMMENT
MEDIUM…on/targets/handlers/roles/test_handlers/tasks/main.yml4# This file is part of AnsibleCOMMENT
MEDIUM…rgets/handlers/roles/test_handlers_meta/tasks/main.yml4# This file is part of AnsibleCOMMENT
264 more matches not shown…
Cross-File Repetition163 hits · 815 pts
SeverityFileLineSnippetContext
HIGH…le_precedence/roles_with_extension/foo/library/ping.py0--- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return STRING
HIGH…s/module_precedence/multiple_roles/foo/library/ping.py0--- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return STRING
HIGH…s/module_precedence/multiple_roles/bar/library/ping.py0--- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return STRING
HIGH…n/targets/module_precedence/lib_with_extension/ping.py0--- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return STRING
HIGH…le_precedence/roles_with_extension/foo/library/ping.py0# test we can logon to 'webservers' and execute python with json lib. ansible webservers -m pingSTRING
HIGH…s/module_precedence/multiple_roles/foo/library/ping.py0# test we can logon to 'webservers' and execute python with json lib. ansible webservers -m pingSTRING
HIGH…s/module_precedence/multiple_roles/bar/library/ping.py0# test we can logon to 'webservers' and execute python with json lib. ansible webservers -m pingSTRING
HIGH…n/targets/module_precedence/lib_with_extension/ping.py0# test we can logon to 'webservers' and execute python with json lib. ansible webservers -m pingSTRING
HIGH…on/ansible_collections/ns/col/plugins/modules/hello.py0module: hello short_description: hello test module description: hello test module. options: name: description: name to sSTRING
HIGH…er/ansible_collections/ns/col/plugins/modules/hello.py0module: hello short_description: hello test module description: hello test module. options: name: description: name to sSTRING
HIGH…ts/ansible_collections/ns/col/plugins/modules/hello.py0module: hello short_description: hello test module description: hello test module. options: name: description: name to sSTRING
HIGHtest/integration/targets/config/lookup_plugins/bogus.py0- name: like some other plugins, this is mostly useless debug: msg={{ q('casting', [1,2,3])}}STRING
HIGH…on/targets/config/lookup_plugins/casting_individual.py0- name: like some other plugins, this is mostly useless debug: msg={{ q('casting', [1,2,3])}}STRING
HIGHtest/integration/targets/config/lookup_plugins/types.py0- name: like some other plugins, this is mostly useless debug: msg={{ q('casting', [1,2,3])}}STRING
HIGH…t/integration/targets/config/lookup_plugins/casting.py0- name: like some other plugins, this is mostly useless debug: msg={{ q('casting', [1,2,3])}}STRING
HIGHtest/integration/targets/config/lookup_plugins/bogus.py0_list: description: basically the same as you fed in type: list elements: rawSTRING
HIGH…on/targets/config/lookup_plugins/casting_individual.py0_list: description: basically the same as you fed in type: list elements: rawSTRING
HIGHtest/integration/targets/config/lookup_plugins/types.py0_list: description: basically the same as you fed in type: list elements: rawSTRING
HIGH…t/integration/targets/config/lookup_plugins/casting.py0_list: description: basically the same as you fed in type: list elements: rawSTRING
HIGH…egration/targets/lookup_config/lookup_plugins/bogus.py0_list: description: basically the same as you fed in type: list elements: rawSTRING
HIGHlib/ansible/plugins/lookup/list.py0_list: description: basically the same as you fed in type: list elements: rawSTRING
HIGH…ation/targets/ansible-doc/library/test_docs_returns.py0z_last: description: a last result. broken: type: str returned: success version_added: 1.3.0 m_middle: description: - thSTRING
HIGH…gets/ansible-doc/library/test_docs_return_fragments.py0z_last: description: a last result. broken: type: str returned: success version_added: 1.3.0 m_middle: description: - thSTRING
HIGH…ections/testns/testcol/plugins/modules/randommodule.py0z_last: description: a last result. broken: type: str returned: success version_added: 1.3.0 m_middle: description: - thSTRING
HIGH…ections/testns/testcol/plugins/inventory/statichost.py0inventory: statichost short_description: add a single host description: add a single host extends_documentation_fragmentSTRING
HIGH…ections/testns/testcol/plugins/inventory/statichost.py0inventory: statichost short_description: add a single host description: add a single host extends_documentation_fragmentSTRING
HIGH…ons/testns/content_adj/plugins/inventory/statichost.py0inventory: statichost short_description: add a single host description: add a single host extends_documentation_fragmentSTRING
HIGH…gration/targets/module_defaults/library/legacy_ping.py0--- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return STRING
HIGH…le_collections/testns/testcoll/plugins/modules/ping.py0--- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return STRING
HIGH…targets/ansible-galaxy-collection/files/test_module.py0--- module: ping version_added: historical short_description: try to connect to host, verify a usable python and return STRING
HIGH…gration/targets/module_defaults/library/legacy_ping.py0# test we can logon to 'webservers' and execute python with json lib. # ansible webservers -m ansible.builtin.ping - namSTRING
HIGH…le_collections/testns/testcoll/plugins/modules/ping.py0# test we can logon to 'webservers' and execute python with json lib. # ansible webservers -m ansible.builtin.ping - namSTRING
HIGH…targets/ansible-galaxy-collection/files/test_module.py0# test we can logon to 'webservers' and execute python with json lib. # ansible webservers -m ansible.builtin.ping - namSTRING
HIGHlib/ansible/modules/ping.py0# test we can logon to 'webservers' and execute python with json lib. # ansible webservers -m ansible.builtin.ping - namSTRING
HIGH…gration/targets/module_defaults/library/legacy_ping.py0ping: description: value provided with the o(data) parameter. returned: success type: str sample: pongSTRING
HIGH…le_collections/testns/testcoll/plugins/modules/ping.py0ping: description: value provided with the o(data) parameter. returned: success type: str sample: pongSTRING
HIGH…ntegration/targets/windows-minimal/library/win_ping.py0ping: description: value provided with the o(data) parameter. returned: success type: str sample: pongSTRING
HIGH…upport/windows-integration/plugins/modules/win_ping.py0ping: description: value provided with the o(data) parameter. returned: success type: str sample: pongSTRING
HIGH…ollections/ansible/windows/plugins/modules/win_ping.py0ping: description: value provided with the o(data) parameter. returned: success type: str sample: pongSTRING
HIGH…targets/ansible-galaxy-collection/files/test_module.py0ping: description: value provided with the o(data) parameter. returned: success type: str sample: pongSTRING
HIGHlib/ansible/modules/ping.py0ping: description: value provided with the o(data) parameter. returned: success type: str sample: pongSTRING
HIGH…llections/testns/testcoll/plugins/modules/vyosfacts.py0--- module: ios_facts short_description: module to test module_defaults description: module to test module_defaults versSTRING
HIGH…ollections/testns/testcoll/plugins/modules/eosfacts.py0--- module: ios_facts short_description: module to test module_defaults description: module to test module_defaults versSTRING
HIGH…_collections/testns/testcoll/plugins/modules/module.py0--- module: ios_facts short_description: module to test module_defaults description: module to test module_defaults versSTRING
HIGH…llections/testns/testcoll/plugins/modules/ios_facts.py0--- module: ios_facts short_description: module to test module_defaults description: module to test module_defaults versSTRING
HIGH…ntegration/targets/windows-minimal/library/win_ping.py0--- module: win_ping version_added: "1.7" short_description: a windows version of the classic ping module description: -STRING
HIGH…upport/windows-integration/plugins/modules/win_ping.py0--- module: win_ping version_added: "1.7" short_description: a windows version of the classic ping module description: -STRING
HIGH…ollections/ansible/windows/plugins/modules/win_ping.py0--- module: win_ping version_added: "1.7" short_description: a windows version of the classic ping module description: -STRING
HIGH…ntegration/targets/windows-minimal/library/win_ping.py0# test connectivity to a windows host # ansible winserver -m win_ping - name: example from an ansible playbook win_ping:STRING
HIGH…upport/windows-integration/plugins/modules/win_ping.py0# test connectivity to a windows host # ansible winserver -m win_ping - name: example from an ansible playbook win_ping:STRING
HIGH…ollections/ansible/windows/plugins/modules/win_ping.py0# test connectivity to a windows host # ansible winserver -m win_ping - name: example from an ansible playbook win_ping:STRING
HIGH…support/windows-integration/plugins/action/win_copy.py0this is a closure (function utilizing variables from it's parent function's scope) so that we only need one copy of all STRING
HIGH…collections/ansible/windows/plugins/action/win_copy.py0this is a closure (function utilizing variables from it's parent function's scope) so that we only need one copy of all STRING
HIGHlib/ansible/plugins/action/copy.py0this is a closure (function utilizing variables from it's parent function's scope) so that we only need one copy of all STRING
HIGH…pport/windows-integration/plugins/modules/win_shell.py0msg: description: changed returned: always type: bool sample: true start: description: the command execution start time.STRING
HIGH…llections/ansible/windows/plugins/modules/win_shell.py0msg: description: changed returned: always type: bool sample: true start: description: the command execution start time.STRING
HIGHlib/ansible/modules/shell.py0msg: description: changed returned: always type: bool sample: true start: description: the command execution start time.STRING
HIGH…ib/ansible_test/_internal/classification/powershell.py0return a namespace and name from the given module_utils path.STRING
HIGH…st/lib/ansible_test/_internal/classification/csharp.py0return a namespace and name from the given module_utils path.STRING
HIGH…st/lib/ansible_test/_internal/classification/python.py0return a namespace and name from the given module_utils path.STRING
103 more matches not shown…
Cross-Language Confusion169 hits · 781 pts
SeverityFileLineSnippetContext
HIGH…st/integration/targets/ansible-test-container/runme.py1104 lines = run_command('sh', '-c', '. /etc/os-release && echo $ID && echo $VERSION_ID', capture=True).stdout.splitlCODE
HIGHtest/units/_internal/templating/test_templar.py1082 assert TemplateEngine(variables=dict(something=TRUST.tag("{{ nope }}"))).template(TRUST.tag("{{ (something is eqCODE
HIGHtest/units/_internal/_yaml/test_dumper.py66 ({1, 2, 3}, "!!set {1: null, 2: null, 3: null}\n"),CODE
HIGHtest/units/module_utils/basic/test_selinux.py35 # selinux unavailable, should return falseCOMMENT
HIGHtest/units/module_utils/basic/test_selinux.py58 # selinux unavailable, should return falseCOMMENT
HIGHtest/units/module_utils/basic/test_selinux.py61 # selinux disabled, should return falseCOMMENT
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6396 "SOCK_MAXBUF": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6397 "_POSIX_ASYNC_IO": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6400 "_POSIX_PRIO_IO": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6401 "_POSIX_SYNC_IO": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6463 "_POSIX_PII": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6464 "_POSIX_PII_INTERNET": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6465 "_POSIX_PII_INTERNET_DGRAM": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6466 "_POSIX_PII_INTERNET_STREAM": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6467 "_POSIX_PII_OSI": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6468 "_POSIX_PII_OSI_CLTS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6469 "_POSIX_PII_OSI_COTS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6470 "_POSIX_PII_OSI_M": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6471 "_POSIX_PII_SOCKET": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6472 "_POSIX_PII_XTI": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6473 "_POSIX_POLL": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6478 "_POSIX_SELECT": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6490 "_POSIX_THREAD_ROBUST_PRIO_INHERIT": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6491 "_POSIX_THREAD_ROBUST_PRIO_PROTECT": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6495 "TIMER_MAX": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6498 "_T_IOV_MAX": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6530 "POSIX2_FORT_DEV": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6531 "POSIX2_FORT_RUN": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6537 "POSIX2_UPE": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6542 "LFS_CFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6543 "LFS_LDFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6544 "LFS_LIBS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6545 "LFS_LINTFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6547 "LFS64_LDFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6548 "LFS64_LIBS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6552 "_XBS5_ILP32_OFF32": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6553 "XBS5_ILP32_OFF32_CFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6554 "XBS5_ILP32_OFF32_LDFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6555 "XBS5_ILP32_OFF32_LIBS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6556 "XBS5_ILP32_OFF32_LINTFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6557 "_XBS5_ILP32_OFFBIG": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6558 "XBS5_ILP32_OFFBIG_CFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6559 "XBS5_ILP32_OFFBIG_LDFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6560 "XBS5_ILP32_OFFBIG_LIBS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6561 "XBS5_ILP32_OFFBIG_LINTFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6565 "XBS5_LP64_OFF64_LIBS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6566 "XBS5_LP64_OFF64_LINTFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6567 "_XBS5_LPBIG_OFFBIG": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6568 "XBS5_LPBIG_OFFBIG_CFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6569 "XBS5_LPBIG_OFFBIG_LDFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6570 "XBS5_LPBIG_OFFBIG_LIBS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6571 "XBS5_LPBIG_OFFBIG_LINTFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6572 "_POSIX_V6_ILP32_OFF32": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6573 "POSIX_V6_ILP32_OFF32_CFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6574 "POSIX_V6_ILP32_OFF32_LDFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6575 "POSIX_V6_ILP32_OFF32_LIBS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6576 "POSIX_V6_ILP32_OFF32_LINTFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6579 "_POSIX_V6_ILP32_OFFBIG": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6580 "POSIX_V6_ILP32_OFFBIG_CFLAGS": null,CODE
HIGH⚡test/units/module_utils/facts/other/test_ohai.py6581 "POSIX_V6_ILP32_OFFBIG_LDFLAGS": null,CODE
109 more matches not shown…
Deep Nesting610 hits · 560 pts
SeverityFileLineSnippetContext
LOWpackaging/release.py743CODE
LOWpackaging/release.py840CODE
LOWpackaging/release.py198CODE
LOWpackaging/cli-doc/build.py177CODE
LOW…rel_plugin_loading/subdir/inventory_plugins/notyaml.py114CODE
LOWtest/integration/targets/ansible-test/venv-pythons.py14CODE
LOW…st/integration/targets/ansible-test-container/runme.py44CODE
LOW…st/integration/targets/ansible-test-container/runme.py140CODE
LOW…st/integration/targets/ansible-test-container/runme.py230CODE
LOW…st/integration/targets/ansible-test-container/runme.py469CODE
LOW…egration/targets/gathering_facts/library/file_utils.py11CODE
LOW…ntegration/targets/playbook_output_validator/filter.py13CODE
LOW…targets/var_precedence/ansible-var-precedence-check.py414CODE
LOWtest/integration/targets/uri/files/testserver.py12CODE
LOWtest/sanity/code-smell/no-unwanted-characters.py9CODE
LOWtest/sanity/code-smell/test-constraints.py9CODE
LOWtest/sanity/code-smell/boilerplate.py7CODE
LOWtest/sanity/code-smell/update-bundled.py105CODE
LOWtest/sanity/code-smell/no-s3.py12CODE
LOWtest/units/_internal/templating/test_common_.py152CODE
LOWtest/units/_internal/templating/conftest.py28CODE
LOWtest/units/_internal/templating/test_lazy_containers.py376CODE
LOWtest/units/_internal/templating/test_lazy_containers.py403CODE
LOWtest/units/playbook/role/test_include_role.py157CODE
LOWtest/units/playbook/role/test_include_role.py203CODE
LOW…nits/utils/collection_loader/test_collection_loader.py237CODE
LOWtest/units/cli/test_galaxy.py655CODE
LOWtest/units/inventory/test_data.py73CODE
LOWtest/units/parsing/yaml/test_loader.py285CODE
LOW…support/windows-integration/plugins/action/win_copy.py25CODE
LOW…support/windows-integration/plugins/action/win_copy.py77CODE
LOW…support/windows-integration/plugins/action/win_copy.py328CODE
LOW…collections/ansible/windows/plugins/action/win_copy.py25CODE
LOW…collections/ansible/windows/plugins/action/win_copy.py77CODE
LOW…collections/ansible/windows/plugins/action/win_copy.py328CODE
LOWtest/lib/ansible_test/_internal/host_profiles.py755CODE
LOWtest/lib/ansible_test/_internal/host_profiles.py922CODE
LOWtest/lib/ansible_test/_internal/host_profiles.py1163CODE
LOWtest/lib/ansible_test/_internal/host_profiles.py1251CODE
LOWtest/lib/ansible_test/_internal/completion.py329CODE
LOWtest/lib/ansible_test/_internal/util.py318CODE
LOWtest/lib/ansible_test/_internal/util.py1092CODE
LOWtest/lib/ansible_test/_internal/containers.py449CODE
LOWtest/lib/ansible_test/_internal/containers.py592CODE
LOWtest/lib/ansible_test/_internal/coverage_util.py163CODE
LOWtest/lib/ansible_test/_internal/http.py41CODE
LOWtest/lib/ansible_test/_internal/docker_util.py596CODE
LOWtest/lib/ansible_test/_internal/docker_util.py657CODE
LOWtest/lib/ansible_test/_internal/diff.py196CODE
LOWtest/lib/ansible_test/_internal/target.py90CODE
LOWtest/lib/ansible_test/_internal/target.py307CODE
LOWtest/lib/ansible_test/_internal/target.py490CODE
LOWtest/lib/ansible_test/_internal/target.py515CODE
LOWtest/lib/ansible_test/_internal/ssh.py106CODE
LOWtest/lib/ansible_test/_internal/python_requirements.py258CODE
LOWtest/lib/ansible_test/_internal/delegation.py139CODE
LOWtest/lib/ansible_test/_internal/delegation.py334CODE
LOWtest/lib/ansible_test/_internal/provisioning.py101CODE
LOWtest/lib/ansible_test/_internal/data.py256CODE
LOWtest/lib/ansible_test/_internal/core_ci.py414CODE
550 more matches not shown…
Excessive Try-Catch Wrapping466 hits · 469 pts
SeverityFileLineSnippetContext
LOWtest/integration/targets/pause/test-pause.py21except Exception:CODE
LOW…rel_plugin_loading/subdir/inventory_plugins/notyaml.py96 except Exception as e:CODE
LOW…st/integration/targets/ansible-test-container/runme.py515 except Exception:CODE
LOW…ventory/inventory_plugins/constructed_with_hostvars.py50 except Exception as ex:STRING
LOW…egration/targets/module_tracebacks/library/ansibull.py39 except Exception as ex:CODE
LOW…ts/inventory_cache/plugins/inventory/exercise_cache.py76 except Exception as e:STRING
LOW…targets/var_precedence/ansible-var-precedence-check.py531 except Exception as e:STRING
LOWtest/sanity/code-smell/boilerplate.py43 except Exception: # pylint: disable=broad-exceptCODE
LOWtest/sanity/code-smell/ansible-requirements.py10 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUMtest/sanity/code-smell/ansible-requirements.py6def read_file(path):CODE
LOWtest/units/_internal/templating/conftest.py43 except Exception as ex:CODE
LOWtest/units/_internal/templating/conftest.py47 except Exception as ex2:CODE
LOWtest/units/_internal/templating/test_lazy_containers.py426 except Exception as ex:CODE
LOWtest/units/_internal/templating/test_templar.py878 except Exception:CODE
LOWtest/units/mock/error_helper.py14 except Exception as ex:CODE
LOWtest/units/utils/test_serialization_profiles.py177 except Exception as ex:STRING
LOWtest/units/utils/test_serialization_profiles.py183 except Exception as ex:STRING
LOW⚡…nits/utils/collection_loader/test_collection_loader.py299 except Exception as phe:CODE
LOW⚡test/units/utils/display/test_warning.py25 except Exception as ex:CODE
LOWtest/units/module_utils/datatag/test_datatag.py294 except Exception as ex:CODE
LOW⚡…/module_utils/common/warnings/test_error_as_warning.py17 except Exception as ex:CODE
LOW⚡…/module_utils/common/warnings/test_error_as_warning.py30 except Exception as ex:CODE
MEDIUM…/module_utils/common/warnings/test_error_as_warning.py14def test_error_as_warning() -> None:CODE
LOWtest/units/parsing/utils/test_addresses.py81 except Exception:CODE
LOWtest/units/parsing/utils/test_addresses.py94 except Exception:CODE
LOWtest/units/parsing/yaml/test_loader.py193 except Exception as e:CODE
LOW…support/windows-integration/plugins/action/win_copy.py226 except Exception as err:CODE
LOW…support/windows-integration/plugins/action/win_copy.py295 except Exception as e:CODE
LOW…support/windows-integration/plugins/action/win_copy.py373 except Exception as err:CODE
LOW…collections/ansible/windows/plugins/action/win_copy.py226 except Exception as err:CODE
LOW…collections/ansible/windows/plugins/action/win_copy.py295 except Exception as e:CODE
LOW…collections/ansible/windows/plugins/action/win_copy.py373 except Exception as err:CODE
LOW…ctions/ansible/windows/plugins/plugin_utils/_reboot.py150 except Exception as e:CODE
LOW…ctions/ansible/windows/plugins/plugin_utils/_reboot.py271 except Exception as e:STRING
LOW…ctions/ansible/windows/plugins/plugin_utils/_reboot.py363 except Exception:CODE
LOW…ctions/ansible/windows/plugins/plugin_utils/_reboot.py398 except Exception as e:CODE
LOW…ctions/ansible/windows/plugins/plugin_utils/_reboot.py566 except Exception:CODE
MEDIUM…ctions/ansible/windows/plugins/plugin_utils/_reboot.py545def _wrap_conn_err(func, *args, **kwargs):CODE
LOWtest/lib/ansible_test/_internal/content_config.py96 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWtest/lib/ansible_test/_internal/content_config.py102 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWtest/lib/ansible_test/_internal/util.py611 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWtest/lib/ansible_test/_internal/containers.py647 except Exception:CODE
LOWtest/lib/ansible_test/_internal/coverage_util.py134 except Exception as ex:CODE
LOWtest/lib/ansible_test/_internal/debugging.py99 except Exception as ex:CODE
LOWtest/lib/ansible_test/_internal/http.py79 except Exception as ex: # pylint: disable=broad-exception-caughtCODE
LOWtest/lib/ansible_test/_internal/diff.py131 except Exception as ex:CODE
LOWtest/lib/ansible_test/_internal/target.py44 except Exception as ex: # pylint: disable=locally-disabled, broad-exceptCODE
LOWtest/lib/ansible_test/_internal/ssh.py96 except Exception: # pylint: disable=broad-exceptCODE
LOWtest/lib/ansible_test/_internal/provisioning.py223 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…/lib/ansible_test/_internal/cli/argparsing/__init__.py197 except Exception: # pylint: disable=broad-exceptCODE
LOW…/lib/ansible_test/_internal/cli/argparsing/__init__.py229 except Exception: # pylint: disable=broad-exceptCODE
LOW…nsible_test/_internal/commands/integration/__init__.py610 except Exception as ex:CODE
LOW…nsible_test/_internal/commands/integration/cloud/cs.py137 except Exception: # pylint: disable=broad-exceptCODE
LOW…t/lib/ansible_test/_util/target/setup/probe_cgroups.py22 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…st/lib/ansible_test/_util/target/setup/requirements.py87 except Exception as ex:CODE
LOW…ib/ansible_test/_util/target/sanity/import/importer.py110 except Exception as ex:CODE
LOW…sible_test/_util/controller/tools/collection_detail.py53 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…sible_test/_util/controller/tools/collection_detail.py74 except Exception as ex: # pylint: disable=broad-exceptCODE
LOW…sible_test/_util/controller/tools/collection_detail.py86 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUM…oller/sanity/validate-modules/validate_modules/main.py151def _ensure_default_entry(self, path):CODE
406 more matches not shown…
Over-Commented Block426 hits · 422 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1# Note: this requirements.txt file is used to specify what dependencies areCOMMENT
LOWtest/integration/targets/win_script/tasks/main.yml1# test code for the script module when using winrm connectionCOMMENT
LOW…t/integration/targets/hosts_field/test_hosts_field.yml1---COMMENT
LOWtest/integration/targets/connection_ssh/runme.sh1#!/usr/bin/env bashCOMMENT
LOWtest/integration/targets/blockinfile/tasks/main.yml1# Test code for the blockinfile module.COMMENT
LOW…/targets/old_style_modules_posix/library/helloworld.sh1#!/bin/shCOMMENT
LOWtest/integration/targets/module_precedence/runme.sh21COMMENT
LOWtest/integration/targets/module_precedence/runme.sh41# returns 'a.ini', then this test is pointless anyway because there's no chanceCOMMENT
LOW…le_precedence/roles_with_extension/foo/library/ping.py1#!/usr/bin/pythonCOMMENT
LOW…s/module_precedence/multiple_roles/foo/library/ping.py1#!/usr/bin/pythonCOMMENT
LOW…s/module_precedence/multiple_roles/bar/library/ping.py1#!/usr/bin/pythonCOMMENT
LOW…n/targets/module_precedence/lib_with_extension/ping.py1#!/usr/bin/pythonCOMMENT
LOWtest/integration/targets/ping/tasks/main.yml1# test code for the ping moduleCOMMENT
LOWtest/integration/targets/collection/setup.sh1#!/usr/bin/env bashCOMMENT
LOWtest/integration/targets/conditionals/play.yml421COMMENT
LOW…ation/targets/conditionals/output_validation_tests.yml81# Convert these to tests that assert a broken conditional error.COMMENT
LOWtest/integration/targets/async_fail/tasks/main.yml1# test code for the async keyword failing in the middle of outputCOMMENT
LOW…ntegration/targets/async_fail/action_plugins/normal.py1# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>COMMENT
LOWtest/integration/targets/changed_when/tasks/main.yml1# test code for the changed_when parameterCOMMENT
LOWtest/integration/targets/command_shell/tasks/main.yml321 - shell_result0.cmd == remote_tmp_dir_test + '/test.sh'COMMENT
LOWtest/integration/targets/loop_control/label.yml21# that:COMMENT
LOW…t/integration/targets/win_async_wrapper/tasks/main.yml41COMMENT
LOW…t/integration/targets/win_async_wrapper/tasks/main.yml81#- name: ensure that watchdog and module procs have exitedCOMMENT
LOW…t/integration/targets/win_async_wrapper/tasks/main.yml221 - >-COMMENT
LOW…t/integration/targets/win_async_wrapper/tasks/main.yml241#COMMENT
LOW…t/integration/targets/win_async_wrapper/tasks/main.yml261# - proclist.stdout.strip() == ""COMMENT
LOW…ration/targets/ansible-inventory/tasks/toml_output.yml1- block:COMMENT
LOWtest/integration/targets/file/tasks/selinux_tests.yml1# Test code for the file module - selinux subtasks.COMMENT
LOWtest/integration/targets/file/tasks/main.yml1# Test code for the file module.COMMENT
LOW…n/targets/hash/roles/test_hash_behaviour/vars/main.yml1# test code for the hash variable behaviorCOMMENT
LOW…/targets/hash/roles/test_hash_behaviour/tasks/main.yml1# test code for the hash variable behaviourCOMMENT
LOW…n/targets/hash/roles/test_hash_behaviour/meta/main.yml1# test code for the hash variable behaviorCOMMENT
LOW…rgets/hash/roles/test_hash_behaviour/defaults/main.yml1# test code for the hash variable behaviorCOMMENT
LOWtest/integration/targets/win_raw/tasks/main.yml1# test code for the raw module when using winrm connectionCOMMENT
LOWtest/integration/targets/win_raw/tasks/main.yml141#- name: check raw with job resultCOMMENT
LOWtest/integration/targets/group_by/create_groups.yml1# test code for the group_by moduleCOMMENT
LOWtest/integration/targets/group_by/test_group_by.yml1# test code for the group_by moduleCOMMENT
LOW…integration/targets/group_by/test_group_by_skipped.yml1# test code for the group_by moduleCOMMENT
LOWtest/integration/targets/callback_default/runme.sh1#!/usr/bin/env bashCOMMENT
LOWtest/integration/targets/assemble/tasks/main.yml1# test code for the assemble moduleCOMMENT
LOWtest/integration/targets/assemble/meta/main.yml1# test code for the assemble moduleCOMMENT
LOWtest/integration/targets/systemd/tasks/main.yml1# Test code for the systemd module.COMMENT
LOW…ration/targets/builtin_vars_prompt/test-vars_prompt.py41COMMENT
LOW…argets/check_mode/roles/test_check_mode/tasks/main.yml1# test code for the template moduleCOMMENT
LOW…argets/check_mode/roles/test_always_run/tasks/main.yml1# test code for the check_mode: no optionCOMMENT
LOW…targets/check_mode/roles/test_always_run/meta/main.yml1# test code for the check_mode: no optionCOMMENT
LOWtest/integration/targets/async/tasks/main.yml1# test code for the async keywordCOMMENT
LOW…ts/var_blending/roles/test_var_blending/tasks/main.yml1# test codeCOMMENT
LOWtest/integration/targets/template/tasks/main.yml1# test code for the template moduleCOMMENT
LOW…on/targets/includes/roles/test_includes/tasks/main.yml1# test code for the ping moduleCOMMENT
LOWtest/integration/targets/ansible-vault/faux-editor.py1#!/usr/bin/env pythonCOMMENT
LOWtest/integration/targets/ansible-vault/runme.sh421COMMENT
LOW…t/integration/targets/ansible-vault/password-script.py1#!/usr/bin/env pythonCOMMENT
LOW…ble-vault/roles/test_vault_embedded_ids/tasks/main.yml21 that:COMMENT
LOWtest/integration/targets/loop-until/tasks/main.yml1# Test code for integration of until and loop optionsCOMMENT
LOWtest/integration/targets/assert/tasks/main.yml241# DTFIX-FUTURE: restore tests for `quiet` arg with a custom callback or output validation testCOMMENT
LOWtest/integration/targets/add_host/tasks/main.yml1# test code for the add_host actionCOMMENT
LOWtest/integration/targets/script/tasks/main.yml1# Test code for the script module and action_plugin.COMMENT
LOW…n/targets/ignore_errors/test_invalid_ignore_errors.yml21COMMENT
LOWtest/integration/targets/ignore_errors/tasks/main.yml1# test codeCOMMENT
366 more matches not shown…
Modern Structural Boilerplate80 hits · 84 pts
SeverityFileLineSnippetContext
LOWpackaging/release.py790def set_ansible_version(current_version: Version, requested_version: Version) -> None:CODE
LOW⚡packaging/release.py816def set_setuptools_upper_bound(requested_version: Version) -> None:CODE
LOWpackaging/release.py1110def update_version(final: bool = False, pre: str | None = None, version: str | None = None) -> None:CODE
LOWpackaging/release.py1123def update_setuptools(setuptools: bool) -> None:CODE
LOWtest/units/controller_only_conftest.py17__all__ = ['_empty_vault_secrets_context', '_ignore_untrusted_template', '_vault_secrets_context', '_zap_vault_secrets_cCODE
LOWtest/units/mock/module.py29 def set_traceback_config(self, value: list[_traceback.TracebackEvent] | None = None) -> None:CODE
LOWtest/units/modules/conftest.py21 def set_module_args(args: dict[str, t.Any] | None = None) -> None:CODE
LOWtest/lib/ansible_test/_internal/diff.py57 def set_start(self, line_start: int, line_count: int) -> None:CODE
LOW…t/lib/ansible_test/_internal/cli/argparsing/parsers.py181 def set_namespace(self, namespace: t.Any) -> None:CODE
LOW…nsible_test/_internal/commands/integration/__init__.py965 def update_environment(self, env: dict[str, str]) -> None:CODE
LOW…ible_test/_internal/commands/integration/cloud/nios.py58 def _setup_dynamic(self) -> None:CODE
LOW…ible_test/_internal/commands/integration/cloud/nios.py79 def _setup_static(self) -> None:CODE
LOW…ble_test/_internal/commands/integration/cloud/azure.py68 def _setup_dynamic(self) -> None:CODE
LOW…test/_internal/commands/integration/cloud/openshift.py52 def _setup_static(self) -> None:CODE
LOW…test/_internal/commands/integration/cloud/openshift.py61 def _setup_dynamic(self) -> None:CODE
LOW…_test/_internal/commands/integration/cloud/__init__.py257 def _set_cloud_config(self, key: str, value: t.Union[str, int, bool]) -> None:CODE
LOW…est/_internal/commands/integration/cloud/opennebula.py30 def _setup_dynamic(self) -> None:CODE
LOW…sible_test/_internal/commands/integration/cloud/aws.py68 def _setup_dynamic(self) -> None:CODE
LOW…nsible_test/_internal/commands/integration/cloud/cs.py58 def _setup_static(self) -> None:CODE
LOW…nsible_test/_internal/commands/integration/cloud/cs.py83 def _setup_dynamic(self) -> None:CODE
LOW…ible_test/_internal/commands/integration/cloud/acme.py45 def _setup_dynamic(self) -> None:CODE
LOW…ible_test/_internal/commands/integration/cloud/acme.py65 def _setup_static(self) -> None:CODE
LOW…le_test/_internal/commands/integration/cloud/hcloud.py55 def _setup_dynamic(self) -> None:CODE
LOWhacking/update-sanity-requirements.py66 def update_pre_build(self) -> None:CODE
LOWlib/ansible/_internal/_task.py395 def update_task_vars(self, variables: dict[str, t.Any]) -> None:CODE
LOWlib/ansible/_internal/_task.py1251 def set_fact(self, key: str, value: object) -> None:CODE
LOWlib/ansible/_internal/_task.py1286 def set_skipped(self, reason: str | None = None, include_skipped_reason: bool = False) -> None:CODE
LOWlib/ansible/_internal/_task.py1309 def set_break_when_result(self, value: bool | AnsibleError) -> None:CODE
LOWlib/ansible/_internal/_task.py1345 def set_changed_when_result(self, value: bool | AnsibleError) -> None:CODE
LOWlib/ansible/_internal/_task.py1374 def set_failed_when_result(self, value: bool | AnsibleError) -> None:CODE
LOWlib/ansible/_internal/_encryption/_crypt.py13__all__ = ['CryptFacade']CODE
LOWlib/ansible/_internal/_encryption/_crypt.py63 def _setup(self) -> None:CODE
LOW⚡lib/ansible/_internal/_errors/_error_factory.py99 def _set_redact_source_context(self, exception: BaseException) -> None:CODE
LOWlib/ansible/vars/hostvars.py32__all__ = ['HostVars', 'HostVarsVars']CODE
LOWlib/ansible/playbook/task.py49__all__ = ['Task']CODE
LOWlib/ansible/playbook/role_include.py28__all__ = ['IncludeRole']CODE
LOWlib/ansible/playbook/__init__.py34__all__ = ['Playbook']CODE
LOWlib/ansible/playbook/play.py45__all__ = ['Play']CODE
LOWlib/ansible/playbook/play_context.py32__all__ = ['PlayContext']CODE
LOWlib/ansible/playbook/base.py726 def update_result_no_log(self, templar: TemplateEngine, utr: _task.UnifiedTaskResult) -> None:CODE
LOWlib/ansible/playbook/task_include.py27__all__ = ['TaskInclude']CODE
LOWlib/ansible/playbook/role/requirement.py25__all__ = ['RoleRequirement']CODE
LOWlib/ansible/playbook/role/metadata.py29__all__ = ['RoleMetadata']CODE
LOWlib/ansible/playbook/role/__init__.py54__all__ = ['Role', 'hash_params']CODE
LOWlib/ansible/playbook/role/definition.py36__all__ = ['RoleDefinition']CODE
LOWlib/ansible/playbook/role/include.py25__all__ = ['RoleInclude']CODE
LOWlib/ansible/plugins/connection/__init__.py30__all__ = ['ConnectionBase', 'ensure_connect']CODE
LOWlib/ansible/plugins/connection/__init__.py109 def set_become_plugin(self, plugin: BecomeBase) -> None:CODE
LOWlib/ansible/plugins/connection/__init__.py241 def update_vars(self, variables: dict[str, t.Any]) -> None:CODE
LOWlib/ansible/plugins/connection/__init__.py431 def _update_connection_state(self) -> None:CODE
LOWlib/ansible/plugins/lookup/__init__.py34__all__ = ['LookupBase']CODE
LOWlib/ansible/plugins/inventory/__init__.py341 def update_cache_if_changed(self) -> None:CODE
LOWlib/ansible/plugins/inventory/__init__.py344 def set_cache_plugin(self) -> None:CODE
LOWlib/ansible/plugins/callback/__init__.py53__all__ = ["CallbackBase"]CODE
LOWlib/ansible/plugins/strategy/__init__.py60__all__ = ['StrategyBase']CODE
LOWlib/ansible/plugins/strategy/__init__.py1044 def update_active_connections(self, results: _c.Iterable[HostTaskResult]) -> None:CODE
LOW⚡lib/ansible/utils/encrypt.py45__all__ = ['do_encrypt']CODE
LOWlib/ansible/utils/listify.py25__all__ = ['listify_lookup_plugin_terms']CODE
LOW⚡lib/ansible/utils/display.py378 def set_queue(self, queue: FinalQueue) -> None:CODE
LOW⚡lib/ansible/utils/display.py388 def set_cowsay_info(self) -> None:CODE
20 more matches not shown…
AI Slop Vocabulary51 hits · 83 pts
SeverityFileLineSnippetContext
LOW…rgets/module_utils_common.respawn/library/respawnme.py20 # just return info about what interpreter we're currently running underCOMMENT
LOWtest/integration/targets/cli/setup.yml38 # on some platforms, as does sudo/sudoers. On Fedora, we can just addCOMMENT
LOWtest/integration/targets/assert/tasks/main.yml37# from here on, just use `assert` to validate behaviorCOMMENT
LOW…egration/targets/prepare_http_tests/tasks/kerberos.yml50# apk isn't available on ansible-core so just call commandCOMMENT
MEDIUM…tion/targets/ansible-galaxy-collection/tasks/build.yml142# Additional comprehensive tests for FILES.json sorting robustnessCOMMENT
LOW…on/targets/subversion/roles/subversion/tasks/setup.yml100# On Red Hat based OS', we can't use apachectl to start up own instance, just use the raw httpdCOMMENT
LOWtest/integration/targets/debug/args_templating.yml84# of dynamic variable selection for `var` (eg ternary), but you could also just use `msg`.COMMENT
LOW⚡test/units/plugins/action/test_action.py390 # Step 1: On windows, we just return remote_pathsCOMMENT
MEDIUMtest/units/utils/test_serialization_profiles.py70 Deprecated: Deprecated(msg='x'), # DTFIX5: we need more exhaustive testing of the values supported by this tag to eCODE
MEDIUM⚡test/units/module_utils/basic/test_atomic_move.py138 """Failure to stat an existing file in order to copy permissions propagates the error (unless EPERM)"""STRING
LOWtest/units/module_utils/datatag/test_datatag.py326 # just return the entire row as "value"COMMENT
MEDIUMtest/units/module_utils/datatag/test_datatag.py687 # This test creates a generator to source items from the value to facilitate optimized creation of collections wCOMMENT
LOWtest/units/executor/test_play_iterator.py414 # assert with an empty task list, or if we're in a failed state, we simply return the state as-isSTRING
LOWtest/units/parsing/vault/test_vault_editor.py223 # FIXME: update to just set self._secrets or just a new vault secret idCOMMENT
MEDIUMtest/lib/ansible_test/_util/target/setup/bootstrap.sh234 # Allow root to use sudo to facilitate become testing as is done in other test environments.COMMENT
LOW…_util/controller/sanity/code-smell/runtime-metadata.py141 # just return None to indicate "we don't know".COMMENT
LOWhacking/backport/backport_of_line_adder.py111 # Otherwise, no '#### SUMMARY' line, so just add it at the bottomCOMMENT
LOWlib/ansible/_internal/_wrapt.py561 # method to call. In this case we simply return self.COMMENT
LOWlib/ansible/_internal/_wrapt.py615 # and if the wrapper is not to be executed, then simply returnCOMMENT
LOWlib/ansible/_internal/_wrapt.py683 # the wrapper is not to be executed, then simply return the boundCOMMENT
LOWlib/ansible/_internal/_templating/_jinja_bits.py528 # was embedded in a plugin, or a plugin is otherwise responsible for losing the origin and/or trust. We can't justCOMMENT
MEDIUMlib/ansible/_internal/_templating/_jinja_bits.py628 template_obj._python_source_temp_path = ctx.python_source_temp_path # facilitate deletion of the temp fCODE
MEDIUMlib/ansible/_internal/_templating/_jinja_bits.py711 template_obj._python_source_temp_path = ctx.python_source_temp_path # facilitate deletion of the temp fCODE
LOWlib/ansible/_internal/_json/__init__.py197 # supported scalar type that requires no special handling, just return as-isCOMMENT
LOWlib/ansible/_internal/_json/_legacy_encoder.py26 return o.value # if not emitting unsafe markers, bypass custom unsafe serialization and just return the rawCODE
LOWlib/ansible/_internal/_powershell/_clixml.py80 # Any errors and we just add the original CLIXML header andCOMMENT
MEDIUMlib/ansible/_internal/_yaml/_constructor.py67 # This is done before checking for duplicates to leverage existing error checking on the input node.COMMENT
LOWlib/ansible/playbook/collectionsearch.py44 if not ds: # don't return an empty collection list, just return NoneCODE
LOWlib/ansible/playbook/role/__init__.py270 # reset collections list; roles do not inherit collections from parents, just use the defaultsCOMMENT
MEDIUMlib/ansible/plugins/loader.py666 # but if the unqualified name is used in conjunction with the collections keyword, onlyCOMMENT
MEDIUMlib/ansible/plugins/loader.py790 # FIXME: need this right now so we can still load shipped PS module_utils- come up with a more robust solutionCOMMENT
MEDIUMlib/ansible/plugins/loader.py863 """Search library and various *_plugins paths in order to find the file.STRING
LOWlib/ansible/plugins/connection/winrm.py215 # This was added in pywinrm 0.5.0, we just use our no-op exception forSTRING
LOWlib/ansible/plugins/inventory/host_list.py22 # just use localhostCOMMENT
LOWlib/ansible/plugins/inventory/ini.py200 # group, in that case we simply pass so that the logic below to process pendingSTRING
LOWlib/ansible/plugins/inventory/ini.py380 # Likely a string that literal_eval does not like. We will then just set it.STRING
LOWlib/ansible/plugins/callback/__init__.py159 # FUTURE: this code is jacked for 2.x- it should just use the type names and always assume 2.0+ for normal casesCOMMENT
MEDIUMlib/ansible/cli/__init__.py180 # Initialize plugin loader after parse, so that the init code can utilize parsed argumentsCOMMENT
LOWlib/ansible/cli/vault.py364 # if no --names are provided, just use the args without a name.COMMENT
MEDIUMlib/ansible/cli/arguments/option_helpers.py423 """Add options for commands that utilize inventory"""STRING
LOWlib/ansible/galaxy/collection/__init__.py1356 # Dealing with a normal file, just add it by name.COMMENT
MEDIUMlib/ansible/inventory/host.py31from . import helpers # this is left as a module import to facilitate easier unit test patchingCODE
MEDIUMlib/ansible/inventory/group.py18from . import helpers # this is left as a module import to facilitate easier unit test patchingCODE
MEDIUMlib/ansible/inventory/data.py32from . import helpers # this is left as a module import to facilitate easier unit test patchingCODE
LOWlib/ansible/module_utils/_internal/_datatag/__init__.py171 # if no tags to apply, just return what we gotCOMMENT
LOWlib/ansible/executor/play_iterator.py598 # if we've failed at all, or if the task list is empty, just return the current stateCOMMENT
LOWlib/ansible/executor/task_executor.py445 # if this task is a TaskInclude, we just return now with a success code so theCOMMENT
LOWlib/ansible/executor/task_executor.py456 # if this task is a IncludeRole, we just return now with a success code so the main thread can expand the task lCOMMENT
LOWlib/ansible/executor/task_executor.py469 # just use normal host varsCOMMENT
LOWlib/ansible/parsing/utils/addresses.py124 # Note that we can't just use ipaddress.ip_address() because we also have toSTRING
LOWlib/ansible/modules/deb822_repository.py361 # Not a file, nor a URL, just pass it throughSTRING
Decorative Section Separators33 hits · 77 pts
SeverityFileLineSnippetContext
MEDIUMtest/integration/targets/conditionals/play.yml256 #-----------------------------------------------------------------------COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml25 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml53 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml71 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml92 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml113 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml137 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml165 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml187 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml204 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml226 # ============================================================================COMMENT
MEDIUMtest/integration/targets/dnf/tasks/repo.yml243 # ============================================================================COMMENT
MEDIUMlib/ansible/playbook/task.py68 # =================================================================================COMMENT
MEDIUMlib/ansible/playbook/role_include.py45 # =================================================================================COMMENT
MEDIUMlib/ansible/playbook/play.py60 # =================================================================================COMMENT
MEDIUMlib/ansible/playbook/play.py91 # =================================================================================COMMENT
MEDIUMlib/ansible/modules/systemd_service.py339# ===========================================STRING
MEDIUMlib/ansible/modules/service.py228 # ===========================================COMMENT
MEDIUMlib/ansible/modules/service.py243 # ===========================================COMMENT
MEDIUMlib/ansible/modules/service.py1519# ===========================================COMMENT
MEDIUMlib/ansible/modules/user.py1439# ===========================================COMMENT
MEDIUMlib/ansible/modules/git.py1219# ===========================================COMMENT
MEDIUMlib/ansible/modules/wait_for.py342# ===========================================STRING
MEDIUMlib/ansible/modules/systemd.py339# ===========================================STRING
MEDIUMlib/ansible/modules/group.py278# ===========================================STRING
MEDIUMlib/ansible/modules/group.py303# ===========================================STRING
MEDIUMlib/ansible/modules/group.py336# ===========================================STRING
MEDIUMlib/ansible/modules/group.py387# ===========================================STRING
MEDIUMlib/ansible/modules/group.py450# ===========================================STRING
MEDIUMlib/ansible/modules/group.py575# ===========================================STRING
MEDIUMlib/ansible/modules/group.py629# ===========================================STRING
MEDIUMlib/ansible/modules/get_url.py383# ==============================================================STRING
MEDIUMlib/ansible/modules/get_url.py504# ==============================================================COMMENT
Hallucination Indicators7 hits · 65 pts
SeverityFileLineSnippetContext
CRITICAL…llections/testns/testcoll/plugins/module_utils/base.py11 return "thingtocall in base called " + ansible_collections.testns.testcoll.plugins.module_utils.secondary.thingtocalCODE
CRITICAL…s/testcoll/plugins/modules/uses_leaf_mu_flat_import.py11 mu_result = ansible_collections.testns.testcoll.plugins.module_utils.leaf.thingtocall()CODE
CRITICALtest/units/utils/test_helpers.py10from ansible.utils.helpers import pct_to_int, object_to_dict, deduplicate_listCODE
CRITICALtest/units/module_utils/basic/test_run_command.py216 assert rc_am._subprocess.Popen.return_value.stdin.getvalue() == b'hello world\n'CODE
CRITICALlib/ansible/inventory/manager.py41from ansible.utils.helpers import deduplicate_listCODE
CRITICALlib/ansible/module_utils/common/arg_spec.py50 <ansible.module_utils.common.arg_spec.ArgumentSpecValidator.validate()>`STRING
CRITICALlib/ansible/executor/playbook_executor.py30from ansible.utils.helpers import pct_to_intCODE
Redundant / Tautological Comments40 hits · 53 pts
SeverityFileLineSnippetContext
LOWtest/integration/targets/connection_ssh/runme.sh7 # Check if our sshpass supports -PCOMMENT
LOWtest/integration/targets/callback_default/runme.sh215# Check if UNREACHABLE is available in stderrCOMMENT
LOWtest/integration/targets/filter_core/runme.sh20# Check if libxcrypt was installed by looking for the handler outputCOMMENT
LOW…support/windows-integration/plugins/action/win_copy.py173 # Check if the source ends with a "/" so that we know which directoryCOMMENT
LOW…collections/ansible/windows/plugins/action/win_copy.py173 # Check if the source ends with a "/" so that we know which directoryCOMMENT
LOW…t/lib/ansible_test/_internal/commands/sanity/pylint.py277 # Set PYLINTHOME to prevent pylint from checking for an obsolete directory, which can result in a test failure dCOMMENT
LOWlib/ansible/_internal/_ansiballz/_wrapper.py219 # Set pythonpath to the debug dirCOMMENT
LOWlib/ansible/playbook/base.py321 # Check if the group has already been resolved and cachedCOMMENT
LOWlib/ansible/plugins/connection/psrp.py682 # Check if there's a command on the current pipeline that still needs to be closed.STRING
LOWlib/ansible/plugins/connection/ssh.py905 # Check if ControlPersist is enabled and add a ControlPath if one hasn'tCOMMENT
LOWlib/ansible/plugins/action/__init__.py781 # Check if we are an admin/root user. If we are and got here, it meansCOMMENT
LOWlib/ansible/plugins/action/copy.py167 # Check if the source ends with a "/" so that we know which directoryCOMMENT
LOWlib/ansible/cli/arguments/option_helpers.py240 # Check if the .git is a file. If it is a file, it means that we are in a submodule structure.COMMENT
LOWlib/ansible/inventory/manager.py395 # Check if pattern already computedCOMMENT
LOWlib/ansible/inventory/manager.py685 # Check if host in inventory, add if notCOMMENT
LOWlib/ansible/module_utils/basic.py1027 # Check if there are illegal characters in the user listCOMMENT
LOWlib/ansible/module_utils/basic.py1035 # Check if there are illegal characters in the permissionsCOMMENT
LOWlib/ansible/module_utils/facts/system/python.py24 # Check if we have SSLContext supportCOMMENT
LOWlib/ansible/module_utils/facts/system/pkg_mgr.py84 # Check if '/usr/bin/apt' is APT-RPM or an ordinary (dpkg-based) APT.COMMENT
LOWlib/ansible/module_utils/facts/system/pkg_mgr.py131 # Check if /usr/bin/apt-get is ordinary (dpkg-based) APT or APT-RPMCOMMENT
LOWlib/ansible/module_utils/facts/virtual/sunos.py25 # Check if it's a zoneCOMMENT
LOWlib/ansible/module_utils/facts/virtual/sunos.py36 # Check if it's a branded zone (i.e. Solaris 8/9 zone)COMMENT
LOWlib/ansible/executor/task_executor.py951 # Check if the module has specified an action handlerCOMMENT
LOWlib/ansible/parsing/dataloader.py106 # Check if the file has been cached and use the cached data if availableCOMMENT
LOWlib/ansible/modules/service.py421 # Add line to the list.COMMENT
LOWlib/ansible/modules/service.py766 # Check if we're already in the correct stateCOMMENT
LOWlib/ansible/modules/service.py780 # Check if we're already in the correct stateCOMMENT
LOWlib/ansible/modules/service.py1476 # Check if service name is a subsystem of a group subsystemCOMMENT
LOWlib/ansible/modules/git.py835 # Check if the .git is a file. If it is a file, it means that the repository is in external directory respective to COMMENT
LOWlib/ansible/modules/uri.py726 # Write the file out if requestedCOMMENT
LOWlib/ansible/modules/rpm_key.py188 # Check if it's a new format packet (bit 6 set)COMMENT
LOWlib/ansible/modules/rpm_key.py302 # Check if it's a V4 key (first byte of body should be 0x04)COMMENT
LOWlib/ansible/modules/rpm_key.py335 # Check if it's a V6 key (first byte of body should be 0x06)COMMENT
LOWlib/ansible/modules/apt.py915 # Check if package is installableCOMMENT
LOWlib/ansible/modules/apt.py1256 # Check if the cache is validCOMMENT
LOWlib/ansible/modules/apt.py522 # Check if the available version matches the requested versionSTRING
LOWlib/ansible/modules/apt.py600 # Check if the installed version already matches the requested versionSTRING
LOWlib/ansible/modules/apt.py608 # Check if a better version is availableSTRING
LOWlib/ansible/modules/iptables.py885 # Check if wait option is supportedSTRING
LOWlib/ansible/modules/iptables.py943 # Check if target is up to dateSTRING
AI Structural Patterns58 hits · 52 pts
SeverityFileLineSnippetContext
LOW…llections/testns/testcoll/plugins/action/echoaction.py18CODE
LOW…stns/testcoll/plugins/action/uses_redirected_import.py19CODE
LOW…oll/plugins/action/action_subdir/subdir_ping_action.py18CODE
LOWtest/units/plugins/action/test_action.py291CODE
LOWtest/units/module_utils/facts/test_date_time.py51CODE
LOWtest/units/parsing/yaml/test_loader.py221CODE
LOW…llections/ansible/windows/plugins/action/win_reboot.py100CODE
LOWtest/lib/ansible_test/_internal/util.py414CODE
LOWtest/lib/ansible_test/_internal/containers.py105CODE
LOWtest/lib/ansible_test/_internal/util_common.py514CODE
LOWtest/lib/ansible_test/_internal/util_common.py115CODE
LOWtest/lib/ansible_test/_internal/cli/parsers/__init__.py243CODE
LOW…t/lib/ansible_test/_internal/cli/argparsing/parsers.py621CODE
LOW…ib/ansible_test/_util/target/sanity/compile/compile.py44CODE
LOWlib/ansible/_internal/_errors/_error_utils.py206CODE
LOWlib/ansible/_internal/_templating/_jinja_bits.py748CODE
LOWlib/ansible/_internal/_templating/_jinja_plugins.py165CODE
LOWlib/ansible/_internal/_json/__init__.py73CODE
LOWlib/ansible/vars/manager.py157CODE
LOWlib/ansible/playbook/attribute.py32CODE
LOWlib/ansible/config/manager.py819CODE
LOWlib/ansible/plugins/netconf/__init__.py161CODE
LOWlib/ansible/plugins/action/shell.py32CODE
LOWlib/ansible/plugins/action/__init__.py892CODE
LOWlib/ansible/plugins/action/__init__.py900CODE
LOWlib/ansible/plugins/action/__init__.py908CODE
LOWlib/ansible/plugins/action/__init__.py916CODE
LOWlib/ansible/plugins/action/__init__.py1094CODE
LOWlib/ansible/plugins/action/reboot.py113CODE
LOWlib/ansible/plugins/callback/__init__.py582CODE
LOWlib/ansible/plugins/callback/__init__.py715CODE
LOWlib/ansible/plugins/filter/core.py713CODE
LOWlib/ansible/utils/vars.py89CODE
LOWlib/ansible/utils/display.py919CODE
LOWlib/ansible/cli/__init__.py205CODE
LOWlib/ansible/cli/arguments/option_helpers.py178CODE
LOWlib/ansible/galaxy/api.py257CODE
LOWlib/ansible/galaxy/api.py462CODE
LOWlib/ansible/galaxy/api.py603CODE
LOWlib/ansible/galaxy/api.py615CODE
LOWlib/ansible/galaxy/api.py621CODE
LOWlib/ansible/galaxy/api.py627CODE
LOWlib/ansible/galaxy/api.py634CODE
LOWlib/ansible/module_utils/api.py92CODE
LOWlib/ansible/module_utils/basic.py362CODE
LOWlib/ansible/module_utils/basic.py1833CODE
LOWlib/ansible/module_utils/urls.py1010CODE
LOWlib/ansible/module_utils/urls.py1398CODE
LOWlib/ansible/module_utils/urls.py1617CODE
LOWlib/ansible/module_utils/urls.py733CODE
LOWlib/ansible/module_utils/urls.py787CODE
LOWlib/ansible/module_utils/_internal/_datatag/__init__.py331CODE
LOWlib/ansible/module_utils/_internal/_datatag/__init__.py347CODE
LOWlib/ansible/module_utils/common/parameters.py464CODE
LOWlib/ansible/parsing/plugin_docs.py161CODE
LOWlib/ansible/modules/apt.py721CODE
LOWlib/ansible/modules/apt.py1102CODE
LOWlib/ansible/modules/get_url.py394CODE
Structural Annotation Overuse9 hits · 17 pts
SeverityFileLineSnippetContext
LOW⚡test/units/plugins/action/test_action.py390 # Step 1: On windows, we just return remote_pathsCOMMENT
LOW⚡test/units/plugins/action/test_action.py398 # Step 2: We're /not/ becoming an unprivileged userCOMMENT
LOW⚡test/units/plugins/action/test_action.py534 # Step 4: world-readable tmpdirCOMMENT
LOWtest/units/plugins/action/test_action.py425 # Step 3: we are becoming unprivilegedCOMMENT
LOWtest/lib/ansible_test/_internal/docker_util.py603 # NOTE: This method of detecting the container engine and container ID relies on implementation details of each COMMENT
LOW⚡lib/ansible/plugins/action/__init__.py698 # Step 1: Are we on windows?COMMENT
LOW⚡lib/ansible/plugins/action/__init__.py705 # Step 2: If we're not becoming an unprivileged user, we are roughlyCOMMENT
LOWlib/ansible/plugins/action/__init__.py860 # Step 4: World-readable temp directoryCOMMENT
LOWlib/ansible/module_utils/_internal/_datatag/__init__.py416 # NOTE: This method is called twice when the datatag type is a dataclass.COMMENT
Verbosity Indicators9 hits · 16 pts
SeverityFileLineSnippetContext
LOW⚡test/units/plugins/action/test_action.py390 # Step 1: On windows, we just return remote_pathsCOMMENT
LOW⚡test/units/plugins/action/test_action.py398 # Step 2: We're /not/ becoming an unprivileged userCOMMENT
LOW⚡test/units/plugins/action/test_action.py534 # Step 4: world-readable tmpdirCOMMENT
LOWtest/units/plugins/action/test_action.py425 # Step 3: we are becoming unprivilegedCOMMENT
LOW⚡lib/ansible/plugins/action/__init__.py698 # Step 1: Are we on windows?COMMENT
LOW⚡lib/ansible/plugins/action/__init__.py705 # Step 2: If we're not becoming an unprivileged user, we are roughlyCOMMENT
LOWlib/ansible/plugins/action/__init__.py860 # Step 4: World-readable temp directoryCOMMENT
LOWlib/ansible/utils/vars.py241 The purpose of this function is to be used to validate any variables created inSTRING
LOWlib/ansible/modules/rpm_key.py419 # If the key is a url, we need to check if it's present to be idempotent,COMMENT
Slop Phrases7 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM…facts/system/distribution/test_distribution_version.py18# to generate the testcase data, you can use the script gen_distribution_version_testcase.py in hacking/testsCOMMENT
MEDIUM…port/windows-integration/plugins/modules/win_reboot.py109# Additionally, you can add a delay before running the next taskCOMMENT
LOWlib/ansible/playbook/play_context.py273 # in the event that we were using local before make sure to reset theCOMMENT
MEDIUMlib/ansible/plugins/lookup/nested.py30# As with the case of 'with_items' above, you can use previously defined variables.:COMMENT
LOWlib/ansible/module_utils/basic.py166# this matters, make sure to check for strings before checking for sequencetypeCOMMENT
LOWlib/ansible/parsing/dataloader.py298 # not told if role, but detect if it is a role and if so make sure you get correct base pathCOMMENT
MEDIUMlib/ansible/modules/meta.py27 datasource (for example P(amazon.aws.aws_ec2#inventory)), you can use an inventory plugin instead of an inventCODE
Overly Generic Function Names12 hits · 12 pts
SeverityFileLineSnippetContext
LOW…mpat-six/ansible_collections/ns/col/do-not-check-me.py6def do_stuff():CODE
LOW…ansible_collections/ns/col/plugins/modules/check-me.py6def do_stuff():CODE
LOW…xception/ansible_collections/ns/col/do-not-check-me.py6def do_stuff():CODE
LOW…ansible_collections/ns/col/plugins/modules/check-me.py6def do_stuff():CODE
LOW…targets/ansible-test-sanity-pylint/deprecated_thing.py11def do_stuff() -> None:CODE
LOW…nsible_collections/ns/col/plugins/lookup/deprecated.py55 def my_method(self) -> None:CODE
LOW…nsible_collections/ns/col/plugins/lookup/deprecated.py65def do_stuff() -> None:CODE
LOW…ctions/ns/col/plugins/module_utils/deprecated_utils.py17def do_stuff() -> None:CODE
LOW…-urlopen/ansible_collections/ns/col/do-not-check-me.py6def do_stuff():CODE
LOW…ansible_collections/ns/col/plugins/modules/check-me.py6def do_stuff():CODE
LOWtest/units/module_utils/_internal/test_deprecator.py28def do_stuff():CODE
LOWlib/ansible/utils/jsonrpc.py23 def handle_request(self, request):CODE
TODO Padding7 hits · 11 pts
SeverityFileLineSnippetContext
LOWpackaging/release.py746 # TODO: consider using development versions instead of post versions after a release is publishedCOMMENT
LOW⚡test/units/plugins/action/test_action.py527 # TODO: Add test to assert warning is shown ifCOMMENT
LOWtest/units/parsing/test_mod_args.py16 # TODO: add tests that construct ModuleArgsParser with a task referenceCOMMENT
LOWlib/ansible/plugins/loader.py1441 # TODO: implement cycle detection (unified across collection redir as well)COMMENT
LOWlib/ansible/plugins/action/unarchive.py76 # TODO: implement using open_url?COMMENT
LOW…/ansible/utils/collection_loader/_collection_finder.py1240 # TODO: implement ignore/silent catch for unreadable?COMMENT
LOWlib/ansible/parsing/vault/__init__.py1014 # TODO: add docstrings for arg types since this code is picky about thatCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHlib/ansible/module_utils/distro/_distro.py680 The initialization method of this class gathers information from the available data sources, and storesSTRING
HIGHlib/ansible/modules/pip.py9 --- module: pip short_description: Manages Python library dependencies description: - "Manage Python library depenSTRING
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ation/targets/ansible-galaxy-collection/tasks/list.yml122 # Note the version displayed is the 'placeholder' string rather than "*" since it is not falseyCOMMENT
LOW…ation/targets/ansible-galaxy-collection/tasks/list.yml139 # Note the version displayed is the 'placeholder' string rather than "*" since it is not falseyCOMMENT
LOW…ation/targets/ansible-galaxy-collection/tasks/list.yml162 - "item.value['dev.collection2'].version == 'placeholder'"CODE
LOW…ation/targets/ansible-galaxy-collection/tasks/list.yml179 - "item.value['dev.collection2'].version == 'placeholder'"CODE
LOW…ation/targets/ansible-galaxy-collection/tasks/list.yml191 with_dict: "{{ { 'dev.collection1': '*', 'dev.collection2': 'placeholder', 'dev.collection3': '*' } }}"CODE
LOW…ation/targets/ansible-galaxy-collection/tasks/list.yml203 with_dict: "{{ { 'dev.collection1': '*', 'dev.collection2': 'placeholder', 'dev.collection3': '*' } }}"CODE
LOWtest/lib/ansible_test/_internal/completion.py344 item.pop('placeholder', None)CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…nits/module_utils/basic/test_heuristic_log_sanitize.py63 # In this implementation we replace the password with 8 "*" which isCOMMENT