AI Slop Code RIsk Monitor

conan-io/conan

Conan - The open-source C and C++ package manager

20.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for conan-io/conan, a Python project with 9,534 GitHub stars. SynthScan examined 194,245 lines of code across 1093 source files, recording 3468 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 20.6 (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.

20.6
Adjusted Signal
20.6
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
9.5K
Stars
Python
Language
194.2K
Lines of Code
1.1K
Files
3.5K
Pattern Hits
2026-10-12
Scan Date
0.26
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 44.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 21.1/100 · LOW

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

Agent Over-Engineering Ratio 50.1/100 · HIGH

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

PR Review Velocity Impact 72.7/100 · HIGH

Which changes need focused human review? 3468 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 0HIGH 281MEDIUM 85LOW 3102

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 3468 distinct pattern matches across 16 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 Identifiers2576 hits · 1861 pts
SeverityFileLineSnippetContext
LOWsetup.py39def generate_long_description_file():CODE
LOWsetup_server.py41def generate_long_description_file():CODE
LOW⚡conans/server/plugin_loader.py21def load_authentication_plugin(server_folder, plugin_name):CODE
LOW⚡conans/server/plugin_loader.py25def load_authorization_plugin(server_folder, plugin_name):CODE
LOWconans/server/migrate.py6def migrate_and_get_server_config(base_folder, force_migration=False, is_custom_path=False):CODE
LOWconans/server/service/authorize.py205 def _check_ref_apply_for_rule(self, rule_ref: RecipeReference, ref: RecipeReference):CODE
LOWconans/server/service/v2/service_v2.py50 def get_recipe_revisions_references(self, ref, auth_user):CODE
LOWconans/server/service/v2/service_v2.py59 def get_package_revisions_references(self, pref, auth_user):CODE
LOWconans/server/service/v2/service_v2.py77 def get_latest_package_reference(self, pref, auth_user):CODE
LOW⚡conans/server/rest/controller/v2/revisions.py18 def get_recipe_revisions_references(name, version, username, channel, auth_user):CODE
LOW⚡conans/server/rest/controller/v2/revisions.py27 def get_latest_recipe_reference(name, version, username, channel, auth_user):CODE
LOW⚡conans/server/rest/controller/v2/revisions.py36 def get_package_revisions_references(name, version, username, channel, package_id, auth_user,CODE
LOW⚡conans/server/rest/controller/v2/revisions.py46 def get_latest_package_reference(name, version, username, channel, package_id, auth_user,CODE
LOW…ans/server/rest/bottle_plugins/authorization_header.py48 def get_authorization_header_value(self):CODE
LOW…ans/server/rest/bottle_plugins/authorization_header.py66 def parse_authorization_value(self, header_value):CODE
LOW…ans/server/rest/bottle_plugins/authorization_header.py72 def get_invalid_header_response(self):CODE
LOWconans/server/rest/bottle_plugins/return_handler.py44def get_response_from_exception(excep, exception_mapping):CODE
LOW…erver/rest/bottle_plugins/http_basic_authentication.py28 def parse_authorization_value(self, header_value):CODE
LOW…erver/rest/bottle_plugins/http_basic_authentication.py38 def get_invalid_header_response(self):CODE
LOW⚡conans/server/rest/bottle_plugins/jwt_authentication.py22 def parse_authorization_value(self, header_value):CODE
LOW⚡conans/server/rest/bottle_plugins/jwt_authentication.py38 def get_invalid_header_response(self):CODE
LOWconans/server/store/server_store.py131 def get_recipe_revisions_references(self, ref):CODE
LOWconans/server/store/server_store.py143 def get_last_package_revision(self, pref):CODE
LOWconans/server/store/server_store.py156 def update_last_package_revision(self, pref):CODE
LOWconans/server/store/server_store.py173 def get_package_revisions_references(self, pref):CODE
LOW⚡conans/server/store/server_store.py214 def get_package_revision_time(self, pref):CODE
LOW⚡conans/server/store/server_store.py222 def _remove_revision_from_index(self, ref):CODE
LOW⚡conans/server/store/server_store.py227 def _remove_package_revision_from_index(self, pref):CODE
LOWconans/server/store/server_store.py241 def _save_package_revision_list(self, rev_list, pref):CODE
LOWconans/server/store/server_store.py245 def _load_package_revision_list(self, pref):CODE
LOWtest/conftest.py13def _cache_vs_installation_path():CODE
LOWtest/conftest.py22 def _cached_vs_installation_path(version):CODE
LOWtest/conftest.py390def _memoize_settings_yml_parsing():CODE
LOWtest/conftest.py423def _no_sync_sqlite_databases():CODE
LOWtest/README.md83 def test_build_modules_alias_target(self, use_components):CODE
LOWtest/integration/test_components.py35def test_components_cycle_complex():STRING
LOWtest/integration/test_components.py69def test_components_cycles_error():STRING
LOWtest/integration/test_components.py96def test_components_not_required():STRING
LOWtest/integration/test_components.py121def test_components_overrides():STRING
LOWtest/integration/test_components.py154def test_duplication_component_properties():STRING
LOWtest/integration/tgz_macos_dot_files_test.py19 def _test_for_metadata_in_zip_file(tgz, annotated_file, dot_file_expected):CODE
LOWtest/integration/tgz_macos_dot_files_test.py76 def _add_macos_metadata_to_file(filepath):STRING
LOWtest/integration/conftest.py8def mock_vs_installation_path():CODE
LOWtest/integration/test_components_error.py62def test_verify_get_property_check_type():STRING
LOWtest/integration/test_components_error.py129def test_unused_requirement_not_propagated():STRING
LOWtest/integration/test_components_error.py197def test_unused_tool_requirement():STRING
LOWtest/integration/test_components_error.py227def test_component_double_colon_error_message():STRING
LOWtest/integration/test_source_download_password.py20def test_source_download_password():CODE
LOWtest/integration/test_source_download_password.py73def test_source_credentials_only_download():STRING
LOWtest/integration/test_source_download_password.py90def test_source_credentials_not_leaked_to_other_mirrors():STRING
LOWtest/integration/test_source_download_password.py128def test_blocked_malicius_tgz():STRING
LOWtest/integration/test_package_vendor.py81def test_package_vendor_editable():STRING
LOWtest/integration/test_package_vendor.py122def test_vendor_dont_propagate_options():STRING
LOWtest/integration/test_package_vendor.py143def test_package_vendor_export_pkg():STRING
LOWtest/integration/test_migrations.py19def test_migration_profile_checker_plugin(plugin_path, string_replace, new_string):CODE
LOWtest/integration/test_migrations.py101def test_back_default_compatibility_migration():STRING
LOWtest/integration/test_migrations.py143 def test_compatibility_modified(self):STRING
LOWtest/integration/test_migrations.py156 def test_compatibility_modified_by_conan(self):STRING
LOWtest/integration/test_migrations.py171 def test_compatibility_no_rewrite(self):STRING
LOWtest/integration/test_migrations.py181 def test_migration_strips_vigenere(self):STRING
2516 more matches not shown…
Cross-Language Confusion158 hits · 811 pts
SeverityFileLineSnippetContext
HIGHtest/integration/cps/test_cps.py262 "definitions": { "*": {"MY_DEFINE": null }}CODE
HIGHtest/integration/environment/test_env.py525 cmd = f"conanbuild.bat && display.bat && {deactivate_bat} && display.bat"STRING
HIGHtest/integration/environment/test_env.py572 cmd = "conanbuild.bat && display.bat && deactivate_conanbuild.bat && display.bat"STRING
HIGHtest/integration/environment/test_env.py637 cmd = (f'export FOO=&& export BAZ=Value3 && export FOOBAR='STRING
HIGHtest/integration/environment/test_env.py738 cmd = "conanbuild.bat && display.bat && deactivate_conanbuild.bat && display.bat"STRING
HIGHtest/integration/command/test_profile.py162 settings_user = "new_global: [null, 0, 1, True, False, '']"STRING
HIGHtest/integration/conanfile/init_test.py69 myopt2: [null, potato]CODE
HIGHtest/integration/conanfile/init_test.py70 myopt3: [null, ANY]CODE
HIGHtest/unittests/model/settings_test.py16 yml = "os: [null, Windows]"CODE
HIGHtest/unittests/model/settings_test.py39 yml = "os: [null, ANY]"CODE
HIGHtest/unittests/model/settings_test.py54 version: [null, ANY]CODE
HIGHtest/unittests/model/settings_test.py98 subsystem: [null, cygwin]CODE
HIGHtest/unittests/model/settings_test.py114 subsystem: [null, cygwin]CODE
HIGHtest/unittests/model/other_settings_test.py26 subsystem: [null, msys]CODE
HIGHtest/unittests/model/version/test_version_range.py34 ['1.0.0 || 2.1.3', [[["=", "1.0.0"]], [["=", "2.1.3"]]], ["1.0.0", "2.1.3"], ["2", "1.0.1"]],CODE
HIGHtest/functional/utils.py11 cmd = ('%s && dumpbin /nologo /dependents "%s"' % (vcvars, normalized_path))CODE
HIGHtest/functional/test_third_party_patch_flow.py59 client.run_command("cd src && git diff > ../patches/patch1")STRING
HIGHtest/functional/test_third_party_patch_flow.py60 client.run_command("cd src && git add . && git commit -m patch1")STRING
HIGHtest/functional/test_third_party_patch_flow.py75 client.run_command("cd src && git diff > ../patches/patch2")STRING
HIGHtest/functional/test_third_party_patch_flow.py76 client.run_command("cd src && git add . && git commit -m patch1")STRING
HIGHtest/functional/test_third_party_patch_flow.py92 client.run_command("cd src && git diff > ../patches/patch3")STRING
HIGHtest/functional/test_third_party_patch_flow.py93 client.run_command("cd src && git add . && git commit -m patch1")STRING
HIGHtest/functional/command/test_install_deploy.py89 cmd = r"mydeploy\conanrun.bat && Release\my_app.exe"STRING
HIGHtest/functional/command/test_install_deploy.py139 cmd = r"generators\conanrun.bat && Release\my_app.exe"STRING
HIGHtest/functional/toolchains/cmake/test_ninja.py95 client.run_command('conanvcvars.bat && cmake . -G "Ninja" 'STRING
HIGHtest/functional/toolchains/cmake/test_ninja.py99 client.run_command("conanvcvars.bat && ninja")STRING
HIGHtest/functional/toolchains/cmake/test_ninja.py139 client.run_command('conanvcvars.bat && cmake . -G "Ninja" 'STRING
HIGHtest/functional/toolchains/cmake/test_ninja.py143 client.run_command("conanvcvars.bat && ninja")STRING
HIGH⚡…ional/toolchains/cmake/test_cmake_toolchain_presets.py278 c.run_command("build\\Release\\generators\\conanbuild.bat && cmake --preset conan-release")STRING
HIGH⚡…ional/toolchains/cmake/test_cmake_toolchain_presets.py279 c.run_command("build\\Release\\generators\\conanbuild.bat && cmake --preset conan-release")STRING
HIGH⚡…ional/toolchains/cmake/test_cmake_toolchain_presets.py282 c.run_command("build\\Release\\generators\\conanbuild.bat && ctest --preset conan-release")STRING
HIGHtest/functional/toolchains/microsoft/test_msbuild.py570 '"%s" x64 && msbuild "MyProject.sln" /p:Configuration="%s" 'STRING
HIGHtest/functional/toolchains/microsoft/test_msbuild.py585 cmd = ('%s && dumpbin /dependents "%s"' % (vcvars, command_str))STRING
HIGH⚡conan/internal/default_settings.py76 sdk_version: [null, "1.0", "1.1", "1.2", "1.3", "2.0", "2.1", "2.2", "2.4", "2.5",CODE
HIGH⚡conan/internal/default_settings.py80 version: [null, "10.6", "10.7", "10.8", "10.9", "10.10", "10.11", "10.12", "10.13", "10.14", "10.15",CODE
HIGH⚡conan/internal/default_settings.py88 sdk_version: [null, "10.13", "10.14", "10.15", "11.0", "11.1", "11.2", "11.3", "12.0", "12.1",CODE
HIGH⚡conan/internal/default_settings.py99 ndk_version: [null, ANY]CODE
HIGH⚡conan/internal/default_settings.py108 variant: [null, "safe"]CODE
HIGH⚡conan/internal/default_settings.py112 variant: [null, "certified"]CODE
HIGH⚡conan/internal/default_settings.py142 threads: [null, posix, win32, mcf] # Windows MinGWCODE
HIGH⚡conan/internal/default_settings.py143 exception: [null, dwarf2, sjlj, seh] # Windows MinGWCODE
HIGH⚡conan/internal/default_settings.py144 cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26]CODE
HIGH⚡conan/internal/default_settings.py145 cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23]CODE
HIGH⚡conan/internal/default_settings.py148 update: [null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]CODE
HIGH⚡conan/internal/default_settings.py151 cppstd: [null, 14, 17, 20, 23]CODE
HIGH⚡conan/internal/default_settings.py152 toolset: [null, v110_xp, v120_xp, v140_xp, v141_xp]CODE
HIGH⚡conan/internal/default_settings.py153 cstd: [null, 11, 17]CODE
HIGH⚡conan/internal/default_settings.py159 libcxx: [null, libstdc++, libstdc++11, libc++, c++_shared, c++_static]CODE
HIGH⚡conan/internal/default_settings.py160 cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26]CODE
HIGH⚡conan/internal/default_settings.py161 runtime: [null, static, dynamic]CODE
HIGH⚡conan/internal/default_settings.py162 runtime_type: [null, Debug, Release]CODE
HIGH⚡conan/internal/default_settings.py163 runtime_version: [null, v140, v141, v142, v143, v144, v145]CODE
HIGH⚡conan/internal/default_settings.py164 cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23]CODE
HIGH⚡conan/internal/default_settings.py170 cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26]CODE
HIGH⚡conan/internal/default_settings.py171 cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23]CODE
HIGH⚡conan/internal/default_settings.py177 update: [null, ANY]CODE
HIGH⚡conan/internal/default_settings.py179 libcxx: [null, libstdc++, libstdc++11, libc++]CODE
HIGH⚡conan/internal/default_settings.py180 cppstd: [null, 98, gnu98, "03", gnu03, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23]CODE
HIGH⚡conan/internal/default_settings.py181 runtime: [null, static, dynamic]CODE
HIGH⚡conan/internal/default_settings.py182 runtime_type: [null, Debug, Release]CODE
98 more matches not shown…
Cross-File Repetition86 hits · 430 pts
SeverityFileLineSnippetContext
HIGH…ans/server/rest/bottle_plugins/authorization_header.py0parse header_value and return kwargs to apply bottle method parametersSTRING
HIGH…erver/rest/bottle_plugins/http_basic_authentication.py0parse header_value and return kwargs to apply bottle method parametersSTRING
HIGHconans/server/rest/bottle_plugins/jwt_authentication.py0parse header_value and return kwargs to apply bottle method parametersSTRING
HIGHtest/integration/configuration/profile_test.py0[settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=releaseSTRING
HIGH…st/integration/configuration/conf/test_conf_profile.py0[settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=releaseSTRING
HIGHconan/test/utils/tools.py0[settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=releaseSTRING
HIGH…unctional/toolchains/cmake/cmakedeps/test_cmakedeps.py0[settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=releaseSTRING
HIGH…t/integration/configuration/test_auth_remote_plugin.py0when the plugin fails, we want a clear message and a helpful traceSTRING
HIGH…egration/configuration/conf/test_auth_source_plugin.py0when the plugin fails, we want a clear message and a helpful traceSTRING
HIGHtest/integration/configuration/test_profile_plugin.py0when the plugin fails, we want a clear message and a helpful traceSTRING
HIGHtest/integration/package_id/test_cache_compatibles.py0when the plugin fails, we want a clear message and a helpful traceSTRING
HIGHtest/integration/command/create_test.py0from conan import conanfile class mytest(conanfile): name = "pkg" version = "0.2" def package_info(self): self.cpp_info.STRING
HIGHtest/integration/command/export_pkg_test.py0from conan import conanfile class mytest(conanfile): name = "pkg" version = "0.2" def package_info(self): self.cpp_info.STRING
HIGHtest/integration/command/install/install_test.py0from conan import conanfile class mytest(conanfile): name = "pkg" version = "0.2" def package_info(self): self.cpp_info.STRING
HIGH…st/integration/toolchains/cmake/test_cmaketoolchain.py0tests how autotoolstoolchain manages the build context profile if the build profile is specifying another compiler path STRING
HIGHtest/integration/toolchains/gnu/test_gnutoolchain.py0tests how autotoolstoolchain manages the build context profile if the build profile is specifying another compiler path STRING
HIGH…/integration/toolchains/gnu/test_autotoolstoolchain.py0tests how autotoolstoolchain manages the build context profile if the build profile is specifying another compiler path STRING
HIGH…st/integration/toolchains/cmake/test_cmaketoolchain.py0[settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] toolSTRING
HIGHtest/integration/toolchains/gnu/test_gnutoolchain.py0[settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] toolSTRING
HIGH…/integration/toolchains/gnu/test_autotoolstoolchain.py0[settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] toolSTRING
HIGH…st/integration/toolchains/meson/test_mesontoolchain.py0[settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] toolSTRING
HIGH…st/integration/toolchains/cmake/test_cmaketoolchain.py0[settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libcSTRING
HIGHtest/integration/toolchains/gnu/test_gnutoolchain.py0[settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libcSTRING
HIGH…/integration/toolchains/gnu/test_autotoolstoolchain.py0[settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libcSTRING
HIGH…st/integration/toolchains/meson/test_mesontoolchain.py0[settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libcSTRING
HIGHtest/integration/toolchains/google/test_bazeldeps.py0from conan import conanfile class pkgconfigconan(conanfile): requires = "other/1.0" def package_info(self): self.cpp_infSTRING
HIGHtest/integration/toolchains/gnu/test_makedeps.py0from conan import conanfile class pkgconfigconan(conanfile): requires = "other/1.0" def package_info(self): self.cpp_infSTRING
HIGHtest/integration/toolchains/gnu/test_pkgconfigdeps.py0from conan import conanfile class pkgconfigconan(conanfile): requires = "other/1.0" def package_info(self): self.cpp_infSTRING
HIGHtest/integration/toolchains/google/test_bazeldeps.py0from conan import conanfile class hellolib(conanfile): def build_requirements(self): self.test_requires('app/1.0') self.STRING
HIGHtest/integration/toolchains/gnu/test_pkgconfigdeps.py0from conan import conanfile class hellolib(conanfile): def build_requirements(self): self.test_requires('app/1.0') self.STRING
HIGHtest/functional/toolchains/gnu/test_pkgconfigdeps.py0from conan import conanfile class hellolib(conanfile): def build_requirements(self): self.test_requires('app/1.0') self.STRING
HIGHtest/integration/toolchains/gnu/test_gnutoolchain.py0issue related: https://github.com/conan-io/conan/issues/17441STRING
HIGH…/integration/toolchains/gnu/test_autotoolstoolchain.py0issue related: https://github.com/conan-io/conan/issues/17441STRING
HIGHtest/unittests/tools/gnu/test_gnutoolchain.py0issue related: https://github.com/conan-io/conan/issues/17441STRING
HIGHtest/unittests/tools/gnu/autotools_toolchain_test.py0issue related: https://github.com/conan-io/conan/issues/17441STRING
HIGHtest/functional/subsystems_build_test.py0include(default) [conf] tools.microsoft.bash:subsystem=msys2 tools.microsoft.bash:path=bashSTRING
HIGH…unctional/toolchains/gnu/test_v2_autotools_template.py0include(default) [conf] tools.microsoft.bash:subsystem=msys2 tools.microsoft.bash:path=bashSTRING
HIGH…t/functional/toolchains/gnu/autotools/test_win_bash.py0include(default) [conf] tools.microsoft.bash:subsystem=msys2 tools.microsoft.bash:path=bashSTRING
HIGHtest/functional/toolchains/apple/test_xcodetoolchain.py0name: app targets: app: type: tool platform: macos sources: - main.cpp configfiles: debug: conan_config.xcconfig releaseSTRING
HIGHtest/functional/toolchains/apple/test_xcodebuild.py0name: app targets: app: type: tool platform: macos sources: - main.cpp configfiles: debug: conan_config.xcconfig releaseSTRING
HIGH…ional/toolchains/apple/test_xcodedeps_build_configs.py0name: app targets: app: type: tool platform: macos sources: - main.cpp configfiles: debug: conan_config.xcconfig releaseSTRING
HIGH…l/toolchains/cmake/cmakedeps/test_cmakedeps_aliases.py0from conan import conanfile from conan.tools.cmake import cmake class consumer(conanfile): name = "consumer" version = "STRING
HIGH…chains/cmake/cmakedeps/test_cmakedeps_build_modules.py0from conan import conanfile from conan.tools.cmake import cmake class consumer(conanfile): name = "consumer" version = "STRING
HIGH…/cmake/cmakeconfigdeps/test_cmakeconfigdeps_aliases.py0from conan import conanfile from conan.tools.cmake import cmake class consumer(conanfile): name = "consumer" version = "STRING
HIGH…unctional/toolchains/cmake/cmakedeps/test_cmakedeps.py0import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import caSTRING
HIGH…ake/cmakeconfigdeps/test_cmakeconfigdeps_frameworks.py0import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import caSTRING
HIGHconan/internal/api/new/header_lib.py0import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import caSTRING
HIGHconan/internal/api/new/cmake_lib.py0import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import caSTRING
HIGH…functional/toolchains/gnu/test_gnutoolchain_android.py0include(default) [settings] os = android os.api_level = 21 arch = {arch} [conf] tools.android:ndk_path={ndk_path}STRING
HIGH…st/functional/toolchains/gnu/autotools/test_android.py0include(default) [settings] os = android os.api_level = 21 arch = {arch} [conf] tools.android:ndk_path={ndk_path}STRING
HIGH…/functional/toolchains/meson/test_cross_compilation.py0include(default) [settings] os = android os.api_level = 21 arch = {arch} [conf] tools.android:ndk_path={ndk_path}STRING
HIGHtest/functional/toolchains/meson/test_backend.py0from conan import conanfile from conan.tools.meson import meson, mesontoolchain class app(conanfile): settings = "os", "STRING
HIGHtest/functional/toolchains/meson/test_meson_and_objc.py0from conan import conanfile from conan.tools.meson import meson, mesontoolchain class app(conanfile): settings = "os", "STRING
HIGH…/functional/toolchains/meson/test_cross_compilation.py0from conan import conanfile from conan.tools.meson import meson, mesontoolchain class app(conanfile): settings = "os", "STRING
HIGHconan/tools/ros/rosenv.py0:param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``.STRING
HIGHconan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py0:param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``.STRING
HIGHconan/tools/google/bazeldeps.py0:param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``.STRING
HIGHconan/tools/google/bazel.py0:param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``.STRING
HIGHconan/tools/google/toolchain.py0:param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``.STRING
HIGHconan/tools/microsoft/nmakedeps.py0:param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``.STRING
26 more matches not shown…
Empty Error Handlers37 hits · 185 pts
SeverityFileLineSnippetContext
HIGHconans/server/service/v2/search.py114except ForbiddenException:CODE
HIGHtest/integration/command/help_test.py71except:CODE
HIGHtest/integration/command/help_test.py62except:CODE
HIGHtest/unittests/util/files/test_dirty.py53except RuntimeError:CODE
HIGHconan/tools/cmake/presets.py40except ValueError:CODE
HIGHconan/tools/cmake/presets.py320except ValueError:CODE
HIGHconan/tools/cmake/layout.py11except AttributeError:CODE
HIGH…ools/cmake/cmakedeps/templates/target_configuration.py225except KeyError:CODE
HIGHconan/tools/cmake/cmakedeps/templates/target_data.py253except KeyError: # The transitive dep might have been skippedCODE
HIGHconan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py495except KeyError: # The transitive dep might have been skippedCODE
HIGHconan/tools/gnu/autotoolstoolchain.py371except ConanException:CODE
HIGHconan/tools/files/files.py655except OSError:CODE
HIGHconan/tools/files/files.py172except OSError:CODE
HIGHconan/tools/files/copy_pattern.py154except OSError:CODE
HIGHconan/test/utils/test_files.py50except OSError: # e.g. a .pdb still opened by the Windows mspdbsrvCODE
HIGHconan/internal/loader.py414except: # noqa this should be solid, cannot failCODE
HIGHconan/internal/loader.py54except Exception:CODE
HIGHconan/internal/loader.py383except AttributeError: # In case the module.__path__ doesn't existCODE
HIGHconan/internal/errors.py81except IndexError:CODE
HIGHconan/internal/util/__init__.py26except (EnvironmentError, TypeError):CODE
HIGHconan/internal/util/runners.py104except OSError:CODE
HIGHconan/internal/graph/proxy.py151except NotFoundException:CODE
HIGHconan/internal/graph/graph_binaries.py82except NotFoundException:CODE
HIGHconan/internal/graph/graph_binaries.py275except NotFoundException:CODE
HIGHconan/internal/model/pkg_type.py32except ConanException:CODE
HIGHconan/internal/model/pkg_type.py40except ConanException:CODE
HIGHconan/internal/model/cpp_info.py458except KeyError:CODE
HIGHconan/internal/model/lockfile.py134except AttributeError:CODE
HIGHconan/internal/model/settings.py237except KeyError:CODE
HIGHconan/internal/model/version_range.py11except AttributeError:CODE
HIGHconan/internal/api/migrations.py140except: # noqa, just make sure this doesn't crash for some reasonCODE
HIGHconan/internal/api/detect/detect_api.py192except OSError:CODE
HIGHconan/internal/api/install/generators.py192except ValueError: # In case the unit in Windows is different, path cannot be made relativeCODE
HIGHconan/internal/api/remotes/localdb.py51except OperationalError:CODE
HIGHconan/internal/rest/__init__.py19except Exception:CODE
HIGHconan/internal/rest/rest_client_v2.py360except Exception:CODE
HIGHconan/api/subapi/download.py27except ConanException:CODE
Deep Nesting180 hits · 180 pts
SeverityFileLineSnippetContext
LOWconans/server/service/authorize.py176CODE
LOWconans/server/conf/__init__.py20CODE
LOWconans/server/store/server_store.py84CODE
LOWtest/integration/configuration/requester_test.py73CODE
LOWtest/integration/lockfile/test_ci_revisions.py298CODE
LOWtest/integration/lockfile/test_ci_revisions.py360CODE
LOWtest/integration/lockfile/test_ci.py305CODE
LOWtest/integration/lockfile/test_ci.py367CODE
LOWtest/integration/command/help_test.py50CODE
LOW…integration/command/download/test_download_patterns.py14CODE
LOWtest/integration/command/upload/test_upload_patterns.py12CODE
LOW…ake/cmakedeps/test_cmakedeps_find_module_and_config.py14CODE
LOWtest/integration/toolchains/gnu/test_makedeps.py12CODE
LOWtest/integration/toolchains/gnu/test_pkgconfigdeps.py19CODE
LOWtest/unittests/util/zip_permissions_test.py16CODE
LOWtest/unittests/util/files/strip_root_extract_test.py25CODE
LOWtest/unittests/util/files/tar_extract_test.py14CODE
LOWtest/functional/utils.py4CODE
LOWtest/functional/utils.py75CODE
LOW…nctional/toolchains/cmake/cmakedeps/test_link_order.py223CODE
LOW…nctional/toolchains/cmake/cmakedeps/test_link_order.py261CODE
LOWconan/tools/apple/apple.py282CODE
LOWconan/tools/apple/apple.py356CODE
LOWconan/tools/intel/intel_cc.py169CODE
LOWconan/tools/cps/cps_deps.py12CODE
LOWconan/tools/cmake/presets.py332CODE
LOWconan/tools/cmake/presets.py366CODE
LOWconan/tools/cmake/layout.py70CODE
LOWconan/tools/cmake/utils.py10CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py230CODE
LOWconan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py761CODE
LOWconan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py303CODE
LOWconan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py460CODE
LOWconan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py642CODE
LOWconan/tools/cmake/toolchain/toolchain.py162CODE
LOWconan/tools/cmake/toolchain/toolchain.py174CODE
LOWconan/tools/cmake/toolchain/blocks.py822CODE
LOWconan/tools/cmake/toolchain/blocks.py1057CODE
LOWconan/tools/cmake/toolchain/blocks.py1172CODE
LOWconan/tools/cmake/toolchain/blocks.py1210CODE
LOWconan/tools/microsoft/msbuilddeps.py367CODE
LOWconan/tools/gnu/get_gnu_triplet.py4CODE
LOWconan/tools/gnu/autotoolstoolchain.py287CODE
LOWconan/tools/gnu/pkgconfigdeps.py107CODE
LOWconan/tools/gnu/pkgconfigdeps.py191CODE
LOWconan/tools/gnu/pkgconfigdeps.py113CODE
LOWconan/tools/meson/helpers.py89CODE
LOWconan/tools/files/files.py351CODE
LOWconan/tools/files/files.py447CODE
LOWconan/tools/files/files.py573CODE
LOWconan/tools/files/patches.py73CODE
LOWconan/tools/files/copy_pattern.py65CODE
LOWconan/cps/cps.py227CODE
LOWconan/cps/cps.py333CODE
LOWconan/test/utils/artifactory.py105CODE
LOWconan/test/utils/artifactory.py117CODE
LOWconan/test/utils/tools.py844CODE
LOWconan/test/utils/tools.py576CODE
LOWconan/test/assets/genconanfile.py445CODE
LOWconan/internal/deploy.py49CODE
120 more matches not shown…
Excessive Try-Catch Wrapping154 hits · 180 pts
SeverityFileLineSnippetContext
LOWpyinstaller.py99 except Exception as e:CODE
MEDIUMpyinstaller.py86def pyinstall(source_folder, onefile=False):CODE
LOW⚡conans/server/plugin_loader.py16 except Exception:CODE
MEDIUM⚡conans/server/plugin_loader.py17 print("Error loading %s plugin '%s'" % (plugin_type, plugin_name))CODE
MEDIUMconans/server/plugin_loader.py4def load_plugin(server_folder, plugin_type, plugin_name):CODE
LOWconans/server/service/authorize.py181 except Exception:CODE
LOWconans/server/conf/__init__.py100 except Exception as exc:CODE
LOWconans/server/rest/bottle_plugins/return_handler.py36 except Exception as e:CODE
LOW⚡conans/server/rest/bottle_plugins/jwt_authentication.py31 except Exception:CODE
LOW⚡test/integration/settings/remove_subsetting_test.py81 except Exception as exc:CODE
LOW⚡test/integration/settings/remove_subsetting_test.py85 except Exception as exc:CODE
LOW⚡test/integration/settings/remove_subsetting_test.py89 except Exception as exc:CODE
MEDIUMtest/integration/settings/remove_subsetting_test.py78def build(self):CODE
LOWtest/integration/package_id/package_id_test.py98 except Exception as e:CODE
LOWtest/integration/package_id/package_id_test.py102 except Exception as e:CODE
LOWtest/integration/command/custom_commands_test.py483 except Exception as e:CODE
LOW…unittests/client/profile_loader/profile_loader_test.py39 except Exception as error:STRING
LOWtest/functional/tools/system/package_manager_test.py44 except Exception:CODE
LOWconan/tools/cmake/cmakedeps/templates/__init__.py36 except Exception as e:CODE
MEDIUMconan/tools/cmake/cmakedeps/templates/__init__.py33def render(self):CODE
LOWconan/tools/microsoft/toolchain.py205 except Exception:STRING
LOWconan/tools/system/python_manager.py171 except Exception as e:CODE
MEDIUMconan/tools/system/python_manager.py135def _create_venv(self):CODE
LOWconan/tools/files/files.py169 except Exception as e:CODE
LOWconan/tools/files/files.py251 except Exception as err:CODE
LOWconan/tools/files/files.py430 except Exception as e:CODE
LOWconan/tools/files/files.py442 except Exception as e:CODE
LOWconan/tools/files/patches.py169 except Exception as e:CODE
LOWconan/tools/scm/git.py69 except Exception as e:CODE
LOWconan/tools/scm/git.py115 except Exception as e:CODE
LOWconan/test/utils/artifactory.py114 except Exception: # When resolves the latest and there is no packageCODE
LOWconan/test/utils/artifactory.py126 except Exception: # When resolves the latest and there is no packageCODE
MEDIUMconan/test/utils/artifactory.py105def package_exists(self, pref):CODE
MEDIUMconan/test/utils/artifactory.py117def recipe_exists(self, ref):CODE
LOWconan/test/utils/server_launcher.py105 except Exception:CODE
LOWconan/test/utils/test_files.py23 except Exception as e:CODE
LOWconan/internal/deploy.py52 except Exception as e:CODE
LOWconan/internal/deploy.py198 except Exception as e:CODE
LOWconan/internal/deploy.py213 except Exception as e:CODE
MEDIUMconan/internal/deploy.py49def do_deploys(home_folder, graph, deploy, deploy_package, deploy_folder):CODE
LOWconan/internal/methods.py46 except Exception:CODE
LOWconan/internal/hook_manager.py42 except Exception as e:CODE
LOWconan/internal/hook_manager.py69 except Exception as e:CODE
MEDIUMconan/internal/hook_manager.py62def _load_hook(self, hook_path, hook_name):CODE
LOWconan/internal/loader.py54 except Exception:CODE
LOWconan/internal/loader.py113 except Exception as e:CODE
LOWconan/internal/loader.py202 except Exception as e:CODE
LOWconan/internal/loader.py217 except Exception as e:CODE
LOWconan/internal/loader.py232 except Exception as e:CODE
LOWconan/internal/loader.py259 except Exception:CODE
LOWconan/internal/loader.py323 except Exception as e: # re-raise with file nameCODE
LOWconan/internal/loader.py392 except Exception:CODE
LOWconan/internal/errors.py42 except Exception as exc:CODE
LOWconan/internal/source.py16 except Exception as e:CODE
MEDIUMconan/internal/source.py11def _try_get_sources(ref, remote_manager, recipe_layout, remote):CODE
LOWconan/internal/cache/cache.py35 except Exception as e:CODE
LOWconan/internal/util/runners.py52 except Exception as e:CODE
LOWconan/internal/runner/docker.py169 except Exception:CODE
LOWconan/internal/runner/docker.py234 except Exception as e:CODE
LOWconan/internal/runner/docker.py255 except Exception as e:CODE
94 more matches not shown…
Self-Referential Comments49 hits · 112 pts
SeverityFileLineSnippetContext
MEDIUMtest/integration/configuration/profile_test.py110 # Create a profile and use itSTRING
MEDIUMtest/integration/configuration/profile_test.py186 # Create a profile and use itSTRING
MEDIUMtest/integration/configuration/profile_test.py260 # Create a profile and use itSTRING
MEDIUMtest/integration/configuration/profile_test.py275 # Create a simple recipe to requireSTRING
MEDIUMtest/integration/configuration/profile_test.py308 # Create a profile that doesn't activate the requireSTRING
MEDIUMtest/integration/configuration/profile_test.py317 # Create a profile that activate the requireSTRING
MEDIUMtest/integration/lockfile/test_user_overrides.py214 # Create a new lockfile, wipe the previousCOMMENT
MEDIUMtest/integration/editable/test_editables_layout.py94 # Create the consumer again, now it will use the hello editableSTRING
MEDIUMtest/integration/editable/test_editables_layout.py231 # Create the consumer again, now it will use the hello editableSTRING
MEDIUM⚡test/integration/command/test_outdated.py58 # Creating the lockfile sets foo/1.0 as only valid version for the recipeCOMMENT
MEDIUM⚡test/integration/command/test_outdated.py64 # Creating the lockfile makes the previous range obsoleteCOMMENT
MEDIUM…t/integration/command/cache/test_cache_save_restore.py104 # Create a package in the cache to check put doesn't interact badlyCOMMENT
MEDIUM…t/integration/command/cache/test_cache_save_restore.py249 # Create a package in the cache to check put doesn't interact badlyCOMMENT
MEDIUMtest/integration/command/info/info_test.py41 # Create the packageSTRING
MEDIUM…egration/build_requires/profile_build_requires_test.py199 # Create a new tool revision to proof that we can still require the old oneSTRING
MEDIUM…/integration/build_requires/test_toolchain_packages.py85 # Creating the NDK packages for Windows, LinuxSTRING
MEDIUM…/integration/build_requires/test_toolchain_packages.py111 # Creating the NDK packages for Windows, LinuxSTRING
MEDIUMtest/integration/remote/auth_test.py27 # Create a default remote. R/W is not authorized for ref,COMMENT
MEDIUMtest/unittests/tools/gnu/test_gnutoolchain.py242 # Defining the ndk_path tooCOMMENT
MEDIUMtest/unittests/tools/gnu/autotools_toolchain_test.py463 # Defining the ndk_path tooCOMMENT
MEDIUMtest/unittests/tools/files/test_symlinks.py25 # Create the files and symlinksCOMMENT
MEDIUMtest/unittests/util/files/strip_root_extract_test.py118 # Create a tar.gz file with the files in the folder and an additional TarInfo entryCOMMENT
MEDIUMtest/unittests/util/files/strip_root_extract_test.py123 # Create an empty folder in the tgz fileCOMMENT
MEDIUMtest/unittests/util/files/strip_root_extract_test.py179 # Create a couple of filesCOMMENT
MEDIUMtest/unittests/util/files/strip_root_extract_test.py214 # Create a couple of filesCOMMENT
MEDIUMtest/unittests/util/files/tar_extract_test.py17 # Create a couple of filesCOMMENT
MEDIUMtest/unittests/util/files/tar_extract_test.py24 # Create a tar.gz file with the above filesCOMMENT
MEDIUMtest/unittests/client/pkg_sign_test.py48 # Create a subdirectoryCOMMENT
MEDIUMtest/functional/tools/scm/test_git.py748 # Create an orphan commit by removing the branchSTRING
MEDIUMtest/functional/tools/scm/test_git.py1222 # Create a tagSTRING
MEDIUMtest/functional/tools/scm/test_git.py1243 # Create a tagSTRING
MEDIUMtest/functional/toolchains/test_premake.py193 # Create a consumer application which depends on libbSTRING
MEDIUMtest/functional/toolchains/emscripten/test_emcc.py27 # Define the emcc executable pathsSTRING
MEDIUMconan/tools/cmake/cmakedeps/templates/targets.py65 # Create the targets for all the componentsCOMMENT
MEDIUMconan/tools/cmake/cmakedeps/templates/macros.py70 # Create a micro-target for each lib/a foundCOMMENT
MEDIUM…ools/cmake/cmakedeps/templates/target_configuration.py58 ######## Create an interface target to contain all the dependencies (frameworks, system and conan deps)COMMENT
MEDIUM…ools/cmake/cmakedeps/templates/target_configuration.py132 ######## Create an interface target to contain all the dependencies (frameworks, system and conan deps)COMMENT
MEDIUMconan/tools/cmake/toolchain/blocks.py320 # Define the C++ and C standards from 'compiler.cppstd' and 'compiler.cstd'COMMENT
MEDIUMconan/tools/cmake/toolchain/blocks.py1464 # Create a new class inheriting Block with the elements of the provided oneSTRING
MEDIUMconan/tools/qbs/qbsdeps.py124 # Creating a component name with namespace, e.g., dep-comp1COMMENT
MEDIUMconan/tools/google/bazeldeps.py447 # This module provides a repo for each requires-dependency in your conanfile.COMMENT
MEDIUMconan/tools/gnu/pkgconfigdeps.py91 # Creating a component name with namespace, e.g., dep-comp1STRING
MEDIUMconan/tools/files/copy_pattern.py176 # Create the parent directory that will contain the symlink fileCOMMENT
MEDIUMconan/internal/api/remotes/localdb.py23 # Create the database file if it doesn't existCOMMENT
MEDIUMconan/internal/api/new/basic.py57 # This method is used to build the source code of the recipe using the desired commands.COMMENT
MEDIUMconan/api/subapi/upload.py120 # Creating a loader is not thread-safe (it invalidates the import system caches whileCOMMENT
MEDIUMconan/api/subapi/remotes.py31 # This method is private, the subapi is not instantiated by usersCOMMENT
MEDIUMconan/api/subapi/cache.py371 # Create a temporary file in order to reuse compress_files functionalityCOMMENT
MEDIUMconan/api/subapi/cache.py479 # This method is explicitly not publicly documented, as mostly a command helper forCOMMENT
Unused Imports110 hits · 106 pts
SeverityFileLineSnippetContext
LOWtest/unittests/tools/cmake/test_cmake_test.py10CODE
LOWtest/unittests/client/conan_output_test.py5CODE
LOWtest/functional/revisions_test.py7CODE
LOWtest/functional/revisions_test.py13CODE
LOWtest/functional/util/tools_test.py3CODE
LOW…tional/toolchains/autotools/test_universal_binaries.py1CODE
LOWconan/__init__.py1CODE
LOWconan/__init__.py2CODE
LOWconan/tools/apple/__init__.py5CODE
LOWconan/tools/apple/__init__.py5CODE
LOWconan/tools/apple/__init__.py5CODE
LOWconan/tools/apple/__init__.py5CODE
LOWconan/tools/apple/__init__.py6CODE
LOWconan/tools/apple/__init__.py7CODE
LOWconan/tools/apple/__init__.py8CODE
LOWconan/tools/intel/__init__.py1CODE
LOWconan/tools/ros/__init__.py1CODE
LOWconan/tools/cps/__init__.py1CODE
LOWconan/tools/cmake/__init__.py1CODE
LOWconan/tools/cmake/__init__.py2CODE
LOWconan/tools/cmake/__init__.py4CODE
LOWconan/tools/qbs/__init__.py1CODE
LOWconan/tools/qbs/__init__.py2CODE
LOWconan/tools/qbs/__init__.py3CODE
LOWconan/tools/sbom/__init__.py1CODE
LOWconan/tools/sbom/__init__.py1CODE
LOWconan/tools/google/__init__.py1CODE
LOWconan/tools/google/__init__.py2CODE
LOWconan/tools/google/__init__.py3CODE
LOWconan/tools/google/__init__.py4CODE
LOWconan/tools/microsoft/__init__.py1CODE
LOWconan/tools/microsoft/__init__.py2CODE
LOWconan/tools/microsoft/__init__.py3CODE
LOWconan/tools/microsoft/__init__.py4CODE
LOWconan/tools/microsoft/__init__.py4CODE
LOWconan/tools/microsoft/__init__.py5CODE
LOWconan/tools/microsoft/__init__.py6CODE
LOWconan/tools/microsoft/__init__.py7CODE
LOWconan/tools/microsoft/__init__.py8CODE
LOWconan/tools/microsoft/__init__.py8CODE
LOWconan/tools/microsoft/__init__.py8CODE
LOWconan/tools/microsoft/__init__.py8CODE
LOWconan/tools/microsoft/__init__.py8CODE
LOWconan/tools/microsoft/__init__.py8CODE
LOWconan/tools/scons/__init__.py1CODE
LOWconan/tools/gnu/__init__.py1CODE
LOWconan/tools/gnu/__init__.py2CODE
LOWconan/tools/gnu/__init__.py3CODE
LOWconan/tools/gnu/__init__.py4CODE
LOWconan/tools/gnu/__init__.py5CODE
LOWconan/tools/gnu/__init__.py6CODE
LOWconan/tools/gnu/__init__.py7CODE
LOWconan/tools/meson/__init__.py1CODE
LOWconan/tools/meson/__init__.py2CODE
LOWconan/tools/system/python_manager.py4CODE
LOWconan/tools/system/__init__.py1CODE
LOWconan/tools/system/__init__.py1CODE
LOWconan/tools/android/__init__.py1CODE
LOWconan/tools/files/__init__.py1CODE
LOWconan/tools/files/__init__.py1CODE
50 more matches not shown…
Redundant / Tautological Comments30 hits · 41 pts
SeverityFileLineSnippetContext
LOWconans/server/service/authorize.py190 # Check if rule apply refCOMMENT
LOWconans/server/service/v2/service_v2.py102 # Check if the recipe existsCOMMENT
LOW⚡conans/server/rest/bottle_plugins/jwt_authentication.py29 # Check if its valid obtaining the password_timestampCOMMENT
LOWtest/integration/tgz_macos_dot_files_test.py82 # Check if the metadata travels through the Conan commandsSTRING
LOWtest/integration/command/test_output.py47 # Check if -v argument is equal to VERBOSE levelCOMMENT
LOWtest/integration/command/test_output.py168 # Check if -v argument is equal to VERBOSE levelCOMMENT
LOWtest/integration/command/test_output.py180 # Check if -v argument is equal to VERBOSE levelCOMMENT
LOWtest/integration/command/upload/test_upload_bundle.py42 # Check if the recipes/packages are in the remoteCOMMENT
LOWtest/functional/toolchains/meson/test_meson.py188 # Check if all the files are in the final directoriesSTRING
LOWconan/tools/cmake/cmakedeps/cmakedeps.py61 # Check if the same package is at host and build and the same timeCOMMENT
LOWconan/tools/cmake/toolchain/blocks.py512 #Check if Xcode generator is used, since that will handle these flags automagicallyCOMMENT
LOWconan/tools/gnu/pkgconfigdeps.py370 # Check if it exists both as require and as build require without a suffixSTRING
LOWconan/tools/system/package_manager.py10 mode_check = "check" # Check if installed, fail if notCODE
LOWconan/tools/files/copy_pattern.py87 # Check if any of the subfolders is a symlinkCOMMENT
LOWconan/internal/cache/integrity_check.py26 # Check if any of the packages are corruptedCOMMENT
LOWconan/internal/runner/docker.py143 error = sys.exc_info()[0] is not None # Check if error has been raisedCODE
LOWconan/internal/runner/docker.py277 # Check if recipe has defined a root folderCOMMENT
LOWconan/internal/runner/ssh.py148 # Check if remote Conan executable exists, otherwise invoke pip inside venvCOMMENT
LOWconan/internal/graph/range_resolver.py37 # Check if this ref with version range was already solvedCOMMENT
LOWconan/internal/graph/graph.py144 # Check if need to propagate downstreamCOMMENT
LOWconan/internal/graph/graph.py193 # Check if need to propagate downstreamCOMMENT
LOWconan/internal/graph/graph_binaries.py60 # Check if dirty, to remove itCOMMENT
LOWconan/internal/graph/graph_builder.py204 # Check if it is a self-loop of build-requires in build context and avoid itCOMMENT
LOWconan/internal/api/uploader.py229 # Check if there is some existing compressed file alreadyCOMMENT
LOWconan/internal/api/config/config_installer.py204 open(filename, "r") # Check if the file exist and can be openedCODE
LOWconan/cli/commands/require.py27 # Check if that requirement exists in the conanfile. If yes, abort.COMMENT
LOWconan/cli/commands/require.py78 # Check if that requirement exists in the conanfile. If yes, do nothing.COMMENT
LOWconan/api/subapi/upload.py129 # Check if the recipes/packages are in the remoteCOMMENT
LOWconan/api/model/list.py52 # Check if input json is not a graph fileCOMMENT
LOWconan/api/model/list.py95 # Check if input json is a graph fileCOMMENT
AI Structural Patterns41 hits · 41 pts
SeverityFileLineSnippetContext
LOWconans/server/service/v2/service_v2.py68CODE
LOWconans/server/rest/controller/v2/conan.py24CODE
LOWconans/server/rest/controller/v2/conan.py49CODE
LOWtest/unittests/client/rest/downloader_test.py53CODE
LOWconan/tools/apple/xcodetoolchain.py97CODE
LOWconan/tools/apple/xcodetoolchain.py135CODE
LOWconan/tools/apple/apple.py329CODE
LOWconan/tools/cmake/presets.py122CODE
LOWconan/tools/cmake/cmake.py156CODE
LOWconan/tools/cmake/cmakedeps/templates/targets.py53CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py216CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py275CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py327CODE
LOWconan/tools/cmake/cmakedeps/templates/config_version.py96CODE
LOWconan/tools/cmake/cmakeconfigdeps/config_version.py89CODE
LOWconan/tools/qbs/qbsprofile.py148CODE
LOWconan/tools/gnu/pkgconfig.py42CODE
LOWconan/tools/files/files.py97CODE
LOWconan/tools/files/files.py180CODE
LOWconan/cps/cps.py292CODE
LOWconan/test/utils/tools.py400CODE
LOWconan/test/utils/scm.py19CODE
LOWconan/test/utils/mocks.py27CODE
LOWconan/test/assets/cmake.py6CODE
LOWconan/internal/loader.py177CODE
LOWconan/internal/cache/db/recipes_table.py89CODE
LOWconan/internal/cache/db/recipes_table.py107CODE
LOWconan/internal/cache/db/recipes_table.py119CODE
LOWconan/internal/graph/install_graph.py586CODE
LOWconan/internal/model/cpp_info.py876CODE
LOWconan/internal/model/requires.py10CODE
LOWconan/internal/model/version_range.py257CODE
LOWconan/internal/model/conan_file.py369CODE
LOWconan/internal/model/dependencies.py200CODE
LOWconan/internal/api/detect/detect_api.py666CODE
LOWconan/internal/api/detect/detect_vs.py57CODE
LOWconan/internal/rest/client_routes.py147CODE
LOWconan/internal/rest/file_downloader.py21CODE
LOWconan/internal/rest/rest_client_v2.py246CODE
LOWconan/cli/commands/profile.py108CODE
LOWconan/api/subapi/graph.py19CODE
Over-Commented Block27 hits · 27 pts
SeverityFileLineSnippetContext
LOWpyinstaller.py41# http://msdn.microsoft.com/en-us/library/ms646997.aspxCOMMENT
LOWsetup.py101 packages=find_packages(exclude=exclude),COMMENT
LOWsetup.py121 },COMMENT
LOWsetup_server.py101 # List run-time dependencies here. These will be installed by pip whenCOMMENT
LOWconans/server/conf/default_server_conf.py21updown_secret: {updown_secret}COMMENT
LOWconans/server/conf/default_server_conf.py41#COMMENT
LOWtest/integration/cache/cache2_update_test.py41 client.run(f"upload {ref} -r {remote} -c")COMMENT
LOWtest/integration/cache/cache2_update_test.py201 # | CLIENT | CLIENT2 | SERVER0 | SERVER1 | SERVER2 |COMMENT
LOWtest/integration/cache/cache2_update_test.py241 self.client.save({"conanfile.py": GenConanfile("liba", "1.0.0").with_build_msg("REV5")})COMMENT
LOWtest/integration/cache/cache2_update_test.py301 # | CLIENT | CLIENT2 | SERVER0 | SERVER1 | SERVER2 |COMMENT
LOWtest/integration/cache/cache2_update_test.py321 # | REV6(2002) | REV3 (3050)| REV6(3030) |REV6(3040) | REV6(3050) |COMMENT
LOWtest/integration/cache/cache2_update_test.py361 # NOW WE HAVE:COMMENT
LOWtest/integration/cache/cache2_update_test.py401 self.client.assert_listed_require({"liba/1.1.0": "Downloaded (server1)"})COMMENT
LOWtest/integration/graph/conflict_diamond_test.py441 # This is a conflict, because the depth-first graph resolution approach can't seeCOMMENT
LOWtest/integration/command/info/test_info_build_order.py861 # (via compatibility plugin)COMMENT
LOW…ional/toolchains/gnu/autotools/test_apple_toolchain.py141COMMENT
LOWconan/tools/google/toolchain.py81 #: String used to add --cppstd=[FLAG]. Depends on your settings.COMMENT
LOWconan/tools/gnu/pkgconfigdeps.py341 # a suffix. It is necessary in case of same require and build_require and will cause an errorCOMMENT
LOWconan/tools/meson/toolchain.py181 #: List of extra ``CXX`` flags. Added to ``cpp_args``COMMENT
LOWconan/tools/meson/toolchain.py281 self.cpp = compilers_by_conf.get("cpp") or self._sanitize_env_format(build_env.get("CXX")) or default_comp_cppCOMMENT
LOWconan/tools/meson/toolchain.py301 #: Defines the Meson ``windres`` variable. Defaulted to ``WINDRES`` build environment valueCOMMENT
LOWconan/test/assets/sources.py21 // ARCHITECTURESCOMMENT
LOWconan/test/assets/sources.py41COMMENT
LOWconan/test/assets/sources.py141 #elseCOMMENT
LOWconan/test/assets/sources.py161COMMENT
LOWconan/internal/api/new/cmake_lib.py141 #if __i386__COMMENT
LOWconan/internal/api/new/cmake_lib.py161 std::cout << " {{name}}/{{version}}: MSVC runtime: MultiThreadedDebugDLL\n";COMMENT
Slop Phrases6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMsetup.py100 # simple. Or you can use find_packages().COMMENT
MEDIUMsetup_server.py94 # simple. Or you can use find_packages().COMMENT
MEDIUMconans/server/conf/default_server_conf.py3# It only affects to current authentication tokens, you can change safetely anytimeCOMMENT
MEDIUMconan/tools/microsoft/toolchain.py82 #: VS IDE Toolset, e.g., ``"v140"``. If ``compiler=msvc``, you can use ``compiler.toolset``STRING
LOW.github/ISSUE_TEMPLATE/feature_request.yml9 **Please don't forget to update the issue title.**CODE
LOW.github/ISSUE_TEMPLATE/question.yml9 **Please don't forget to update the issue title.**CODE
AI Slop Vocabulary8 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtest/integration/layout/test_layout_generate.py9 """ Trying to leverage the layout knowledge at generate() time and put some filesSTRING
MEDIUM…on/build_requires/test_build_requires_source_method.py89 # The current solution defines "generators" to be robust for "conan source" commandSTRING
LOWtest/unittests/server/conf_test.py65 # IF an old config file is readed but the section is in the list, just return it emptySTRING
MEDIUMtest/functional/command/test_install_deploy.py52 # USE **KWARGS to be robust against changesCOMMENT
MEDIUMconan/internal/graph/install_graph.py443 """ A graph containing the package references in order to be built/downloadedSTRING
MEDIUMconan/internal/rest/file_downloader.py23 """ in order to make the download concurrent, the folder for file_path MUST existSTRING
LOWconan/internal/rest/rest_client_local_recipe_index.py215 # just add all candidates for nowSTRING
MEDIUMconan/api/subapi/export.py105 """Executes the ``package()`` method of the exported recipe in order to copy the artifactsSTRING
Fake / Example Data4 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/integration/command/create_test.py451 author = "John Doe"STRING
LOWtest/integration/command/create_test.py521 assert pkg_pkg_info["author"] == 'John Doe'STRING
LOWtest/integration/command/info/info_test.py20 author = "John Doe"CODE
LOW…ntegration/command/upload/test_upload_prepared_list.py396 os.makedirs(os.path.join(self.export_sources_folder, "placeholder"))CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWconan/internal/runner/docker.py370 def _update_local_cache(self) -> None:CODE
Modern AI Meta-Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMconan/api/subapi/workspace.py473 # orchestration commandsSTRING