Repository Analysis

conan-io/conan

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

19.1 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of conan-io/conan, a Python project with 9,440 GitHub stars. SynthScan v2.0 examined 187,053 lines of code across 1088 source files, recording 3256 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 19.1 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

19.1
Adjusted Score
19.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.4K
Stars
Python
Language
187.1K
Lines of Code
1.1K
Files
3.3K
Pattern Hits
2026-07-14
Scan Date
0.20
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 221MEDIUM 87LOW 2948

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 3256 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers2431 hits · 1770 pts
SeverityFileLineSnippetContext
LOWsetup.py39def generate_long_description_file():CODE
LOWsetup_server.py41def generate_long_description_file():CODE
LOWconans/server/plugin_loader.py21def load_authentication_plugin(server_folder, plugin_name):CODE
LOWconans/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
LOWconans/server/rest/controller/v2/revisions.py18 def get_recipe_revisions_references(name, version, username, channel, auth_user):CODE
LOWconans/server/rest/controller/v2/revisions.py27 def get_latest_recipe_reference(name, version, username, channel, auth_user):CODE
LOWconans/server/rest/controller/v2/revisions.py36 def get_package_revisions_references(name, version, username, channel, package_id, auth_user,CODE
LOWconans/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
LOWconans/server/rest/bottle_plugins/jwt_authentication.py22 def parse_authorization_value(self, header_value):CODE
LOWconans/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
LOWconans/server/store/server_store.py214 def get_package_revision_time(self, pref):CODE
LOWconans/server/store/server_store.py222 def _remove_revision_from_index(self, ref):CODE
LOWconans/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/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/test_components_error.py62def test_verify_get_property_check_type():STRING
LOWtest/integration/test_components_error.py103def test_unused_requirement_not_propagated():STRING
LOWtest/integration/test_components_error.py167def test_unused_tool_requirement():STRING
LOWtest/integration/test_components_error.py197def test_component_double_colon_error_message():STRING
LOWtest/integration/test_source_download_password.py19def test_source_download_password():CODE
LOWtest/integration/test_source_download_password.py72def test_source_credentials_only_download():STRING
LOWtest/integration/test_source_download_password.py91def 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.py17def test_migration_profile_checker_plugin(plugin_path, string_replace, new_string):CODE
LOWtest/integration/test_migrations.py99def test_back_default_compatibility_migration():STRING
LOWtest/integration/test_migrations.py141 def test_compatibility_modified(self):STRING
LOWtest/integration/test_migrations.py154 def test_compatibility_modified_by_conan(self):STRING
LOWtest/integration/test_migrations.py169 def test_compatibility_no_rewrite(self):STRING
LOWtest/integration/test_timestamp_error.py45def test_reupload_older_revision_new_binaries_conan_server():STRING
LOWtest/integration/test_pkg_signing.py66def test_pkg_sign_manifest_signatures():STRING
LOWtest/integration/test_pkg_signing.py237def test_pkg_sign_exports_sources():STRING
LOWtest/integration/test_package_python_files.py9def test_package_python_files():CODE
LOWtest/integration/test_package_python_files.py70def test_package_empty_folders():STRING
LOWtest/integration/system_reqs_test.py18 def test_force_system_reqs_rerun(self):STRING
LOWtest/integration/system_reqs_test.py26 def test_local_system_requirements(self):STRING
2371 more matches not shown…
Cross-Language Confusion132 hits · 655 pts
SeverityFileLineSnippetContext
HIGHtest/integration/cps/test_cps.py200 "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.py35 ['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/intel/test_using_msbuild.py64 dumpbind_cmd = '%s && dumpbin /dependents "%s"' % (vcvars, 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.py277 c.run_command("build\\Release\\generators\\conanbuild.bat && cmake --preset conan-release")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.py281 c.run_command("build\\Release\\generators\\conanbuild.bat && ctest --preset conan-release")STRING
HIGHtest/functional/toolchains/microsoft/test_msbuild.py579 '"%s" x64 && msbuild "MyProject.sln" /p:Configuration="%s" 'STRING
HIGHtest/functional/toolchains/microsoft/test_msbuild.py594 cmd = ('%s && dumpbin /dependents "%s"' % (vcvars, command_str))STRING
HIGHconan/internal/default_settings.py60 sdk_version: [null, "11.3", "11.4", "12.0", "12.1", "12.2", "12.4",CODE
HIGHconan/internal/default_settings.py69 sdk_version: [null, "1.0", "1.1", "1.2", "1.3", "2.0", "2.1", "2.2", "2.4", "2.5",CODE
HIGHconan/internal/default_settings.py72 version: [null, "10.6", "10.7", "10.8", "10.9", "10.10", "10.11", "10.12", "10.13", "10.14", "10.15",CODE
HIGHconan/internal/default_settings.py79 sdk_version: [null, "10.13", "10.14", "10.15", "11.0", "11.1", "11.2", "11.3", "12.0", "12.1",CODE
HIGHconan/internal/default_settings.py89 ndk_version: [null, ANY]CODE
HIGHconan/internal/default_settings.py98 variant: [null, "safe"]CODE
HIGHconan/internal/default_settings.py102 variant: [null, "certified"]CODE
HIGHconan/internal/default_settings.py131 threads: [null, posix, win32, mcf] # Windows MinGWCODE
HIGHconan/internal/default_settings.py132 exception: [null, dwarf2, sjlj, seh] # Windows MinGWCODE
HIGHconan/internal/default_settings.py133 cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26]CODE
HIGHconan/internal/default_settings.py134 cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23]CODE
HIGHconan/internal/default_settings.py137 update: [null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]CODE
HIGHconan/internal/default_settings.py140 cppstd: [null, 14, 17, 20, 23]CODE
HIGHconan/internal/default_settings.py141 toolset: [null, v110_xp, v120_xp, v140_xp, v141_xp]CODE
HIGHconan/internal/default_settings.py142 cstd: [null, 11, 17]CODE
HIGHconan/internal/default_settings.py148 libcxx: [null, libstdc++, libstdc++11, libc++, c++_shared, c++_static]CODE
HIGHconan/internal/default_settings.py149 cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26]CODE
HIGHconan/internal/default_settings.py150 runtime: [null, static, dynamic]CODE
HIGHconan/internal/default_settings.py151 runtime_type: [null, Debug, Release]CODE
HIGHconan/internal/default_settings.py152 runtime_version: [null, v140, v141, v142, v143, v144, v145]CODE
HIGHconan/internal/default_settings.py153 cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23]CODE
HIGHconan/internal/default_settings.py159 cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26]CODE
HIGHconan/internal/default_settings.py160 cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23]CODE
HIGHconan/internal/default_settings.py166 update: [null, ANY]CODE
HIGHconan/internal/default_settings.py168 libcxx: [null, libstdc++, libstdc++11, libc++]CODE
HIGHconan/internal/default_settings.py169 cppstd: [null, 98, gnu98, "03", gnu03, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23]CODE
72 more matches not shown…
Cross-File Repetition89 hits · 445 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/lockfile/test_lock_requires.py0conanfile.txt locking it dependencies (with version ranges)STRING
HIGHtest/integration/lockfile/test_lock_alias.py0conanfile.txt locking it dependencies (with version ranges)STRING
HIGH…t/integration/lockfile/test_lock_requires_revisions.py0conanfile.txt locking it dependencies (with version ranges)STRING
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
29 more matches not shown…
Excessive Try-Catch Wrapping153 hits · 178 pts
SeverityFileLineSnippetContext
LOWpyinstaller.py99 except Exception as e:CODE
MEDIUMpyinstaller.py86def pyinstall(source_folder, onefile=False):CODE
LOWconans/server/plugin_loader.py16 except Exception:CODE
MEDIUMconans/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
LOWconans/server/rest/bottle_plugins/jwt_authentication.py31 except Exception:CODE
LOWtest/integration/settings/remove_subsetting_test.py81 except Exception as exc:CODE
LOWtest/integration/settings/remove_subsetting_test.py85 except Exception as exc:CODE
LOWtest/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.py175 except Exception as e:CODE
MEDIUMconan/tools/system/python_manager.py139def _create_venv(self):CODE
LOWconan/tools/files/files.py168 except Exception as e:CODE
LOWconan/tools/files/files.py250 except Exception as err:CODE
LOWconan/tools/files/files.py429 except Exception as e:CODE
LOWconan/tools/files/files.py441 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.py103 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.py41 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.py100 except Exception as e:CODE
LOWconan/internal/loader.py189 except Exception as e:CODE
LOWconan/internal/loader.py204 except Exception as e:CODE
LOWconan/internal/loader.py219 except Exception as e:CODE
LOWconan/internal/loader.py246 except Exception:CODE
LOWconan/internal/loader.py310 except Exception as e: # re-raise with file nameCODE
LOWconan/internal/loader.py379 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.py148 except Exception:CODE
LOWconan/internal/runner/docker.py213 except Exception as e:CODE
LOWconan/internal/runner/docker.py234 except Exception as e:CODE
LOWconan/internal/graph/compatibility.py130 except Exception as e:STRING
93 more matches not shown…
Deep Nesting174 hits · 174 pts
SeverityFileLineSnippetContext
LOWconans/server/service/authorize.py176CODE
LOWconans/server/conf/__init__.py20CODE
LOWconans/server/store/server_store.py84CODE
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.py51CODE
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.py77CODE
LOW…nctional/toolchains/cmake/cmakedeps/test_link_order.py223CODE
LOW…nctional/toolchains/cmake/cmakedeps/test_link_order.py261CODE
LOWconan/tools/apple/apple.py244CODE
LOWconan/tools/apple/apple.py318CODE
LOWconan/tools/intel/intel_cc.py169CODE
LOWconan/tools/cps/cps_deps.py12CODE
LOWconan/tools/cmake/presets.py319CODE
LOWconan/tools/cmake/presets.py353CODE
LOWconan/tools/cmake/layout.py70CODE
LOWconan/tools/cmake/utils.py10CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py209CODE
LOWconan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py303CODE
LOW…an/tools/cmake/cmakeconfigdeps/target_configuration.py37CODE
LOWconan/tools/cmake/toolchain/toolchain.py162CODE
LOWconan/tools/cmake/toolchain/toolchain.py174CODE
LOWconan/tools/cmake/toolchain/blocks.py811CODE
LOWconan/tools/cmake/toolchain/blocks.py1041CODE
LOWconan/tools/cmake/toolchain/blocks.py1156CODE
LOWconan/tools/cmake/toolchain/blocks.py1194CODE
LOWconan/tools/microsoft/msbuilddeps.py368CODE
LOWconan/tools/gnu/get_gnu_triplet.py4CODE
LOWconan/tools/gnu/autotoolstoolchain.py287CODE
LOWconan/tools/gnu/pkgconfigdeps.py107CODE
LOWconan/tools/gnu/pkgconfigdeps.py113CODE
LOWconan/tools/meson/helpers.py89CODE
LOWconan/tools/files/files.py350CODE
LOWconan/tools/files/files.py446CODE
LOWconan/tools/files/files.py557CODE
LOWconan/tools/files/patches.py73CODE
LOWconan/tools/files/copy_pattern.py58CODE
LOWconan/cps/cps.py194CODE
LOWconan/cps/cps.py291CODE
LOWconan/test/utils/artifactory.py105CODE
LOWconan/test/utils/artifactory.py117CODE
LOWconan/test/utils/tools.py849CODE
LOWconan/test/utils/tools.py566CODE
LOWconan/test/assets/genconanfile.py445CODE
LOWconan/internal/deploy.py49CODE
LOWconan/internal/deploy.py154CODE
LOWconan/internal/methods.py14CODE
LOWconan/internal/methods.py26CODE
LOWconan/internal/methods.py47CODE
114 more matches not shown…
Self-Referential Comments51 hits · 118 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_lock_alias.py61 # Create a new revisionCOMMENT
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
MEDIUMtest/integration/command/test_outdated.py58 # Creating the lockfile sets foo/1.0 as only valid version for the recipeCOMMENT
MEDIUMtest/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.py200 # 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.py25 # Create a default remote. R/W is not authorized for ref,COMMENT
MEDIUMtest/unittests/tools/gnu/test_gnutoolchain.py241 # 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/revisions_test.py123 # Create an alias to the first revisionCOMMENT
MEDIUMtest/functional/tools/scm/test_git.py747 # Create an orphan commit by removing the branchSTRING
MEDIUMtest/functional/tools/scm/test_git.py1221 # Create a tagSTRING
MEDIUMtest/functional/tools/scm/test_git.py1242 # 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.py1448 # Create a new class inheriting Block with the elements of the provided oneSTRING
MEDIUMconan/tools/qbs/qbsdeps.py122 # 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.py159 # Create the parent directory that will contain the symlink fileCOMMENT
MEDIUMconan/internal/api/remotes/localdb.py21 # 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/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
MEDIUMconan/api/subapi/workspace.py115 # Create a cpy of the global editables and pass it to the WS objectCOMMENT
Unused Imports107 hits · 104 pts
SeverityFileLineSnippetContext
LOWtest/unittests/tools/cmake/test_cmake_test.py10CODE
LOWtest/unittests/client/conan_output_test.py5CODE
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/__init__.py1CODE
LOWconan/tools/system/__init__.py1CODE
LOWconan/tools/android/__init__.py1CODE
LOWconan/tools/files/__init__.py1CODE
LOWconan/tools/files/__init__.py1CODE
LOWconan/tools/files/__init__.py1CODE
LOWconan/tools/files/__init__.py1CODE
LOWconan/tools/files/__init__.py1CODE
47 more matches not shown…
AI Structural Patterns42 hits · 42 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.py94CODE
LOWconan/tools/apple/xcodetoolchain.py126CODE
LOWconan/tools/apple/apple.py291CODE
LOWconan/tools/cmake/presets.py117CODE
LOWconan/tools/cmake/cmake.py156CODE
LOWconan/tools/cmake/cmakedeps/templates/targets.py53CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py195CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py254CODE
LOWconan/tools/cmake/cmakedeps/templates/target_data.py306CODE
LOWconan/tools/cmake/cmakedeps/templates/config_version.py96CODE
LOWconan/tools/cmake/cmakeconfigdeps/targets.py28CODE
LOWconan/tools/cmake/cmakeconfigdeps/config_version.py103CODE
LOWconan/tools/qbs/qbsprofile.py148CODE
LOWconan/tools/gnu/pkgconfig.py42CODE
LOWconan/tools/files/files.py96CODE
LOWconan/tools/files/files.py179CODE
LOWconan/cps/cps.py259CODE
LOWconan/test/utils/tools.py390CODE
LOWconan/test/utils/scm.py19CODE
LOWconan/test/utils/mocks.py27CODE
LOWconan/test/assets/cmake.py6CODE
LOWconan/internal/loader.py164CODE
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.py517CODE
LOWconan/internal/model/cpp_info.py874CODE
LOWconan/internal/model/requires.py10CODE
LOWconan/internal/model/version_range.py255CODE
LOWconan/internal/model/conan_file.py367CODE
LOWconan/internal/model/dependencies.py200CODE
LOWconan/internal/api/detect/detect_api.py664CODE
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
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
LOWconans/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.py505 #Check if Xcode generator is used, since that will handle these flags automagicallyCOMMENT
LOWconan/tools/gnu/pkgconfigdeps.py348 # 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.py79 # 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.py122 error = sys.exc_info()[0] is not None # Check if error has been raisedCODE
LOWconan/internal/runner/docker.py251 # 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.py206 # Check if it is a self-loop of build-requires in build context and avoid itCOMMENT
LOWconan/internal/api/uploader.py223 # 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.py118 # 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
Over-Commented Block27 hits · 27 pts
SeverityFileLineSnippetContext
LOWpyinstaller.py41# http://msdn.microsoft.com/en-us/library/ms646997.aspxCOMMENT
LOWsetup.py101 # simple. Or you can use find_packages().COMMENT
LOWsetup.py121 'runners': runners_requirementsCOMMENT
LOWsetup_server.py101COMMENT
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 c.run("export conanfile_bar.py")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.py321 # FIXME: Conan 3.x: Remove build_context_suffix attributeCOMMENT
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.py101 # simple. Or you can use find_packages().COMMENT
MEDIUMsetup_server.py95 # 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.py374 """ 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 Data3 hits · 2 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
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWconan/internal/api/remotes/encrypt.py2# WARNING: These functions implements a Vigenere cypher, they are NO WAY OK FOR SECURITY!COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWconan/internal/runner/docker.py328 def _update_local_cache(self) -> None:CODE
Modern AI Meta-Vocabulary1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMconan/api/subapi/workspace.py432 # orchestration commandsSTRING