Conan - The open-source C and C++ package manager
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2918 finding(s).
Are imports declared and package/API names verified? 272 finding(s).
Are wrappers, guards, and repeated structures necessary? 2895 finding(s).
Which changes need focused human review? 3468 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 39 | def generate_long_description_file(): | CODE |
| LOW | setup_server.py | 41 | def generate_long_description_file(): | CODE |
| LOW⚡ | conans/server/plugin_loader.py | 21 | def load_authentication_plugin(server_folder, plugin_name): | CODE |
| LOW⚡ | conans/server/plugin_loader.py | 25 | def load_authorization_plugin(server_folder, plugin_name): | CODE |
| LOW | conans/server/migrate.py | 6 | def migrate_and_get_server_config(base_folder, force_migration=False, is_custom_path=False): | CODE |
| LOW | conans/server/service/authorize.py | 205 | def _check_ref_apply_for_rule(self, rule_ref: RecipeReference, ref: RecipeReference): | CODE |
| LOW | conans/server/service/v2/service_v2.py | 50 | def get_recipe_revisions_references(self, ref, auth_user): | CODE |
| LOW | conans/server/service/v2/service_v2.py | 59 | def get_package_revisions_references(self, pref, auth_user): | CODE |
| LOW | conans/server/service/v2/service_v2.py | 77 | def get_latest_package_reference(self, pref, auth_user): | CODE |
| LOW⚡ | conans/server/rest/controller/v2/revisions.py | 18 | def get_recipe_revisions_references(name, version, username, channel, auth_user): | CODE |
| LOW⚡ | conans/server/rest/controller/v2/revisions.py | 27 | def get_latest_recipe_reference(name, version, username, channel, auth_user): | CODE |
| LOW⚡ | conans/server/rest/controller/v2/revisions.py | 36 | def get_package_revisions_references(name, version, username, channel, package_id, auth_user, | CODE |
| LOW⚡ | conans/server/rest/controller/v2/revisions.py | 46 | def get_latest_package_reference(name, version, username, channel, package_id, auth_user, | CODE |
| LOW | …ans/server/rest/bottle_plugins/authorization_header.py | 48 | def get_authorization_header_value(self): | CODE |
| LOW | …ans/server/rest/bottle_plugins/authorization_header.py | 66 | def parse_authorization_value(self, header_value): | CODE |
| LOW | …ans/server/rest/bottle_plugins/authorization_header.py | 72 | def get_invalid_header_response(self): | CODE |
| LOW | conans/server/rest/bottle_plugins/return_handler.py | 44 | def get_response_from_exception(excep, exception_mapping): | CODE |
| LOW | …erver/rest/bottle_plugins/http_basic_authentication.py | 28 | def parse_authorization_value(self, header_value): | CODE |
| LOW | …erver/rest/bottle_plugins/http_basic_authentication.py | 38 | def get_invalid_header_response(self): | CODE |
| LOW⚡ | conans/server/rest/bottle_plugins/jwt_authentication.py | 22 | def parse_authorization_value(self, header_value): | CODE |
| LOW⚡ | conans/server/rest/bottle_plugins/jwt_authentication.py | 38 | def get_invalid_header_response(self): | CODE |
| LOW | conans/server/store/server_store.py | 131 | def get_recipe_revisions_references(self, ref): | CODE |
| LOW | conans/server/store/server_store.py | 143 | def get_last_package_revision(self, pref): | CODE |
| LOW | conans/server/store/server_store.py | 156 | def update_last_package_revision(self, pref): | CODE |
| LOW | conans/server/store/server_store.py | 173 | def get_package_revisions_references(self, pref): | CODE |
| LOW⚡ | conans/server/store/server_store.py | 214 | def get_package_revision_time(self, pref): | CODE |
| LOW⚡ | conans/server/store/server_store.py | 222 | def _remove_revision_from_index(self, ref): | CODE |
| LOW⚡ | conans/server/store/server_store.py | 227 | def _remove_package_revision_from_index(self, pref): | CODE |
| LOW | conans/server/store/server_store.py | 241 | def _save_package_revision_list(self, rev_list, pref): | CODE |
| LOW | conans/server/store/server_store.py | 245 | def _load_package_revision_list(self, pref): | CODE |
| LOW | test/conftest.py | 13 | def _cache_vs_installation_path(): | CODE |
| LOW | test/conftest.py | 22 | def _cached_vs_installation_path(version): | CODE |
| LOW | test/conftest.py | 390 | def _memoize_settings_yml_parsing(): | CODE |
| LOW | test/conftest.py | 423 | def _no_sync_sqlite_databases(): | CODE |
| LOW | test/README.md | 83 | def test_build_modules_alias_target(self, use_components): | CODE |
| LOW | test/integration/test_components.py | 35 | def test_components_cycle_complex(): | STRING |
| LOW | test/integration/test_components.py | 69 | def test_components_cycles_error(): | STRING |
| LOW | test/integration/test_components.py | 96 | def test_components_not_required(): | STRING |
| LOW | test/integration/test_components.py | 121 | def test_components_overrides(): | STRING |
| LOW | test/integration/test_components.py | 154 | def test_duplication_component_properties(): | STRING |
| LOW | test/integration/tgz_macos_dot_files_test.py | 19 | def _test_for_metadata_in_zip_file(tgz, annotated_file, dot_file_expected): | CODE |
| LOW | test/integration/tgz_macos_dot_files_test.py | 76 | def _add_macos_metadata_to_file(filepath): | STRING |
| LOW | test/integration/conftest.py | 8 | def mock_vs_installation_path(): | CODE |
| LOW | test/integration/test_components_error.py | 62 | def test_verify_get_property_check_type(): | STRING |
| LOW | test/integration/test_components_error.py | 129 | def test_unused_requirement_not_propagated(): | STRING |
| LOW | test/integration/test_components_error.py | 197 | def test_unused_tool_requirement(): | STRING |
| LOW | test/integration/test_components_error.py | 227 | def test_component_double_colon_error_message(): | STRING |
| LOW | test/integration/test_source_download_password.py | 20 | def test_source_download_password(): | CODE |
| LOW | test/integration/test_source_download_password.py | 73 | def test_source_credentials_only_download(): | STRING |
| LOW | test/integration/test_source_download_password.py | 90 | def test_source_credentials_not_leaked_to_other_mirrors(): | STRING |
| LOW | test/integration/test_source_download_password.py | 128 | def test_blocked_malicius_tgz(): | STRING |
| LOW | test/integration/test_package_vendor.py | 81 | def test_package_vendor_editable(): | STRING |
| LOW | test/integration/test_package_vendor.py | 122 | def test_vendor_dont_propagate_options(): | STRING |
| LOW | test/integration/test_package_vendor.py | 143 | def test_package_vendor_export_pkg(): | STRING |
| LOW | test/integration/test_migrations.py | 19 | def test_migration_profile_checker_plugin(plugin_path, string_replace, new_string): | CODE |
| LOW | test/integration/test_migrations.py | 101 | def test_back_default_compatibility_migration(): | STRING |
| LOW | test/integration/test_migrations.py | 143 | def test_compatibility_modified(self): | STRING |
| LOW | test/integration/test_migrations.py | 156 | def test_compatibility_modified_by_conan(self): | STRING |
| LOW | test/integration/test_migrations.py | 171 | def test_compatibility_no_rewrite(self): | STRING |
| LOW | test/integration/test_migrations.py | 181 | def test_migration_strips_vigenere(self): | STRING |
| 2516 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/integration/cps/test_cps.py | 262 | "definitions": { "*": {"MY_DEFINE": null }} | CODE |
| HIGH | test/integration/environment/test_env.py | 525 | cmd = f"conanbuild.bat && display.bat && {deactivate_bat} && display.bat" | STRING |
| HIGH | test/integration/environment/test_env.py | 572 | cmd = "conanbuild.bat && display.bat && deactivate_conanbuild.bat && display.bat" | STRING |
| HIGH | test/integration/environment/test_env.py | 637 | cmd = (f'export FOO=&& export BAZ=Value3 && export FOOBAR=' | STRING |
| HIGH | test/integration/environment/test_env.py | 738 | cmd = "conanbuild.bat && display.bat && deactivate_conanbuild.bat && display.bat" | STRING |
| HIGH | test/integration/command/test_profile.py | 162 | settings_user = "new_global: [null, 0, 1, True, False, '']" | STRING |
| HIGH | test/integration/conanfile/init_test.py | 69 | myopt2: [null, potato] | CODE |
| HIGH | test/integration/conanfile/init_test.py | 70 | myopt3: [null, ANY] | CODE |
| HIGH | test/unittests/model/settings_test.py | 16 | yml = "os: [null, Windows]" | CODE |
| HIGH | test/unittests/model/settings_test.py | 39 | yml = "os: [null, ANY]" | CODE |
| HIGH | test/unittests/model/settings_test.py | 54 | version: [null, ANY] | CODE |
| HIGH | test/unittests/model/settings_test.py | 98 | subsystem: [null, cygwin] | CODE |
| HIGH | test/unittests/model/settings_test.py | 114 | subsystem: [null, cygwin] | CODE |
| HIGH | test/unittests/model/other_settings_test.py | 26 | subsystem: [null, msys] | CODE |
| HIGH | test/unittests/model/version/test_version_range.py | 34 | ['1.0.0 || 2.1.3', [[["=", "1.0.0"]], [["=", "2.1.3"]]], ["1.0.0", "2.1.3"], ["2", "1.0.1"]], | CODE |
| HIGH | test/functional/utils.py | 11 | cmd = ('%s && dumpbin /nologo /dependents "%s"' % (vcvars, normalized_path)) | CODE |
| HIGH | test/functional/test_third_party_patch_flow.py | 59 | client.run_command("cd src && git diff > ../patches/patch1") | STRING |
| HIGH | test/functional/test_third_party_patch_flow.py | 60 | client.run_command("cd src && git add . && git commit -m patch1") | STRING |
| HIGH | test/functional/test_third_party_patch_flow.py | 75 | client.run_command("cd src && git diff > ../patches/patch2") | STRING |
| HIGH | test/functional/test_third_party_patch_flow.py | 76 | client.run_command("cd src && git add . && git commit -m patch1") | STRING |
| HIGH | test/functional/test_third_party_patch_flow.py | 92 | client.run_command("cd src && git diff > ../patches/patch3") | STRING |
| HIGH | test/functional/test_third_party_patch_flow.py | 93 | client.run_command("cd src && git add . && git commit -m patch1") | STRING |
| HIGH | test/functional/command/test_install_deploy.py | 89 | cmd = r"mydeploy\conanrun.bat && Release\my_app.exe" | STRING |
| HIGH | test/functional/command/test_install_deploy.py | 139 | cmd = r"generators\conanrun.bat && Release\my_app.exe" | STRING |
| HIGH | test/functional/toolchains/cmake/test_ninja.py | 95 | client.run_command('conanvcvars.bat && cmake . -G "Ninja" ' | STRING |
| HIGH | test/functional/toolchains/cmake/test_ninja.py | 99 | client.run_command("conanvcvars.bat && ninja") | STRING |
| HIGH | test/functional/toolchains/cmake/test_ninja.py | 139 | client.run_command('conanvcvars.bat && cmake . -G "Ninja" ' | STRING |
| HIGH | test/functional/toolchains/cmake/test_ninja.py | 143 | client.run_command("conanvcvars.bat && ninja") | STRING |
| HIGH⚡ | …ional/toolchains/cmake/test_cmake_toolchain_presets.py | 278 | c.run_command("build\\Release\\generators\\conanbuild.bat && cmake --preset conan-release") | STRING |
| HIGH⚡ | …ional/toolchains/cmake/test_cmake_toolchain_presets.py | 279 | c.run_command("build\\Release\\generators\\conanbuild.bat && cmake --preset conan-release") | STRING |
| HIGH⚡ | …ional/toolchains/cmake/test_cmake_toolchain_presets.py | 282 | c.run_command("build\\Release\\generators\\conanbuild.bat && ctest --preset conan-release") | STRING |
| HIGH | test/functional/toolchains/microsoft/test_msbuild.py | 570 | '"%s" x64 && msbuild "MyProject.sln" /p:Configuration="%s" ' | STRING |
| HIGH | test/functional/toolchains/microsoft/test_msbuild.py | 585 | cmd = ('%s && dumpbin /dependents "%s"' % (vcvars, command_str)) | STRING |
| HIGH⚡ | conan/internal/default_settings.py | 76 | 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.py | 80 | 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.py | 88 | 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.py | 99 | ndk_version: [null, ANY] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 108 | variant: [null, "safe"] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 112 | variant: [null, "certified"] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 142 | threads: [null, posix, win32, mcf] # Windows MinGW | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 143 | exception: [null, dwarf2, sjlj, seh] # Windows MinGW | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 144 | cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 145 | cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 148 | update: [null, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 151 | cppstd: [null, 14, 17, 20, 23] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 152 | toolset: [null, v110_xp, v120_xp, v140_xp, v141_xp] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 153 | cstd: [null, 11, 17] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 159 | libcxx: [null, libstdc++, libstdc++11, libc++, c++_shared, c++_static] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 160 | cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 161 | runtime: [null, static, dynamic] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 162 | runtime_type: [null, Debug, Release] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 163 | runtime_version: [null, v140, v141, v142, v143, v144, v145] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 164 | cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 170 | cppstd: [null, 98, gnu98, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23, 26, gnu26] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 171 | cstd: [null, 99, gnu99, 11, gnu11, 17, gnu17, 23, gnu23] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 177 | update: [null, ANY] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 179 | libcxx: [null, libstdc++, libstdc++11, libc++] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 180 | cppstd: [null, 98, gnu98, "03", gnu03, 11, gnu11, 14, gnu14, 17, gnu17, 20, gnu20, 23, gnu23] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 181 | runtime: [null, static, dynamic] | CODE |
| HIGH⚡ | conan/internal/default_settings.py | 182 | runtime_type: [null, Debug, Release] | CODE |
| 98 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ans/server/rest/bottle_plugins/authorization_header.py | 0 | parse header_value and return kwargs to apply bottle method parameters | STRING |
| HIGH | …erver/rest/bottle_plugins/http_basic_authentication.py | 0 | parse header_value and return kwargs to apply bottle method parameters | STRING |
| HIGH | conans/server/rest/bottle_plugins/jwt_authentication.py | 0 | parse header_value and return kwargs to apply bottle method parameters | STRING |
| HIGH | test/integration/configuration/profile_test.py | 0 | [settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=release | STRING |
| HIGH | …st/integration/configuration/conf/test_conf_profile.py | 0 | [settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=release | STRING |
| HIGH | conan/test/utils/tools.py | 0 | [settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=release | STRING |
| HIGH | …unctional/toolchains/cmake/cmakedeps/test_cmakedeps.py | 0 | [settings] os=windows arch=x86_64 compiler=msvc compiler.version=191 compiler.runtime=dynamic build_type=release | STRING |
| HIGH | …t/integration/configuration/test_auth_remote_plugin.py | 0 | when the plugin fails, we want a clear message and a helpful trace | STRING |
| HIGH | …egration/configuration/conf/test_auth_source_plugin.py | 0 | when the plugin fails, we want a clear message and a helpful trace | STRING |
| HIGH | test/integration/configuration/test_profile_plugin.py | 0 | when the plugin fails, we want a clear message and a helpful trace | STRING |
| HIGH | test/integration/package_id/test_cache_compatibles.py | 0 | when the plugin fails, we want a clear message and a helpful trace | STRING |
| HIGH | test/integration/command/create_test.py | 0 | from conan import conanfile class mytest(conanfile): name = "pkg" version = "0.2" def package_info(self): self.cpp_info. | STRING |
| HIGH | test/integration/command/export_pkg_test.py | 0 | from conan import conanfile class mytest(conanfile): name = "pkg" version = "0.2" def package_info(self): self.cpp_info. | STRING |
| HIGH | test/integration/command/install/install_test.py | 0 | from 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.py | 0 | tests how autotoolstoolchain manages the build context profile if the build profile is specifying another compiler path | STRING |
| HIGH | test/integration/toolchains/gnu/test_gnutoolchain.py | 0 | tests how autotoolstoolchain manages the build context profile if the build profile is specifying another compiler path | STRING |
| HIGH | …/integration/toolchains/gnu/test_autotoolstoolchain.py | 0 | tests how autotoolstoolchain manages the build context profile if the build profile is specifying another compiler path | STRING |
| HIGH | …st/integration/toolchains/cmake/test_cmaketoolchain.py | 0 | [settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] tool | STRING |
| HIGH | test/integration/toolchains/gnu/test_gnutoolchain.py | 0 | [settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] tool | STRING |
| HIGH | …/integration/toolchains/gnu/test_autotoolstoolchain.py | 0 | [settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] tool | STRING |
| HIGH | …st/integration/toolchains/meson/test_mesontoolchain.py | 0 | [settings] os=linux arch=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libc++ compiler.cppstd=11 [conf] tool | STRING |
| HIGH | …st/integration/toolchains/cmake/test_cmaketoolchain.py | 0 | [settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libc | STRING |
| HIGH | test/integration/toolchains/gnu/test_gnutoolchain.py | 0 | [settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libc | STRING |
| HIGH | …/integration/toolchains/gnu/test_autotoolstoolchain.py | 0 | [settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libc | STRING |
| HIGH | …st/integration/toolchains/meson/test_mesontoolchain.py | 0 | [settings] arch=wasm build_type=release compiler=emcc compiler.cppstd=17 compiler.threads={threads} compiler.libcxx=libc | STRING |
| HIGH | test/integration/toolchains/google/test_bazeldeps.py | 0 | from conan import conanfile class pkgconfigconan(conanfile): requires = "other/1.0" def package_info(self): self.cpp_inf | STRING |
| HIGH | test/integration/toolchains/gnu/test_makedeps.py | 0 | from conan import conanfile class pkgconfigconan(conanfile): requires = "other/1.0" def package_info(self): self.cpp_inf | STRING |
| HIGH | test/integration/toolchains/gnu/test_pkgconfigdeps.py | 0 | from conan import conanfile class pkgconfigconan(conanfile): requires = "other/1.0" def package_info(self): self.cpp_inf | STRING |
| HIGH | test/integration/toolchains/google/test_bazeldeps.py | 0 | from conan import conanfile class hellolib(conanfile): def build_requirements(self): self.test_requires('app/1.0') self. | STRING |
| HIGH | test/integration/toolchains/gnu/test_pkgconfigdeps.py | 0 | from conan import conanfile class hellolib(conanfile): def build_requirements(self): self.test_requires('app/1.0') self. | STRING |
| HIGH | test/functional/toolchains/gnu/test_pkgconfigdeps.py | 0 | from conan import conanfile class hellolib(conanfile): def build_requirements(self): self.test_requires('app/1.0') self. | STRING |
| HIGH | test/integration/toolchains/gnu/test_gnutoolchain.py | 0 | issue related: https://github.com/conan-io/conan/issues/17441 | STRING |
| HIGH | …/integration/toolchains/gnu/test_autotoolstoolchain.py | 0 | issue related: https://github.com/conan-io/conan/issues/17441 | STRING |
| HIGH | test/unittests/tools/gnu/test_gnutoolchain.py | 0 | issue related: https://github.com/conan-io/conan/issues/17441 | STRING |
| HIGH | test/unittests/tools/gnu/autotools_toolchain_test.py | 0 | issue related: https://github.com/conan-io/conan/issues/17441 | STRING |
| HIGH | test/functional/subsystems_build_test.py | 0 | include(default) [conf] tools.microsoft.bash:subsystem=msys2 tools.microsoft.bash:path=bash | STRING |
| HIGH | …unctional/toolchains/gnu/test_v2_autotools_template.py | 0 | include(default) [conf] tools.microsoft.bash:subsystem=msys2 tools.microsoft.bash:path=bash | STRING |
| HIGH | …t/functional/toolchains/gnu/autotools/test_win_bash.py | 0 | include(default) [conf] tools.microsoft.bash:subsystem=msys2 tools.microsoft.bash:path=bash | STRING |
| HIGH | test/functional/toolchains/apple/test_xcodetoolchain.py | 0 | name: app targets: app: type: tool platform: macos sources: - main.cpp configfiles: debug: conan_config.xcconfig release | STRING |
| HIGH | test/functional/toolchains/apple/test_xcodebuild.py | 0 | name: app targets: app: type: tool platform: macos sources: - main.cpp configfiles: debug: conan_config.xcconfig release | STRING |
| HIGH | …ional/toolchains/apple/test_xcodedeps_build_configs.py | 0 | name: app targets: app: type: tool platform: macos sources: - main.cpp configfiles: debug: conan_config.xcconfig release | STRING |
| HIGH | …l/toolchains/cmake/cmakedeps/test_cmakedeps_aliases.py | 0 | from conan import conanfile from conan.tools.cmake import cmake class consumer(conanfile): name = "consumer" version = " | STRING |
| HIGH | …chains/cmake/cmakedeps/test_cmakedeps_build_modules.py | 0 | from conan import conanfile from conan.tools.cmake import cmake class consumer(conanfile): name = "consumer" version = " | STRING |
| HIGH | …/cmake/cmakeconfigdeps/test_cmakeconfigdeps_aliases.py | 0 | from conan import conanfile from conan.tools.cmake import cmake class consumer(conanfile): name = "consumer" version = " | STRING |
| HIGH | …unctional/toolchains/cmake/cmakedeps/test_cmakedeps.py | 0 | import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import ca | STRING |
| HIGH | …ake/cmakeconfigdeps/test_cmakeconfigdeps_frameworks.py | 0 | import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import ca | STRING |
| HIGH | conan/internal/api/new/header_lib.py | 0 | import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import ca | STRING |
| HIGH | conan/internal/api/new/cmake_lib.py | 0 | import os from conan import conanfile from conan.tools.cmake import cmake, cmake_layout from conan.tools.build import ca | STRING |
| HIGH | …functional/toolchains/gnu/test_gnutoolchain_android.py | 0 | include(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.py | 0 | include(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.py | 0 | include(default) [settings] os = android os.api_level = 21 arch = {arch} [conf] tools.android:ndk_path={ndk_path} | STRING |
| HIGH | test/functional/toolchains/meson/test_backend.py | 0 | from conan import conanfile from conan.tools.meson import meson, mesontoolchain class app(conanfile): settings = "os", " | STRING |
| HIGH | test/functional/toolchains/meson/test_meson_and_objc.py | 0 | from conan import conanfile from conan.tools.meson import meson, mesontoolchain class app(conanfile): settings = "os", " | STRING |
| HIGH | …/functional/toolchains/meson/test_cross_compilation.py | 0 | from conan import conanfile from conan.tools.meson import meson, mesontoolchain class app(conanfile): settings = "os", " | STRING |
| HIGH | conan/tools/ros/rosenv.py | 0 | :param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``. | STRING |
| HIGH | conan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py | 0 | :param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``. | STRING |
| HIGH | conan/tools/google/bazeldeps.py | 0 | :param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``. | STRING |
| HIGH | conan/tools/google/bazel.py | 0 | :param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``. | STRING |
| HIGH | conan/tools/google/toolchain.py | 0 | :param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``. | STRING |
| HIGH | conan/tools/microsoft/nmakedeps.py | 0 | :param conanfile: ``< conanfile object >`` the current recipe object. always use ``self``. | STRING |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | conans/server/service/v2/search.py | 114 | except ForbiddenException: | CODE |
| HIGH | test/integration/command/help_test.py | 71 | except: | CODE |
| HIGH | test/integration/command/help_test.py | 62 | except: | CODE |
| HIGH | test/unittests/util/files/test_dirty.py | 53 | except RuntimeError: | CODE |
| HIGH | conan/tools/cmake/presets.py | 40 | except ValueError: | CODE |
| HIGH | conan/tools/cmake/presets.py | 320 | except ValueError: | CODE |
| HIGH | conan/tools/cmake/layout.py | 11 | except AttributeError: | CODE |
| HIGH | …ools/cmake/cmakedeps/templates/target_configuration.py | 225 | except KeyError: | CODE |
| HIGH | conan/tools/cmake/cmakedeps/templates/target_data.py | 253 | except KeyError: # The transitive dep might have been skipped | CODE |
| HIGH | conan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py | 495 | except KeyError: # The transitive dep might have been skipped | CODE |
| HIGH | conan/tools/gnu/autotoolstoolchain.py | 371 | except ConanException: | CODE |
| HIGH | conan/tools/files/files.py | 655 | except OSError: | CODE |
| HIGH | conan/tools/files/files.py | 172 | except OSError: | CODE |
| HIGH | conan/tools/files/copy_pattern.py | 154 | except OSError: | CODE |
| HIGH | conan/test/utils/test_files.py | 50 | except OSError: # e.g. a .pdb still opened by the Windows mspdbsrv | CODE |
| HIGH | conan/internal/loader.py | 414 | except: # noqa this should be solid, cannot fail | CODE |
| HIGH | conan/internal/loader.py | 54 | except Exception: | CODE |
| HIGH | conan/internal/loader.py | 383 | except AttributeError: # In case the module.__path__ doesn't exist | CODE |
| HIGH | conan/internal/errors.py | 81 | except IndexError: | CODE |
| HIGH | conan/internal/util/__init__.py | 26 | except (EnvironmentError, TypeError): | CODE |
| HIGH | conan/internal/util/runners.py | 104 | except OSError: | CODE |
| HIGH | conan/internal/graph/proxy.py | 151 | except NotFoundException: | CODE |
| HIGH | conan/internal/graph/graph_binaries.py | 82 | except NotFoundException: | CODE |
| HIGH | conan/internal/graph/graph_binaries.py | 275 | except NotFoundException: | CODE |
| HIGH | conan/internal/model/pkg_type.py | 32 | except ConanException: | CODE |
| HIGH | conan/internal/model/pkg_type.py | 40 | except ConanException: | CODE |
| HIGH | conan/internal/model/cpp_info.py | 458 | except KeyError: | CODE |
| HIGH | conan/internal/model/lockfile.py | 134 | except AttributeError: | CODE |
| HIGH | conan/internal/model/settings.py | 237 | except KeyError: | CODE |
| HIGH | conan/internal/model/version_range.py | 11 | except AttributeError: | CODE |
| HIGH | conan/internal/api/migrations.py | 140 | except: # noqa, just make sure this doesn't crash for some reason | CODE |
| HIGH | conan/internal/api/detect/detect_api.py | 192 | except OSError: | CODE |
| HIGH | conan/internal/api/install/generators.py | 192 | except ValueError: # In case the unit in Windows is different, path cannot be made relative | CODE |
| HIGH | conan/internal/api/remotes/localdb.py | 51 | except OperationalError: | CODE |
| HIGH | conan/internal/rest/__init__.py | 19 | except Exception: | CODE |
| HIGH | conan/internal/rest/rest_client_v2.py | 360 | except Exception: | CODE |
| HIGH | conan/api/subapi/download.py | 27 | except ConanException: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conans/server/service/authorize.py | 176 | CODE | |
| LOW | conans/server/conf/__init__.py | 20 | CODE | |
| LOW | conans/server/store/server_store.py | 84 | CODE | |
| LOW | test/integration/configuration/requester_test.py | 73 | CODE | |
| LOW | test/integration/lockfile/test_ci_revisions.py | 298 | CODE | |
| LOW | test/integration/lockfile/test_ci_revisions.py | 360 | CODE | |
| LOW | test/integration/lockfile/test_ci.py | 305 | CODE | |
| LOW | test/integration/lockfile/test_ci.py | 367 | CODE | |
| LOW | test/integration/command/help_test.py | 50 | CODE | |
| LOW | …integration/command/download/test_download_patterns.py | 14 | CODE | |
| LOW | test/integration/command/upload/test_upload_patterns.py | 12 | CODE | |
| LOW | …ake/cmakedeps/test_cmakedeps_find_module_and_config.py | 14 | CODE | |
| LOW | test/integration/toolchains/gnu/test_makedeps.py | 12 | CODE | |
| LOW | test/integration/toolchains/gnu/test_pkgconfigdeps.py | 19 | CODE | |
| LOW | test/unittests/util/zip_permissions_test.py | 16 | CODE | |
| LOW | test/unittests/util/files/strip_root_extract_test.py | 25 | CODE | |
| LOW | test/unittests/util/files/tar_extract_test.py | 14 | CODE | |
| LOW | test/functional/utils.py | 4 | CODE | |
| LOW | test/functional/utils.py | 75 | CODE | |
| LOW | …nctional/toolchains/cmake/cmakedeps/test_link_order.py | 223 | CODE | |
| LOW | …nctional/toolchains/cmake/cmakedeps/test_link_order.py | 261 | CODE | |
| LOW | conan/tools/apple/apple.py | 282 | CODE | |
| LOW | conan/tools/apple/apple.py | 356 | CODE | |
| LOW | conan/tools/intel/intel_cc.py | 169 | CODE | |
| LOW | conan/tools/cps/cps_deps.py | 12 | CODE | |
| LOW | conan/tools/cmake/presets.py | 332 | CODE | |
| LOW | conan/tools/cmake/presets.py | 366 | CODE | |
| LOW | conan/tools/cmake/layout.py | 70 | CODE | |
| LOW | conan/tools/cmake/utils.py | 10 | CODE | |
| LOW | conan/tools/cmake/cmakedeps/templates/target_data.py | 230 | CODE | |
| LOW | conan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py | 761 | CODE | |
| LOW | conan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py | 303 | CODE | |
| LOW | conan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py | 460 | CODE | |
| LOW | conan/tools/cmake/cmakeconfigdeps/cmakeconfigdeps.py | 642 | CODE | |
| LOW | conan/tools/cmake/toolchain/toolchain.py | 162 | CODE | |
| LOW | conan/tools/cmake/toolchain/toolchain.py | 174 | CODE | |
| LOW | conan/tools/cmake/toolchain/blocks.py | 822 | CODE | |
| LOW | conan/tools/cmake/toolchain/blocks.py | 1057 | CODE | |
| LOW | conan/tools/cmake/toolchain/blocks.py | 1172 | CODE | |
| LOW | conan/tools/cmake/toolchain/blocks.py | 1210 | CODE | |
| LOW | conan/tools/microsoft/msbuilddeps.py | 367 | CODE | |
| LOW | conan/tools/gnu/get_gnu_triplet.py | 4 | CODE | |
| LOW | conan/tools/gnu/autotoolstoolchain.py | 287 | CODE | |
| LOW | conan/tools/gnu/pkgconfigdeps.py | 107 | CODE | |
| LOW | conan/tools/gnu/pkgconfigdeps.py | 191 | CODE | |
| LOW | conan/tools/gnu/pkgconfigdeps.py | 113 | CODE | |
| LOW | conan/tools/meson/helpers.py | 89 | CODE | |
| LOW | conan/tools/files/files.py | 351 | CODE | |
| LOW | conan/tools/files/files.py | 447 | CODE | |
| LOW | conan/tools/files/files.py | 573 | CODE | |
| LOW | conan/tools/files/patches.py | 73 | CODE | |
| LOW | conan/tools/files/copy_pattern.py | 65 | CODE | |
| LOW | conan/cps/cps.py | 227 | CODE | |
| LOW | conan/cps/cps.py | 333 | CODE | |
| LOW | conan/test/utils/artifactory.py | 105 | CODE | |
| LOW | conan/test/utils/artifactory.py | 117 | CODE | |
| LOW | conan/test/utils/tools.py | 844 | CODE | |
| LOW | conan/test/utils/tools.py | 576 | CODE | |
| LOW | conan/test/assets/genconanfile.py | 445 | CODE | |
| LOW | conan/internal/deploy.py | 49 | CODE | |
| 120 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyinstaller.py | 99 | except Exception as e: | CODE |
| MEDIUM | pyinstaller.py | 86 | def pyinstall(source_folder, onefile=False): | CODE |
| LOW⚡ | conans/server/plugin_loader.py | 16 | except Exception: | CODE |
| MEDIUM⚡ | conans/server/plugin_loader.py | 17 | print("Error loading %s plugin '%s'" % (plugin_type, plugin_name)) | CODE |
| MEDIUM | conans/server/plugin_loader.py | 4 | def load_plugin(server_folder, plugin_type, plugin_name): | CODE |
| LOW | conans/server/service/authorize.py | 181 | except Exception: | CODE |
| LOW | conans/server/conf/__init__.py | 100 | except Exception as exc: | CODE |
| LOW | conans/server/rest/bottle_plugins/return_handler.py | 36 | except Exception as e: | CODE |
| LOW⚡ | conans/server/rest/bottle_plugins/jwt_authentication.py | 31 | except Exception: | CODE |
| LOW⚡ | test/integration/settings/remove_subsetting_test.py | 81 | except Exception as exc: | CODE |
| LOW⚡ | test/integration/settings/remove_subsetting_test.py | 85 | except Exception as exc: | CODE |
| LOW⚡ | test/integration/settings/remove_subsetting_test.py | 89 | except Exception as exc: | CODE |
| MEDIUM | test/integration/settings/remove_subsetting_test.py | 78 | def build(self): | CODE |
| LOW | test/integration/package_id/package_id_test.py | 98 | except Exception as e: | CODE |
| LOW | test/integration/package_id/package_id_test.py | 102 | except Exception as e: | CODE |
| LOW | test/integration/command/custom_commands_test.py | 483 | except Exception as e: | CODE |
| LOW | …unittests/client/profile_loader/profile_loader_test.py | 39 | except Exception as error: | STRING |
| LOW | test/functional/tools/system/package_manager_test.py | 44 | except Exception: | CODE |
| LOW | conan/tools/cmake/cmakedeps/templates/__init__.py | 36 | except Exception as e: | CODE |
| MEDIUM | conan/tools/cmake/cmakedeps/templates/__init__.py | 33 | def render(self): | CODE |
| LOW | conan/tools/microsoft/toolchain.py | 205 | except Exception: | STRING |
| LOW | conan/tools/system/python_manager.py | 171 | except Exception as e: | CODE |
| MEDIUM | conan/tools/system/python_manager.py | 135 | def _create_venv(self): | CODE |
| LOW | conan/tools/files/files.py | 169 | except Exception as e: | CODE |
| LOW | conan/tools/files/files.py | 251 | except Exception as err: | CODE |
| LOW | conan/tools/files/files.py | 430 | except Exception as e: | CODE |
| LOW | conan/tools/files/files.py | 442 | except Exception as e: | CODE |
| LOW | conan/tools/files/patches.py | 169 | except Exception as e: | CODE |
| LOW | conan/tools/scm/git.py | 69 | except Exception as e: | CODE |
| LOW | conan/tools/scm/git.py | 115 | except Exception as e: | CODE |
| LOW | conan/test/utils/artifactory.py | 114 | except Exception: # When resolves the latest and there is no package | CODE |
| LOW | conan/test/utils/artifactory.py | 126 | except Exception: # When resolves the latest and there is no package | CODE |
| MEDIUM | conan/test/utils/artifactory.py | 105 | def package_exists(self, pref): | CODE |
| MEDIUM | conan/test/utils/artifactory.py | 117 | def recipe_exists(self, ref): | CODE |
| LOW | conan/test/utils/server_launcher.py | 105 | except Exception: | CODE |
| LOW | conan/test/utils/test_files.py | 23 | except Exception as e: | CODE |
| LOW | conan/internal/deploy.py | 52 | except Exception as e: | CODE |
| LOW | conan/internal/deploy.py | 198 | except Exception as e: | CODE |
| LOW | conan/internal/deploy.py | 213 | except Exception as e: | CODE |
| MEDIUM | conan/internal/deploy.py | 49 | def do_deploys(home_folder, graph, deploy, deploy_package, deploy_folder): | CODE |
| LOW | conan/internal/methods.py | 46 | except Exception: | CODE |
| LOW | conan/internal/hook_manager.py | 42 | except Exception as e: | CODE |
| LOW | conan/internal/hook_manager.py | 69 | except Exception as e: | CODE |
| MEDIUM | conan/internal/hook_manager.py | 62 | def _load_hook(self, hook_path, hook_name): | CODE |
| LOW | conan/internal/loader.py | 54 | except Exception: | CODE |
| LOW | conan/internal/loader.py | 113 | except Exception as e: | CODE |
| LOW | conan/internal/loader.py | 202 | except Exception as e: | CODE |
| LOW | conan/internal/loader.py | 217 | except Exception as e: | CODE |
| LOW | conan/internal/loader.py | 232 | except Exception as e: | CODE |
| LOW | conan/internal/loader.py | 259 | except Exception: | CODE |
| LOW | conan/internal/loader.py | 323 | except Exception as e: # re-raise with file name | CODE |
| LOW | conan/internal/loader.py | 392 | except Exception: | CODE |
| LOW | conan/internal/errors.py | 42 | except Exception as exc: | CODE |
| LOW | conan/internal/source.py | 16 | except Exception as e: | CODE |
| MEDIUM | conan/internal/source.py | 11 | def _try_get_sources(ref, remote_manager, recipe_layout, remote): | CODE |
| LOW | conan/internal/cache/cache.py | 35 | except Exception as e: | CODE |
| LOW | conan/internal/util/runners.py | 52 | except Exception as e: | CODE |
| LOW | conan/internal/runner/docker.py | 169 | except Exception: | CODE |
| LOW | conan/internal/runner/docker.py | 234 | except Exception as e: | CODE |
| LOW | conan/internal/runner/docker.py | 255 | except Exception as e: | CODE |
| 94 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/integration/configuration/profile_test.py | 110 | # Create a profile and use it | STRING |
| MEDIUM | test/integration/configuration/profile_test.py | 186 | # Create a profile and use it | STRING |
| MEDIUM | test/integration/configuration/profile_test.py | 260 | # Create a profile and use it | STRING |
| MEDIUM | test/integration/configuration/profile_test.py | 275 | # Create a simple recipe to require | STRING |
| MEDIUM | test/integration/configuration/profile_test.py | 308 | # Create a profile that doesn't activate the require | STRING |
| MEDIUM | test/integration/configuration/profile_test.py | 317 | # Create a profile that activate the require | STRING |
| MEDIUM | test/integration/lockfile/test_user_overrides.py | 214 | # Create a new lockfile, wipe the previous | COMMENT |
| MEDIUM | test/integration/editable/test_editables_layout.py | 94 | # Create the consumer again, now it will use the hello editable | STRING |
| MEDIUM | test/integration/editable/test_editables_layout.py | 231 | # Create the consumer again, now it will use the hello editable | STRING |
| MEDIUM⚡ | test/integration/command/test_outdated.py | 58 | # Creating the lockfile sets foo/1.0 as only valid version for the recipe | COMMENT |
| MEDIUM⚡ | test/integration/command/test_outdated.py | 64 | # Creating the lockfile makes the previous range obsolete | COMMENT |
| MEDIUM | …t/integration/command/cache/test_cache_save_restore.py | 104 | # Create a package in the cache to check put doesn't interact badly | COMMENT |
| MEDIUM | …t/integration/command/cache/test_cache_save_restore.py | 249 | # Create a package in the cache to check put doesn't interact badly | COMMENT |
| MEDIUM | test/integration/command/info/info_test.py | 41 | # Create the package | STRING |
| MEDIUM | …egration/build_requires/profile_build_requires_test.py | 199 | # Create a new tool revision to proof that we can still require the old one | STRING |
| MEDIUM | …/integration/build_requires/test_toolchain_packages.py | 85 | # Creating the NDK packages for Windows, Linux | STRING |
| MEDIUM | …/integration/build_requires/test_toolchain_packages.py | 111 | # Creating the NDK packages for Windows, Linux | STRING |
| MEDIUM | test/integration/remote/auth_test.py | 27 | # Create a default remote. R/W is not authorized for ref, | COMMENT |
| MEDIUM | test/unittests/tools/gnu/test_gnutoolchain.py | 242 | # Defining the ndk_path too | COMMENT |
| MEDIUM | test/unittests/tools/gnu/autotools_toolchain_test.py | 463 | # Defining the ndk_path too | COMMENT |
| MEDIUM | test/unittests/tools/files/test_symlinks.py | 25 | # Create the files and symlinks | COMMENT |
| MEDIUM | test/unittests/util/files/strip_root_extract_test.py | 118 | # Create a tar.gz file with the files in the folder and an additional TarInfo entry | COMMENT |
| MEDIUM | test/unittests/util/files/strip_root_extract_test.py | 123 | # Create an empty folder in the tgz file | COMMENT |
| MEDIUM | test/unittests/util/files/strip_root_extract_test.py | 179 | # Create a couple of files | COMMENT |
| MEDIUM | test/unittests/util/files/strip_root_extract_test.py | 214 | # Create a couple of files | COMMENT |
| MEDIUM | test/unittests/util/files/tar_extract_test.py | 17 | # Create a couple of files | COMMENT |
| MEDIUM | test/unittests/util/files/tar_extract_test.py | 24 | # Create a tar.gz file with the above files | COMMENT |
| MEDIUM | test/unittests/client/pkg_sign_test.py | 48 | # Create a subdirectory | COMMENT |
| MEDIUM | test/functional/tools/scm/test_git.py | 748 | # Create an orphan commit by removing the branch | STRING |
| MEDIUM | test/functional/tools/scm/test_git.py | 1222 | # Create a tag | STRING |
| MEDIUM | test/functional/tools/scm/test_git.py | 1243 | # Create a tag | STRING |
| MEDIUM | test/functional/toolchains/test_premake.py | 193 | # Create a consumer application which depends on libb | STRING |
| MEDIUM | test/functional/toolchains/emscripten/test_emcc.py | 27 | # Define the emcc executable paths | STRING |
| MEDIUM | conan/tools/cmake/cmakedeps/templates/targets.py | 65 | # Create the targets for all the components | COMMENT |
| MEDIUM | conan/tools/cmake/cmakedeps/templates/macros.py | 70 | # Create a micro-target for each lib/a found | COMMENT |
| MEDIUM | …ools/cmake/cmakedeps/templates/target_configuration.py | 58 | ######## Create an interface target to contain all the dependencies (frameworks, system and conan deps) | COMMENT |
| MEDIUM | …ools/cmake/cmakedeps/templates/target_configuration.py | 132 | ######## Create an interface target to contain all the dependencies (frameworks, system and conan deps) | COMMENT |
| MEDIUM | conan/tools/cmake/toolchain/blocks.py | 320 | # Define the C++ and C standards from 'compiler.cppstd' and 'compiler.cstd' | COMMENT |
| MEDIUM | conan/tools/cmake/toolchain/blocks.py | 1464 | # Create a new class inheriting Block with the elements of the provided one | STRING |
| MEDIUM | conan/tools/qbs/qbsdeps.py | 124 | # Creating a component name with namespace, e.g., dep-comp1 | COMMENT |
| MEDIUM | conan/tools/google/bazeldeps.py | 447 | # This module provides a repo for each requires-dependency in your conanfile. | COMMENT |
| MEDIUM | conan/tools/gnu/pkgconfigdeps.py | 91 | # Creating a component name with namespace, e.g., dep-comp1 | STRING |
| MEDIUM | conan/tools/files/copy_pattern.py | 176 | # Create the parent directory that will contain the symlink file | COMMENT |
| MEDIUM | conan/internal/api/remotes/localdb.py | 23 | # Create the database file if it doesn't exist | COMMENT |
| MEDIUM | conan/internal/api/new/basic.py | 57 | # This method is used to build the source code of the recipe using the desired commands. | COMMENT |
| MEDIUM | conan/api/subapi/upload.py | 120 | # Creating a loader is not thread-safe (it invalidates the import system caches while | COMMENT |
| MEDIUM | conan/api/subapi/remotes.py | 31 | # This method is private, the subapi is not instantiated by users | COMMENT |
| MEDIUM | conan/api/subapi/cache.py | 371 | # Create a temporary file in order to reuse compress_files functionality | COMMENT |
| MEDIUM | conan/api/subapi/cache.py | 479 | # This method is explicitly not publicly documented, as mostly a command helper for | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/unittests/tools/cmake/test_cmake_test.py | 10 | CODE | |
| LOW | test/unittests/client/conan_output_test.py | 5 | CODE | |
| LOW | test/functional/revisions_test.py | 7 | CODE | |
| LOW | test/functional/revisions_test.py | 13 | CODE | |
| LOW | test/functional/util/tools_test.py | 3 | CODE | |
| LOW | …tional/toolchains/autotools/test_universal_binaries.py | 1 | CODE | |
| LOW | conan/__init__.py | 1 | CODE | |
| LOW | conan/__init__.py | 2 | CODE | |
| LOW | conan/tools/apple/__init__.py | 5 | CODE | |
| LOW | conan/tools/apple/__init__.py | 5 | CODE | |
| LOW | conan/tools/apple/__init__.py | 5 | CODE | |
| LOW | conan/tools/apple/__init__.py | 5 | CODE | |
| LOW | conan/tools/apple/__init__.py | 6 | CODE | |
| LOW | conan/tools/apple/__init__.py | 7 | CODE | |
| LOW | conan/tools/apple/__init__.py | 8 | CODE | |
| LOW | conan/tools/intel/__init__.py | 1 | CODE | |
| LOW | conan/tools/ros/__init__.py | 1 | CODE | |
| LOW | conan/tools/cps/__init__.py | 1 | CODE | |
| LOW | conan/tools/cmake/__init__.py | 1 | CODE | |
| LOW | conan/tools/cmake/__init__.py | 2 | CODE | |
| LOW | conan/tools/cmake/__init__.py | 4 | CODE | |
| LOW | conan/tools/qbs/__init__.py | 1 | CODE | |
| LOW | conan/tools/qbs/__init__.py | 2 | CODE | |
| LOW | conan/tools/qbs/__init__.py | 3 | CODE | |
| LOW | conan/tools/sbom/__init__.py | 1 | CODE | |
| LOW | conan/tools/sbom/__init__.py | 1 | CODE | |
| LOW | conan/tools/google/__init__.py | 1 | CODE | |
| LOW | conan/tools/google/__init__.py | 2 | CODE | |
| LOW | conan/tools/google/__init__.py | 3 | CODE | |
| LOW | conan/tools/google/__init__.py | 4 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 1 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 2 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 3 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 4 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 4 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 5 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 6 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 7 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 8 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 8 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 8 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 8 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 8 | CODE | |
| LOW | conan/tools/microsoft/__init__.py | 8 | CODE | |
| LOW | conan/tools/scons/__init__.py | 1 | CODE | |
| LOW | conan/tools/gnu/__init__.py | 1 | CODE | |
| LOW | conan/tools/gnu/__init__.py | 2 | CODE | |
| LOW | conan/tools/gnu/__init__.py | 3 | CODE | |
| LOW | conan/tools/gnu/__init__.py | 4 | CODE | |
| LOW | conan/tools/gnu/__init__.py | 5 | CODE | |
| LOW | conan/tools/gnu/__init__.py | 6 | CODE | |
| LOW | conan/tools/gnu/__init__.py | 7 | CODE | |
| LOW | conan/tools/meson/__init__.py | 1 | CODE | |
| LOW | conan/tools/meson/__init__.py | 2 | CODE | |
| LOW | conan/tools/system/python_manager.py | 4 | CODE | |
| LOW | conan/tools/system/__init__.py | 1 | CODE | |
| LOW | conan/tools/system/__init__.py | 1 | CODE | |
| LOW | conan/tools/android/__init__.py | 1 | CODE | |
| LOW | conan/tools/files/__init__.py | 1 | CODE | |
| LOW | conan/tools/files/__init__.py | 1 | CODE | |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conans/server/service/authorize.py | 190 | # Check if rule apply ref | COMMENT |
| LOW | conans/server/service/v2/service_v2.py | 102 | # Check if the recipe exists | COMMENT |
| LOW⚡ | conans/server/rest/bottle_plugins/jwt_authentication.py | 29 | # Check if its valid obtaining the password_timestamp | COMMENT |
| LOW | test/integration/tgz_macos_dot_files_test.py | 82 | # Check if the metadata travels through the Conan commands | STRING |
| LOW | test/integration/command/test_output.py | 47 | # Check if -v argument is equal to VERBOSE level | COMMENT |
| LOW | test/integration/command/test_output.py | 168 | # Check if -v argument is equal to VERBOSE level | COMMENT |
| LOW | test/integration/command/test_output.py | 180 | # Check if -v argument is equal to VERBOSE level | COMMENT |
| LOW | test/integration/command/upload/test_upload_bundle.py | 42 | # Check if the recipes/packages are in the remote | COMMENT |
| LOW | test/functional/toolchains/meson/test_meson.py | 188 | # Check if all the files are in the final directories | STRING |
| LOW | conan/tools/cmake/cmakedeps/cmakedeps.py | 61 | # Check if the same package is at host and build and the same time | COMMENT |
| LOW | conan/tools/cmake/toolchain/blocks.py | 512 | #Check if Xcode generator is used, since that will handle these flags automagically | COMMENT |
| LOW | conan/tools/gnu/pkgconfigdeps.py | 370 | # Check if it exists both as require and as build require without a suffix | STRING |
| LOW | conan/tools/system/package_manager.py | 10 | mode_check = "check" # Check if installed, fail if not | CODE |
| LOW | conan/tools/files/copy_pattern.py | 87 | # Check if any of the subfolders is a symlink | COMMENT |
| LOW | conan/internal/cache/integrity_check.py | 26 | # Check if any of the packages are corrupted | COMMENT |
| LOW | conan/internal/runner/docker.py | 143 | error = sys.exc_info()[0] is not None # Check if error has been raised | CODE |
| LOW | conan/internal/runner/docker.py | 277 | # Check if recipe has defined a root folder | COMMENT |
| LOW | conan/internal/runner/ssh.py | 148 | # Check if remote Conan executable exists, otherwise invoke pip inside venv | COMMENT |
| LOW | conan/internal/graph/range_resolver.py | 37 | # Check if this ref with version range was already solved | COMMENT |
| LOW | conan/internal/graph/graph.py | 144 | # Check if need to propagate downstream | COMMENT |
| LOW | conan/internal/graph/graph.py | 193 | # Check if need to propagate downstream | COMMENT |
| LOW | conan/internal/graph/graph_binaries.py | 60 | # Check if dirty, to remove it | COMMENT |
| LOW | conan/internal/graph/graph_builder.py | 204 | # Check if it is a self-loop of build-requires in build context and avoid it | COMMENT |
| LOW | conan/internal/api/uploader.py | 229 | # Check if there is some existing compressed file already | COMMENT |
| LOW | conan/internal/api/config/config_installer.py | 204 | open(filename, "r") # Check if the file exist and can be opened | CODE |
| LOW | conan/cli/commands/require.py | 27 | # Check if that requirement exists in the conanfile. If yes, abort. | COMMENT |
| LOW | conan/cli/commands/require.py | 78 | # Check if that requirement exists in the conanfile. If yes, do nothing. | COMMENT |
| LOW | conan/api/subapi/upload.py | 129 | # Check if the recipes/packages are in the remote | COMMENT |
| LOW | conan/api/model/list.py | 52 | # Check if input json is not a graph file | COMMENT |
| LOW | conan/api/model/list.py | 95 | # Check if input json is a graph file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conans/server/service/v2/service_v2.py | 68 | CODE | |
| LOW | conans/server/rest/controller/v2/conan.py | 24 | CODE | |
| LOW | conans/server/rest/controller/v2/conan.py | 49 | CODE | |
| LOW | test/unittests/client/rest/downloader_test.py | 53 | CODE | |
| LOW | conan/tools/apple/xcodetoolchain.py | 97 | CODE | |
| LOW | conan/tools/apple/xcodetoolchain.py | 135 | CODE | |
| LOW | conan/tools/apple/apple.py | 329 | CODE | |
| LOW | conan/tools/cmake/presets.py | 122 | CODE | |
| LOW | conan/tools/cmake/cmake.py | 156 | CODE | |
| LOW | conan/tools/cmake/cmakedeps/templates/targets.py | 53 | CODE | |
| LOW | conan/tools/cmake/cmakedeps/templates/target_data.py | 216 | CODE | |
| LOW | conan/tools/cmake/cmakedeps/templates/target_data.py | 275 | CODE | |
| LOW | conan/tools/cmake/cmakedeps/templates/target_data.py | 327 | CODE | |
| LOW | conan/tools/cmake/cmakedeps/templates/config_version.py | 96 | CODE | |
| LOW | conan/tools/cmake/cmakeconfigdeps/config_version.py | 89 | CODE | |
| LOW | conan/tools/qbs/qbsprofile.py | 148 | CODE | |
| LOW | conan/tools/gnu/pkgconfig.py | 42 | CODE | |
| LOW | conan/tools/files/files.py | 97 | CODE | |
| LOW | conan/tools/files/files.py | 180 | CODE | |
| LOW | conan/cps/cps.py | 292 | CODE | |
| LOW | conan/test/utils/tools.py | 400 | CODE | |
| LOW | conan/test/utils/scm.py | 19 | CODE | |
| LOW | conan/test/utils/mocks.py | 27 | CODE | |
| LOW | conan/test/assets/cmake.py | 6 | CODE | |
| LOW | conan/internal/loader.py | 177 | CODE | |
| LOW | conan/internal/cache/db/recipes_table.py | 89 | CODE | |
| LOW | conan/internal/cache/db/recipes_table.py | 107 | CODE | |
| LOW | conan/internal/cache/db/recipes_table.py | 119 | CODE | |
| LOW | conan/internal/graph/install_graph.py | 586 | CODE | |
| LOW | conan/internal/model/cpp_info.py | 876 | CODE | |
| LOW | conan/internal/model/requires.py | 10 | CODE | |
| LOW | conan/internal/model/version_range.py | 257 | CODE | |
| LOW | conan/internal/model/conan_file.py | 369 | CODE | |
| LOW | conan/internal/model/dependencies.py | 200 | CODE | |
| LOW | conan/internal/api/detect/detect_api.py | 666 | CODE | |
| LOW | conan/internal/api/detect/detect_vs.py | 57 | CODE | |
| LOW | conan/internal/rest/client_routes.py | 147 | CODE | |
| LOW | conan/internal/rest/file_downloader.py | 21 | CODE | |
| LOW | conan/internal/rest/rest_client_v2.py | 246 | CODE | |
| LOW | conan/cli/commands/profile.py | 108 | CODE | |
| LOW | conan/api/subapi/graph.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyinstaller.py | 41 | # http://msdn.microsoft.com/en-us/library/ms646997.aspx | COMMENT |
| LOW | setup.py | 101 | packages=find_packages(exclude=exclude), | COMMENT |
| LOW | setup.py | 121 | }, | COMMENT |
| LOW | setup_server.py | 101 | # List run-time dependencies here. These will be installed by pip when | COMMENT |
| LOW | conans/server/conf/default_server_conf.py | 21 | updown_secret: {updown_secret} | COMMENT |
| LOW | conans/server/conf/default_server_conf.py | 41 | # | COMMENT |
| LOW | test/integration/cache/cache2_update_test.py | 41 | client.run(f"upload {ref} -r {remote} -c") | COMMENT |
| LOW | test/integration/cache/cache2_update_test.py | 201 | # | CLIENT | CLIENT2 | SERVER0 | SERVER1 | SERVER2 | | COMMENT |
| LOW | test/integration/cache/cache2_update_test.py | 241 | self.client.save({"conanfile.py": GenConanfile("liba", "1.0.0").with_build_msg("REV5")}) | COMMENT |
| LOW | test/integration/cache/cache2_update_test.py | 301 | # | CLIENT | CLIENT2 | SERVER0 | SERVER1 | SERVER2 | | COMMENT |
| LOW | test/integration/cache/cache2_update_test.py | 321 | # | REV6(2002) | REV3 (3050)| REV6(3030) |REV6(3040) | REV6(3050) | | COMMENT |
| LOW | test/integration/cache/cache2_update_test.py | 361 | # NOW WE HAVE: | COMMENT |
| LOW | test/integration/cache/cache2_update_test.py | 401 | self.client.assert_listed_require({"liba/1.1.0": "Downloaded (server1)"}) | COMMENT |
| LOW | test/integration/graph/conflict_diamond_test.py | 441 | # This is a conflict, because the depth-first graph resolution approach can't see | COMMENT |
| LOW | test/integration/command/info/test_info_build_order.py | 861 | # (via compatibility plugin) | COMMENT |
| LOW | …ional/toolchains/gnu/autotools/test_apple_toolchain.py | 141 | COMMENT | |
| LOW | conan/tools/google/toolchain.py | 81 | #: String used to add --cppstd=[FLAG]. Depends on your settings. | COMMENT |
| LOW | conan/tools/gnu/pkgconfigdeps.py | 341 | # a suffix. It is necessary in case of same require and build_require and will cause an error | COMMENT |
| LOW | conan/tools/meson/toolchain.py | 181 | #: List of extra ``CXX`` flags. Added to ``cpp_args`` | COMMENT |
| LOW | conan/tools/meson/toolchain.py | 281 | self.cpp = compilers_by_conf.get("cpp") or self._sanitize_env_format(build_env.get("CXX")) or default_comp_cpp | COMMENT |
| LOW | conan/tools/meson/toolchain.py | 301 | #: Defines the Meson ``windres`` variable. Defaulted to ``WINDRES`` build environment value | COMMENT |
| LOW | conan/test/assets/sources.py | 21 | // ARCHITECTURES | COMMENT |
| LOW | conan/test/assets/sources.py | 41 | COMMENT | |
| LOW | conan/test/assets/sources.py | 141 | #else | COMMENT |
| LOW | conan/test/assets/sources.py | 161 | COMMENT | |
| LOW | conan/internal/api/new/cmake_lib.py | 141 | #if __i386__ | COMMENT |
| LOW | conan/internal/api/new/cmake_lib.py | 161 | std::cout << " {{name}}/{{version}}: MSVC runtime: MultiThreadedDebugDLL\n"; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.py | 100 | # simple. Or you can use find_packages(). | COMMENT |
| MEDIUM | setup_server.py | 94 | # simple. Or you can use find_packages(). | COMMENT |
| MEDIUM | conans/server/conf/default_server_conf.py | 3 | # It only affects to current authentication tokens, you can change safetely anytime | COMMENT |
| MEDIUM | conan/tools/microsoft/toolchain.py | 82 | #: VS IDE Toolset, e.g., ``"v140"``. If ``compiler=msvc``, you can use ``compiler.toolset`` | STRING |
| LOW | .github/ISSUE_TEMPLATE/feature_request.yml | 9 | **Please don't forget to update the issue title.** | CODE |
| LOW | .github/ISSUE_TEMPLATE/question.yml | 9 | **Please don't forget to update the issue title.** | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/integration/layout/test_layout_generate.py | 9 | """ Trying to leverage the layout knowledge at generate() time and put some files | STRING |
| MEDIUM | …on/build_requires/test_build_requires_source_method.py | 89 | # The current solution defines "generators" to be robust for "conan source" command | STRING |
| LOW | test/unittests/server/conf_test.py | 65 | # IF an old config file is readed but the section is in the list, just return it empty | STRING |
| MEDIUM | test/functional/command/test_install_deploy.py | 52 | # USE **KWARGS to be robust against changes | COMMENT |
| MEDIUM | conan/internal/graph/install_graph.py | 443 | """ A graph containing the package references in order to be built/downloaded | STRING |
| MEDIUM | conan/internal/rest/file_downloader.py | 23 | """ in order to make the download concurrent, the folder for file_path MUST exist | STRING |
| LOW | conan/internal/rest/rest_client_local_recipe_index.py | 215 | # just add all candidates for now | STRING |
| MEDIUM | conan/api/subapi/export.py | 105 | """Executes the ``package()`` method of the exported recipe in order to copy the artifacts | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration/command/create_test.py | 451 | author = "John Doe" | STRING |
| LOW | test/integration/command/create_test.py | 521 | assert pkg_pkg_info["author"] == 'John Doe' | STRING |
| LOW | test/integration/command/info/info_test.py | 20 | author = "John Doe" | CODE |
| LOW | …ntegration/command/upload/test_upload_prepared_list.py | 396 | os.makedirs(os.path.join(self.export_sources_folder, "placeholder")) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conan/internal/runner/docker.py | 370 | def _update_local_cache(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | conan/api/subapi/workspace.py | 473 | # orchestration commands | STRING |