Repository Analysis

yandex/perforator

Perforator is a cluster-wide continuous profiling tool designed for large data centers

7.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of yandex/perforator, a C++ project with 3,405 GitHub stars. SynthScan v2.0 examined 7,996,313 lines of code across 24032 source files, recording 47929 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 7.0 places this repository in the Low 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).

7.0
Adjusted Score
7.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.4K
Stars
C++
Language
8.0M
Lines of Code
24.0K
Files
47.9K
Pattern Hits
2026-07-14
Scan Date
0.06
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 25HIGH 1527MEDIUM 1992LOW 44385

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 47929 distinct pattern matches across 25 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.

Over-Commented Block34362 hits · 32190 pts
SeverityFileLineSnippetContext
LOWtools/go_test_miner/main.go81COMMENT
LOWtools/go_test_miner/main.go101 // match := re.FindAllStringSubmatch(name, -1)COMMENT
LOWtools/archiver/main.cpp1#include <library/cpp/archive/yarchive.h>COMMENT
LOW…/enum_parser/enum_serialization_runtime/enum_runtime.h1#pragma onceCOMMENT
LOW…enum_parser/enum_serialization_runtime/ordered_pairs.h81COMMENT
LOWtools/enum_parser/parse_enum/parse_enum.cpp1#include "parse_enum.h"COMMENT
LOWtools/enum_parser/enum_parser/stdlib_deps.h1#pragma onceCOMMENT
LOWtools/enum_parser/enum_parser/main.cpp1#include <library/cpp/json/writer/json_value.h>COMMENT
LOWtools/fix_elf/elf.h81#define ELFMAG3 'F'COMMENT
LOWtools/fix_elf/elf.h101COMMENT
LOWtools/fix_elf/elf.h121#define EI_PAD 9COMMENT
LOWtools/fix_elf/elf.h141#define EM_386 3COMMENT
LOWtools/fix_elf/elf.h161#define EM_ARM 40COMMENT
LOWtools/fix_elf/elf.h181#define EM_ST100 60COMMENT
LOWtools/fix_elf/elf.h201#define EM_HUANY 81COMMENT
LOWtools/fix_elf/elf.h221#define EM_SNP1K 99COMMENT
LOWtools/fix_elf/elf.h241#define EM_CE 119COMMENT
LOWtools/fix_elf/elf.h261#define EM_QDSP6 164COMMENT
LOWtools/fix_elf/elf.h281#define EM_STM8 186COMMENT
LOWtools/fix_elf/elf.h301#define EM_KMX32 211COMMENT
LOWtools/fix_elf/elf.h361#define SHN_LOOS 0xff20COMMENT
LOWtools/fix_elf/elf.h381#define SHT_DYNSYM 11COMMENT
LOWtools/fix_elf/elf.h401#define SHT_HIOS 0x6fffffffCOMMENT
LOWtools/fix_elf/elf.h481#define SYMINFO_FLG_LAZYLOAD 0x0008COMMENT
LOWtools/fix_elf/elf.h501#define STB_HIOS 12COMMENT
LOWtools/fix_elf/elf.h601#define PT_LOOS 0x60000000COMMENT
LOWtools/fix_elf/elf.h621#define PF_MASKPROC 0xf0000000COMMENT
LOWtools/fix_elf/elf.h641#define NT_PRFPXREG 20COMMENT
LOWtools/fix_elf/elf.h661#define NT_386_TLS 0x200COMMENT
LOWtools/fix_elf/elf.h721#define DT_STRSZ 10COMMENT
LOWtools/fix_elf/elf.h741#define DT_FLAGS 30COMMENT
LOWtools/fix_elf/elf.h761#define DT_FEATURE_1 0x6ffffdfcCOMMENT
LOWtools/fix_elf/elf.h781#define DT_SYMINFO 0x6ffffeffCOMMENT
LOWtools/fix_elf/elf.h801#define DT_VERSIONTAGIDX(tag) (DT_VERNEEDNUM - (tag))COMMENT
LOWtools/fix_elf/elf.h821#define DF_1_GLOBAL 0x00000002COMMENT
LOWtools/fix_elf/elf.h841#define DF_1_EDITED 0x00200000COMMENT
LOWtools/fix_elf/elf.h981#define AT_ENTRY 9COMMENT
LOWtools/fix_elf/elf.h1021COMMENT
LOWtools/fix_elf/elf.h1101#define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char) (size))COMMENT
LOWtools/fix_elf/elf.h1121#define R_68K_GOT8O 12COMMENT
LOWtools/fix_elf/elf.h1141#define R_68K_TLS_IE32 34COMMENT
LOWtools/fix_elf/elf.h1161#define R_386_GOTOFF 9COMMENT
LOWtools/fix_elf/elf.h1181#define R_386_TLS_LDM_POP 31COMMENT
LOWtools/fix_elf/elf.h1201COMMENT
LOWtools/fix_elf/elf.h1221#define R_SPARC_DISP8 4COMMENT
LOWtools/fix_elf/elf.h1241COMMENT
LOWtools/fix_elf/elf.h1261#define R_SPARC_WDISP19 41COMMENT
LOWtools/fix_elf/elf.h1281#define R_SPARC_TLS_LDM_LO10 61COMMENT
LOWtools/fix_elf/elf.h1301#define R_SPARC_GOTDATA_LOX10 81COMMENT
LOWtools/fix_elf/elf.h1321#define EF_MIPS_PIC 2COMMENT
LOWtools/fix_elf/elf.h1341#define EF_MIPS_ARCH_64R2 0x80000000COMMENT
LOWtools/fix_elf/elf.h1361COMMENT
LOWtools/fix_elf/elf.h1381#define SHT_MIPS_AUXSYM 0x70000016COMMENT
LOWtools/fix_elf/elf.h1401COMMENT
LOWtools/fix_elf/elf.h1461#define ODK_NULL 0COMMENT
LOWtools/fix_elf/elf.h1481#define OEX_FPU_INVAL 0x10COMMENT
LOWtools/fix_elf/elf.h1501 Elf32_Word hwp_flags1;COMMENT
LOWtools/fix_elf/elf.h1521#define R_MIPS_GOT16 9COMMENT
LOWtools/fix_elf/elf.h1541#define R_MIPS_CALL_LO16 31COMMENT
LOWtools/fix_elf/elf.h1581#define DT_MIPS_TIME_STAMP 0x70000002COMMENT
34302 more matches not shown…
Cross-File Repetition1314 hits · 6570 pts
SeverityFileLineSnippetContext
HIGHlibrary/python/runtime_py3/__res.py0find distributions. return an iterable of all distribution instances capable of loading the metadata for packages matchiSTRING
HIGH…rib/tools/python3/Lib/importlib/_bootstrap_external.py0find distributions. return an iterable of all distribution instances capable of loading the metadata for packages matchiSTRING
HIGH…ntrib/tools/python3/Lib/importlib/metadata/__init__.py0find distributions. return an iterable of all distribution instances capable of loading the metadata for packages matchiSTRING
HIGH…/importlib-metadata/py2/importlib_metadata/__init__.py0find distributions. return an iterable of all distribution instances capable of loading the metadata for packages matchiSTRING
HIGHcontrib/tools/python3/Lib/shutil.py0get the size of the terminal window. for each of the two dimensions, the environment variable, columns and lines respectSTRING
HIGH…python/ipython/py2/IPython/utils/_get_terminal_size.py0get the size of the terminal window. for each of the two dimensions, the environment variable, columns and lines respectSTRING
HIGH…ackports/shutil_get_terminal_size/get_terminal_size.py0get the size of the terminal window. for each of the two dimensions, the environment variable, columns and lines respectSTRING
HIGHcontrib/tools/python3/Lib/shutil.py0given a command, mode, and a path string, return the path which conforms to the given mode on the path, or none if thereSTRING
HIGHcontrib/python/jedi/py3/jedi/_compatibility.py0given a command, mode, and a path string, return the path which conforms to the given mode on the path, or none if thereSTRING
HIGHcontrib/python/ptyprocess/py3/ptyprocess/util.py0given a command, mode, and a path string, return the path which conforms to the given mode on the path, or none if thereSTRING
HIGHcontrib/python/ptyprocess/py2/ptyprocess/util.py0given a command, mode, and a path string, return the path which conforms to the given mode on the path, or none if thereSTRING
HIGHcontrib/python/ipython/py2/IPython/utils/py3compat.py0given a command, mode, and a path string, return the path which conforms to the given mode on the path, or none if thereSTRING
HIGH…hon/ipython-genutils/py2/ipython_genutils/py3compat.py0given a command, mode, and a path string, return the path which conforms to the given mode on the path, or none if thereSTRING
HIGHcontrib/tools/python3/Lib/rlcompleter.py0return the next possible completion for 'text'. this is called successively with state == 0, 1, 2, ... until it returns STRING
HIGHcontrib/python/ipython/py3/IPython/core/completer.py0return the next possible completion for 'text'. this is called successively with state == 0, 1, 2, ... until it returns STRING
HIGHcontrib/python/ipython/py2/IPython/core/completer.py0return the next possible completion for 'text'. this is called successively with state == 0, 1, 2, ... until it returns STRING
HIGHcontrib/tools/python3/Lib/rlcompleter.py0compute matches when text is a simple name. return a list of all keywords, built-in functions and names currently defineSTRING
HIGHcontrib/python/ipython/py3/IPython/core/completer.py0compute matches when text is a simple name. return a list of all keywords, built-in functions and names currently defineSTRING
HIGHcontrib/python/ipython/py2/IPython/core/completer.py0compute matches when text is a simple name. return a list of all keywords, built-in functions and names currently defineSTRING
HIGHcontrib/tools/python3/Lib/rlcompleter.py0compute matches when text contains a dot. assuming the text is of the form name.name....[name], and is evaluatable in seSTRING
HIGHcontrib/python/ipython/py3/IPython/core/completer.py0compute matches when text contains a dot. assuming the text is of the form name.name....[name], and is evaluatable in seSTRING
HIGHcontrib/python/ipython/py2/IPython/core/completer.py0compute matches when text contains a dot. assuming the text is of the form name.name....[name], and is evaluatable in seSTRING
HIGHcontrib/tools/python3/Lib/bdb.py0start debugging from `frame`. if frame is not specified, debugging starts from caller's frame.STRING
HIGHcontrib/python/ipython/py3/IPython/core/debugger.py0start debugging from `frame`. if frame is not specified, debugging starts from caller's frame.STRING
HIGHcontrib/python/ipython/py3/IPython/terminal/debugger.py0start debugging from `frame`. if frame is not specified, debugging starts from caller's frame.STRING
HIGHcontrib/python/ipython/py2/IPython/core/debugger.py0start debugging from `frame`. if frame is not specified, debugging starts from caller's frame.STRING
HIGHcontrib/python/ipython/py2/IPython/terminal/debugger.py0start debugging from `frame`. if frame is not specified, debugging starts from caller's frame.STRING
HIGHcontrib/tools/python3/Lib/inspect.py0represents a parameter in a function signature. has the following public attributes: * name : str the name of the parameSTRING
HIGHcontrib/python/ipython/py2/IPython/utils/_signatures.py0represents a parameter in a function signature. has the following public attributes: * name : str the name of the parameSTRING
HIGHcontrib/python/funcsigs/py2/funcsigs/__init__.py0represents a parameter in a function signature. has the following public attributes: * name : str the name of the parameSTRING
HIGHcontrib/tools/python3/Lib/inspect.py0result of `signature.bind` call. holds the mapping of arguments to the function's parameters. has the following public aSTRING
HIGHcontrib/python/ipython/py2/IPython/utils/_signatures.py0result of `signature.bind` call. holds the mapping of arguments to the function's parameters. has the following public aSTRING
HIGHcontrib/python/funcsigs/py2/funcsigs/__init__.py0result of `signature.bind` call. holds the mapping of arguments to the function's parameters. has the following public aSTRING
HIGHcontrib/tools/python3/Lib/inspect.py0constructs signature from the given list of parameter objects and 'return_annotation'. all arguments are optional.STRING
HIGHcontrib/python/ipython/py2/IPython/utils/_signatures.py0constructs signature from the given list of parameter objects and 'return_annotation'. all arguments are optional.STRING
HIGHcontrib/python/funcsigs/py2/funcsigs/__init__.py0constructs signature from the given list of parameter objects and 'return_annotation'. all arguments are optional.STRING
HIGHcontrib/tools/python3/Lib/inspect.py0creates a customized copy of the signature. pass 'parameters' and/or 'return_annotation' arguments to override them in tSTRING
HIGHcontrib/python/ipython/py2/IPython/utils/_signatures.py0creates a customized copy of the signature. pass 'parameters' and/or 'return_annotation' arguments to override them in tSTRING
HIGHcontrib/python/funcsigs/py2/funcsigs/__init__.py0creates a customized copy of the signature. pass 'parameters' and/or 'return_annotation' arguments to override them in tSTRING
HIGHcontrib/tools/python3/Lib/doctest.py0divide the given string into examples and intervening text, and return them as a list of alternating examples and stringSTRING
HIGH…python/ipython/py3/IPython/testing/plugin/ipdoctest.py0divide the given string into examples and intervening text, and return them as a list of alternating examples and stringSTRING
HIGH…python/ipython/py2/IPython/testing/plugin/ipdoctest.py0divide the given string into examples and intervening text, and return them as a list of alternating examples and stringSTRING
HIGHcontrib/tools/python3/Lib/contextlib.py0raise any exception triggered within the runtime context.STRING
HIGHcontrib/python/contextlib2/py3/contextlib2/__init__.py0raise any exception triggered within the runtime context.STRING
HIGHcontrib/python/contextlib2/py2/contextlib2.py0raise any exception triggered within the runtime context.STRING
HIGHcontrib/tools/python3/Lib/contextlib.py0return a recreated instance of self. allows an otherwise one-shot context manager like _generatorcontextmanager to suppoSTRING
HIGHcontrib/python/contextlib2/py3/contextlib2/__init__.py0return a recreated instance of self. allows an otherwise one-shot context manager like _generatorcontextmanager to suppoSTRING
HIGHcontrib/python/contextlib2/py2/contextlib2.py0return a recreated instance of self. allows an otherwise one-shot context manager like _generatorcontextmanager to suppoSTRING
HIGHcontrib/tools/python3/Lib/contextlib.py0@contextmanager decorator. typical usage: @contextmanager def some_generator(<arguments>): <setup> try: yield <value> fiSTRING
HIGHcontrib/python/contextlib2/py3/contextlib2/__init__.py0@contextmanager decorator. typical usage: @contextmanager def some_generator(<arguments>): <setup> try: yield <value> fiSTRING
HIGHcontrib/python/contextlib2/py2/contextlib2.py0@contextmanager decorator. typical usage: @contextmanager def some_generator(<arguments>): <setup> try: yield <value> fiSTRING
HIGHcontrib/tools/python3/Lib/contextlib.py0context to automatically close something at the end of a block. code like this: with closing(<module>.open(<arguments>))STRING
HIGHcontrib/python/contextlib2/py3/contextlib2/__init__.py0context to automatically close something at the end of a block. code like this: with closing(<module>.open(<arguments>))STRING
HIGHcontrib/python/contextlib2/py2/contextlib2.py0context to automatically close something at the end of a block. code like this: with closing(<module>.open(<arguments>))STRING
HIGHcontrib/tools/python3/Lib/contextlib.py0context manager for temporarily redirecting stdout to another file. # how to send help() to stderr with redirect_stdout(STRING
HIGHcontrib/python/contextlib2/py3/contextlib2/__init__.py0context manager for temporarily redirecting stdout to another file. # how to send help() to stderr with redirect_stdout(STRING
HIGHcontrib/python/contextlib2/py2/contextlib2.py0context manager for temporarily redirecting stdout to another file. # how to send help() to stderr with redirect_stdout(STRING
HIGHcontrib/tools/python3/Lib/contextlib.py0context manager for temporarily redirecting stderr to another file.STRING
HIGHcontrib/python/contextlib2/py3/contextlib2/__init__.py0context manager for temporarily redirecting stderr to another file.STRING
HIGHcontrib/python/contextlib2/py2/contextlib2.py0context manager for temporarily redirecting stderr to another file.STRING
1254 more matches not shown…
Decorative Section Separators1438 hits · 5070 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/tools/python3/Lib/heapq.py398# ==============================================COMMENT
MEDIUMcontrib/tools/python3/Lib/heapq.py428# -----------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/heapq.py448# ----------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/heapq.py455# ----------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/numbers.py50## ----------------COMMENT
MEDIUMcontrib/tools/python3/Lib/random.py203 ## -------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/random.py278 ## --------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/random.py876## ------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/random.py917# ----------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/random.py951## ------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/random.py992## ------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/random.py999# ------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py724# =====================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py726# =====================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1433 # ====================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1435 # ====================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1444 # ==================================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1446 # ==================================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py103# =============================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py105# =============================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py150# ===============COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py152# ===============COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py190 # ===============================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py192 # ===============================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py238 # ========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py240 # ========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py282 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py284 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py776# ==============COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py778# ==============COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1302# ==============COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1304# ==============COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1357# ===========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1359# ===========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1464 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1466 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1854 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1856 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1869 # ==================================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1871 # ==================================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1921 # =====================================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py1923 # =====================================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2484 # ========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2486 # ========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2516 # ========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2518 # ========================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2608 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2610 # =======================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2644 # =====================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2646 # =====================COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2666 # ===============COMMENT
MEDIUMcontrib/tools/python3/Lib/argparse.py2668 # ===============COMMENT
MEDIUMcontrib/tools/python3/Lib/statistics.py1021# ----------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py74#---------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py76#---------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py146#---------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py148#---------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py154#---------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py156#---------------------------------------------------------COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py2#-------------------------------------------------------------------COMMENT
1378 more matches not shown…
Unused Imports3101 hits · 2870 pts
SeverityFileLineSnippetContext
LOWutil/memory/ut_cython/test_memory.py3CODE
LOWutil/memory/ut_cython/test_memory.py3CODE
LOWutil/memory/ut_cython/test_memory.py3CODE
LOWutil/memory/ut_cython/test_memory.py5CODE
LOWutil/digest/ut_cython/test_digest.py3CODE
LOWutil/digest/ut_cython/test_digest.py3CODE
LOWutil/digest/ut_cython/test_digest.py3CODE
LOWutil/digest/ut_cython/test_digest.py5CODE
LOWutil/stream/ut_cython/test_stream.py3CODE
LOWutil/stream/ut_cython/test_stream.py3CODE
LOWutil/stream/ut_cython/test_stream.py3CODE
LOWutil/stream/ut_cython/test_stream.py5CODE
LOWutil/folder/ut_cython/test_folder.py3CODE
LOWutil/folder/ut_cython/test_folder.py3CODE
LOWutil/folder/ut_cython/test_folder.py3CODE
LOWutil/folder/ut_cython/test_folder.py5CODE
LOWutil/system/ut_cython/test_system.py3CODE
LOWutil/system/ut_cython/test_system.py3CODE
LOWutil/system/ut_cython/test_system.py3CODE
LOWutil/system/ut_cython/test_system.py5CODE
LOWutil/generic/ut_cython/test_generic.py3CODE
LOWutil/generic/ut_cython/test_generic.py3CODE
LOWutil/generic/ut_cython/test_generic.py3CODE
LOWutil/generic/ut_cython/test_generic.py5CODE
LOWutil/generic/ut_cython/test_generic.py6CODE
LOWutil/generic/ut_cython/test_generic.py7CODE
LOWutil/generic/ut_cython/test_generic.py8CODE
LOWutil/generic/ut_cython/test_generic.py9CODE
LOWutil/generic/ut_cython/test_generic.py10CODE
LOWutil/generic/ut_cython/test_generic.py11CODE
LOWutil/generic/ut_cython/test_generic.py12CODE
LOWutil/generic/ut_cython/test_generic.py13CODE
LOWutil/string/ut_cython/test_string.py3CODE
LOWutil/string/ut_cython/test_string.py3CODE
LOWutil/string/ut_cython/test_string.py3CODE
LOWutil/string/ut_cython/test_string.py5CODE
LOWutil/string/ut_cython/test_string.py5CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/pytest/rewrite.py1CODE
LOWlibrary/python/pytest/rewrite.py2CODE
LOWlibrary/python/color/__init__.py1CODE
3041 more matches not shown…
Deep Nesting2384 hits · 2110 pts
SeverityFileLineSnippetContext
LOWtools/flake8_linter/__main__.py90CODE
LOWtools/cpp_style_checker/wrapper.py66CODE
LOWlibrary/python/archive/__init__.py63CODE
LOWlibrary/python/archive/__init__.py170CODE
LOWlibrary/python/pytest/yatest_tools.py354CODE
LOWlibrary/python/pytest/main.py12CODE
LOWlibrary/python/pytest/plugins/ya.py473CODE
LOWlibrary/python/pytest/plugins/ya.py608CODE
LOWlibrary/python/pytest/plugins/ya.py108CODE
LOWlibrary/python/pytest/plugins/ya.py609CODE
LOWlibrary/python/pytest/plugins/ya.py703CODE
LOWlibrary/python/pytest/plugins/conftests.py92CODE
LOWlibrary/python/pytest/plugins/fixtures.py11CODE
LOWlibrary/python/pytest/plugins/fixtures.py42CODE
LOWlibrary/python/port_manager/__init__.py104CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py15CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py27CODE
LOW…/python/testing/yatest_common/yatest/common/process.py476CODE
LOW…/python/testing/yatest_common/yatest/common/process.py323CODE
LOW…/python/testing/yatest_common/yatest/common/process.py324CODE
LOWlibrary/python/testing/import_test/import_test.py26CODE
LOWlibrary/python/testing/yatest_lib/ya.py30CODE
LOWlibrary/python/testing/yatest_lib/external.py18CODE
LOWlibrary/python/runtime_py3/__res.py66CODE
LOWlibrary/python/runtime_py3/__res.py446CODE
LOWlibrary/python/runtime_py3/__res.py548CODE
LOWlibrary/python/runtime_py3/__res.py588CODE
LOWlibrary/python/runtime_py3/__res.py629CODE
LOWlibrary/python/fs/__init__.py386CODE
LOWlibrary/python/fs/__init__.py405CODE
LOWlibrary/python/cores/__init__.py24CODE
LOWlibrary/python/cores/__init__.py46CODE
LOWlibrary/python/cores/__init__.py47CODE
LOWlibrary/python/func/__init__.py89CODE
LOWlibrary/python/func/__init__.py93CODE
LOWlibrary/python/func/__init__.py105CODE
LOWcontrib/tools/python3/Lib/shutil.py176CODE
LOWcontrib/tools/python3/Lib/shutil.py230CODE
LOWcontrib/tools/python3/Lib/shutil.py348CODE
LOWcontrib/tools/python3/Lib/shutil.py432CODE
LOWcontrib/tools/python3/Lib/shutil.py484CODE
LOWcontrib/tools/python3/Lib/shutil.py638CODE
LOWcontrib/tools/python3/Lib/shutil.py714CODE
LOWcontrib/tools/python3/Lib/shutil.py814CODE
LOWcontrib/tools/python3/Lib/shutil.py934CODE
LOWcontrib/tools/python3/Lib/shutil.py1004CODE
LOWcontrib/tools/python3/Lib/shutil.py1489CODE
LOWcontrib/tools/python3/Lib/tempfile.py184CODE
LOWcontrib/tools/python3/Lib/tempfile.py447CODE
LOWcontrib/tools/python3/Lib/tempfile.py896CODE
LOWcontrib/tools/python3/Lib/tempfile.py897CODE
LOWcontrib/tools/python3/Lib/queue.py137CODE
LOWcontrib/tools/python3/Lib/queue.py177CODE
LOWcontrib/tools/python3/Lib/queue.py233CODE
LOWcontrib/tools/python3/Lib/_pyio.py74CODE
LOWcontrib/tools/python3/Lib/_pyio.py1164CODE
LOWcontrib/tools/python3/Lib/_pyio.py1250CODE
LOWcontrib/tools/python3/Lib/_pyio.py1488CODE
LOWcontrib/tools/python3/Lib/_pyio.py1812CODE
LOWcontrib/tools/python3/Lib/_pyio.py2338CODE
2324 more matches not shown…
Hyper-Verbose Identifiers2025 hits · 1758 pts
SeverityFileLineSnippetContext
LOWtools/ruff_linter/wrapper.py22def check_extend_option_present(config: Path) -> bool:CODE
LOWlibrary/python/pytest/yatest_tools.py313def _nodeid_to_display_module_name_mapping():CODE
LOWlibrary/python/pytest/plugins/ya.py149 def pytest_ya_summarize_error(self, report):CODE
LOWlibrary/python/pytest/plugins/ya.py154def pytest_ya_summarize_error(report):CODE
LOWlibrary/python/pytest/plugins/ya.py332def _graceful_shutdown_on_log(should_exit):CODE
LOWlibrary/python/pytest/plugins/ya.py473def pytest_collection_modifyitems(items, config):CODE
LOWlibrary/python/pytest/plugins/ya.py608def pytest_runtest_makereport(item, call):CODE
LOWlibrary/python/pytest/plugins/ya.py650def pytest_make_parametrize_id(config, val, argname):CODE
LOWlibrary/python/pytest/plugins/collection.py22def _make_module_with_single_skipped_test(module_name, file_name, exc):CODE
LOWlibrary/python/pytest/plugins/collection.py148def _patch_set_initial_conftests(pluginmanager):CODE
LOWlibrary/python/pytest/plugins/collection.py168def _find_resfs_test_and_doctest_modules():CODE
LOWlibrary/python/pytest/plugins/collection.py202def pytest_load_initial_conftests(early_config):CODE
LOWlibrary/python/pytest/plugins/conftests.py50def _import_conftest_force_initial(pluginmanager, module_name):CODE
LOWlibrary/python/pytest/plugins/conftests.py92def pytest_load_initial_conftests(early_config):CODE
LOWlibrary/python/pytest/plugins/conftests.py133 def _ya_register_non_initial_conftests():CODE
LOWlibrary/python/pytest/plugins/conftests.py144 def _ya_register_non_initial_conftests():CODE
LOW…/python/testing/yatest_common/yatest/common/runtime.py64def _is_relaxed_runtime_allowed():CODE
LOW…/python/testing/yatest_common/yatest/common/process.py870def _try_convert_bytes_to_string(source):CODE
LOWlibrary/python/runtime_py3/__res.py175 def patched_cache_from_source(filename):CODE
LOWlibrary/python/runtime_py3/test/test_resources.py18def test_is_resource_good_path(package, resource):CODE
LOWlibrary/python/runtime_py3/test/test_resources.py40def test_is_resource_subresource_directory(directory):CODE
LOWlibrary/python/runtime_py3/test/test_resources.py52def test_read_binary_good_path(package, resource, expected):CODE
LOWlibrary/python/runtime_py3/test/test_resources.py140def test_files_iterdir_with_sort(package, expected):CODE
LOW…/python/runtime_py3/test/test_arcadia_source_finder.py122 def test_is_package_for_unknown_module(self):STRING
LOW…/python/runtime_py3/test/test_arcadia_source_finder.py162 def test_iter_modules_after_unknown_module_import(self):STRING
LOW…/python/runtime_py3/test/test_arcadia_source_finder.py254 def test_is_package_for_unknown_modules(self, module):STRING
LOW…/python/runtime_py3/test/test_arcadia_source_finder.py300 def test_get_module_path_for_lib(self):STRING
LOW…/python/runtime_py3/test/test_arcadia_source_finder.py303 def test_get_module_for_tests(self):STRING
LOW…/python/runtime_py3/test/test_arcadia_source_finder.py306 def test_is_package_for_tests(self):STRING
LOW…/python/runtime_py3/test/test_arcadia_source_finder.py385 def test_no_crash_on_recursive_iter_modules(self):STRING
LOWlibrary/python/import_tracing/lib/import_tracer.py47 def _get_current_time_from_start(self):CODE
LOW…ry/python/import_tracing/lib/converters/chrometrace.py9 def _yield_in_chrome_trace_format(events, pid):CODE
LOWlibrary/python/windows/__init__.py254 def replace_file_across_devices(src, dst):CODE
LOWlibrary/python/windows/__init__.py349 def default_process_creation_flags():CODE
LOWcontrib/tools/python3/Lib/shutil.py1117def unregister_archive_format(name):CODE
LOWcontrib/tools/python3/Lib/pkgutil.py130def _iter_file_finder_modules(importer, prefix=''):CODE
LOWcontrib/tools/python3/Lib/ipaddress.py184def _count_righthand_zero_bits(number, bits):CODE
LOWcontrib/tools/python3/Lib/ipaddress.py255def _collapse_addresses_internal(addresses):CODE
LOWcontrib/tools/python3/Lib/ipaddress.py475 def _prefix_from_prefix_string(cls, prefixlen_str):CODE
LOWcontrib/tools/python3/Lib/ipaddress.py1158 def _explode_shorthand_ip_string(self):CODE
LOWcontrib/tools/python3/Lib/ipaddress.py1874 def _explode_shorthand_ip_string(self):CODE
LOWcontrib/tools/python3/Lib/ipaddress.py1979 def _explode_shorthand_ip_string(self):CODE
LOWcontrib/tools/python3/Lib/trace.py557 def localtrace_trace_and_count(self, frame, why, arg):CODE
LOWcontrib/tools/python3/Lib/webbrowser.py491def register_standard_browsers():CODE
LOWcontrib/tools/python3/Lib/zipimport.py737def _get_mtime_and_size_of_source(self, path):CODE
LOWcontrib/tools/python3/Lib/hashlib.py82def __get_builtin_constructor(name):STRING
LOWcontrib/tools/python3/Lib/hashlib.py126def __get_openssl_constructor(name):STRING
LOWcontrib/tools/python3/Lib/traceback.py403def _walk_tb_with_full_positions(tb):CODE
LOWcontrib/tools/python3/Lib/traceback.py453 def _extract_from_extended_frame_gen(klass, frame_gen, *, limit=None,CODE
LOWcontrib/tools/python3/Lib/traceback.py786def _byte_offset_to_character_offset(str, offset):CODE
LOWcontrib/tools/python3/Lib/traceback.py804def _extract_caret_anchors_from_line_segment(segment):CODE
LOWcontrib/tools/python3/Lib/traceback.py1496def _compute_suggestion_error(exc_value, tb, wrong_name):CODE
LOWcontrib/tools/python3/Lib/warnings.py673def _warn_unawaited_coroutine(coro):CODE
LOWcontrib/tools/python3/Lib/subprocess.py296def _optim_args_from_interpreter_flags():CODE
LOWcontrib/tools/python3/Lib/subprocess.py306def _args_from_interpreter_flags():CODE
LOWcontrib/tools/python3/Lib/_weakrefset.py184 def symmetric_difference_update(self, other):CODE
LOWcontrib/tools/python3/Lib/socketserver.py742class BaseRequestHandler:CODE
LOWcontrib/tools/python3/Lib/socketserver.py788class StreamRequestHandler(BaseRequestHandler):CODE
LOWcontrib/tools/python3/Lib/socketserver.py852class DatagramRequestHandler(BaseRequestHandler):CODE
LOWcontrib/tools/python3/Lib/random.py245 def _randbelow_with_getrandbits(self, n):CODE
1965 more matches not shown…
Modern Structural Boilerplate1071 hits · 1061 pts
SeverityFileLineSnippetContext
LOWtools/flake8_linter/__main__.py19logger = logging.getLogger(__name__)CODE
LOWtools/black_linter/wrapper.py12logger = logging.getLogger(__name__)CODE
LOWtools/ruff_linter/wrapper.py12logger = logging.getLogger(__name__)CODE
LOWutil/memory/ut_cython/test_memory.py10__all__ = [CODE
LOWutil/digest/ut_cython/test_digest.py10__all__ = [CODE
LOWutil/stream/ut_cython/test_stream.py10__all__ = [CODE
LOWutil/folder/ut_cython/test_folder.py10__all__ = [CODE
LOWutil/system/ut_cython/test_system.py10__all__ = [CODE
LOWutil/generic/ut_cython/test_generic.py18__all__ = [CODE
LOWutil/string/ut_cython/test_string.py10__all__ = [CODE
LOWlibrary/python/strings/strings.py9logger = logging.getLogger(__name__)CODE
LOWlibrary/python/archive/__init__.py17logger = logging.getLogger(__name__)CODE
LOWlibrary/python/port_manager/__init__.py14logger = logging.getLogger(__name__)CODE
LOWlibrary/python/color/__init__.py8__all__ = [CODE
LOWlibrary/python/filelock/__init__.py11logger = logging.getLogger(__name__)CODE
LOWlibrary/python/testing/yatest_common/yatest/__init__.py1__all__ = ["common"]CODE
LOWlibrary/python/testing/yatest_lib/external.py14logger = logging.getLogger(__name__)CODE
LOWlibrary/python/testing/filter/filter.py7logger = logging.getLogger(__name__)CODE
LOWlibrary/python/windows/__init__.py14logger = logging.getLogger(__name__)CODE
LOWlibrary/python/fs/__init__.py17logger = logging.getLogger(__name__)CODE
LOWlibrary/python/cores/__init__.py16logger = logging.getLogger(__name__)CODE
LOWcontrib/tools/python3/Lib/shutil.py57__all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2",CODE
LOWcontrib/tools/python3/Lib/tempfile.py26__all__ = [CODE
LOWcontrib/tools/python3/Lib/queue.py13__all__ = [CODE
LOWcontrib/tools/python3/Lib/pkgutil.py14__all__ = [CODE
LOWcontrib/tools/python3/Lib/lzma.py11__all__ = [CODE
LOWcontrib/tools/python3/Lib/copyreg.py7__all__ = ["pickle", "constructor",CODE
LOWcontrib/tools/python3/Lib/rlcompleter.py41__all__ = ["Completer"]CODE
LOWcontrib/tools/python3/Lib/gzip.py18__all__ = ["BadGzipFile", "GzipFile", "open", "compress", "decompress"]CODE
LOWcontrib/tools/python3/Lib/trace.py50__all__ = ['Trace', 'CoverageResults']CODE
LOWcontrib/tools/python3/Lib/webbrowser.py12__all__ = ["Error", "open", "open_new", "open_new_tab", "get", "register"]CODE
LOWcontrib/tools/python3/Lib/dis.py22__all__ = ["code_info", "dis", "disassemble", "distb", "disco",CODE
LOWcontrib/tools/python3/Lib/bdb.py9__all__ = ["BdbQuit", "Bdb", "Breakpoint"]CODE
LOWcontrib/tools/python3/Lib/zipapp.py9__all__ = ['ZipAppError', 'create_archive', 'get_interpreter']CODE
LOWcontrib/tools/python3/Lib/cmd.py47__all__ = ["Cmd"]CODE
LOWcontrib/tools/python3/Lib/tty.py7__all__ = ["cfmakeraw", "cfmakecbreak", "setraw", "setcbreak"]CODE
LOWcontrib/tools/python3/Lib/tabnanny.py27__all__ = ["check", "NannyNag", "process_tokens"]CODE
LOWcontrib/tools/python3/Lib/cProfile.py7__all__ = ["run", "runctx", "Profile"]CODE
LOWcontrib/tools/python3/Lib/zipimport.py25__all__ = ['ZipImportError', 'zipimporter']CODE
LOWcontrib/tools/python3/Lib/token.py4__all__ = ['tok_name', 'ISTERMINAL', 'ISNONTERMINAL', 'ISEOF',CODE
LOWcontrib/tools/python3/Lib/textwrap.py10__all__ = ['TextWrapper', 'wrap', 'fill', 'dedent', 'indent', 'shorten']CODE
LOWcontrib/tools/python3/Lib/base64.py14__all__ = [CODE
LOWcontrib/tools/python3/Lib/bz2.py7__all__ = ["BZ2File", "BZ2Compressor", "BZ2Decompressor",CODE
LOWcontrib/tools/python3/Lib/_threading_local.py12__all__ = ["local"]CODE
LOWcontrib/tools/python3/Lib/pyclbr.py48__all__ = ["readmodule", "readmodule_ex", "Class", "Function"]CODE
LOWcontrib/tools/python3/Lib/gettext.py60__all__ = ['NullTranslations', 'GNUTranslations', 'Catalog',CODE
LOWcontrib/tools/python3/Lib/wave.py80__all__ = ["open", "Error", "Wave_read", "Wave_write"]CODE
LOWcontrib/tools/python3/Lib/weakref.py30__all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs",CODE
LOWcontrib/tools/python3/Lib/opcode.py8__all__ = ["cmp_op", "stack_effect", "hascompare", "opname", "opmap",CODE
LOWcontrib/tools/python3/Lib/netrc.py7__all__ = ["netrc", "NetrcParseError"]CODE
LOWcontrib/tools/python3/Lib/heapq.py129__all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'merge',STRING
LOWcontrib/tools/python3/Lib/functools.py12__all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',CODE
LOWcontrib/tools/python3/Lib/codeop.py41__all__ = ["compile_command", "Compile", "CommandCompiler"]STRING
LOWcontrib/tools/python3/Lib/fnmatch.py17__all__ = ["filter", "fnmatch", "fnmatchcase", "translate"]CODE
LOWcontrib/tools/python3/Lib/traceback.py13__all__ = ['extract_stack', 'extract_tb', 'format_exception',CODE
LOWcontrib/tools/python3/Lib/warnings.py6__all__ = ["warn", "warn_explicit", "showwarning",CODE
LOWcontrib/tools/python3/Lib/subprocess.py63__all__ = ["Popen", "PIPE", "STDOUT", "call", "check_call", "getstatusoutput",STRING
LOWcontrib/tools/python3/Lib/profile.py33__all__ = ["run", "runctx", "Profile"]CODE
LOWcontrib/tools/python3/Lib/filecmp.py18__all__ = ['clear_cache', 'cmp', 'dircmp', 'cmpfiles', 'DEFAULT_IGNORES']CODE
LOWcontrib/tools/python3/Lib/codecs.py20__all__ = ["register", "lookup", "open", "EncodedFile", "BOM", "BOM_BE",CODE
1011 more matches not shown…
Excessive Try-Catch Wrapping734 hits · 813 pts
SeverityFileLineSnippetContext
LOWtools/black_linter/wrapper.py38 except Exception:CODE
MEDIUMtools/black_linter/wrapper.py35def run_black_safe(black_bin, filename, args):CODE
LOWlibrary/python/archive/__init__.py258 except Exception:CODE
LOWlibrary/python/archive/__init__.py280 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/ya.py884 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/ya.py938 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/ya.py1055 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/collection.py87 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/collection.py118 except Exception:CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py51 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py395 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py434 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py786 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py793 except Exception as e:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py807 except Exception as exc:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py821 except Exception as e:CODE
MEDIUM…/python/testing/yatest_common/yatest/common/process.py782def _nix_get_proc_children(pid):CODE
MEDIUM…/python/testing/yatest_common/yatest/common/process.py790def _get_binname(pid):CODE
MEDIUM…/python/testing/yatest_common/yatest/common/process.py803def try_to_send_signal(pid, sig):CODE
LOWlibrary/python/testing/import_test/import_test.py100 except Exception as e:CODE
LOWlibrary/python/testing/import_test/import_test.py183 except Exception:CODE
LOWlibrary/python/symbols/module/__init__.py45 except Exception:CODE
LOWlibrary/python/fs/__init__.py249 except Exception as e:CODE
MEDIUMlibrary/python/fs/__init__.py42def ensure_dir(path):CODE
LOWcontrib/tools/python3/Lib/shutil.py99 except Exception as err:CODE
LOWcontrib/tools/python3/Lib/shutil.py130 except Exception as err:CODE
LOWcontrib/tools/python3/Lib/pkgutil.py82 except Exception:CODE
LOWcontrib/tools/python3/Lib/rlcompleter.py159 except Exception:CODE
LOWcontrib/tools/python3/Lib/zipimport.py602 except Exception:CODE
LOWcontrib/tools/python3/Lib/zipimport.py650 except Exception:CODE
MEDIUMcontrib/tools/python3/Lib/zipimport.py343def _read_directory(archive):CODE
LOWcontrib/tools/python3/Lib/wave.py405 except Exception:CODE
LOWcontrib/tools/python3/Lib/weakref.py667 except Exception:CODE
LOWcontrib/tools/python3/Lib/traceback.py1063 except Exception as e:CODE
LOWcontrib/tools/python3/Lib/traceback.py1512 except Exception:CODE
LOWcontrib/tools/python3/Lib/traceback.py1520 except Exception:CODE
LOWcontrib/tools/python3/Lib/traceback.py1543 except Exception:CODE
LOWcontrib/tools/python3/Lib/warnings.py43 except Exception:CODE
LOWcontrib/tools/python3/Lib/warnings.py59 except Exception:CODE
LOWcontrib/tools/python3/Lib/warnings.py67 except Exception:CODE
LOWcontrib/tools/python3/Lib/warnings.py84 except Exception:CODE
MEDIUMcontrib/tools/python3/Lib/code.py156 print('Error in sys.excepthook:', file=sys.stderr)CODE
MEDIUMcontrib/tools/python3/Lib/pydoc.py631def repr_instance(self, x, level):CODE
LOWcontrib/tools/python3/Lib/pydoc.py988 except Exception:CODE
LOWcontrib/tools/python3/Lib/pydoc.py1034 except Exception:CODE
LOWcontrib/tools/python3/Lib/pydoc.py1480 except Exception:CODE
LOWcontrib/tools/python3/Lib/pydoc.py2676 except Exception as exc:CODE
LOWcontrib/tools/python3/Lib/pydoc.py2266 except Exception:STRING
LOWcontrib/tools/python3/Lib/pydoc.py2430 except Exception as err:STRING
LOWcontrib/tools/python3/Lib/socketserver.py319 except Exception:CODE
LOWcontrib/tools/python3/Lib/socketserver.py632 except Exception:CODE
LOWcontrib/tools/python3/Lib/socketserver.py698 except Exception:CODE
MEDIUMcontrib/tools/python3/Lib/pdb.py189 print(f'Error: {target} does not exist')CODE
MEDIUMcontrib/tools/python3/Lib/pdb.py192 print(f'Error: {target} is a directory')CODE
MEDIUMcontrib/tools/python3/Lib/pdb.py1807def _getval(self, arg):CODE
LOWcontrib/tools/python3/Lib/pdb.py240 except Exception:CODE
LOWcontrib/tools/python3/Lib/pdb.py278 except Exception:CODE
LOWcontrib/tools/python3/Lib/pdb.py541 except Exception:CODE
LOWcontrib/tools/python3/Lib/pdb.py726 except Exception:CODE
LOWcontrib/tools/python3/Lib/pdb.py734 except Exception:CODE
674 more matches not shown…
Cross-Language Confusion160 hits · 805 pts
SeverityFileLineSnippetContext
HIGHcontrib/tools/python3/Lib/code.py272 more = self.push(line)CODE
HIGHcontrib/tools/python3/Lib/numbers.py53## binary floats (i.e. Decimal('3.14') + 2.71828 is undefined). But,COMMENT
HIGHcontrib/tools/python3/Lib/turtle.py1983 self.undobuffer.push(["seq"])CODE
HIGHcontrib/tools/python3/Lib/turtle.py2440 self.undobuffer.push(("pen", _p_buf))CODE
HIGHcontrib/tools/python3/Lib/turtle.py3140 self.undobuffer.push(("stamp", stitem))CODE
HIGHcontrib/tools/python3/Lib/turtle.py3226 self.undobuffer.push(undo_entry)CODE
HIGHcontrib/tools/python3/Lib/turtle.py3330 self.undobuffer.push(("rot", angle, self._degreesPerAU))CODE
HIGHcontrib/tools/python3/Lib/turtle.py3391 self.undobuffer.push(("beginfill", self._fillitem))CODE
HIGHcontrib/tools/python3/Lib/turtle.py3411 self.undobuffer.push(("dofill", self._fillitem))CODE
HIGHcontrib/tools/python3/Lib/turtle.py3444 self.undobuffer.push(["seq"])CODE
HIGHcontrib/tools/python3/Lib/turtle.py3466 self.undobuffer.push(("wri", item))CODE
HIGHcontrib/tools/python3/Lib/turtle.py3489 self.undobuffer.push(["seq"])CODE
HIGHcontrib/tools/python3/Lib/locale.py1947 print('Language: ', lang or '(undefined)')CODE
HIGHcontrib/tools/python3/Lib/locale.py1948 print('Encoding: ', enc or '(undefined)')CODE
HIGHcontrib/tools/python3/Lib/locale.py1956 print(' Language: ', lang or '(undefined)')CODE
HIGHcontrib/tools/python3/Lib/locale.py1957 print(' Encoding: ', enc or '(undefined)')CODE
HIGHcontrib/tools/python3/Lib/locale.py1973 print(' Language: ', lang or '(undefined)')CODE
HIGHcontrib/tools/python3/Lib/locale.py1974 print(' Encoding: ', enc or '(undefined)')CODE
HIGHcontrib/tools/python3/Lib/xml/dom/pulldom.py106 self.push(node)CODE
HIGHcontrib/tools/python3/Lib/xml/dom/pulldom.py125 self.push(node)CODE
HIGHcontrib/tools/python3/Lib/xml/dom/pulldom.py171 self.push(node)CODE
HIGHcontrib/tools/python3/Lib/json/__init__.py13 '["foo", {"bar": ["baz", null, 1.0, 2]}]'CODE
HIGHcontrib/tools/python3/Lib/json/__init__.py48 >>> json.loads('["foo", {"bar":["baz", null, 1.0, 2]}]') == objCODE
HIGHcontrib/tools/python3/Lib/http/client.py10 (null)CODE
HIGHcontrib/tools/python3/Lib/_pyrepl/unix_console.py414 self.event_queue.push(char)CODE
HIGHcontrib/tools/python3/Lib/_pyrepl/base_eventqueue.py101 self.push(_c)CODE
HIGHcontrib/tools/python3/Lib/_pyrepl/windows_console.py469 self.event_queue.push(char)CODE
HIGHcontrib/tools/python3/Lib/_pyrepl/reader.py715 self.input_trans.push(event)CODE
HIGHcontrib/tools/python3/Lib/_pyrepl/simple_interact.py154 more = console.push(_strip_final_indent(statement), filename=input_name, _symbol="single") # type: ignore[cCODE
HIGH…ntrib/tools/python3/Lib/importlib/resources/_common.py34 def wrapper(anchor=undefined, package=undefined):CODE
HIGHcontrib/tools/python3/Lib/pydoc_data/topics.py7491 Called to implement membership test operators. Should return trueCODE
HIGHcontrib/tools/python3/Lib/pydoc_data/topics.py8856 Called to implement membership test operators. Should return trueCODE
HIGHcontrib/tools/python3/Lib/collections/__init__.py1054 def new_child(self, m=None, **kwargs): # like Django's Context.push()CODE
HIGHcontrib/tools/python3/Lib/email/header.py436 self._current_line.push(*end_of_line)STRING
HIGHcontrib/tools/python3/Lib/email/header.py445 self._current_line.push(' ', '')STRING
HIGHcontrib/tools/python3/Lib/email/header.py479 self._current_line.push(self._continuation_ws, last_line)STRING
HIGHcontrib/tools/python3/Lib/email/header.py513 self._current_line.push(fws, string)STRING
HIGHcontrib/tools/python3/Lib/email/header.py538 self._current_line.push(fws, part)STRING
HIGHcontrib/tools/python3/Lib/email/_header_value_parser.py1885 remaining valid mailboxes. We also allow all mailbox entries to be null,STRING
HIGHcontrib/tools/python3/Lib/email/feedparser.py175 self._input.push(data)CODE
HIGHcontrib/tools/cython/Cython/Build/IpythonMagic.py111 self.shell.push({k: mdict[k]})CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2363 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2388 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2418 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2544 "if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/TypeSlots.py1087 EmptySlot("tp_vectorcall", ifdef="!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800"),CODE
HIGHcontrib/tools/cython/Cython/Compiler/TypeSlots.py1092 EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEXCODE
HIGHcontrib/tools/cython/Cython/Compiler/ExprNodes.py7159 f"{Naming.quick_temp_cname} == NULL && PyErr_Occurred()",CODE
HIGHcontrib/tools/cython/Cython/Compiler/ExprNodes.py11059 " exc_type != PyExc_StopIteration && exc_type != PyExc_GeneratorExit &&"CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4379 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4394 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4545 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4551 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py5832 code.putln("/* PY_VERSION_HEX >= 0x03090000 || Py_LIMITED_API >= 0x030B0000 */")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py5891 code.putln("if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) &&"CODE
HIGHcontrib/python/Pygments/py3/pygments/lexers/c_like.py242 (r'(true|false|null)\b', Name.Builtin),CODE
HIGHcontrib/python/Pygments/py3/pygments/lexers/ada.py49 (r'(true|false|null)\b', Keyword.Constant),CODE
HIGHcontrib/python/Pygments/py3/pygments/lexers/qvt.py63 (r'(true|false|unlimited|null)\b', Keyword.Constant),CODE
HIGHcontrib/python/Pygments/py3/pygments/lexers/nix.py59 (r'\b(true|false|null)\b', Name.Constant),CODE
HIGHcontrib/python/Pygments/py3/pygments/lexers/parasail.py40 r'(is|not)\s+null)\b',CODE
100 more matches not shown…
Self-Referential Comments225 hits · 576 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/tools/python3/Lib/_pyio.py280# Define a default pure-Python implementation for open_code()STRING
MEDIUMcontrib/tools/python3/Lib/ipaddress.py1499 """This class represents and manipulates 32-bit IPv4 network + addresses..STRING
MEDIUMcontrib/tools/python3/Lib/ipaddress.py2302 """This class represents and manipulates 128-bit IPv6 networks.STRING
MEDIUMcontrib/tools/python3/Lib/webbrowser.py665 # Create an NSURL object representing the URLSTRING
MEDIUMcontrib/tools/python3/Lib/_compat_pickle.py1# This module is used to map the old Python 2 names to the new names used inCOMMENT
MEDIUMcontrib/tools/python3/Lib/bdb.py661 # The following methods can be called by clients to useCOMMENT
MEDIUMcontrib/tools/python3/Lib/bdb.py712 # This method is more useful to debug a single function call.COMMENT
MEDIUMcontrib/tools/python3/Lib/zipapp.py134 # Create the list of files to add to the archive now, in caseCOMMENT
MEDIUMcontrib/tools/python3/Lib/cProfile.py109 # This method is more useful to profile a single function call.COMMENT
MEDIUMcontrib/tools/python3/Lib/base64.py442# The following code is originally taken (with permission) from MercurialSTRING
MEDIUMcontrib/tools/python3/Lib/gettext.py13# This module represents the integration of work, contributions, feedback, andCOMMENT
MEDIUMcontrib/tools/python3/Lib/modulefinder.py649 # Create the module finder and turn its crankCOMMENT
MEDIUMcontrib/tools/python3/Lib/subprocess.py1999 # This method is called (indirectly) by __del__, so it cannotCOMMENT
MEDIUMcontrib/tools/python3/Lib/subprocess.py2207 # This method is called from the _communicate_with_*() methodsCOMMENT
MEDIUMcontrib/tools/python3/Lib/profile.py430 # This method is more useful to profile a single function call.COMMENT
MEDIUMcontrib/tools/python3/Lib/code.py163 # This method is being overwritten inCOMMENT
MEDIUMcontrib/tools/python3/Lib/pydoc.py797 # Create a link for methods like 'self.method(...)'COMMENT
MEDIUMcontrib/tools/python3/Lib/types.py306 # The following code is primarily to support functions thatCOMMENT
MEDIUMcontrib/tools/python3/Lib/pdb.py444 """This method is called when there is the remote possibilitySTRING
MEDIUMcontrib/tools/python3/Lib/pdb.py453 """This function is called when we stop or break at this line."""STRING
MEDIUMcontrib/tools/python3/Lib/pdb.py495 """This function is called when a return trap is set here."""STRING
MEDIUMcontrib/tools/python3/Lib/pdb.py504 """This function is called if an exception occurs,STRING
MEDIUMcontrib/tools/python3/Lib/threading.py142 """This class implements reentrant lock objects.STRING
MEDIUMcontrib/tools/python3/Lib/threading.py320 # This method is called only if _lock doesn't have _is_owned().COMMENT
MEDIUMcontrib/tools/python3/Lib/threading.py450 """This class implements semaphore objects.STRING
MEDIUMcontrib/tools/python3/Lib/threading.py1269 # Create a local namespace to ensure that variables remain aliveCOMMENT
MEDIUMcontrib/tools/python3/Lib/threading.py1513# Create the main thread object,COMMENT
MEDIUMcontrib/tools/python3/Lib/platform.py11# This module is maintained by Marc-Andre Lemburg <mal@egenix.com>.COMMENT
MEDIUMcontrib/tools/python3/Lib/pstats.py75 """This class is used for creating reports from data generated by theSTRING
MEDIUMcontrib/tools/python3/Lib/pstats.py322 # The following functions support actual printing of reportsCOMMENT
MEDIUMcontrib/tools/python3/Lib/pstats.py521 """This class provides a generic function for comparing any two tuples.STRING
MEDIUMcontrib/tools/python3/Lib/pstats.py564# The following functions combine statistics for pairs functions.COMMENT
MEDIUMcontrib/tools/python3/Lib/pstats.py601# The following functions support printing of reportsCOMMENT
MEDIUMcontrib/tools/python3/Lib/inspect.py31# This module is in the public domain. No warranties.COMMENT
MEDIUMcontrib/tools/python3/Lib/_opcode_metadata.py1# This file is generated by Tools/cases_generator/py_metadata_generator.pyCOMMENT
MEDIUMcontrib/tools/python3/Lib/fractions.py180 """This class implements rational numbers.STRING
MEDIUMcontrib/tools/python3/Lib/mailbox.py615 # This method is for backward compatibility only.COMMENT
MEDIUMcontrib/tools/python3/Lib/ast.py526 # The following code is for backward compatibility.COMMENT
MEDIUMcontrib/tools/python3/Lib/ast.py674 # The following code is for backward compatibility.COMMENT
MEDIUMcontrib/tools/python3/Lib/doctest.py152 # Create a new flag unless `name` is already known.STRING
MEDIUMcontrib/tools/python3/Lib/doctest.py680 # Create an Example, and add it to the list.STRING
MEDIUMcontrib/tools/python3/Lib/doctest.py1280 # Create a fake output target for capturing doctest output.STRING
MEDIUMcontrib/tools/python3/Lib/_pylong.py111 # This function implements a divide-and-conquer algorithm that isCOMMENT
MEDIUMcontrib/tools/python3/Lib/_pylong.py195 # This function implements a divide-and-conquer algorithm making useCOMMENT
MEDIUMcontrib/tools/python3/Lib/dataclasses.py380# This function is used instead of exposing Field creation directly,COMMENT
MEDIUMcontrib/tools/python3/Lib/dataclasses.py1132 # Create a comparison function. If the fields in the object areCOMMENT
MEDIUMcontrib/tools/python3/Lib/dataclasses.py1160 # Create a class doc-string.COMMENT
MEDIUMcontrib/tools/python3/Lib/dataclasses.py1259 # Create a new dict for our new class.COMMENT
MEDIUMcontrib/tools/python3/Lib/dataclasses.py1673 # Create the new object, which calls __init__() andCOMMENT
MEDIUMcontrib/tools/python3/Lib/graphlib.py77 # Create the node -> predecessor edgesCOMMENT
MEDIUMcontrib/tools/python3/Lib/graphlib.py81 # Create the predecessor -> node edgesCOMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py1127 # Create a pax extended header if necessary.COMMENT
MEDIUMcontrib/tools/python3/Lib/tarfile.py2276 # Create a TarInfo object from the file.COMMENT
MEDIUMcontrib/tools/python3/Lib/stringprep.py1# This file is generated by mkstringprep.py. DO NOT EDIT.COMMENT
MEDIUMcontrib/tools/python3/Lib/ssl.py4"""This module provides some more Pythonic support for SSL.STRING
MEDIUMcontrib/tools/python3/Lib/ssl.py811 """This class implements an interface on top of a low-level SSL object asSTRING
MEDIUMcontrib/tools/python3/Lib/ssl.py997 """This class implements a subtype of socket.socket that wrapsSTRING
MEDIUMcontrib/tools/python3/Lib/uuid.py512# The following functions call external programs to 'get' a macaddr value toSTRING
MEDIUMcontrib/tools/python3/Lib/encodings/idna.py1# This module implements the RFCs 3490 (IDNA) and 3491 (Nameprep)COMMENT
MEDIUMcontrib/tools/python3/Lib/ctypes/__init__.py437 """This class represents the Python library itself. It allowsSTRING
165 more matches not shown…
AI Slop Vocabulary251 hits · 572 pts
SeverityFileLineSnippetContext
MEDIUMutil/datetime/systime.cpp183//! Subject: A more robust timegm - msg#00010COMMENT
MEDIUMutil/charset/wide.h340//! @return len if robust and position where encoding stopped if notCOMMENT
MEDIUMutil/charset/wide.h398//! if not robust will stop at first error positionCOMMENT
MEDIUMlibrary/cpp/json/writer/json_value.h185 /// Non-robust comparison.COMMENT
MEDIUMlibrary/cpp/json/ordered_maps/json_value_ordered.h191 /// Non-robust comparison.COMMENT
MEDIUMcontrib/tools/python3/Include/internal/pycore_object.h693 // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():COMMENT
MEDIUM…ython3/Objects/mimalloc/prim/osx/alloc-override-zone.c400// it seems less robust than using interpose.COMMENT
LOWcontrib/tools/python3/Lib/shutil.py1557 # what file suffixes are executable, so just pass on cmd as-is.COMMENT
MEDIUMcontrib/tools/python3/Lib/trace.py27# Bioreason or Mojam Media be used in advertising or publicity pertaining toCOMMENT
LOWcontrib/tools/python3/Lib/difflib.py1406 # Handle case where no user markup is to be added, just return line ofSTRING
LOWcontrib/tools/python3/Lib/difflib.py1764 # if blank line or context separator, just add it to the output listCOMMENT
LOWcontrib/tools/python3/Lib/difflib.py1769 # if line text doesn't need wrapping, just add it to the output listCOMMENT
LOWcontrib/tools/python3/Lib/ftplib.py405 # then we'll just use anonymous@COMMENT
LOWcontrib/tools/python3/Lib/optparse.py575 # Check all the attributes we just set. There are lots ofCOMMENT
LOWcontrib/tools/python3/Lib/threading.py289 # these override the default implementations (which just callCOMMENT
MEDIUMcontrib/tools/python3/Lib/turtle.py697 """Set focus on canvas (in order to collect key-events)STRING
MEDIUMcontrib/tools/python3/Lib/turtle.py1436 """Set focus on TurtleScreen (in order to collect key-events)STRING
MEDIUMcontrib/tools/python3/Lib/doctest.py1751 # in conjunction with the ELLIPSIS flag.STRING
LOWcontrib/tools/python3/Lib/argparse.py2288 # for regular arguments, just add them back into the listCOMMENT
LOWcontrib/tools/python3/Lib/dataclasses.py521 # via object.__setattr__. Otherwise, just use a simpleCOMMENT
LOWcontrib/tools/python3/Lib/dataclasses.py577 # just use the class attribute that contains the default.COMMENT
LOWcontrib/tools/python3/Lib/tarfile.py1540 # Normally, we could just use "utf-8" as the encoding and "strict"COMMENT
LOWcontrib/tools/python3/Lib/_pydecimal.py3274 # otherwise, simply return the adjusted exponent of self, as aCOMMENT
LOWcontrib/tools/python3/Lib/ntpath.py593 # just return the old path.COMMENT
LOWcontrib/tools/python3/Lib/zipfile/__init__.py259 # end-of-archive record, so just return the end record we were given.COMMENT
MEDIUMcontrib/tools/python3/Lib/xml/dom/minicompat.py18# defproperty -- function used in conjunction with GetattrMagic;COMMENT
MEDIUMcontrib/tools/python3/Lib/xml/etree/ElementPath.py37# pertaining to distribution of the software without specific, writtenCOMMENT
MEDIUMcontrib/tools/python3/Lib/xml/etree/__init__.py19# pertaining to distribution of the software without specific, writtenCOMMENT
MEDIUMcontrib/tools/python3/Lib/xml/etree/ElementInclude.py31# pertaining to distribution of the software without specific, writtenCOMMENT
MEDIUMcontrib/tools/python3/Lib/xml/etree/ElementTree.py60# pertaining to distribution of the software without specific, writtenCOMMENT
MEDIUMcontrib/tools/python3/Lib/http/cookies.py12# pertaining to distribution of the software without specific, writtenCOMMENT
MEDIUMcontrib/tools/python3/Lib/http/server.py641 # Essentially static class variablesCOMMENT
MEDIUMcontrib/tools/python3/Lib/_pyrepl/reader.py273 # facilitate the tab completion hack implemented forCOMMENT
MEDIUMcontrib/tools/python3/Lib/xmlrpc/client.py76# pertaining to distribution of the software without specific, writtenCOMMENT
LOWcontrib/tools/python3/Lib/asyncio/streams.py720 # bytes. So just call self.read(self._limit) until EOF.STRING
LOWcontrib/tools/python3/Lib/asyncio/base_events.py2038 # All other places just add them to ready.COMMENT
MEDIUMcontrib/tools/python3/Lib/logging/config.py8# not be used in advertising or publicity pertaining to distributionCOMMENT
LOWcontrib/tools/python3/Lib/logging/config.py516 # Ideally, we would have wanted to simply use strict type checkingCOMMENT
MEDIUMcontrib/tools/python3/Lib/logging/handlers.py8# not be used in advertising or publicity pertaining to distributionCOMMENT
MEDIUMcontrib/tools/python3/Lib/logging/__init__.py8# not be used in advertising or publicity pertaining to distributionCOMMENT
MEDIUMcontrib/tools/python3/Lib/logging/__init__.py190# _srcfile is only used in conjunction with sys._getframe().COMMENT
LOWcontrib/tools/python3/Lib/email/header.py79 # If it is a Header object, we can just return the encoded chunks.STRING
LOWcontrib/tools/python3/Lib/email/header.py83 # If no encoding, just return the header with no charset.STRING
LOWcontrib/tools/python3/Lib/email/header.py177 # None means us-ascii but we can simply pass it on to h.append()STRING
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py2343 # the type definition, so we just return the right entry.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Naming.py6# Collected here to facilitate ensuring uniqueness.COMMENT
LOWcontrib/tools/cython/Cython/Compiler/Dataclass.py695 # __annotations__ dict, therefore it's safe to just returnSTRING
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py6798 # Essentially, if the signature matches PyObject_VectorcallMethodCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py7753 # Essentially it does:COMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7684 # simple case, just add all entriesCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/Scanning.py692 # so just use __slots__ to keep it compact.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/PyrexTypes.py55 # This is not entirely robust.COMMENT
MEDIUM…ython/Cython/Compiler/Tests/TestParseTreeTransforms.py202# TODO: Re-enable once they're more robust.STRING
MEDIUMcontrib/tools/cython/Cython/Utility/Exceptions.c886 // DW - this is a horrendous hack, but I'm quite proud of it. EssentiallyCOMMENT
MEDIUM…trib/tools/cython_py2/Cython/Utility/ModuleSetupCode.c788 // (it'd be nice if there was a more robust way of looking these up)COMMENT
MEDIUMcontrib/tools/cython_py2/Cython/Utility/Exceptions.c980 // DW - this is a horrendous hack, but I'm quite proud of it. EssentiallyCOMMENT
MEDIUMcontrib/go/_std_1.26/src/go/token/position.go557 // The iterator is robust to modification by yield.COMMENT
MEDIUMcontrib/go/_std_1.26/src/go/types/context.go34// Nevertheless, in the future it could be helpful to allow users to leverageCOMMENT
MEDIUMcontrib/go/_std_1.26/src/go/parser/parser.go749 // it here for more robust parsing and better error messagesCOMMENT
MEDIUMcontrib/go/_std_1.26/src/runtime/proc.go37// We need to balance between keeping enough running worker threads to utilizeCOMMENT
191 more matches not shown…
Hallucination Indicators25 hits · 290 pts
SeverityFileLineSnippetContext
CRITICALcontrib/tools/python3/Lib/xml/dom/expatbuilder.py316 self.document.doctype.entities._seq.append(node)CODE
CRITICALcontrib/tools/python3/Lib/xml/dom/expatbuilder.py322 self.document.doctype.notations._seq.append(node)CODE
CRITICAL…ib/tools/cython/Cython/Compiler/ParseTreeTransforms.py1813 name_node.entry = self.gen_node.def_node.gbody.local_scope.lookup(name_node.name)STRING
CRITICALcontrib/python/Pygments/py3/pygments/sphinxext.py87 self.state.document.settings.record_dependencies.add(fn)STRING
CRITICALcontrib/python/Pygments/py2/pygments/sphinxext.py86 self.state.document.settings.record_dependencies.add(fn)STRING
CRITICALcontrib/libs/llvm18/lib/Target/X86/X86LowerAMXType.cpp157 // %117 = call x86_amx @llvm.x86.cast.vector.to.tile.v256i32(<256 xCOMMENT
CRITICALcontrib/libs/llvm18/lib/Target/X86/X86LowerAMXType.cpp918// %43 = call <256 x i32> @llvm.x86.cast.tile.to.vector.v256i32(x86_amx %42)COMMENT
CRITICALcontrib/libs/llvm18/lib/Target/X86/X86LowerAMXType.cpp945// %66 = call x86_amx @llvm.x86.cast.vector.to.tile(<256 x i32> %65)COMMENT
CRITICALcontrib/libs/llvm18/lib/Target/X86/X86LowerAMXType.cpp995 // %43 = call <256 x i32> @llvm.x86.cast.tile.to.vector(x86_amx %42)COMMENT
CRITICALcontrib/libs/llvm18/lib/Target/X86/X86LowerAMXType.cpp1019 // %66 = call x86_amx @llvm.x86.cast.vector.to.tile(<256 x i32> %65)COMMENT
CRITICAL…ib/libs/llvm18/lib/Target/AArch64/SVEIntrinsicOpts.cpp88/// %2 = <vscale x 16 x i1> call @llvm.aarch64.sve.convert.to.svbool.nxv4i1(<vscale x 4 x i1> %1)COMMENT
CRITICAL…ib/libs/llvm18/lib/Target/AArch64/SVEIntrinsicOpts.cpp89/// %3 = <vscale x 8 x i1> call @llvm.aarch64.sve.convert.from.svbool.nxv8i1(<vscale x 16 x i1> %2)COMMENT
CRITICAL…libs/llvm18/lib/Transforms/ObjCARC/ObjCARCContract.cpp517 // Remove calls to @llvm.objc.clang.arc.noop.use(...).COMMENT
CRITICALcontrib/libs/llvm18/lib/Transforms/IPO/OpenMPOpt.cpp2949 // Match: 0 == llvm.nvvm.read.ptx.sreg.tid.x()COMMENT
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h996 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h1356 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h1383 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h1777 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h1805 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h1832 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h2260 prior.prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h2290 prior.prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h2318 auto result = prior.prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…trib/libs/grpc/src/core/lib/promise/detail/seq_state.h2345 auto result = prior.prior.prior.prior.prior.current_promise();CODE
CRITICAL…forator/internal/symbolizer/proxy/server/microscope.go107 s.c.MicroscopeConfig.Throttle.LimitWindow.String(),CODE
Structural Annotation Overuse150 hits · 255 pts
SeverityFileLineSnippetContext
LOWutil/system/execpath.h5// NOTE: This function has rare sporadic failures (throws exceptions) on FreeBSD. See REVIEW:54297COMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py82 # Step 2: nameprepCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py85 # Step 3: UseSTD3ASCIIRules is falseCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py86 # Step 4: try ASCIICOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py100 # Step 5: Check ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py105 # Step 6: Encode with PUNYCODECOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py108 # Step 7: Prepend ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py111 # Step 8: Check sizeCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py141 # Step 2: Perform nameprepCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py149 # Step 3: Check for ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py154 # Step 4: Remove ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py157 # Step 5: Decode using PUNYCODECOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py164 # Step 6: Apply ToASCIICOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py167 # Step 7: Compare the result of step 6 with the one of step 3COMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py173 # Step 8: return the result of step 5COMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py68 # Step 1: try ASCIICOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py130 # Step 1: Check for ASCIICOMMENT
LOWcontrib/tools/python3/Lib/email/header.py399 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
LOWcontrib/tools/cython/Cython/Utility/TypeConversion.c466 // NOTE: This function decrefs 'number' if a conversion happens to replace the original object.COMMENT
LOWcontrib/tools/cython/Cython/Utility/TypeConversion.c515 // NOTE: This function decrefs 'number' if a conversion happens to replace the original object.COMMENT
LOWcontrib/go/_std_1.26/src/reflect/value.go686// NOTE: This function must be marked as a "wrapper" in the generated code,COMMENT
LOWcontrib/go/_std_1.26/src/reflect/value.go943// NOTE: This function must be marked as a "wrapper" in the generated code,COMMENT
LOWcontrib/go/_std_1.26/src/testing/cover.go34// NOTE: This function is internal to the testing infrastructure and may change.COMMENT
LOWcontrib/restricted/abseil-cpp/absl/status/status.h523 // NOTE: This function should only be called when converting to an associatedCOMMENT
LOWcontrib/restricted/abseil-cpp/absl/status/status.h614 // NOTE: This function does nothing if the Status is ok.COMMENT
LOW…rib/restricted/abseil-cpp/absl/status/status_builder.h597 // NOTE: This function is `static` to prevent escaping the `this` pointer. WeCOMMENT
LOW…tricted/google/benchmark/include/benchmark/benchmark.h1248 // NOTE: This function should only be used when *exact* iteration control isCOMMENT
LOW…b/restricted/abseil-cpp-tstring/y_absl/status/status.h497 // NOTE: This function should only be called when converting to an associatedCOMMENT
LOW…b/restricted/abseil-cpp-tstring/y_absl/status/status.h588 // NOTE: This function does nothing if the Status is ok.COMMENT
LOW…ipython/py3/IPython/utils/_process_win32_controller.py445 # WARNING: This is experimental, and produces inconsistent results.COMMENT
LOW…ipython/py2/IPython/utils/_process_win32_controller.py449 # WARNING: This is experimental, and produces inconsistent results.COMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp42 // Step 1: Randomize the order of the optimizer passes.COMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp47 // Step 2: Run optimizer passes on the program and check for success.COMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp64 // Step 3: Compile the optimized code.COMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp75 // Step 4: Run the program and compare its output to the referenceCOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h618 // Step 1: Word[0] >>= 4 ; 0x0ABBCCDDCOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h619 // Step 2: Word[0] |= 0x10000000 ; 0x1ABBCCDDCOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h620 // Step 3: Word[1] >>= 4 ; 0x0EEFF001COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h621 // Step 4: Word[1] |= 0x50000000 ; 0x5EEFF001COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h622 // Step 5: Word[2] >>= 4 ; 0x02334455COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h668 // Step 1: Word[2] <<= 4 ; 0x23344550COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h669 // Step 2: Word[2] |= 0x0000000E ; 0x2334455ECOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h670 // Step 3: Word[1] <<= 4 ; 0xEFF00110COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h671 // Step 4: Word[1] |= 0x0000000A ; 0xEFF0011ACOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h672 // Step 5: Word[0] <<= 4 ; 0xABBCCDD0COMMENT
LOW…/llvm/Transforms/Vectorize/LoopVectorizationLegality.h352 /// NOTE: This method must only be used before modifying the original scalarCOMMENT
LOW…ntrib/libs/llvm18/utils/TableGen/GlobalISel/Patterns.h460 /// Step 1: Check each pattern one by one. All patterns that pass through hereCOMMENT
LOW…ntrib/libs/llvm18/utils/TableGen/GlobalISel/Patterns.h465 /// Step 2: Propagate all types. e.g. if one use of "$a" has type i32, makeCOMMENT
LOW…ntrib/libs/llvm18/lib/Target/PowerPC/PPCAsmPrinter.cpp933 // Step 1: lwz %rt, .L$poff - .L$pb(%ri)COMMENT
LOW…ntrib/libs/llvm18/lib/Target/X86/X86CmovConversion.cpp422 // Step 1: Calculate instruction depth and loop depth.COMMENT
LOW…ntrib/libs/llvm18/lib/Target/X86/X86CmovConversion.cpp495 // Step 2: Check if Loop worth to be optimized.COMMENT
LOW…ntrib/libs/llvm18/lib/Target/X86/X86CmovConversion.cpp538 // Step 3: Check for each CMOV-group-candidate if it worth to be optimized.COMMENT
LOW…m18/lib/Target/AArch64/AArch64SpeculationHardening.cpp668 // Step 1: Enable automatic insertion of SpeculationSafeValue.COMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/StackColoring.cpp635 // Step 1: collect markers and populate the "InterestingSlots"COMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/StackColoring.cpp719 // Step 2: compute begin/end sets for each blockCOMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/LiveIntervalCalc.cpp49 // Step 1: Create minimal live segments for every definition of Reg.COMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/LiveIntervalCalc.cpp90 // Step 2: Extend live segments to all uses, constructing SSA form asCOMMENT
LOW…lvm18/lib/Transforms/InstCombine/InstCombineAddSub.cpp445 // Step 1: Expand the 1st addend into Opnd0_0 and Opnd0_1.COMMENT
LOW…lvm18/lib/Transforms/InstCombine/InstCombineAddSub.cpp452 // Step 2: Expand the 2nd addend into Opnd1_0 and Opnd1_1.COMMENT
LOW…lvm18/lib/Transforms/InstCombine/InstCombineAddSub.cpp456 // Step 3: Try to optimize Opnd0_0 + Opnd0_1 + Opnd1_0 + Opnd1_1COMMENT
90 more matches not shown…
Verbosity Indicators129 hits · 207 pts
SeverityFileLineSnippetContext
LOWcontrib/tools/swig/Source/Swig/symbol.c1265 * The purpose of this function is to support complicated algorithms that needCOMMENT
LOWcontrib/tools/python3/Lib/configparser.py1214 options is None, so we need to check if the value is aSTRING
LOWcontrib/tools/python3/Lib/encodings/idna.py82 # Step 2: nameprepCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py85 # Step 3: UseSTD3ASCIIRules is falseCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py86 # Step 4: try ASCIICOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py100 # Step 5: Check ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py105 # Step 6: Encode with PUNYCODECOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py108 # Step 7: Prepend ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py111 # Step 8: Check sizeCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py141 # Step 2: Perform nameprepCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py149 # Step 3: Check for ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py154 # Step 4: Remove ACE prefixCOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py157 # Step 5: Decode using PUNYCODECOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py164 # Step 6: Apply ToASCIICOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py167 # Step 7: Compare the result of step 6 with the one of step 3COMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py173 # Step 8: return the result of step 5COMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py68 # Step 1: try ASCIICOMMENT
LOWcontrib/tools/python3/Lib/encodings/idna.py130 # Step 1: Check for ASCIICOMMENT
LOWcontrib/tools/python3/Lib/email/header.py399 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
LOWcontrib/tools/cython/Cython/Compiler/Optimize.py3057 # The purpose of this function is to handle calls to instance.__class__() so thatCOMMENT
LOWcontrib/go/_std_1.26/src/net/http/server.go1131// The purpose of this function is to provide more helpful error messages.COMMENT
LOWcontrib/python/Pygments/py3/pygments/lexers/sql.py675 # We need to check if there are any names usingCOMMENT
LOWcontrib/python/Pygments/py2/pygments/lexers/sql.py566 # We need to check if there are any names usingCOMMENT
LOWcontrib/python/ipython/py3/IPython/core/guarded_eval.py492 The purpose of this function is to guard against unwanted side-effects;STRING
LOWcontrib/python/jedi/py3/jedi/evaluate/__init__.py156 # Now we need to check if the names in the if_stmt match theCOMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp42 // Step 1: Randomize the order of the optimizer passes.COMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp47 // Step 2: Run optimizer passes on the program and check for success.COMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp64 // Step 3: Compile the optimized code.COMMENT
LOWcontrib/libs/llvm18/tools/bugpoint/FindBugs.cpp75 // Step 4: Run the program and compare its output to the referenceCOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h618 // Step 1: Word[0] >>= 4 ; 0x0ABBCCDDCOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h619 // Step 2: Word[0] |= 0x10000000 ; 0x1ABBCCDDCOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h620 // Step 3: Word[1] >>= 4 ; 0x0EEFF001COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h621 // Step 4: Word[1] |= 0x50000000 ; 0x5EEFF001COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h622 // Step 5: Word[2] >>= 4 ; 0x02334455COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h668 // Step 1: Word[2] <<= 4 ; 0x23344550COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h669 // Step 2: Word[2] |= 0x0000000E ; 0x2334455ECOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h670 // Step 3: Word[1] <<= 4 ; 0xEFF00110COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h671 // Step 4: Word[1] |= 0x0000000A ; 0xEFF0011ACOMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/BitVector.h672 // Step 5: Word[0] <<= 4 ; 0xABBCCDD0COMMENT
LOW…llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h1267 // TODO: Do we need to check if the resulting extract is supported?COMMENT
LOW…ntrib/libs/llvm18/utils/TableGen/GlobalISel/Patterns.h460 /// Step 1: Check each pattern one by one. All patterns that pass through hereCOMMENT
LOW…ntrib/libs/llvm18/utils/TableGen/GlobalISel/Patterns.h465 /// Step 2: Propagate all types. e.g. if one use of "$a" has type i32, makeCOMMENT
LOW…ntrib/libs/llvm18/lib/Target/PowerPC/PPCAsmPrinter.cpp933 // Step 1: lwz %rt, .L$poff - .L$pb(%ri)COMMENT
LOW…rib/libs/llvm18/lib/Target/PowerPC/PPCISelLowering.cpp5005 // apply SCO on this case. If it is not, then we need to check if callee needsCOMMENT
LOWcontrib/libs/llvm18/lib/Target/PowerPC/PPCInstrInfo.cpp4468 // It is Imm, we need to check if the Imm fit the range.COMMENT
LOWcontrib/libs/llvm18/lib/Target/PowerPC/PPCInstrInfo.cpp4819 // As we get the Imm operand now, we need to check if the ImmMO meetCOMMENT
LOW…arget/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp1609 // straight to Tail, we need to check if a longjmp occurred, and go to theCOMMENT
LOW…vm18/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp1591 // Also we need to check if the end marker instruction matches, because aCOMMENT
LOW…ntrib/libs/llvm18/lib/Target/X86/X86CmovConversion.cpp422 // Step 1: Calculate instruction depth and loop depth.COMMENT
LOW…ntrib/libs/llvm18/lib/Target/X86/X86CmovConversion.cpp495 // Step 2: Check if Loop worth to be optimized.COMMENT
LOW…ntrib/libs/llvm18/lib/Target/X86/X86CmovConversion.cpp538 // Step 3: Check for each CMOV-group-candidate if it worth to be optimized.COMMENT
LOWcontrib/libs/llvm18/lib/Target/ARM/ARMISelDAGToDAG.cpp5579 // Here we know the target is not M Class so we need to check if it is oneCOMMENT
LOW…ib/libs/llvm18/lib/Target/AArch64/AArch64InstrInfo.cpp8455 // FIXME: Do we need to check if the code after this uses the value of LR?COMMENT
LOW…m18/lib/Target/AArch64/AArch64SpeculationHardening.cpp668 // Step 1: Enable automatic insertion of SpeculationSafeValue.COMMENT
LOW…lvm18/lib/Target/AArch64/GISel/AArch64CallLowering.cpp755 // When we tail call, we need to check if the callee's argumentsCOMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/BasicBlockSections.cpp185 // This variable stores the section ID of the cluster containing eh_pads (ifCOMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/StackColoring.cpp635 // Step 1: collect markers and populate the "InterestingSlots"COMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/StackColoring.cpp719 // Step 2: compute begin/end sets for each blockCOMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/LiveIntervalCalc.cpp49 // Step 1: Create minimal live segments for every definition of Reg.COMMENT
LOWcontrib/libs/llvm18/lib/CodeGen/LiveIntervalCalc.cpp90 // Step 2: Extend live segments to all uses, constructing SSA form asCOMMENT
69 more matches not shown…
AI Structural Patterns228 hits · 204 pts
SeverityFileLineSnippetContext
LOW…ython/testing/yatest_common/yatest/common/canonical.py73CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py142CODE
LOW…/python/testing/yatest_common/yatest/common/process.py476CODE
LOW…/python/testing/yatest_common/yatest/common/process.py694CODE
LOW…/python/testing/yatest_common/yatest/common/process.py94CODE
LOWlibrary/python/testing/yatest_lib/ya.py30CODE
LOWcontrib/tools/python3/Lib/tempfile.py538CODE
LOWcontrib/tools/python3/Lib/tempfile.py611CODE
LOWcontrib/tools/python3/Lib/tempfile.py693CODE
LOWcontrib/tools/python3/Lib/lzma.py279CODE
LOWcontrib/tools/python3/Lib/trace.py394CODE
LOWcontrib/tools/python3/Lib/dis.py824CODE
LOWcontrib/tools/python3/Lib/textwrap.py112CODE
LOWcontrib/tools/python3/Lib/functools.py573CODE
LOWcontrib/tools/python3/Lib/traceback.py1036CODE
LOWcontrib/tools/python3/Lib/subprocess.py817CODE
LOWcontrib/tools/python3/Lib/pydoc.py1406CODE
LOWcontrib/tools/python3/Lib/ftplib.py711CODE
LOWcontrib/tools/python3/Lib/optparse.py1178CODE
LOWcontrib/tools/python3/Lib/configparser.py638CODE
LOWcontrib/tools/python3/Lib/reprlib.py51CODE
LOWcontrib/tools/python3/Lib/compileall.py48CODE
LOWcontrib/tools/python3/Lib/compileall.py132CODE
LOWcontrib/tools/python3/Lib/_pydatetime.py1687CODE
LOWcontrib/tools/python3/Lib/_pydatetime.py1959CODE
LOWcontrib/tools/python3/Lib/doctest.py1987CODE
LOWcontrib/tools/python3/Lib/doctest.py2092CODE
LOWcontrib/tools/python3/Lib/argparse.py831CODE
LOWcontrib/tools/python3/Lib/argparse.py943CODE
LOWcontrib/tools/python3/Lib/argparse.py1043CODE
LOWcontrib/tools/python3/Lib/argparse.py1793CODE
LOWcontrib/tools/python3/Lib/dataclasses.py383CODE
LOWcontrib/tools/python3/Lib/dataclasses.py1325CODE
LOWcontrib/tools/python3/Lib/dataclasses.py1538CODE
LOWcontrib/tools/python3/Lib/tarfile.py977CODE
LOWcontrib/tools/python3/Lib/tarfile.py1746CODE
LOWcontrib/tools/python3/Lib/ssl.py748CODE
LOWcontrib/tools/python3/Lib/_pydecimal.py3831CODE
LOWcontrib/tools/python3/Lib/unittest/runner.py172CODE
LOWcontrib/tools/python3/Lib/unittest/main.py66CODE
LOWcontrib/tools/python3/Lib/unittest/mock.py444CODE
LOWcontrib/tools/python3/Lib/unittest/mock.py463CODE
LOWcontrib/tools/python3/Lib/unittest/mock.py1147CODE
LOWcontrib/tools/python3/Lib/urllib/request.py1029CODE
LOWcontrib/tools/python3/Lib/urllib/request.py1044CODE
LOWcontrib/tools/python3/Lib/json/__init__.py120CODE
LOWcontrib/tools/python3/Lib/json/__init__.py185CODE
LOWcontrib/tools/python3/Lib/json/encoder.py265CODE
LOWcontrib/tools/python3/Lib/json/encoder.py105CODE
LOWcontrib/tools/python3/Lib/http/cookiejar.py885CODE
LOWcontrib/tools/python3/Lib/xmlrpc/server.py799CODE
LOWcontrib/tools/python3/Lib/xmlrpc/client.py492CODE
LOWcontrib/tools/python3/Lib/xmlrpc/client.py1395CODE
LOWcontrib/tools/python3/Lib/asyncio/events.py318CODE
LOWcontrib/tools/python3/Lib/asyncio/events.py328CODE
LOWcontrib/tools/python3/Lib/asyncio/events.py471CODE
LOWcontrib/tools/python3/Lib/asyncio/base_events.py510CODE
LOWcontrib/tools/python3/Lib/asyncio/base_events.py1063CODE
LOWcontrib/tools/python3/Lib/asyncio/base_events.py1375CODE
LOWcontrib/tools/python3/Lib/asyncio/base_events.py1529CODE
168 more matches not shown…
Docstring Block Structure33 hits · 165 pts
SeverityFileLineSnippetContext
HIGHcontrib/tools/python3/Lib/ipaddress.py29Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py58Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py87Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py121Represent an address as 4 packed bytes in network (big-endian) order. Args: address: An integer representatSTRING
HIGHcontrib/tools/python3/Lib/ipaddress.py305Collapse a list of IP objects. Example: collapse_addresses([IPv4Network('192.0.2.0/25'), STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py446Return prefix length from the bitwise netmask. Args: ip_int: An integer, the netmask in expanded biSTRING
HIGHcontrib/tools/python3/Lib/ipaddress.py476Return prefix length from a numeric string Args: prefixlen_str: The string to be converted STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py501Turn a netmask/hostmask string into a prefix length Args: ip_str: The netmask/hostmask to be converSTRING
HIGHcontrib/tools/python3/Lib/ipaddress.py797Remove an address from a larger block. For example: addr1 = ip_network('192.0.2.0/28') STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py872Compare two IP objects. This is only concerned about the comparison of the integer representation of thSTRING
HIGHcontrib/tools/python3/Lib/ipaddress.py930The subnets which join to make the current subnet. In the case that self contains only one IP (self._prSTRING
HIGHcontrib/tools/python3/Lib/ipaddress.py983The supernet containing the current network. Args: prefixlen_diff: An integer, the amount the prefiSTRING
HIGHcontrib/tools/python3/Lib/ipaddress.py1189Turn the given IP string into an integer for comparison. Args: ip_str: A string, the IP ip_str. STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py1215Convert a decimal octet into an integer. Args: octet_str: A string, the number to parse. RSTRING
HIGHcontrib/tools/python3/Lib/ipaddress.py1663Turn an IPv6 ip_str into an integer. Args: ip_str: A string, the IPv6 ip_str. Returns: STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py1776Convert an IPv6 hextet string into an integer. Args: hextet_str: A string, the number to parse. STRING
HIGHcontrib/tools/python3/Lib/ipaddress.py1850Turns a 128-bit integer into hexadecimal notation. Args: ip_int: An integer, the IP address. STRING
HIGHcontrib/tools/python3/Lib/selectors.py22Return a file descriptor from a file object. Parameters: fileobj -- file object or file descriptor ReturnsSTRING
HIGHcontrib/tools/python3/Lib/selectors.py101Register a file object. Parameters: fileobj -- file object or file descriptor events -- eventsSTRING
HIGHcontrib/tools/python3/Lib/selectors.py124Unregister a file object. Parameters: fileobj -- file object or file descriptor Returns: STRING
HIGHcontrib/tools/python3/Lib/selectors.py142Change a registered file object monitored events or attached data. Parameters: fileobj -- file object oSTRING
HIGHcontrib/tools/python3/Lib/getpass.py29Prompt for a password, with echo turned off. Args: prompt: Written on stream to ask for the input. Default: STRING
HIGHcontrib/tools/python3/Lib/concurrent/futures/_base.py200An iterator over the given futures that yields each as it completes. Args: fs: The sequence of Futures (posSTRING
HIGHcontrib/tools/python3/Lib/concurrent/futures/_base.py431Return the result of the call that the future represents. Args: timeout: The number of seconds to wSTRING
HIGHcontrib/tools/python3/Lib/concurrent/futures/_base.py468Return the exception raised by the call that the future represents. Args: timeout: The number of seSTRING
HIGHcontrib/tools/python3/Lib/concurrent/futures/_base.py590Returns an iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many argumeSTRING
HIGHcontrib/tools/python3/Lib/concurrent/futures/process.py816Returns an iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many argumeSTRING
HIGHcontrib/python/toml/py2/toml/decoder.py114Parses named file or files as toml and returns a dictionary Args: f: Path to the file to open, array of filSTRING
HIGHcontrib/python/toml/py2/toml/decoder.py166Parses string as toml Args: s: String to be parsed _dict: (optional) Specifies the class of the retSTRING
HIGHcontrib/python/toml/py2/toml/encoder.py13Writes out dict as toml to a file Args: o: Object to dump into toml f: File descriptor where the toSTRING
HIGHcontrib/python/toml/py2/toml/encoder.py35Stringifies input dict as toml Args: o: Object to dump into toml encoder: The ``TomlEncoder`` to usSTRING
HIGHcontrib/python/pytest/py3/_pytest/pytester.py795Create new text file(s) in the test directory. :param ext: The extension the file(s) should use, inSTRING
HIGH…ib/python/executing/executing/_position_node_finder.py543 match instruction Parameters: opnames: (str|Seq[str]): inst.opname has to be eSTRING
Redundant / Tautological Comments102 hits · 148 pts
SeverityFileLineSnippetContext
LOWlibrary/python/pytest/module_utils.py38 # Check if path starts with parentCOMMENT
LOW…/python/testing/yatest_common/yatest/common/process.py565 # Open file or PIPE sentinel is suppliedCOMMENT
LOWlibrary/python/runtime_py3/__res.py636 # Check if file_path is a moduleCOMMENT
LOWlibrary/python/runtime_py3/__res.py640 # Check if file_path is a packageCOMMENT
LOWcontrib/tools/python3/Lib/dis.py551 # Set argval to the dereferenced value of the argument whenCOMMENT
LOWcontrib/tools/python3/Lib/_py_abc.py131 # Check if it's a direct subclassCOMMENT
LOWcontrib/tools/python3/Lib/_py_abc.py135 # Check if it's a subclass of a registered class (recursive)COMMENT
LOWcontrib/tools/python3/Lib/_py_abc.py140 # Check if it's a subclass of a subclass (recursive)COMMENT
LOWcontrib/tools/python3/Lib/zipimport.py355 # Check if there's a comment.COMMENT
LOWcontrib/tools/python3/Lib/pyclbr.py143 # Check if it is a built-in module; we don't do much for these.COMMENT
LOWcontrib/tools/python3/Lib/heapq.py267 # Set childpos to index of smaller child.COMMENT
LOWcontrib/tools/python3/Lib/heapq.py303 # Set childpos to index of larger child.COMMENT
LOWcontrib/tools/python3/Lib/warnings.py306 # Check if message is already a Warning objectCOMMENT
LOWcontrib/tools/python3/Lib/warnings.py415 # Print message and contextCOMMENT
LOWcontrib/tools/python3/Lib/types.py292 # Check if 'func' is a coroutine function.COMMENT
LOWcontrib/tools/python3/Lib/types.py297 # Check if 'func' is a generator function.COMMENT
LOWcontrib/tools/python3/Lib/pdb.py216 # Open the file each time because the file may be modifiedCOMMENT
LOWcontrib/tools/python3/Lib/poplib.py230 # Check if the response has enough elementsCOMMENT
LOWcontrib/tools/python3/Lib/plistlib.py683 # Write file headerCOMMENT
LOWcontrib/tools/python3/Lib/_osx_support.py412 # Check if the SDK that is used during compilation actually exists,COMMENT
LOWcontrib/tools/python3/Lib/compileall.py87 # Check if this is a system where ProcessPoolExecutor can function.COMMENT
LOWcontrib/tools/python3/Lib/doctest.py1804 # Check if we should use diff.STRING
LOWcontrib/tools/python3/Lib/doctest.py2201 # Read the file, convert it to a test, and run it.STRING
LOWcontrib/tools/python3/Lib/smtplib.py429 # Check if multiline response.COMMENT
LOWcontrib/tools/python3/Lib/graphlib.py170 # Check if we know about this node (it was added previously using add()COMMENT
LOWcontrib/tools/python3/Lib/tarfile.py1232 # Check if one of the fields contains surrogate characters and therebyCOMMENT
LOWcontrib/tools/python3/Lib/tarfile.py1517 # Check if the pax header contains a hdrcharset field. This tells usCOMMENT
LOWcontrib/tools/python3/Lib/typing.py1346 # Check if any base that occurs after us in `bases` is either itself aCOMMENT
LOWcontrib/tools/python3/Lib/typing.py2165 # Check if the members appears in the class dictionary...COMMENT
LOWcontrib/tools/python3/Lib/ctypes/util.py156 # Check if the given file is an elf file: gcc can reportCOMMENT
LOWcontrib/tools/python3/Lib/ctypes/util.py329 # Check if the given file is an elf file: gcc can reportCOMMENT
LOWcontrib/tools/python3/Lib/ctypes/__init__.py148 # Check if sizeof(ctypes_type) against struct.calcsize. ThisCOMMENT
LOWcontrib/tools/python3/Lib/unittest/mock.py454 # Check if spec is an async object or functionCOMMENT
LOWcontrib/tools/python3/Lib/urllib/parse.py936 # Check if ' ' in string, where string may either be a str or bytes. IfCOMMENT
LOWcontrib/tools/python3/Lib/zipfile/__init__.py496 # Set these to zero because we write them after the file dataCOMMENT
LOWcontrib/tools/python3/Lib/zipfile/__init__.py1377 # Check if we were passed a file-like objectCOMMENT
LOWcontrib/tools/python3/Lib/http/cookies.py438 # Return the resultSTRING
LOWcontrib/tools/python3/Lib/http/server.py644 # Set this to HTTP/1.1 to enable automatic keepaliveCOMMENT
LOW…rib/tools/python3/Lib/importlib/_bootstrap_external.py1642 # Check if the module is the name of a directory (and thus a package).COMMENT
LOWcontrib/tools/python3/Lib/asyncio/streams.py641 # Check if we now have enough data in the buffer for shortestSTRING
LOWcontrib/tools/python3/Lib/asyncio/tasks.py834 # Check if 'fut' is cancelled first, asCOMMENT
LOWcontrib/tools/python3/Lib/asyncio/tasks.py853 # Check if 'fut' is cancelled first, as 'fut.exception()'COMMENT
LOWcontrib/tools/python3/Lib/asyncio/unix_events.py121 # Set SA_RESTART to limit EINTR occurrences.COMMENT
LOWcontrib/tools/python3/Lib/asyncio/unix_events.py1332 # Set SA_RESTART to limit EINTR occurrences.COMMENT
LOWcontrib/tools/cython/Cython/StringIOTree.py128 # Print the result of allmarkers in a nice human-readable form. Use it only for debugging.STRING
LOWcontrib/tools/cython/Cython/Tests/xmlrunner.py368 # Print resultsCOMMENT
LOWcontrib/tools/cython/Cython/Debugger/Cygdb.py94 # Check if the Python executable provides a symbol table.COMMENT
LOW…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py535 # Check if the Python executable provides a symbol table.STRING
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py5020 # Assign indices to temps of at least (s)size_t to allow further index calculations.COMMENT
LOWcontrib/python/packaging/py3/packaging/metadata.py626 # Check if content-type is valid or defaulted to `text/plain` and thus wasCOMMENT
LOWcontrib/python/py/py3/py/_code/_assertionnew.py281 # Check if the attr is from an instance.COMMENT
LOWcontrib/python/py/py2/py/_code/_assertionnew.py281 # Check if the attr is from an instance.COMMENT
LOWcontrib/python/attrs/py3/attr/_make.py746 # Check if the pre init method has more arguments than just `self`COMMENT
LOWcontrib/python/Pygments/py3/pygments/lexers/modula2.py1301 # Set lexer to a specified dialectCOMMENT
LOWcontrib/python/Pygments/py3/pygments/lexers/modula2.py1566 # Check if this looks like Pascal, if not, bail out earlyCOMMENT
LOWcontrib/python/Pygments/py3/pygments/lexers/sql.py346 # Check if this is the end of the commandCOMMENT
LOWcontrib/python/Pygments/py3/pygments/formatters/html.py49 # Check if the color can be shortened from 6 to 3 charactersCOMMENT
LOWcontrib/python/Pygments/py2/pygments/lexers/modula2.py1302 # Set lexer to a specified dialectCOMMENT
LOWcontrib/python/Pygments/py2/pygments/lexers/sql.py336 # Check if this is the end of the commandCOMMENT
LOWcontrib/python/python-dateutil/py3/dateutil/rrule.py849 # Output resultsCOMMENT
42 more matches not shown…
Slop Phrases72 hits · 124 pts
SeverityFileLineSnippetContext
MEDIUMlibrary/cpp/getopt/small/posix_getopt.h3// implementation of posix getopt using last getopt for demonstration purposesCOMMENT
LOWcontrib/tools/yasm/libyasm/expr.c654 * But don't forget to subtract one for the expr itself!COMMENT
MEDIUMcontrib/tools/python3/Python/hamt.c408 Also it's worth noting that it would be possible to adapt the treeCODE
LOWcontrib/tools/python3/Objects/exceptions.c36/* NOTE: If the exception class hierarchy changes, don't forget to updateCOMMENT
MEDIUMcontrib/tools/python3/Lib/heapq.py253# you can use it.COMMENT
LOWcontrib/tools/python3/Lib/quopri.py93 # Don't forget to include the soft line break `=' sign in theCOMMENT
MEDIUMcontrib/tools/python3/Lib/ntpath.py402# XXX With COMMAND.COM you can use any characters in a variable name,COMMENT
MEDIUMcontrib/tools/python3/Lib/urllib/request.py1730 # Undocumented feature: you can use a differentCOMMENT
LOWcontrib/tools/python3/Modules/arraymodule.c650 * Don't forget to update typecode_to_mformat_code() if you add a newCOMMENT
LOWcontrib/tools/python/src/Include/boolobject.h17Don't forget to apply Py_INCREF() when returning either!!! */CODE
LOWcontrib/tools/python/src/Include/object.h871Don't forget to apply Py_INCREF() when returning this value!!!CODE
LOWcontrib/tools/python/src/Include/token.h63/* Don't forget to update the table _PyParser_TokenNames in tokenizer.c! */COMMENT
LOWcontrib/tools/python/src/Objects/exceptions.c14/* NOTE: If the exception class hierarchy changes, don't forget to updateCOMMENT
MEDIUMcontrib/tools/python/src/Modules/xxsubtype.c99 PyDoc_STR("an int variable for demonstration purposes")},CODE
MEDIUMcontrib/tools/python/src/Modules/xxsubtype.c190 PyDoc_STR("an int variable for demonstration purposes")},CODE
MEDIUMcontrib/tools/cython/Cython/Build/IpythonMagic.py122 in the user's namespace, here is a simple example that returnsSTRING
LOWcontrib/tools/cython/Cython/Compiler/Code.py575 # Don't forget to add the last utility codeCOMMENT
LOW…td_1.26/src/net/http/internal/httpcommon/httpcommon.go554 // but this ensures we don't forget to include a CountError reason.COMMENT
MEDIUMcontrib/go/_std_1.26/src/net/rpc/server.go58Here is a simple example. A server wishes to export an object of type Arith:CODE
MEDIUMcontrib/go/_std_1.26/src/runtime/arena.go744 // assist the GC proportionally (and it's worth noting that the arenaCOMMENT
MEDIUMcontrib/go/_std_1.26/src/runtime/metrics/doc.go39As mentioned earlier, metric keys are strings. Their format is simple and well-defined,CODE
MEDIUMcontrib/go/_std_1.26/src/os/file.go16// Here is a simple example, opening a file and reading some of it.COMMENT
MEDIUMcontrib/go/_std_1.26/src/text/template/doc.go463constant. Here is a simple example:CODE
LOWcontrib/python/packaging/py3/packaging/markers.py342 # added here, make sure to mirror/adapt Requirement.COMMENT
LOWcontrib/python/wcwidth/py3/wcwidth/__init__.py52__version__ = '0.7.0' # don't forget to also update pyproject.toml:versionCODE
LOWcontrib/python/wcwidth/py3/wcwidth/__init__.py52__version__ = '0.7.0' # don't forget to also update pyproject.toml:versionCODE
MEDIUMcontrib/python/attrs/py3/attr/_funcs.py482 # Return the class so you can use it as a decorator too.COMMENT
MEDIUMcontrib/python/attrs/py2/attr/_funcs.py394 # Return the class so you can use it as a decorator too.COMMENT
MEDIUMcontrib/python/Pygments/py3/pygments/lexers/crystal.py240 # there so that you can use the ternary operator.STRING
LOWcontrib/python/Pygments/py3/pygments/lexers/perl.py596 # them, make sure you also process the corresponding one!COMMENT
MEDIUMcontrib/python/Pygments/py3/pygments/lexers/ruby.py292 # there so that you can use the ternary operator.COMMENT
MEDIUMcontrib/python/Pygments/py2/pygments/lexers/crystal.py271 # there so that you can use the ternary operator.STRING
LOWcontrib/python/Pygments/py2/pygments/lexers/perl.py487 # them, make sure you also process the corresponding one!COMMENT
MEDIUMcontrib/python/Pygments/py2/pygments/lexers/ruby.py290 # there so that you can use the ternary operator.COMMENT
LOWcontrib/python/pytest/py2/_pytest/outcomes.py163 # make sure to ignore ImportWarnings that might happen becauseCOMMENT
LOWcontrib/python/ipython/py3/IPython/__init__.py28# Don't forget to also update setup.py when this changes!COMMENT
MEDIUMcontrib/python/ipython/py3/IPython/core/formatters.py637 how to write pretty printers. Here is a simple example::STRING
LOW…ntrib/python/ipython/py3/IPython/core/inputsplitter.py266 # it works. If anyone tries to change this logic, make sure to validateCOMMENT
LOWcontrib/python/ipython/py3/IPython/core/magics/code.py571 close it (don't forget to save it!).STRING
MEDIUMcontrib/python/ipython/py3/IPython/terminal/embed.py368 Here is a simple example::STRING
MEDIUMcontrib/python/ipython/py3/IPython/lib/latextools.py39 # unicode pretty printing is used, you can use ["matplotlib"].COMMENT
LOWcontrib/python/ipython/py2/IPython/__init__.py31# Don't forget to also update setup.py when this changes!COMMENT
MEDIUMcontrib/python/ipython/py2/IPython/core/formatters.py566 how to write pretty printers. Here is a simple example::STRING
LOW…ntrib/python/ipython/py2/IPython/core/inputsplitter.py125 # it works. If anyone tries to change this logic, make sure to validateCOMMENT
LOWcontrib/python/ipython/py2/IPython/core/magics/code.py561 close it (don't forget to save it!).STRING
MEDIUMcontrib/python/ipython/py2/IPython/terminal/embed.py348 Here is a simple example::STRING
MEDIUMcontrib/python/ipython/py2/IPython/lib/latextools.py41 # unicode pretty printing is used, you can use ["matplotlib"].COMMENT
LOWcontrib/python/jedi/py3/jedi/evaluate/finder.py102 # make sure to exclude the function/class name.COMMENT
LOWcontrib/python/pexpect/py3/pexpect/pxssh.py338 # SSH tunnels, make sure you know what you're putting into the listsCOMMENT
LOWcontrib/python/pexpect/py2/pexpect/pxssh.py338 # SSH tunnels, make sure you know what you're putting into the listsCOMMENT
LOW…b/python/prompt-toolkit/py3/prompt_toolkit/renderer.py189 # (Also make sure to clip the height to the size of the output.)COMMENT
LOW…b/python/prompt-toolkit/py3/prompt_toolkit/renderer.py402 # In case of Windows, also make sure to scroll to the current cursorCOMMENT
LOW…b/python/prompt-toolkit/py3/prompt_toolkit/__init__.py31# Don't forget to update in `docs/conf.py`!COMMENT
LOW…b/python/prompt-toolkit/py3/prompt_toolkit/document.py104 # By default, if no cursor position was given, make sure to put theCOMMENT
LOW…rib/python/prompt-toolkit/py3/prompt_toolkit/search.py115 # If we're in Vi mode, make sure to go into insert mode.COMMENT
LOW…n/prompt-toolkit/py3/prompt_toolkit/lexers/pygments.py152 Note: Don't forget to also load a Pygments compatible style. E.g.::STRING
LOW…oolkit/py3/prompt_toolkit/key_binding/key_processor.py211 (Don't forget to call `process_keys` in order to process the queue.)STRING
LOW…-toolkit/py3/prompt_toolkit/application/application.py855 self.future = f # XXX: make sure to set this before calling '_redraw'.CODE
LOW…b/python/prompt-toolkit/py2/prompt_toolkit/renderer.py134 # (Also make sure to clip the height to the size of the output.)COMMENT
LOW…b/python/prompt-toolkit/py2/prompt_toolkit/renderer.py290 # In case of Windown, also make sure to scroll to the current cursorCOMMENT
12 more matches not shown…
Synthetic Comment Markers13 hits · 98 pts
SeverityFileLineSnippetContext
HIGH…tools/python3/Include/internal/pycore_global_strings.h784/* End auto-generated code */COMMENT
HIGH…hon3/Include/internal/pycore_unicodeobject_generated.h2976/* End auto-generated code */COMMENT
HIGH…thon3/Include/internal/pycore_runtime_init_generated.h1546/* End auto-generated code */COMMENT
HIGH…nclude/internal/pycore_global_objects_fini_generated.h1549/* End auto-generated code */COMMENT
HIGHcontrib/tools/python3/Lib/subprocess.py258 # which is calling `CloseHandle` as requested in [1]), so there is nothingCOMMENT
HIGHcontrib/go/_std_1.26/src/fmt/print.go413// not, as requested, by temporarily setting the sharp flag.COMMENT
HIGH…/llvm18/lib/DWARFLinker/Parallel/DependencyTracker.cpp389// c) set as requested.COMMENT
HIGH…rib/libs/llvm18/lib/Target/PowerPC/PPCISelLowering.cpp4016 // ByVal parameters are aligned as requested.COMMENT
HIGH…/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp508 // We are properly aligned, so write NOPs as requested.COMMENT
HIGHcontrib/libs/llvm18/lib/Target/BPF/BTFDebug.cpp1246/// On-demand populate types as requested from abstract memberCOMMENT
HIGH…ib/libs/llvm18/lib/CodeGen/ExpandVectorPredication.cpp797/// Expand llvm.vp.* intrinsics as requested by \p TTI.COMMENT
HIGHcontrib/libs/llvm18/lib/Transforms/IPO/Attributor.cpp2602 // Rewrite the functions as requested during manifest.COMMENT
HIGHcontrib/libs/linux-headers/linux/netlink.h67#define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */COMMENT
AI Response Leakage7 hits · 52 pts
SeverityFileLineSnippetContext
HIGHcontrib/tools/python3/Lib/imaplib.py1189 # I'll update the code in `_get_response()'.COMMENT
HIGHcontrib/libs/llvm18/include/llvm/CodeGen/LiveInterval.h20// that v is live at i'. In this implementation ranges can have holes,COMMENT
HIGHcontrib/libs/llvm18/include/llvm/Support/SuffixTree.h27// In this implementation, a "string" is a vector of unsigned integers.COMMENT
HIGHcontrib/libs/llvm18/lib/CodeGen/StackColoring.cpp188// In this implementation, we successively merge pairs of slots that areCOMMENT
HIGHcontrib/libs/llvm18/lib/CodeGen/LiveInterval.cpp13// that v is live at i'. In this implementation ranges can have holes,COMMENT
HIGH…m18/lib/Transforms/Instrumentation/MemorySanitizer.cpp75/// In this implementation, every atomically accessed location in the programCOMMENT
HIGHcontrib/libs/libunwind/src/Unwind-EHABI.cpp469 // In this implementation, the phases don't share the VRS backing store.COMMENT
TODO Padding28 hits · 38 pts
SeverityFileLineSnippetContext
LOWlibrary/cpp/charset/ci_string.h65 // TODO: implement properly in TString via enum ECaseSensitivityCOMMENT
LOWcontrib/tools/python3/Python/ceval.c62// TODO: implement Py_DECREF macro for Py_GIL_DISABLEDCOMMENT
LOWcontrib/tools/python3/Include/internal/pycore_object.h272// TODO: implement Py_DECREF specializations for Py_GIL_DISABLED buildCOMMENT
LOWcontrib/tools/python3/Objects/genericaliasobject.c359 if (PyType_Check(arg)) { // TODO: Add testCODE
LOWcontrib/tools/python3/Objects/mimalloc/options.c500// TODO: implement ourselves to reduce dependencies on the C runtimeCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/Parsing.py611 # TODO: implement a faster way to join tuples than creating each one and adding themCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7996 # TODO: implement writable C-properties?COMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py14005 # TODO: implement this for other types.COMMENT
LOWcontrib/tools/cython_py2/Cython/Utility/AsyncGen.c64 // TODO: implement finalizer support in older Python versionsCOMMENT
LOWcontrib/go/_std_1.26/src/net/http/h2_bundle.go4078 // TODO: implementCOMMENT
LOWcontrib/python/python-libarchive/py3/libarchive/tar.py114 pass # TODO: implement this.CODE
LOW…ompt_toolkit/contrib/regular_languages/regex_parser.py261 # TODO: implement!COMMENT
LOW…-toolkit/py3/prompt_toolkit/key_binding/bindings/vi.py628 def _change_current_line(event: E) -> None: # TODO: implement 'arg'CODE
LOW…ompt_toolkit/contrib/regular_languages/regex_parser.py244 # TODO: implement!COMMENT
LOW…-toolkit/py2/prompt_toolkit/key_binding/bindings/vi.py506 def _(event): # TODO: implement 'arg'CODE
LOWcontrib/libs/llvm18/tools/llvm-objdump/llvm-objdump.cpp1143// TODO: implement for other file formats.COMMENT
LOW…lvm18/include/llvm/CodeGen/GlobalISel/CombinerHelper.h697 /// TODO: implement dynamically sized inline memcpy,COMMENT
LOWcontrib/libs/llvm18/include/llvm/Support/ScaledNumber.h663 // TODO: implement directly, rather than relying on inverse. Inverse isCOMMENT
LOWcontrib/libs/llvm18/include/llvm/XRay/Graph.h340 // TODO: implement constructor to enable Graph Initialisation.\COMMENT
LOWcontrib/libs/llvm18/lib/Analysis/MemoryBuiltins.cpp1165 // TODO: implement evaluation of strdup/strndupCOMMENT
LOWcontrib/libs/llvm18/lib/Target/ARM/ARMISelLowering.cpp3768 // TODO: implement the "local dynamic" modelCOMMENT
LOW…ntrib/libs/llvm18/lib/Transforms/IPO/FunctionAttrs.cpp407 // TODO: implement addNoAliasAttrs onceCOMMENT
LOW…ibs/llvm18/lib/Transforms/IPO/AttributorAttributes.cpp12683 // TODO: implement case for malloc like instructionsCOMMENT
LOW…ibs/llvm18/lib/Transforms/IPO/AttributorAttributes.cpp12731 // TODO: implement for multiple binsCOMMENT
LOW…/llvm18/lib/Transforms/Scalar/DeadStoreElimination.cpp2192 // TODO: implement tryToMergeParialOverlappingStores using MemorySSA.COMMENT
LOW…libs/llvm18/lib/Transforms/Vectorize/SLPVectorizer.cpp2510 // TODO: implement matching if the nodes are just reordered, still canCOMMENT
LOWcontrib/libs/mimalloc/src/options.c450// TODO: implement ourselves to reduce dependencies on the C runtimeCOMMENT
LOWcontrib/libs/cxxsupp/openmp/kmp_dispatch.cpp2141// TODO: implement countCOMMENT
Example Usage Blocks24 hits · 36 pts
SeverityFileLineSnippetContext
LOW…ib/tools/python3/Include/internal/pycore_parking_lot.h53// Example usage:COMMENT
LOW…ib/tools/python3/Include/internal/pycore_parking_lot.h82// Example usage:COMMENT
LOW…ntrib/tools/python3/Include/cpython/critical_section.h60// Example usage:COMMENT
LOWcontrib/tools/python3/Lib/zipfile/__init__.py657# Usage:COMMENT
LOWcontrib/go/_std_1.26/src/database/sql/sql.go107// Example usage:COMMENT
LOWcontrib/go/_std_1.26/src/database/sql/sql.go473// Example usage:COMMENT
LOWcontrib/go/_std_1.26/src/database/sql/sql.go2872// Example usage:COMMENT
LOW…tricted/abseil-cpp/absl/strings/resize_and_overwrite.h31// Example usage:COMMENT
LOW…ted/abseil-cpp/absl/strings/internal/generic_printer.h46// Example usage:COMMENT
LOW…ted/abseil-cpp/absl/strings/internal/generic_printer.h85// Example usage:COMMENT
LOW…rib/restricted/abseil-cpp/absl/synchronization/mutex.h180 // Example usage:COMMENT
LOWcontrib/restricted/abseil-cpp/absl/hash/internal/hash.h171// Example usage:COMMENT
LOW…cted/abseil-cpp/absl/debugging/internal/vdso_support.h30// Example usage:COMMENT
LOW…ib/restricted/abseil-cpp/absl/meta/internal/requires.h30// Example usage:COMMENT
LOW…restricted/abseil-cpp/absl/base/internal/raw_logging.h39// Usage example:COMMENT
LOW…cted/abseil-cpp-tstring/y_absl/synchronization/mutex.h168 // Example usage:COMMENT
LOW…tricted/abseil-cpp-tstring/y_absl/hash/internal/hash.h114// Example usage:COMMENT
LOW…l-cpp-tstring/y_absl/debugging/internal/vdso_support.h30// Example usage:COMMENT
LOW…/abseil-cpp-tstring/y_absl/base/internal/raw_logging.h39// Usage example:COMMENT
LOWcontrib/libs/linuxvdso/original/vdso_support.h48// Example usage:COMMENT
LOWcontrib/libs/llvm18/include/llvm/ADT/Bitfields.h31/// Usage exampleCOMMENT
LOW…/llvm18/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h150 /// Usage example:COMMENT
LOWcontrib/libs/tcmalloc/tcmalloc/internal/prefetch.h50// Example usage:COMMENT
LOW…ntrib/libs/grpc/src/core/lib/gprpp/validation_errors.h38// Example usage:COMMENT
Dead Code18 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py2139CODE
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py2141CODE
MEDIUM…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py449CODE
MEDIUM…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py456CODE
MEDIUM…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py457CODE
MEDIUMcontrib/python/attrs/py2/attr/_compat.py163CODE
MEDIUMcontrib/python/Pygments/py2/pygments/formatters/irc.py97CODE
MEDIUMcontrib/python/ipython/py3/IPython/core/completer.py1755CODE
MEDIUMcontrib/python/ipython/py3/IPython/core/completer.py1763CODE
MEDIUM…/python/setuptools/py2/setuptools/_vendor/pyparsing.py4203CODE
MEDIUM…/python/setuptools/py2/setuptools/_vendor/pyparsing.py4204CODE
MEDIUM…/python/setuptools/py2/setuptools/_vendor/pyparsing.py4205CODE
MEDIUM…/python/setuptools/py2/setuptools/_vendor/pyparsing.py4212CODE
MEDIUM…thon/setuptools/py2/pkg_resources/_vendor/pyparsing.py4203CODE
MEDIUM…thon/setuptools/py2/pkg_resources/_vendor/pyparsing.py4204CODE
MEDIUM…thon/setuptools/py2/pkg_resources/_vendor/pyparsing.py4205CODE
MEDIUM…thon/setuptools/py2/pkg_resources/_vendor/pyparsing.py4212CODE
MEDIUMcontrib/deprecated/python/enum34/enum/__init__.py733CODE
Fake / Example Data19 hits · 24 pts
SeverityFileLineSnippetContext
LOWcontrib/tools/m4/src/builtin.c151 { "placeholder", true, false, false, m4_placeholder },CODE
LOWcontrib/go/_std_1.26/src/html/template/attr.go98 "placeholder": contentTypePlain,CODE
LOWcontrib/python/Pygments/py3/pygments/lexers/perl.py332 'pick','pickpairs','pid','placeholder','plan','plus','polar','poll',CODE
LOWcontrib/python/pexpect/py3/pexpect/pty_spawn.py51 child = pexpect.spawn('/usr/bin/ssh', ['user@example.com'])STRING
LOWcontrib/python/pexpect/py2/pexpect/pty_spawn.py51 child = pexpect.spawn('/usr/bin/ssh', ['user@example.com'])STRING
LOW…/prompt-toolkit/py3/prompt_toolkit/shortcuts/prompt.py368 "placeholder",CODE
LOWcontrib/libs/jemalloc/src/prof_recent.c85 * "placeholder"; the real recording of the allocation requires a lockCOMMENT
LOWcontrib/libs/zstd/programs/lorem.h11/* lorem ipsum generator */COMMENT
LOWcontrib/libs/zstd/programs/lorem.h17 * Generate @size bytes of compressible data using lorem ipsum generatorCOMMENT
LOWcontrib/libs/zstd/programs/benchzstd.h128 * if @compressibility < 0.0, uses the lorem ipsum generatorCOMMENT
LOWcontrib/libs/zstd/programs/README.md133If no file is provided, the benchmark will use a procedurally generated "lorem ipsum" content.CODE
LOWcontrib/libs/zstd/programs/benchzstd.c1015 name = "Lorem ipsum";CODE
LOWcontrib/libs/zstd/programs/lorem.c13 * This is a very simple lorem ipsum generatorCOMMENT
LOWcontrib/libs/zstd/programs/lorem.c20 * The resulting compression / ratio curve of the lorem ipsum generatorCOMMENT
LOWcontrib/libs/zstd/programs/lorem.c25 * The compression ratio achievable on the generated lorem ipsumCOMMENT
LOWcontrib/libs/zstd/programs/lorem.c240/* It's "common" for lorem ipsum generators to start with the same firstCOMMENT
LOWcontrib/libs/zstd/programs/zstdcli.c872 double compressibility = -1.0; /* lorem ipsum generator */CODE
LOWcontrib/libs/openssl/crypto/hmac/hmac.c217 static const unsigned char dummy_key[1] = {'\0'};CODE
LOWcontrib/libs/openssl/crypto/hmac/hmac.c226 key = dummy_key;CODE
Overly Generic Function Names16 hits · 14 pts
SeverityFileLineSnippetContext
LOWcontrib/tools/python3/Lib/socketserver.py276 def handle_request(self):CODE
LOWcontrib/tools/python3/Lib/contextlib.py304 def helper(*args, **kwds):CODE
LOWcontrib/tools/python3/Lib/contextlib.py337 def helper(*args, **kwds):CODE
LOWcontrib/tools/python3/Lib/multiprocessing/managers.py229 def handle_request(self, conn):CODE
LOWcontrib/tools/python3/Lib/xmlrpc/server.py679 def handle_request(self, request_text=None):CODE
LOWcontrib/python/pytest/py3/_pytest/junitxml.py294 def test_function(record_property):STRING
LOWcontrib/python/pytest/py3/_pytest/mark/structures.py280 def test_function():STRING
LOWcontrib/python/pytest/py3/_pytest/mark/structures.py508 def test_function():STRING
LOWcontrib/python/pytest/py3/_pytest/assertion/rewrite.py793 def helper(self, name: str, *args: ast.expr) -> ast.expr:CODE
LOWcontrib/python/pytest/py2/_pytest/junitxml.py315 def test_function(record_property):STRING
LOWcontrib/python/pytest/py2/_pytest/mark/structures.py194 def test_function():STRING
LOWcontrib/python/pytest/py2/_pytest/mark/structures.py297 def test_function():STRING
LOWcontrib/python/pytest/py2/_pytest/assertion/rewrite.py739 def helper(self, name, *args):CODE
LOWcontrib/python/contextlib2/py3/contextlib2/__init__.py298 def helper(*args, **kwds):CODE
LOWcontrib/python/contextlib2/py3/contextlib2/__init__.py331 def helper(*args, **kwds):CODE
LOWcontrib/python/contextlib2/py2/contextlib2.py214 def helper(*args, **kwds):CODE