Node.js native addon build tool
This report summarizes scanner evidence for nodejs/node-gyp, a Python project with 10,707 GitHub stars. SynthScan examined 52,089 lines of code across 146 source files, recording 275 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 8.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 211 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 70 finding(s).
Which changes need focused human review? 275 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 275 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 | gyp/tools/pretty_sln.py | 35 | CODE | |
| LOW | gyp/tools/pretty_vcproj.py | 149 | CODE | |
| LOW | gyp/tools/pretty_vcproj.py | 207 | CODE | |
| LOW | gyp/tools/pretty_gyp.py | 116 | CODE | |
| LOW | gyp/pylib/packaging/tags.py | 217 | CODE | |
| LOW | gyp/pylib/packaging/tags.py | 339 | CODE | |
| LOW | gyp/pylib/packaging/tags.py | 371 | CODE | |
| LOW | gyp/pylib/packaging/metadata.py | 278 | CODE | |
| LOW | gyp/pylib/packaging/metadata.py | 650 | CODE | |
| LOW | gyp/pylib/packaging/version.py | 452 | CODE | |
| LOW | gyp/pylib/packaging/markers.py | 137 | CODE | |
| LOW | gyp/pylib/packaging/_manylinux.py | 207 | CODE | |
| LOW | gyp/pylib/packaging/specifiers.py | 953 | CODE | |
| LOW | gyp/pylib/gyp/msvs_emulation.py | 1105 | CODE | |
| LOW | gyp/pylib/gyp/xcode_emulation.py | 64 | CODE | |
| LOW | gyp/pylib/gyp/xcode_emulation.py | 568 | CODE | |
| LOW | gyp/pylib/gyp/xcode_emulation.py | 1016 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 305 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 585 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 758 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 1405 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 1716 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 2100 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 2478 | CODE | |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 2882 | CODE | |
| LOW | gyp/pylib/gyp/MSVSVersion.py | 456 | CODE | |
| LOW | gyp/pylib/gyp/MSVSUtil.py | 73 | CODE | |
| LOW | gyp/pylib/gyp/__init__.py | 246 | CODE | |
| LOW | gyp/pylib/gyp/__init__.py | 347 | CODE | |
| LOW | gyp/pylib/gyp/ninja_syntax.py | 124 | CODE | |
| LOW | gyp/pylib/gyp/mac_tool.py | 47 | CODE | |
| LOW | gyp/pylib/gyp/mac_tool.py | 72 | CODE | |
| LOW | gyp/pylib/gyp/mac_tool.py | 356 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 325 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 673 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 691 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 758 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1284 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1401 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1464 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1513 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1611 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1625 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1929 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2041 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2073 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2201 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2272 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2491 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2705 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2824 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2842 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 2934 | CODE | |
| LOW | gyp/pylib/gyp/input.py | 1660 | CODE | |
| LOW | gyp/pylib/gyp/MSVSSettings.py | 444 | CODE | |
| LOW | gyp/pylib/gyp/MSVSSettings.py | 514 | CODE | |
| LOW | gyp/pylib/gyp/xcode_ninja.py | 59 | CODE | |
| LOW | gyp/pylib/gyp/xcode_ninja.py | 165 | CODE | |
| LOW | gyp/pylib/gyp/generator/ninja.py | 2080 | CODE | |
| LOW | gyp/pylib/gyp/generator/ninja.py | 2924 | CODE | |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | gyp/pylib/packaging/tags.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/packaging/version.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/packaging/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/packaging/utils.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/packaging/requirements.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/packaging/_structures.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/packaging/markers.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/packaging/specifiers.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | gyp/pylib/gyp/xcode_emulation.py | 1689 | # Create an intermediate file based on the path. | COMMENT |
| MEDIUM | gyp/pylib/gyp/xcode_emulation.py | 1724 | # This function is considered a friend of XcodeSettings, so let it reach into | COMMENT |
| MEDIUM | gyp/pylib/gyp/xcodeproj_file.py | 1259 | # This method is a little bit esoteric. Given a remote_object, which | COMMENT |
| MEDIUM | gyp/pylib/gyp/input.py | 697 | # This function is called a lot so for maximum performance, avoid | COMMENT |
| MEDIUM | gyp/pylib/gyp/input.py | 1930 | # Create a DependencyGraphNode for each target. Put it into a dict for easy | COMMENT |
| MEDIUM | gyp/pylib/gyp/input.py | 1982 | # Create a DependencyGraphNode for each gyp file containing a target. Put | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSSettings.py | 365 | # Create a bogus validator that looks for '0', '1', or '2' | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/ninja.py | 977 | # Create an intermediate file to store preprocessed results. | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/xcode.py | 720 | # Create an XCTarget subclass object for the target. The type with | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/msvs.py | 2393 | # Create the various element names, following the example set by the | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/android.py | 69 | # This file is generated by gyp; do not edit. | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/make.py | 399 | # Define a dir function that can handle spaces. | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/make.py | 497 | # Define an escape_quotes function to escape single quotes. | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/make.py | 502 | # Define an escape_vars function to escape '$' variable syntax. | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/make.py | 682 | # This file is generated by gyp; do not edit. | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/make.py | 1354 | # Create an intermediate file to store preprocessed results. | COMMENT |
| MEDIUM | gyp/pylib/gyp/generator/make.py | 2037 | # Create a symlink of libnode.x to libnode.version.x | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gyp/pylib/packaging/tags.py | 197 | except ValueError: | CODE |
| HIGH | gyp/pylib/packaging/metadata.py | 511 | except KeyError: | CODE |
| HIGH | gyp/pylib/packaging/metadata.py | 503 | except AttributeError: | CODE |
| HIGH | gyp/pylib/packaging/markers.py | 113 | except InvalidSpecifier: | CODE |
| HIGH | gyp/pylib/gyp/xcode_emulation.py | 523 | except (GypError, OSError): | CODE |
| HIGH | gyp/pylib/gyp/MSVSVersion.py | 257 | except ImportError: | CODE |
| HIGH | gyp/pylib/gyp/__init__.py | 51 | except Exception: | CODE |
| HIGH | gyp/pylib/gyp/common.py | 418 | except OSError: | CODE |
| HIGH | gyp/pylib/gyp/mac_tool.py | 597 | except Exception: | CODE |
| HIGH | gyp/pylib/gyp/xcode_ninja.py | 51 | except OSError: | CODE |
| HIGH | gyp/pylib/gyp/generator/compile_commands_json.py | 117 | except AttributeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pyproject.toml | 61 | "TID", # flake8-tidy-imports | COMMENT |
| LOW | gyp/pyproject.toml | 81 | # "NPY", # NumPy-specific rules | COMMENT |
| LOW | gyp/pylib/packaging/tags.py | 221 | # The following are examples of `EXT_SUFFIX`. | COMMENT |
| LOW | gyp/pylib/packaging/metadata.py | 181 | # *something* reasonable with malformed data. | COMMENT |
| LOW | gyp/pylib/packaging/metadata.py | 301 | COMMENT | |
| LOW | gyp/pylib/packaging/metadata.py | 321 | # As such, we'll look for those Header objects, and fix up the encoding. | COMMENT |
| LOW | gyp/pylib/packaging/metadata.py | 381 | COMMENT | |
| LOW | gyp/pylib/packaging/metadata.py | 401 | # this into what it logically is. | COMMENT |
| LOW | gyp/pylib/packaging/markers.py | 201 | # | COMMENT |
| LOW | gyp/pylib/packaging/_manylinux.py | 101 | return None | COMMENT |
| LOW | gyp/pylib/packaging/specifiers.py | 121 | (?P<version> | COMMENT |
| LOW | gyp/pylib/gyp/msvs_emulation.py | 41 | arg = windows_quoter_regex.sub(lambda mo: 2 * mo.group(1) + '\\"', arg) | COMMENT |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 541 | return self._encode_transforms[ord(char)] | COMMENT |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 561 | # - In PBXFileReference and PBXBuildFile objects: | COMMENT |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 1221 | ) | COMMENT |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 2121 | # $(BUILT_PRODUCTS_DIR)/$(PLUGINS_FOLDER_PATH). Then | COMMENT |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 2501 | if products_group is not None: | COMMENT |
| LOW | gyp/pylib/gyp/MSVSNew.py | 161 | self.msbuild_toolset = None | COMMENT |
| LOW | gyp/pylib/gyp/common.py | 81 | # | COMMENT |
| LOW | gyp/pylib/gyp/common.py | 201 | # identifies |path| relative to the current directory. | COMMENT |
| LOW | gyp/pylib/gyp/common.py | 221 | # ; command delimiter | COMMENT |
| LOW | gyp/pylib/gyp/common.py | 241 | # \ to prevent POSIX shells from interpreting this character for escaping | COMMENT |
| LOW | gyp/pylib/gyp/common.py | 381 | else: | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 781 | # (using findall here would return strings instead of MatchObjects). | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 841 | # Recurse to expand variables in the contents | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 1041 | # above. | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 1201 | # Process a 'conditions' or 'target_conditions' section in the_dict, | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 1341 | # {'type': '<(library_type)', | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 1361 | # 'defines': ['<(define)'], | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 1661 | # flat_list is the sorted list of dependencies - actually, the list items | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 2161 | exception_re = re.compile(r"""["']?[-/$<>^]""") | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 2221 | # The cheap and easy case. | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 2301 | to[k] = MakePathRelative(to_file, fro_file, v) | COMMENT |
| LOW | gyp/pylib/gyp/input.py | 2941 | circular_check, | COMMENT |
| LOW | gyp/pylib/gyp/generator/ninja.py | 181 | COMMENT | |
| LOW | gyp/pylib/gyp/generator/xcode.py | 161 | COMMENT | |
| LOW | gyp/pylib/gyp/generator/xcode.py | 381 | for run_test_target in run_test_targets: | COMMENT |
| LOW | gyp/pylib/gyp/generator/xcode.py | 461 | # seamlessly. Sometimes, Xcode is able to detect that a project file has | COMMENT |
| LOW | gyp/pylib/gyp/generator/xcode.py | 921 | # tgt_mac_bundle_resources holds the list of bundle resources so | COMMENT |
| LOW | gyp/pylib/gyp/generator/xcode.py | 941 | # liked having the rules handled directly in Xcode during the period that | COMMENT |
| LOW | gyp/pylib/gyp/generator/xcode.py | 961 | # show-stopper. | COMMENT |
| LOW | gyp/pylib/gyp/generator/xcode.py | 981 | # the "concrete output" for rule input "two.ext" would be "two.cc". If | COMMENT |
| LOW | gyp/pylib/gyp/generator/xcode.py | 1161 | # variable anywhere other than in the leaf position. | COMMENT |
| LOW | gyp/pylib/gyp/generator/android.py | 1 | # Copyright (c) 2012 Google Inc. All rights reserved. | COMMENT |
| LOW | gyp/pylib/gyp/generator/make.py | 1 | # Copyright (c) 2013 Google Inc. All rights reserved. | COMMENT |
| LOW | gyp/pylib/gyp/generator/make.py | 181 | rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)` | COMMENT |
| LOW | gyp/pylib/gyp/generator/make.py | 421 | COMMENT | |
| LOW | gyp/pylib/gyp/generator/make.py | 501 | # This comment is here just to include a ' to unconfuse syntax highlighting. | COMMENT |
| LOW | lib/node-gyp.js | 121 | commands[commands.length - 1].args = args | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gyp/pylib/gyp/generator/ninja.py | 0 | calculate additional variables for use in the build (called by gyp). | STRING |
| HIGH | gyp/pylib/gyp/generator/cmake.py | 0 | calculate additional variables for use in the build (called by gyp). | STRING |
| HIGH | gyp/pylib/gyp/generator/analyzer.py | 0 | calculate additional variables for use in the build (called by gyp). | STRING |
| HIGH | gyp/pylib/gyp/generator/make.py | 0 | calculate additional variables for use in the build (called by gyp). | STRING |
| HIGH | gyp/pylib/gyp/generator/eclipse.py | 0 | calculate the generator specific info that gets fed to input (called by gyp). | STRING |
| HIGH | gyp/pylib/gyp/generator/make.py | 0 | calculate the generator specific info that gets fed to input (called by gyp). | STRING |
| HIGH | gyp/pylib/gyp/generator/dump_dependency_json.py | 0 | calculate the generator specific info that gets fed to input (called by gyp). | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | gyp/pylib/packaging/_parser.py | 60 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | gyp/pylib/packaging/_parser.py | 62 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | gyp/pylib/packaging/_parser.py | 251 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | gyp/pylib/packaging/_parser.py | 253 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSNew.py | 28 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSNew.py | 66 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSNew.py | 112 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSNew.py | 187 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSUserFile.py | 13 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSProject.py | 9 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSProject.py | 48 | # ------------------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/gyp_main.py | 20 | except Exception: | CODE |
| LOW | gyp/gyp_main.py | 33 | except Exception: | CODE |
| MEDIUM | gyp/gyp_main.py | 24 | def UnixifyPath(path): | CODE |
| LOW | gyp/pylib/gyp/common_test.py | 114 | except Exception as e: | CODE |
| LOW | gyp/pylib/gyp/__init__.py | 51 | except Exception: | CODE |
| LOW | gyp/pylib/gyp/common.py | 356 | except Exception: | CODE |
| LOW | gyp/pylib/gyp/common.py | 403 | except Exception: | CODE |
| LOW | gyp/pylib/gyp/common.py | 724 | except Exception: | STRING |
| MEDIUM | gyp/pylib/gyp/common.py | 365 | def close(self): | CODE |
| MEDIUM | gyp/pylib/gyp/common.py | 717 | def IsCygwin(): | CODE |
| LOW | gyp/pylib/gyp/mac_tool.py | 161 | except Exception: | CODE |
| LOW | gyp/pylib/gyp/mac_tool.py | 597 | except Exception: | CODE |
| LOW | gyp/pylib/gyp/input.py | 241 | except Exception as e: | CODE |
| LOW | gyp/pylib/gyp/input.py | 262 | except Exception as e: | CODE |
| LOW | gyp/pylib/gyp/input.py | 491 | except Exception as e: | CODE |
| LOW | gyp/pylib/gyp/input.py | 549 | except Exception as e: | CODE |
| LOW | gyp/pylib/gyp/input.py | 969 | except Exception as e: | CODE |
| LOW | gyp/pylib/gyp/input.py | 2972 | except Exception as e: | CODE |
| LOW | gyp/pylib/gyp/generator/xcode.py | 158 | except Exception: | CODE |
| LOW | gyp/pylib/gyp/generator/xcode.py | 513 | except Exception: | CODE |
| MEDIUM | gyp/pylib/gyp/generator/analyzer.py | 590 | print("Error writing to output file", output_path, str(e)) | CODE |
| LOW | gyp/pylib/gyp/generator/analyzer.py | 804 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gyp/pylib/gyp/win_tool.py | 91 | """Emulation of rm -rf out && cp -af in out.""" | STRING |
| HIGH | gyp/pylib/gyp/MSVSProject.py | 62 | platforms: Array of string, the supported platforms. If null, ['Win32'] | STRING |
| HIGH | gyp/pylib/gyp/generator/ninja.py | 2595 | command="rm -f $out && lipo -create $in -output $out$postbuilds", | CODE |
| HIGH | gyp/pylib/gyp/generator/ninja.py | 2601 | "rm -f $lib $lib.TOC && lipo -create $in -output $lib$postbuilds &&" | CODE |
| HIGH | gyp/pylib/gyp/generator/ninja.py | 2750 | command="rm -rf $out && cp -fRP $in $out", | CODE |
| HIGH | gyp/pylib/gyp/generator/ninja.py | 2756 | command="ln -f $in $out 2>/dev/null || (rm -rf $out && cp -af $in $out)", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pylib/packaging/metadata.py | 208 | # is unparsable, and we can just add the whole thing to our | COMMENT |
| LOW | gyp/pylib/packaging/metadata.py | 359 | # This is already a string, so just add it. | COMMENT |
| LOW | gyp/pylib/packaging/metadata.py | 388 | # what we should parse it as, and we have to just add it to our list | COMMENT |
| LOW | gyp/pylib/packaging/specifiers.py | 462 | # version. If it's not we can short circuit and just return False now | STRING |
| LOW | gyp/pylib/packaging/specifiers.py | 487 | # version. If it's not we can short circuit and just return False now | STRING |
| LOW | gyp/pylib/packaging/specifiers.py | 753 | # then we'll just return None since we don't know if this should have | STRING |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 1503 | # just use this object's hashables, they're not specific and unique enough | COMMENT |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 1949 | # maintains the object's dicts. Better yet, callers can just call AddFile | COMMENT |
| LOW | gyp/pylib/gyp/xcodeproj_file.py | 2581 | # really should just add a product_name setting that doesn't include | COMMENT |
| LOW | gyp/pylib/gyp/MSVSNew.py | 170 | # 1. We can't just use the project filename sans path, since there could | COMMENT |
| LOW | gyp/pylib/gyp/ninja_syntax.py | 140 | # No such space; just use the first unescaped space we can find. | COMMENT |
| MEDIUM | gyp/pylib/gyp/MSVSSettings.py | 1161 | _Renamed(_midl, "ValidateParameters", "ValidateAllParameters", _boolean) # /robust | CODE |
| LOW | gyp/pylib/gyp/generator/ninja.py | 719 | # simplify it to just use $out. | COMMENT |
| LOW | gyp/pylib/gyp/generator/msvs.py | 3306 | # just add one unconditional entry. | COMMENT |
| LOW | gyp/pylib/gyp/generator/eclipse.py | 441 | # Didn't find a known root, just return the original path | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | gyp/pylib/gyp/common.py | 661 | Topologically sort based on a user provided edge definition. Args: graph: A list of node names. get_edg | STRING |
| HIGH | gyp/pylib/gyp/mac_tool.py | 487 | Finds the .mobileprovision file to use for signing the bundle. Checks all the installed provisioning profiles ( | STRING |
| HIGH | gyp/pylib/gyp/MSVSSettings.py | 91 | Returns the MSBuild equivalent of the MSVS value given. Args: value: the MSVS value to convert. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pylib/packaging/metadata.py | 525 | def _process_metadata_version(self, value: str) -> _MetadataVersion: | CODE |
| LOW | gyp/pylib/packaging/metadata.py | 560 | def _process_description_content_type(self, value: str) -> str: | CODE |
| LOW | gyp/pylib/packaging/_parser.py | 88 | def _parse_requirement_details( | CODE |
| LOW | gyp/pylib/packaging/_parser.py | 139 | def _parse_requirement_marker( | CODE |
| LOW | gyp/pylib/packaging/_manylinux.py | 75 | def _glibc_version_string_confstr() -> Optional[str]: | CODE |
| LOW | gyp/pylib/packaging/_manylinux.py | 94 | def _glibc_version_string_ctypes() -> Optional[str]: | CODE |
| LOW | gyp/pylib/packaging/specifiers.py | 448 | def _compare_greater_than_equal(self, prospective: Version, spec: str) -> bool: | STRING |
| LOW | gyp/pylib/gyp/input_test.py | 24 | def test_no_cycle_empty_graph(self): | CODE |
| LOW | gyp/pylib/gyp/input_test.py | 44 | def test_cycle_self_reference(self): | CODE |
| LOW | gyp/pylib/gyp/ninja_syntax.py | 115 | def _count_dollars_before_index(self, s, i): | CODE |
| LOW | gyp/pylib/gyp/generator/analyzer.py | 663 | def _supplied_target_names_no_all(self): | CODE |
| LOW | gyp/pylib/gyp/generator/analyzer.py | 673 | def find_matching_test_target_names(self): | CODE |
| LOW | gyp/pylib/gyp/generator/analyzer.py | 719 | def find_matching_compile_target_names(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pylib/packaging/metadata.py | 570 | # Check if content-type is valid or defaulted to `text/plain` and thus was | COMMENT |
| LOW | gyp/pylib/gyp/MSVSNew.py | 254 | # Open file and print header | COMMENT |
| LOW | gyp/pylib/gyp/generator/ninja.py | 850 | # Check if this file is copied into the current bundle, | COMMENT |
| LOW | gyp/pylib/gyp/generator/msvs.py | 715 | # Add makefile to list of sources. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pylib/packaging/markers.py | 196 | # added here, make sure to mirror/adapt Requirement. | COMMENT |
| LOW | gyp/pylib/gyp/msvs_emulation.py | 44 | # positional arguments. Also make sure to escape the % so that they're | COMMENT |
| MEDIUM | gyp/pylib/gyp/__init__.py | 24 | # List of "official" debug modes, but you can use anything you like. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pylib/packaging/tags.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | gyp/pylib/packaging/version.py | 16 | __all__ = ["VERSION_PATTERN", "parse", "Version", "InvalidVersion"] | CODE |
| LOW | gyp/pylib/packaging/markers.py | 23 | __all__ = [ | CODE |
| LOW | gyp/pylib/gyp/simple_copy.py | 15 | __all__ = ["Error", "deepcopy"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pylib/packaging/metadata.py | 6 | CODE | |
| LOW | gyp/pylib/packaging/_tokenizer.py | 4 | CODE | |
| LOW | gyp/pylib/gyp/__init__.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gyp/pylib/gyp/ninja_syntax.py | 42 | CODE | |
| LOW | gyp/pylib/gyp/generator/msvs.py | 878 | CODE |