Repository Analysis

jart/cosmopolitan

build-once run-anywhere c library

5.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jart/cosmopolitan, a C project with 21,200 GitHub stars. SynthScan v2.0 examined 3,342,296 lines of code across 10312 source files, recording 18184 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 5.8 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).

5.8
Adjusted Score
5.8
Raw Score
100%
Time Factor
2026-07-20
Last Push
21.2K
Stars
C
Language
3.3M
Lines of Code
10.3K
Files
18.2K
Pattern Hits
2026-08-02
Scan Date
0.04
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 10HIGH 364MEDIUM 902LOW 16908

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 18184 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 Block8852 hits · 7944 pts
SeverityFileLineSnippetContext
LOWlibc/inttypes.h21COMMENT
LOWlibc/inttypes.h41#define __PRI32 "ll"COMMENT
LOWlibc/inttypes.h61#define __PRI128 "jj"COMMENT
LOWlibc/inttypes.h81#define __PRIFAST32 ""COMMENT
LOWlibc/inttypes.h101COMMENT
LOWlibc/inttypes.h121#define PRIuLEAST64 __PRI64 "u"COMMENT
LOWlibc/inttypes.h141#define PRIiLEAST16 __PRI16 "i"COMMENT
LOWlibc/inttypes.h161COMMENT
LOWlibc/inttypes.h181#define PRIx64 __PRI64 "x"COMMENT
LOWlibc/inttypes.h201COMMENT
LOWlibc/inttypes.h221#define PRIb64 __PRI64 "b"COMMENT
LOWlibc/inttypes.h241COMMENT
LOWlibc/inttypes.h261#define PRIuMAX "ju"COMMENT
LOWlibc/inttypes.h281COMMENT
LOWlibc/inttypes.h301#define SCNi64 __PRI64 "i"COMMENT
LOWlibc/inttypes.h321#define SCNu16 __PRI16 "u"COMMENT
LOWlibc/inttypes.h341COMMENT
LOWlibc/inttypes.h361│ cosmopolitan § dismal format notation » scanf » hexadecimal ─╬─│┼COMMENT
LOWlibc/inttypes.h381COMMENT
LOWlibc/inttypes.h401#define SCNbFAST64 __PRI64 "b"COMMENT
LOWlibc/limits.h1#ifndef COSMOPOLITAN_LIBC_LIMITS_H_COMMENT
LOWlibc/limits.h21#define SCHAR_MAX __SCHAR_MAX__COMMENT
LOWlibc/limits.h41#define INTMAX_MAX __INTMAX_MAX__COMMENT
LOWlibc/limits.h61COMMENT
LOWlibc/limits.h81#define UINTPTR_MIN 0ullCOMMENT
LOWlibc/limits.h101#define FILESIZEBITS 64COMMENT
LOWlibc/limits.h121#define INT_FAST64_MIN (-__INT_FAST64_MAX__ - 1)COMMENT
LOWlibc/limits.h141#define UINT_LEAST64_MAX __UINT_LEAST64_MAX__COMMENT
LOWlibc/dce.h1#ifdef _COSMO_SOURCECOMMENT
LOWlibc/dce.h21#define _HOSTMETAL 2COMMENT
LOWlibc/dce.h41#define IsTiny() 1COMMENT
LOWlibc/dce.h61#define _ARCH_NAME "amd64"COMMENT
LOWlibc/dce.h81#ifdef __x86_64__COMMENT
LOWlibc/dce.h101#define IsBsd() (IsXnu() || IsFreebsd() || IsOpenbsd() || IsNetbsd())COMMENT
LOWlibc/literal.h1#ifndef COSMOPOLITAN_LIBC_LITERAL_H_COMMENT
LOWlibc/literal.h21#define INT64_C(c) c##LCOMMENT
LOWlibc/stdckdint.h41 * @see https://github.com/jart/jtckdintCOMMENT
LOWlibc/stdckdint.h621#define ckd_sub(res, x, y) (*(res) = (x) - (y), 0)COMMENT
LOWlibc/macros.h21#define TRUE 1COMMENT
LOWlibc/macros.h41#define EQUIVALENT(X, Y) (__builtin_constant_p((X) == (Y)) && ((X) == (Y)))COMMENT
LOWlibc/macros.h301 xchg %ax,%axCOMMENT
LOWlibc/zip.h1#ifndef COSMOPOLITAN_ZIP_H_COMMENT
LOWlibc/zip.h21#define kZipErrorEocdNotFound _ZE(-1)COMMENT
LOWlibc/zip.h41#define kZipOsUnix 3COMMENT
LOWlibc/zip.h61#define kZipEra2001 45 /* PKZIP 4.5: kZipExtraZip64 support */COMMENT
LOWlibc/zip.h81#define kZipCdirCommentSizeOffset 20COMMENT
LOWlibc/zip.h101#define kZipCfileOffsetOffset 42COMMENT
LOWlibc/zip.h121#define kZipExtraUnix 0x000dCOMMENT
LOWlibc/zip.h181#define ZIP_CDIR_MAGIC(P) ZIP_READ32(P)COMMENT
LOWlibc/zip.h201#define ZIP_CDIR64_SIZE(P) ZIP_READ64((P) + 40)COMMENT
LOWlibc/zip.h221 ZIP_READ16((P) + kZipCfileOffsetLastmodifiedtime) /* @see DOS_TIME() */COMMENT
LOWlibc/zip.h241 ZIP_CFILE_EXTRASIZE(P))) /* recommend stopping at nul */COMMENT
LOWlibc/zip.h261 ZIP_READ32((P) + kZipLfileOffsetUncompressedsize)COMMENT
LOWlibc/paths.h1#ifndef COSMOPOLITAN_LIBC_PATHS_H_COMMENT
LOWlibc/paths.h21#define _PATH_UTMP "/dev/null/utmp"COMMENT
LOWlibc/imag.h1#ifndef COSMOPOLITAN_LIBC_IMAG_H_COMMENT
LOWlibc/iso646.h1#ifndef COSMOPOLITAN_LIBC_ISO646_H_COMMENT
LOWlibc/macho.h1#ifndef COSMOPOLITAN_LIBC_MACHO_H_COMMENT
LOWlibc/macho.h21#define MAC_CPU_ARM64_32 (MAC_CPU_ARM | MAC_ARCH_ABI64_32)COMMENT
LOWlibc/macho.h81#define MAC_BINDATLOAD 0x8COMMENT
8792 more matches not shown…
Hyper-Verbose Identifiers4808 hits · 4019 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Tools/gdb/libpython.py1647 def get_selected_python_frame(cls):CODE
LOWthird_party/python/Tools/gdb/libpython.py1665 def get_selected_bytecode_frame(cls):CODE
LOWthird_party/python/Tools/iobench/iobench.py191def modify_seek_forward_bytewise(f, source):CODE
LOWthird_party/python/Tools/iobench/iobench.py200def modify_seek_forward_blockwise(f, source):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py76def in_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py83def in_test_no_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py91def in_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py98def in_test_no_match_two_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py105def in_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py141def find_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py149def find_test_no_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py158def find_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py166def find_test_no_match_two_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py174def find_test_no_match_two_character_bis(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py182def find_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py190def find_test_slow_match_two_characters_bis(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py225def rfind_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py233def rfind_test_no_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py242def rfind_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py250def rfind_test_no_match_two_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py258def rfind_test_no_match_two_character_bis(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py266def rfind_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py274def rfind_test_slow_match_two_characters_bis(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py310def index_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py318def index_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py326def index_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py349def rindex_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py357def rindex_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py365def rindex_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py388def partition_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py396def partition_test_no_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py405def partition_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py413def partition_test_no_match_two_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py421def partition_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py444def rpartition_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py452def rpartition_test_no_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py461def rpartition_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py469def rpartition_test_no_match_two_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py477def rpartition_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py500def split_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py508def split_test_no_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py517def split_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py525def split_test_no_match_two_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py533def split_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py556def rsplit_test_quick_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py564def rsplit_test_no_match_single_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py573def rsplit_test_quick_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py581def rsplit_test_no_match_two_character(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py589def rsplit_test_slow_match_two_characters(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py717def join_alphabet_list_single(STR):CODE
LOWthird_party/python/Tools/stringbench/stringbench.py925def split_multichar_sep_small(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py934def rsplit_multichar_sep_small(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1143def terminal_newline_strip_right(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1157def terminal_newline_strip_left(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1164def terminal_newline_strip_both(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1224def replace_single_character_re(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1234def replace_single_character_big(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1245def replace_single_character_big_re(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1256def replace_multiple_characters_dna(STR):STRING
LOWthird_party/python/Tools/stringbench/stringbench.py1267def replace_multiple_character_big(STR):STRING
4748 more matches not shown…
Cross-Language Confusion296 hits · 1716 pts
SeverityFileLineSnippetContext
HIGHthird_party/python/Parser/asdl_c.py861 if (obj != Py_None && obj != Py_True && obj != Py_False) {CODE
HIGHthird_party/python/Parser/asdl_c.py934 if (i == -1 && PyErr_Occurred())CODE
HIGHthird_party/python/Parser/asdl_c.py1236 assert(0 <= mode && mode <= 2);CODE
HIGHthird_party/python/Lib/macpath.py58 path[:0] + colon #23780: Ensure compatible data type even if p is null.CODE
HIGHthird_party/python/Lib/code.py233 more = self.push(line)CODE
HIGHthird_party/python/Lib/numbers.py28## binary floats (i.e. Decimal('3.14') + 2.71828 is undefined). But,COMMENT
HIGHthird_party/python/Lib/turtle.py1969 self.undobuffer.push(["seq"])CODE
HIGHthird_party/python/Lib/turtle.py2410 self.undobuffer.push(("pen", _p_buf))CODE
HIGHthird_party/python/Lib/turtle.py3076 self.undobuffer.push(("stamp", stitem))CODE
HIGHthird_party/python/Lib/turtle.py3162 self.undobuffer.push(undo_entry)CODE
HIGHthird_party/python/Lib/turtle.py3266 self.undobuffer.push(("rot", angle, self._degreesPerAU))CODE
HIGHthird_party/python/Lib/turtle.py3327 self.undobuffer.push(("beginfill", self._fillitem))CODE
HIGHthird_party/python/Lib/turtle.py3347 self.undobuffer.push(("dofill", self._fillitem))CODE
HIGHthird_party/python/Lib/turtle.py3381 self.undobuffer.push(("dot", item))CODE
HIGHthird_party/python/Lib/turtle.py3385 self.undobuffer.push(["seq"])CODE
HIGHthird_party/python/Lib/turtle.py3406 self.undobuffer.push(("wri", item))CODE
HIGHthird_party/python/Lib/turtle.py3429 self.undobuffer.push(["seq"])CODE
HIGHthird_party/python/Lib/posixpath.py87 path[:0] + sep #23780: Ensure compatible data type even if p is null.CODE
HIGHthird_party/python/Lib/locale.py1674 print('Language: ', lang or '(undefined)')CODE
HIGHthird_party/python/Lib/locale.py1675 print('Encoding: ', enc or '(undefined)')CODE
HIGHthird_party/python/Lib/locale.py1683 print(' Language: ', lang or '(undefined)')CODE
HIGHthird_party/python/Lib/locale.py1684 print(' Encoding: ', enc or '(undefined)')CODE
HIGHthird_party/python/Lib/locale.py1694 print(' Language: ', lang or '(undefined)')CODE
HIGHthird_party/python/Lib/locale.py1695 print(' Encoding: ', enc or '(undefined)')CODE
HIGHthird_party/python/Lib/locale.py1711 print(' Language: ', lang or '(undefined)')CODE
HIGHthird_party/python/Lib/locale.py1712 print(' Encoding: ', enc or '(undefined)')CODE
HIGHthird_party/python/Lib/contextlib.py286 self.push(_exit_wrapper)CODE
HIGHthird_party/python/Lib/contextlib.py318 self.push(_exit_wrapper)CODE
HIGHthird_party/python/Lib/ntpath.py88 path[:0] + sep #23780: Ensure compatible data type even if p is null.CODE
HIGHthird_party/python/Lib/smtpd.py353 self.push('500 Error: line too long')CODE
HIGHthird_party/python/Lib/smtpd.py357 self.push('500 Error: command "%s" not recognized' % command)CODE
HIGHthird_party/python/Lib/smtpd.py363 self.push('451 Internal confusion')CODE
HIGHthird_party/python/Lib/smtpd.py367 self.push('552 Error: Too much mail data')CODE
HIGHthird_party/python/Lib/smtpd.py389 self.push('250 OK')CODE
HIGHthird_party/python/Lib/smtpd.py391 self.push(status)CODE
HIGHthird_party/python/Lib/smtpd.py396 self.push('501 Syntax: HELO hostname')CODE
HIGHthird_party/python/Lib/smtpd.py400 self.push('503 Duplicate HELO/EHLO')CODE
HIGHthird_party/python/Lib/smtpd.py404 self.push('250 %s' % self.fqdn)CODE
HIGHthird_party/python/Lib/smtpd.py408 self.push('501 Syntax: EHLO hostname')CODE
HIGHthird_party/python/Lib/smtpd.py412 self.push('503 Duplicate HELO/EHLO')CODE
HIGHthird_party/python/Lib/smtpd.py417 self.push('250-%s' % self.fqdn)CODE
HIGHthird_party/python/Lib/smtpd.py419 self.push('250-SIZE %s' % self.data_size_limit)CODE
HIGHthird_party/python/Lib/smtpd.py422 self.push('250-8BITMIME')CODE
HIGHthird_party/python/Lib/smtpd.py424 self.push('250-SMTPUTF8')CODE
HIGHthird_party/python/Lib/smtpd.py426 self.push('250 HELP')CODE
HIGHthird_party/python/Lib/smtpd.py430 self.push('501 Syntax: NOOP')CODE
HIGHthird_party/python/Lib/smtpd.py432 self.push('250 OK')CODE
HIGHthird_party/python/Lib/smtpd.py436 self.push('221 Bye')CODE
HIGHthird_party/python/Lib/smtpd.py472 self.push('250 Syntax: EHLO hostname')CODE
HIGHthird_party/python/Lib/smtpd.py474 self.push('250 Syntax: HELO hostname')CODE
HIGHthird_party/python/Lib/smtpd.py479 self.push(msg)CODE
HIGHthird_party/python/Lib/smtpd.py484 self.push(msg)CODE
HIGHthird_party/python/Lib/smtpd.py486 self.push('250 Syntax: DATA')CODE
HIGHthird_party/python/Lib/smtpd.py488 self.push('250 Syntax: RSET')CODE
HIGHthird_party/python/Lib/smtpd.py490 self.push('250 Syntax: NOOP')CODE
HIGHthird_party/python/Lib/smtpd.py492 self.push('250 Syntax: QUIT')CODE
HIGHthird_party/python/Lib/smtpd.py494 self.push('250 Syntax: VRFY <address>')CODE
HIGHthird_party/python/Lib/smtpd.py496 self.push('501 Supported commands: EHLO HELO MAIL RCPT 'CODE
HIGHthird_party/python/Lib/smtpd.py499 self.push('250 Supported commands: EHLO HELO MAIL RCPT DATA 'CODE
HIGHthird_party/python/Lib/smtpd.py506 self.push('252 Cannot VRFY user, but will accept message 'CODE
236 more matches not shown…
Decorative Section Separators394 hits · 1087 pts
SeverityFileLineSnippetContext
MEDIUMlibc/sysv/syscalls.sh22# The Fifth Bell System Interface, Community Edition ┌─────────────────────────┐COMMENT
MEDIUMlibc/sysv/syscalls.sh24# ├─────────────────────────┤COMMENT
MEDIUMlibc/sysv/syscalls.sh29# FreeBSD┐ │ │ └─────────────────────────┘COMMENT
MEDIUMlibc/sysv/syscalls.sh294#──────────────────────RHEL 5.0 LIMIT──────────────────────────────── # ←┬─ last distro with gplv2 licensed compiCOMMENT
MEDIUMlibc/sysv/syscalls.sh315#──────────────────────RHEL 6.0 LIMIT──────────────────────────────── # ←┬─ modern glibc needs rhel6+ c. 2011COMMENT
MEDIUMlibc/sysv/syscalls.sh331#──────────────────────RHEL 7.0 LIMIT──────────────────────────────── # ←┬─ anything that links or uses c++11 code needsCOMMENT
MEDIUMlibc/sysv/syscalls.sh353#──────────────────────LINUX 4.18 LIMIT────────────────────────────── # ←┬─ last version of linux kernel buildable with COMMENT
MEDIUMlibc/sysv/syscalls.sh358#────────────────────────RHEL CLOUD────────────────────────────────── # ←──────┬─ red hat terminates community release oCOMMENT
MEDIUMlibc/sysv/syscalls.sh415#──────────────────XNU & FREEBSD & NETBSD────────────────────────────────────COMMENT
MEDIUMlibc/sysv/syscalls.sh427#───────────────────────XNU & FREEBSD────────────────────────────────────────COMMENT
MEDIUMlibc/sysv/syscalls.sh458#─────────────────────FREEBSD & OPENBSD──────────────────────────────────────COMMENT
MEDIUMlibc/sysv/syscalls.sh465#───────────────────────────XNU──────────────────────────────────────────────COMMENT
MEDIUMlibc/sysv/syscalls.sh634#──────────────────────────FREEBSD───────────────────────────────────────────COMMENT
MEDIUMlibc/sysv/syscalls.sh761#──────────────────────────OPENBSD───────────────────────────────────────────COMMENT
MEDIUMlibc/sysv/syscalls.sh781#──────────────────────────NETBSD────────────────────────────────────────────COMMENT
MEDIUMlibc/dlopen/dlopen.c471 // │├┐┌─┴──┐├┐┌──────┴───────┐┌─┴─┐COMMENT
MEDIUMlibc/thread/mktls.c65 // ┌───┬──────────┬──────────┼───┐COMMENT
MEDIUMlibc/thread/mktls.c67 // └───┴──────────┴──────────┼───┘COMMENT
MEDIUMlibc/thread/mktls.c102 // ┌───┼───┬──────────┬──────────┐COMMENT
MEDIUMlibc/thread/mktls.c104 // ├───┴───┴──────────┴──────────┘COMMENT
MEDIUMlibc/thread/lock.h22// ┌──────────────┴───────────────┐ │││┌─┴──┐│││├┐COMMENT
MEDIUMlibc/thread/posixthread.internal.h18// └──────────────┘COMMENT
MEDIUMlibc/str/SpecialCasing.txt27# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt29# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt56# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt58# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt60# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt198# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt202# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt207# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt224# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt229# ================================================================================COMMENT
MEDIUMlibc/str/SpecialCasing.txt250# ================================================================================COMMENT
MEDIUMlibc/str/blocks.txt12# ================================================COMMENT
MEDIUMape/specification.md532// IM: Invalid Operation ───────────────┐COMMENT
MEDIUMape/specification.md533// DM: Denormal Operand ───────────────┐│COMMENT
MEDIUMape/specification.md534// ZM: Zero Divide ───────────────────┐││COMMENT
MEDIUMape/specification.md535// OM: Overflow ─────────────────────┐│││COMMENT
MEDIUMape/specification.md536// UM: Underflow ───────────────────┐││││COMMENT
MEDIUMape/specification.md537// PM: Precision ──────────────────┐│││││COMMENT
MEDIUMape/specification.md538// PC: Precision Control ───────┐ ││││││COMMENT
MEDIUMape/specification.md540// RC: Rounding Control ──────┐ │ ││││││COMMENT
MEDIUMnet/http/khttptoken.c25// ──────────────── ────────────────COMMENT
MEDIUMnet/http/kescapeip.c25// ──────────────── ────────────────COMMENT
MEDIUMnet/http/kescapepath.c25// ──────────────── ────────────────COMMENT
MEDIUMnet/http/khostchars.c25// ──────────────── ────────────────COMMENT
MEDIUMnet/http/kescapefragment.c25// ──────────────── ────────────────COMMENT
MEDIUMnet/http/kescapesegment.c25// ──────────────── ────────────────COMMENT
MEDIUMnet/http/kescapeauthority.c25// ──────────────── ────────────────COMMENT
MEDIUMnet/http/kescapeparam.c25// ──────────────── ────────────────COMMENT
MEDIUMthird_party/python/Tools/unicode/makeunicodedata.py42# --------------------COMMENT
MEDIUMthird_party/python/Tools/unicode/makeunicodedata.py165# --------------------------------------------------------------------STRING
MEDIUMthird_party/python/Tools/unicode/makeunicodedata.py485# --------------------------------------------------------------------STRING
MEDIUMthird_party/python/Tools/unicode/makeunicodedata.py667# --------------------------------------------------------------------STRING
MEDIUMthird_party/python/Tools/unicode/makeunicodedata.py958# --------------------------------------------------------------------STRING
MEDIUMthird_party/python/Tools/scripts/texi2html.py85# -----------------------------------------------------COMMENT
MEDIUMthird_party/python/Parser/asdl.py1#-------------------------------------------------------------------------------COMMENT
MEDIUMthird_party/python/Parser/asdl.py21#-------------------------------------------------------------------------------COMMENT
MEDIUMthird_party/python/Lib/asyncore.py5# ======================================================================COMMENT
MEDIUMthird_party/python/Lib/asyncore.py26# ======================================================================COMMENT
334 more matches not shown…
Unused Imports1313 hits · 1054 pts
SeverityFileLineSnippetContext
LOWthird_party/python/PC/testpy.py15CODE
LOWthird_party/python/Tools/ssl/multissltests.py25CODE
LOWthird_party/python/Tools/gdb/libpython.py47CODE
LOWthird_party/python/Tools/unicode/makeunicodedata.py36CODE
LOWthird_party/python/Tools/ccbench/ccbench.py3CODE
LOWthird_party/python/Tools/ccbench/ccbench.py4CODE
LOWthird_party/python/Tools/pybench/systimes.py35CODE
LOWthird_party/python/Tools/pybench/CommandLine.py14CODE
LOWthird_party/python/Tools/pybench/Imports.py4CODE
LOWthird_party/python/Tools/pybench/Imports.py5CODE
LOWthird_party/python/Tools/pybench/Imports.py16CODE
LOWthird_party/python/Tools/pybench/Imports.py17CODE
LOWthird_party/python/Tools/pybench/Imports.py18CODE
LOWthird_party/python/Tools/pybench/Imports.py19CODE
LOWthird_party/python/Tools/pybench/Imports.py20CODE
LOWthird_party/python/Tools/pybench/Imports.py22CODE
LOWthird_party/python/Tools/pybench/Imports.py23CODE
LOWthird_party/python/Tools/pybench/Imports.py24CODE
LOWthird_party/python/Tools/pybench/Imports.py25CODE
LOWthird_party/python/Tools/pybench/Imports.py26CODE
LOWthird_party/python/Tools/pybench/Imports.py28CODE
LOWthird_party/python/Tools/pybench/Imports.py29CODE
LOWthird_party/python/Tools/pybench/Imports.py30CODE
LOWthird_party/python/Tools/pybench/Imports.py31CODE
LOWthird_party/python/Tools/pybench/Imports.py32CODE
LOWthird_party/python/Tools/pybench/Imports.py34CODE
LOWthird_party/python/Tools/pybench/Imports.py35CODE
LOWthird_party/python/Tools/pybench/Imports.py36CODE
LOWthird_party/python/Tools/pybench/Imports.py37CODE
LOWthird_party/python/Tools/pybench/Imports.py38CODE
LOWthird_party/python/Tools/pybench/Imports.py40CODE
LOWthird_party/python/Tools/pybench/Imports.py41CODE
LOWthird_party/python/Tools/pybench/Imports.py42CODE
LOWthird_party/python/Tools/pybench/Imports.py43CODE
LOWthird_party/python/Tools/pybench/Imports.py44CODE
LOWthird_party/python/Tools/pybench/Imports.py61CODE
LOWthird_party/python/Tools/pybench/Imports.py62CODE
LOWthird_party/python/Tools/pybench/Imports.py63CODE
LOWthird_party/python/Tools/pybench/Imports.py64CODE
LOWthird_party/python/Tools/pybench/Imports.py65CODE
LOWthird_party/python/Tools/pybench/Imports.py67CODE
LOWthird_party/python/Tools/pybench/Imports.py68CODE
LOWthird_party/python/Tools/pybench/Imports.py69CODE
LOWthird_party/python/Tools/pybench/Imports.py70CODE
LOWthird_party/python/Tools/pybench/Imports.py71CODE
LOWthird_party/python/Tools/pybench/Imports.py73CODE
LOWthird_party/python/Tools/pybench/Imports.py74CODE
LOWthird_party/python/Tools/pybench/Imports.py75CODE
LOWthird_party/python/Tools/pybench/Imports.py76CODE
LOWthird_party/python/Tools/pybench/Imports.py77CODE
LOWthird_party/python/Tools/pybench/Imports.py79CODE
LOWthird_party/python/Tools/pybench/Imports.py80CODE
LOWthird_party/python/Tools/pybench/Imports.py81CODE
LOWthird_party/python/Tools/pybench/Imports.py82CODE
LOWthird_party/python/Tools/pybench/Imports.py83CODE
LOWthird_party/python/Tools/pybench/Imports.py85CODE
LOWthird_party/python/Tools/pybench/Imports.py86CODE
LOWthird_party/python/Tools/pybench/Imports.py87CODE
LOWthird_party/python/Tools/pybench/Imports.py88CODE
LOWthird_party/python/Tools/pybench/Imports.py89CODE
1253 more matches not shown…
Deep Nesting1065 hits · 962 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Tools/demo/markov.py39CODE
LOWthird_party/python/Tools/ssl/multissltests.py393CODE
LOWthird_party/python/Tools/gdb/libpython.py490CODE
LOWthird_party/python/Tools/gdb/libpython.py1080CODE
LOWthird_party/python/Tools/gdb/libpython.py1178CODE
LOWthird_party/python/Tools/gdb/libpython.py1250CODE
LOWthird_party/python/Tools/gdb/libpython.py1678CODE
LOWthird_party/python/Tools/gdb/libpython.py1697CODE
LOWthird_party/python/Tools/freeze/parsesetup.py48CODE
LOWthird_party/python/Tools/freeze/makefreeze.py32CODE
LOWthird_party/python/Tools/freeze/freeze.py110CODE
LOWthird_party/python/Tools/freeze/checkextensions.py8CODE
LOWthird_party/python/Tools/freeze/makeconfig.py9CODE
LOWthird_party/python/Tools/unicode/mkstringprep.py17CODE
LOWthird_party/python/Tools/unicode/makeunicodedata.py168CODE
LOWthird_party/python/Tools/unicode/makeunicodedata.py488CODE
LOWthird_party/python/Tools/unicode/makeunicodedata.py670CODE
LOWthird_party/python/Tools/unicode/makeunicodedata.py843CODE
LOWthird_party/python/Tools/unicode/makeunicodedata.py971CODE
LOWthird_party/python/Tools/unicode/makeunicodedata.py1426CODE
LOWthird_party/python/Tools/stringbench/stringbench.py1409CODE
LOWthird_party/python/Tools/parser/unparse.py679CODE
LOWthird_party/python/Tools/ccbench/ccbench.py434CODE
LOWthird_party/python/Tools/pybench/CommandLine.py63CODE
LOWthird_party/python/Tools/pybench/CommandLine.py407CODE
LOWthird_party/python/Tools/pybench/pybench.py98CODE
LOWthird_party/python/Tools/pybench/pybench.py639CODE
LOWthird_party/python/Tools/pybench/Constructs.py9CODE
LOWthird_party/python/Tools/pybench/Constructs.py476CODE
LOWthird_party/python/Tools/scripts/reindent.py69CODE
LOWthird_party/python/Tools/scripts/reindent.py104CODE
LOWthird_party/python/Tools/scripts/reindent.py201CODE
LOWthird_party/python/Tools/scripts/reindent.py285CODE
LOWthird_party/python/Tools/scripts/pickle2db.py55CODE
LOWthird_party/python/Tools/scripts/linktree.py50CODE
LOWthird_party/python/Tools/scripts/pdeps.py94CODE
LOWthird_party/python/Tools/scripts/db2pickle.py50CODE
LOWthird_party/python/Tools/scripts/ifdef.py52CODE
LOWthird_party/python/Tools/scripts/pathfix.py38CODE
LOWthird_party/python/Tools/scripts/pathfix.py77CODE
LOWthird_party/python/Tools/scripts/fixdiv.py205CODE
LOWthird_party/python/Tools/scripts/cleanfuture.py57CODE
LOWthird_party/python/Tools/scripts/cleanfuture.py156CODE
LOWthird_party/python/Tools/scripts/fixcid.py62CODE
LOWthird_party/python/Tools/scripts/fixcid.py95CODE
LOWthird_party/python/Tools/scripts/fixcid.py117CODE
LOWthird_party/python/Tools/scripts/fixcid.py227CODE
LOWthird_party/python/Tools/scripts/pysource.py91CODE
LOWthird_party/python/Tools/scripts/findnocoding.py19CODE
LOWthird_party/python/Tools/scripts/analyze_dxp.py54CODE
LOWthird_party/python/Tools/scripts/checkpyc.py15CODE
LOWthird_party/python/Tools/scripts/fixnotice.py59CODE
LOWthird_party/python/Tools/scripts/h2py.py59CODE
LOWthird_party/python/Tools/scripts/h2py.py110CODE
LOWthird_party/python/Tools/scripts/highlight.py27CODE
LOWthird_party/python/Tools/scripts/mailerdaemon.py97CODE
LOWthird_party/python/Tools/scripts/md5sum.py72CODE
LOWthird_party/python/Tools/scripts/patchcheck.py95CODE
LOWthird_party/python/Tools/scripts/patchcheck.py172CODE
LOWthird_party/python/Tools/scripts/which.py16CODE
1005 more matches not shown…
Self-Referential Comments206 hits · 514 pts
SeverityFileLineSnippetContext
MEDIUMthird_party/python/Tools/demo/mcast.py55 # Create a socketCOMMENT
MEDIUMthird_party/python/Tools/freeze/freeze.py437 # Create a module definition for the bootstrap C code.COMMENT
MEDIUM…ird_party/python/Tools/freeze/checkextensions_win32.py58 # Create a table of frozen extensionsCOMMENT
MEDIUMthird_party/python/Tools/unicode/mkstringprep.py115print("""# This file is generated by mkstringprep.py. DO NOT EDIT.CODE
MEDIUMthird_party/python/Tools/ccbench/ccbench.py302 # Create a listening socket to receive the pings. We use UDP which shouldCOMMENT
MEDIUMthird_party/python/Tools/ccbench/ccbench.py435 # Create a listening socket to receive the packets. We use UDP which shouldCOMMENT
MEDIUMthird_party/python/Tools/scripts/ptags.py5# Create a tags file for Python programs, usable with vi.COMMENT
MEDIUMthird_party/python/Tools/scripts/highlight.py215 # Create an HTML section to embed in an existing webpageCOMMENT
MEDIUMthird_party/python/Tools/scripts/highlight.py218 # Create a complete HTML fileCOMMENT
MEDIUMthird_party/python/Tools/scripts/highlight.py221 # Create a PDF using LaTeXCOMMENT
MEDIUMthird_party/python/Tools/scripts/texi2html.py208 # Initialize an instanceCOMMENT
MEDIUMthird_party/python/Tools/scripts/pindent.py3# This file contains a class and a main program that perform threeCOMMENT
MEDIUMthird_party/python/Parser/asdl.py29# The following classes define nodes into which the ASDL description is parsed.COMMENT
MEDIUMthird_party/python/Lib/ipaddress.py1447 """This class represents and manipulates 32-bit IPv4 network + addresses..STRING
MEDIUMthird_party/python/Lib/ipaddress.py2129 """This class represents and manipulates 128-bit IPv6 networks.STRING
MEDIUMthird_party/python/Lib/_compat_pickle.py1# This module is used to map the old Python 2 names to the new names used inCOMMENT
MEDIUMthird_party/python/Lib/bdb.py182 """This method is called when there is the remote possibilitySTRING
MEDIUMthird_party/python/Lib/bdb.py187 """This method is called when we stop or break at this line."""STRING
MEDIUMthird_party/python/Lib/bdb.py191 """This method is called when a return trap is set here."""STRING
MEDIUMthird_party/python/Lib/bdb.py195 """This method is called if an exception occurs,STRING
MEDIUMthird_party/python/Lib/bdb.py419 # The following methods can be called by clients to useCOMMENT
MEDIUMthird_party/python/Lib/bdb.py461 # This method is more useful to debug a single function call.COMMENT
MEDIUMthird_party/python/Lib/cProfile.py105 # This method is more useful to profile a single function call.COMMENT
MEDIUMthird_party/python/Lib/token.py5# This file is automatically generated; please don't muck it up!COMMENT
MEDIUMthird_party/python/Lib/base64.py414# The following code is originally taken (with permission) from MercurialCOMMENT
MEDIUMthird_party/python/Lib/gettext.py13# This module represents the integration of work, contributions, feedback, andCOMMENT
MEDIUMthird_party/python/Lib/modulefinder.py611 # Create the module finder and turn its crankCOMMENT
MEDIUMthird_party/python/Lib/subprocess.py1366 # This method is called (indirectly) by __del__, so it cannotCOMMENT
MEDIUMthird_party/python/Lib/subprocess.py1577 # This method is called from the _communicate_with_*() methodsCOMMENT
MEDIUMthird_party/python/Lib/profile.py429 # This method is more useful to profile a single function call.COMMENT
MEDIUMthird_party/python/Lib/pydoc.py613 # Create a link for methods like 'self.method(...)'COMMENT
MEDIUMthird_party/python/Lib/symbol.py5# This file is automatically generated; please don't muck it up!COMMENT
MEDIUMthird_party/python/Lib/types.py242 # The following code is primarily to support functions thatCOMMENT
MEDIUMthird_party/python/Lib/pdb.py245 """This method is called when there is the remote possibilitySTRING
MEDIUMthird_party/python/Lib/pdb.py254 """This function is called when we stop or break at this line."""STRING
MEDIUMthird_party/python/Lib/pdb.py288 """This function is called when a return trap is set here."""STRING
MEDIUMthird_party/python/Lib/pdb.py296 """This function is called if an exception occurs,STRING
MEDIUMthird_party/python/Lib/threading.py284 # This method is called only if _lock doesn't have _is_owned().COMMENT
MEDIUMthird_party/python/Lib/threading.py1328# Create the main thread object,COMMENT
MEDIUMthird_party/python/Lib/threading.py1380 # This function is called by Python/ceval.c:PyEval_ReInitThreads whichCOMMENT
MEDIUMthird_party/python/Lib/threading.py115 """This class implements reentrant lock objects.STRING
MEDIUMthird_party/python/Lib/threading.py398 """This class implements semaphore objects.STRING
MEDIUMthird_party/python/Lib/platform.py11# This module is maintained by Marc-Andre Lemburg <mal@egenix.com>.COMMENT
MEDIUMthird_party/python/Lib/pstats.py33 """This class is used for creating reports from data generated by theSTRING
MEDIUMthird_party/python/Lib/pstats.py275 # The following functions support actual printing of reportsCOMMENT
MEDIUMthird_party/python/Lib/pstats.py439 """This class provides a generic function for comparing any two tuples.STRING
MEDIUMthird_party/python/Lib/pstats.py482# The following functions combine statists for pairs functions.COMMENT
MEDIUMthird_party/python/Lib/pstats.py520# The following functions support printing of reportsCOMMENT
MEDIUMthird_party/python/Lib/inspect.py29# This module is in the public domain. No warranties.COMMENT
MEDIUMthird_party/python/Lib/plistlib.py81 # This class is needed while Dict is scheduled for deprecation:STRING
MEDIUMthird_party/python/Lib/fractions.py61 """This class implements rational numbers.STRING
MEDIUMthird_party/python/Lib/mailbox.py560 # This method is for backward compatibility only.COMMENT
MEDIUMthird_party/python/Lib/doctest.py134 # Create a new flag unless `name` is already known.STRING
MEDIUMthird_party/python/Lib/doctest.py646 # Create an Example, and add it to the list.STRING
MEDIUMthird_party/python/Lib/doctest.py1210 # Create a fake output target for capturing doctest output.STRING
MEDIUMthird_party/python/Lib/tarfile.py888 # Create a pax extended header if necessary.COMMENT
MEDIUMthird_party/python/Lib/tarfile.py1937 # Create a TarInfo object from the file.COMMENT
MEDIUMthird_party/python/Lib/stringprep.py1# This file is generated by mkstringprep.py. DO NOT EDIT.COMMENT
MEDIUMthird_party/python/Lib/ssl.py4"""This module provides some more Pythonic support for SSL.STRING
MEDIUMthird_party/python/Lib/ssl.py568 """This class implements an interface on top of a low-level SSL object asSTRING
146 more matches not shown…
Excessive Try-Catch Wrapping385 hits · 438 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Tools/ssl/multissltests.py451 except Exception as e:CODE
LOWthird_party/python/Tools/gdb/libpython.py940 except Exception:CODE
MEDIUMthird_party/python/Tools/gdb/libpython.py271def safe_tp_name(self):CODE
LOWthird_party/python/Tools/unicode/listcodecs.py25 except Exception as reason:CODE
LOWthird_party/python/Tools/parser/unparse.py692 except Exception as e:CODE
LOWthird_party/python/Tools/scripts/pysource.py84 except Exception as err:CODE
MEDIUMthird_party/python/Tools/scripts/pysource.py33def _open(fullpath):CODE
LOWthird_party/python/Tools/scripts/patchcheck.py185 except Exception as err:CODE
MEDIUMthird_party/python/Tools/scripts/texi2html.py1782 print('Error log file=ErrorLog.log', file=fp)CODE
MEDIUMthird_party/python/Tools/pynche/ColorDB.py56 print('Error in', fp.name, ' line', lineno, file=sys.stderr)CODE
LOWthird_party/python/Tools/clinic/clinic.py1772 except Exception:STRING
LOWthird_party/python/Tools/clinic/clinic.py3778 except Exception as e:STRING
MEDIUMthird_party/python/Tools/clinic/cpp.py57 print("Error at" + filename, "line", self.line_number, ":")CODE
LOWthird_party/python/Parser/asdl.py130 except Exception as e:CODE
MEDIUMthird_party/python/Parser/asdl.py131 print("Error visiting %r: %s" % (obj, e))CODE
LOWthird_party/python/Lib/shutil.py476 except Exception:CODE
LOWthird_party/python/Lib/shutil.py481 except Exception:CODE
LOWthird_party/python/Lib/_pyio.py818 except Exception:CODE
LOWthird_party/python/Lib/_pyio.py1986 except Exception:STRING
LOWthird_party/python/Lib/_pyio.py1992 except Exception:STRING
MEDIUMthird_party/python/Lib/_pyio.py1302def close(self):CODE
LOWthird_party/python/Lib/pkgutil.py96 except Exception:CODE
LOWthird_party/python/Lib/rlcompleter.py149 except Exception:CODE
LOWthird_party/python/Lib/rlcompleter.py174 except Exception:CODE
LOWthird_party/python/Lib/weakref.py625 except Exception:CODE
LOWthird_party/python/Lib/warnings.py44 except Exception:CODE
LOWthird_party/python/Lib/warnings.py59 except Exception:CODE
LOWthird_party/python/Lib/warnings.py75 except Exception:CODE
MEDIUMthird_party/python/Lib/pydoc.py463def repr_instance(self, x, level):CODE
LOWthird_party/python/Lib/pydoc.py807 except Exception:CODE
LOWthird_party/python/Lib/pydoc.py856 except Exception:CODE
LOWthird_party/python/Lib/pydoc.py1246 except Exception:CODE
LOWthird_party/python/Lib/pydoc.py2519 except Exception as exc:CODE
LOWthird_party/python/Lib/pydoc.py2106 except Exception:STRING
LOWthird_party/python/Lib/pydoc.py2272 except Exception as e:STRING
LOWthird_party/python/Lib/socketserver.py321 except Exception:CODE
LOWthird_party/python/Lib/socketserver.py631 except Exception:CODE
LOWthird_party/python/Lib/socketserver.py664 except Exception:CODE
LOWthird_party/python/Lib/pdb.py469 except Exception:CODE
LOWthird_party/python/Lib/pdb.py1310 except Exception:CODE
LOWthird_party/python/Lib/pdb.py1318 except Exception:CODE
MEDIUMthird_party/python/Lib/pdb.py1153def _getval(self, arg):CODE
MEDIUMthird_party/python/Lib/threading.py660def _release(self):CODE
LOWthird_party/python/Lib/threading.py881 except Exception:CODE
MEDIUMthird_party/python/Lib/turtle.py651def eventfun(event):CODE
LOWthird_party/python/Lib/turtle.py223 except Exception:CODE
LOWthird_party/python/Lib/turtle.py232except Exception:CODE
LOWthird_party/python/Lib/turtle.py656 except Exception:CODE
LOWthird_party/python/Lib/turtle.py3868 except Exception:CODE
LOWthird_party/python/Lib/turtle.py3878except Exception:CODE
LOWthird_party/python/Lib/pstats.py89 except Exception:CODE
LOWthird_party/python/Lib/pstats.py620 except Exception as err:CODE
MEDIUMthird_party/python/Lib/inspect.py1538def _is_type(obj):CODE
LOWthird_party/python/Lib/inspect.py429 except Exception as exc:CODE
LOWthird_party/python/Lib/inspect.py1132 except Exception as ex:CODE
LOWthird_party/python/Lib/inspect.py3095 except Exception as exc:CODE
LOWthird_party/python/Lib/inspect.py3123 except Exception:CODE
LOWthird_party/python/Lib/site.py175 except Exception:CODE
MEDIUMthird_party/python/Lib/site.py176 print("Error processing line {:d} of {}:\n".format(n+1, fullname),CODE
LOWthird_party/python/Lib/site.py522 except Exception as err:CODE
325 more matches not shown…
Dead Code165 hits · 311 pts
SeverityFileLineSnippetContext
MEDIUMthird_party/python/Lib/sysconfig.py348CODE
MEDIUM…party/python/Lib/unittest/test/testmock/testhelpers.py404CODE
MEDIUM…party/python/Lib/unittest/test/testmock/testhelpers.py408CODE
MEDIUM…party/python/Lib/unittest/test/testmock/testhelpers.py409CODE
MEDIUM…party/python/Lib/unittest/test/testmock/testhelpers.py410CODE
MEDIUM…party/python/Lib/unittest/test/testmock/testhelpers.py413CODE
MEDIUM…party/python/Lib/unittest/test/testmock/testhelpers.py414CODE
MEDIUM…party/python/Lib/unittest/test/testmock/testhelpers.py415CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py671CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py674CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py698CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py699CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py700CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py701CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py703CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py704CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py705CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py706CODE
MEDIUM…d_party/python/Lib/unittest/test/testmock/testpatch.py707CODE
MEDIUMthird_party/python/Lib/test/test_gettext.py599CODE
MEDIUMthird_party/python/Lib/test/test_gettext.py608CODE
MEDIUMthird_party/python/Lib/test/test_gettext.py609CODE
MEDIUMthird_party/python/Lib/test/test_gettext.py610CODE
MEDIUMthird_party/python/Lib/test/test_gzip.py655CODE
MEDIUMthird_party/python/Lib/test/test_gzip.py656CODE
MEDIUMthird_party/python/Lib/test/test_gzip.py657CODE
MEDIUMthird_party/python/Lib/test/test_gzip.py659CODE
MEDIUMthird_party/python/Lib/test/test_gzip.py662CODE
MEDIUMthird_party/python/Lib/test/test_strftime.py138CODE
MEDIUMthird_party/python/Lib/test/test_strftime.py160CODE
MEDIUMthird_party/python/Lib/test/test_configparser.py1335CODE
MEDIUMthird_party/python/Lib/test/test_configparser.py1336CODE
MEDIUMthird_party/python/Lib/test/test_configparser.py1337CODE
MEDIUMthird_party/python/Lib/test/test_itertools.py2019CODE
MEDIUMthird_party/python/Lib/test/test_array.py161CODE
MEDIUMthird_party/python/Lib/test/test_array.py162CODE
MEDIUMthird_party/python/Lib/test/test_array.py168CODE
MEDIUMthird_party/python/Lib/test/test_array.py977CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py892CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py893CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py894CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py895CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py901CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py902CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py905CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py907CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py911CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py913CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py915CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py917CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py921CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py925CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py929CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py931CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py933CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py936CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py938CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py948CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py949CODE
MEDIUMthird_party/python/Lib/test/test_bytes.py951CODE
105 more matches not shown…
AI Slop Vocabulary106 hits · 231 pts
SeverityFileLineSnippetContext
LOWlibc/sysv/consts/s.h16#define S_IXUSR 0000100 /* user --x; just use octal */COMMENT
LOWlibc/sysv/consts/s.h17#define S_IWUSR 0000200 /* user -w-; just use octal */COMMENT
LOWlibc/sysv/consts/s.h18#define S_IRUSR 0000400 /* user r--; just use octal */COMMENT
LOWlibc/sysv/consts/s.h19#define S_IRWXU 0000700 /* user rwx; just use octal */COMMENT
LOWlibc/sysv/consts/s.h20#define S_IXGRP 0000010 /* group --x; just use octal */COMMENT
LOWlibc/sysv/consts/s.h21#define S_IWGRP 0000020 /* group -w-; just use octal */COMMENT
LOWlibc/sysv/consts/s.h22#define S_IRGRP 0000040 /* group r--; just use octal */COMMENT
LOWlibc/sysv/consts/s.h23#define S_IRWXG 0000070 /* group rwx; just use octal */COMMENT
LOWlibc/sysv/consts/s.h24#define S_IXOTH 0000001 /* other --x; just use octal */COMMENT
LOWlibc/sysv/consts/s.h25#define S_IWOTH 0000002 /* other -w-; just use octal */COMMENT
LOWlibc/sysv/consts/s.h26#define S_IROTH 0000004 /* other r--; just use octal */COMMENT
LOWlibc/sysv/consts/s.h27#define S_IRWXO 0000007 /* other rwx; just use octal */COMMENT
LOWlibc/sysv/consts/s.h28#define S_IREAD 0000400 /* just use octal */COMMENT
LOWlibc/sysv/consts/s.h29#define S_IEXEC 0000100 /* just use octal */COMMENT
LOWlibc/sysv/consts/s.h30#define S_IWRITE 0000200 /* just use octal */COMMENT
LOWlibc/sysv/consts/s.h31#define S_ISTXT 0001000 /* just use octal */COMMENT
MEDIUMlibc/thread/pthread_mutex_consistent.c32 // The POSIX concept of robust mutexes is a bit cray. So let's changeCOMMENT
MEDIUMlibc/thread/lock.h10// ││┌robustCOMMENT
MEDIUMthird_party/libcxx/__iterator/iter_swap.h46 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUMthird_party/libcxx/__iterator/iter_swap.h56 // NOLINTBEGIN(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUMthird_party/libcxx/__iterator/iter_swap.h63 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMthird_party/libcxx/__iterator/iter_move.h42 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUMthird_party/libcxx/__iterator/iter_move.h61 // NOLINTBEGIN(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_moveCOMMENT
MEDIUMthird_party/libcxx/__iterator/iter_move.h68 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMthird_party/libcxx/__compare/weak_order.h36 // NOLINTBEGIN(libcpp-robust-against-adl) weak_order should use ADL, but only hereCOMMENT
MEDIUMthird_party/libcxx/__compare/weak_order.h44 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMthird_party/libcxx/__compare/partial_order.h34 // NOLINTBEGIN(libcpp-robust-against-adl) partial_order should use ADL, but only hereCOMMENT
MEDIUMthird_party/libcxx/__compare/partial_order.h42 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMthird_party/libcxx/__compare/strong_order.h43 // NOLINTBEGIN(libcpp-robust-against-adl) strong_order should use ADL, but only hereCOMMENT
MEDIUMthird_party/libcxx/__compare/strong_order.h51 // NOLINTEND(libcpp-robust-against-adl)COMMENT
LOWthird_party/python/Tools/scripts/patchcheck.py98 # We just use an existence check here as:COMMENT
LOWthird_party/python/Lib/zipfile.py222 # end-of-archive record, so just return the end record we were given.COMMENT
LOWthird_party/python/Lib/shutil.py1143 # what file suffixes are executable, so just pass on cmd as-is.COMMENT
MEDIUMthird_party/python/Lib/asyncore.py15# Rushing not be used in advertising or publicity pertaining toCOMMENT
MEDIUMthird_party/python/Lib/trace.py27# Bioreason or Mojam Media be used in advertising or publicity pertaining toCOMMENT
MEDIUMthird_party/python/Lib/cgitb.py1"""More comprehensive traceback formatting for Python scripts.STRING
MEDIUMthird_party/python/Lib/uu.py11# not be used in advertising or publicity pertaining to distributionCOMMENT
LOWthird_party/python/Lib/difflib.py1447 # Handle case where no user markup is to be added, just return line ofSTRING
LOWthird_party/python/Lib/difflib.py1805 # if blank line or context separator, just add it to the output listCOMMENT
LOWthird_party/python/Lib/difflib.py1810 # if line text doesn't need wrapping, just add it to the output listCOMMENT
LOWthird_party/python/Lib/ftplib.py418 # then we'll just use anonymous@COMMENT
LOWthird_party/python/Lib/optparse.py575 # Check all the attributes we just set. There are lots ofCOMMENT
LOWthird_party/python/Lib/threading.py251 # these override the default implementations (which just callCOMMENT
MEDIUMthird_party/python/Lib/turtle.py708 """Set focus on canvas (in order to collect key-events)STRING
MEDIUMthird_party/python/Lib/turtle.py1429 """Set focus on TurtleScreen (in order to collect key-events)STRING
MEDIUMthird_party/python/Lib/doctest.py1621 # in conjunction with the ELLIPSIS flag.STRING
LOWthird_party/python/Lib/argparse.py2026 # for regular arguments, just add them back into the listCOMMENT
LOWthird_party/python/Lib/tarfile.py1238 # Normally, we could just use "utf-8" as the encoding and "strict"COMMENT
LOWthird_party/python/Lib/typing.py888 # For non-ABC extras we'll just call issubclass().COMMENT
LOWthird_party/python/Lib/_pydecimal.py3384 # otherwise, simply return the adjusted exponent of self, as aCOMMENT
LOWthird_party/python/Lib/ntpath.py680 # This is overkill on Windows - just pass the path to GetFileAttributesCOMMENT
MEDIUMthird_party/python/Lib/asynchat.py15# Rushing not be used in advertising or publicity pertaining toCOMMENT
LOWthird_party/python/Lib/distutils/unixccompiler.py30# * optimization/debug/warning flags; we just use whatever's in Python'sCOMMENT
MEDIUMthird_party/python/Lib/distutils/util.py397 # safety's sake (script should be more robust in the face ofSTRING
MEDIUMthird_party/python/Lib/distutils/spawn.py49 # XXX this doesn't seem very robust to me -- but if the Windows guysCOMMENT
LOWthird_party/python/Lib/distutils/tests/support.py199 # To further add to the shared builds fun on Unix, we can't just addCOMMENT
LOWthird_party/python/Lib/distutils/command/build_py.py171 # package_dir at all, as we just use the directory impliedCOMMENT
LOWthird_party/python/Lib/distutils/command/install.py86 # Or, just set the base director(y|ies)COMMENT
LOWthird_party/python/Lib/unittest/test/test_loader.py775 # XXX Should this raise a ValueError or just return an empty TestSuite?COMMENT
LOW…rd_party/python/Lib/unittest/test/testmock/testmock.py966 # need to do this because MagicMock.mock_calls used to just returnCOMMENT
46 more matches not shown…
Modern Structural Boilerplate231 hits · 224 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Tools/scripts/pysource.py20__all__ = ["has_python_ext", "looks_like_python", "can_be_compiled", "walk_python_files"]CODE
LOWthird_party/python/Parser/asdl.py25__all__ = [CODE
LOWthird_party/python/Lib/zipfile.py39__all__ = ["BadZipFile", "BadZipfile", "error",CODE
LOWthird_party/python/Lib/shutil.py45__all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2",CODE
LOWthird_party/python/Lib/tempfile.py26__all__ = [CODE
LOWthird_party/python/Lib/queue.py11__all__ = ['Empty', 'Full', 'Queue', 'PriorityQueue', 'LifoQueue']CODE
LOWthird_party/python/Lib/macpath.py20__all__ = ["normcase","isabs","join","splitdrive","split","splitext",CODE
LOWthird_party/python/Lib/pkgutil.py14__all__ = [CODE
LOWthird_party/python/Lib/_dummy_thread.py16__all__ = [CODE
LOWthird_party/python/Lib/lzma.py11__all__ = [CODE
LOWthird_party/python/Lib/copyreg.py7__all__ = ["pickle", "constructor",CODE
LOWthird_party/python/Lib/sndhdr.py33__all__ = ['what', 'whathdr']CODE
LOWthird_party/python/Lib/rlcompleter.py36__all__ = ["Completer"]CODE
LOWthird_party/python/Lib/gzip.py14__all__ = ["GzipFile", "open", "compress", "decompress"]CODE
LOWthird_party/python/Lib/trace.py50__all__ = ['Trace', 'CoverageResults']CODE
LOWthird_party/python/Lib/webbrowser.py11__all__ = ["Error", "open", "open_new", "open_new_tab", "get", "register"]CODE
LOWthird_party/python/Lib/nntplib.py82__all__ = ["NNTP",CODE
LOWthird_party/python/Lib/dis.py10__all__ = ["code_info", "dis", "disassemble", "distb", "disco",CODE
LOWthird_party/python/Lib/bdb.py8__all__ = ["BdbQuit", "Bdb", "Breakpoint"]CODE
LOWthird_party/python/Lib/zipapp.py9__all__ = ['ZipAppError', 'create_archive', 'get_interpreter']CODE
LOWthird_party/python/Lib/cmd.py47__all__ = ["Cmd"]CODE
LOWthird_party/python/Lib/tty.py7__all__ = ["setraw", "setcbreak"]CODE
LOWthird_party/python/Lib/tabnanny.py30__all__ = ["check", "NannyNag", "process_tokens"]CODE
LOWthird_party/python/Lib/cProfile.py7__all__ = ["run", "runctx", "Profile"]CODE
LOWthird_party/python/Lib/token.py3__all__ = ['tok_name', 'ISTERMINAL', 'ISNONTERMINAL', 'ISEOF']CODE
LOWthird_party/python/Lib/textwrap.py10__all__ = ['TextWrapper', 'wrap', 'fill', 'dedent', 'indent', 'shorten']CODE
LOWthird_party/python/Lib/base64.py14__all__ = [CODE
LOWthird_party/python/Lib/bz2.py7__all__ = ["BZ2File", "BZ2Compressor", "BZ2Decompressor",CODE
LOWthird_party/python/Lib/macurl2path.py8__all__ = ["url2pathname","pathname2url"]CODE
LOWthird_party/python/Lib/_threading_local.py134__all__ = ["local"]CODE
LOWthird_party/python/Lib/pyclbr.py48__all__ = ["readmodule", "readmodule_ex", "Class", "Function"]CODE
LOWthird_party/python/Lib/gettext.py53__all__ = ['NullTranslations', 'GNUTranslations', 'Catalog',CODE
LOWthird_party/python/Lib/wave.py76__all__ = ["open", "openfp", "Error", "Wave_read", "Wave_write"]CODE
LOWthird_party/python/Lib/weakref.py30__all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs",CODE
LOWthird_party/python/Lib/opcode.py7__all__ = ["cmp_op", "hasconst", "hasname", "hasjrel", "hasjabs",CODE
LOWthird_party/python/Lib/netrc.py7__all__ = ["netrc", "NetrcParseError"]CODE
LOWthird_party/python/Lib/heapq.py127__all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'merge',STRING
LOWthird_party/python/Lib/functools.py12__all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',CODE
LOWthird_party/python/Lib/cgi.py46__all__ = ["MiniFieldStorage", "FieldStorage",CODE
LOWthird_party/python/Lib/codeop.py64__all__ = ["compile_command", "Compile", "CommandCompiler"]STRING
LOWthird_party/python/Lib/fnmatch.py17__all__ = ["filter", "fnmatch", "fnmatchcase", "translate"]CODE
LOWthird_party/python/Lib/traceback.py8__all__ = ['extract_stack', 'extract_tb', 'format_exception',CODE
LOWthird_party/python/Lib/warnings.py6__all__ = ["warn", "warn_explicit", "showwarning",CODE
LOWthird_party/python/Lib/subprocess.py158__all__ = ["Popen", "PIPE", "STDOUT", "call", "check_call", "getstatusoutput",CODE
LOWthird_party/python/Lib/profile.py33__all__ = ["run", "runctx", "Profile"]CODE
LOWthird_party/python/Lib/imghdr.py5__all__ = ["what"]CODE
LOWthird_party/python/Lib/filecmp.py17__all__ = ['clear_cache', 'cmp', 'dircmp', 'cmpfiles', 'DEFAULT_IGNORES']CODE
LOWthird_party/python/Lib/codecs.py16__all__ = ["register", "lookup", "open", "EncodedFile", "BOM", "BOM_BE",CODE
LOWthird_party/python/Lib/uu.py37__all__ = ["Error", "encode", "decode"]CODE
LOWthird_party/python/Lib/_weakrefset.py7__all__ = ['WeakSet']CODE
LOWthird_party/python/Lib/io.py44__all__ = ["BlockingIOError", "open", "IOBase", "RawIOBase", "FileIO",CODE
LOWthird_party/python/Lib/code.py13__all__ = ["InteractiveInterpreter", "InteractiveConsole", "interact",CODE
LOWthird_party/python/Lib/operator.py13__all__ = ['abs', 'add', 'and_', 'attrgetter', 'concat', 'contains', 'countOf',CODE
LOWthird_party/python/Lib/fileinput.py77__all__ = ["input", "close", "nextfile", "filename", "lineno", "filelineno",CODE
LOWthird_party/python/Lib/os.py32__all__ = ["altsep", "curdir", "pardir", "sep", "pathsep", "linesep",STRING
LOWthird_party/python/Lib/difflib.py29__all__ = ['get_close_matches', 'ndiff', 'restore', 'SequenceMatcher',CODE
LOWthird_party/python/Lib/pydoc.py37__all__ = ['help']CODE
LOWthird_party/python/Lib/socketserver.py138__all__ = ["BaseServer", "TCPServer", "UDPServer",CODE
LOWthird_party/python/Lib/copy.py64__all__ = ["Error", "copy", "deepcopy"]CODE
LOWthird_party/python/Lib/genericpath.py9__all__ = ['commonprefix', 'exists', 'getatime', 'getctime', 'getmtime',CODE
171 more matches not shown…
Cross-File Repetition36 hits · 180 pts
SeverityFileLineSnippetContext
HIGHthird_party/python/Lib/macpath.py0test whether a path exists. returns true for broken symbolic linksSTRING
HIGHthird_party/python/Lib/posixpath.py0test whether a path exists. returns true for broken symbolic linksSTRING
HIGHthird_party/python/Lib/ntpath.py0test whether a path exists. returns true for broken symbolic linksSTRING
HIGHthird_party/python/Lib/macurl2path.py0os-specific conversion from a relative url of the 'file' scheme to a file system path; not recommended for general use.STRING
HIGHthird_party/python/Lib/nturl2path.py0os-specific conversion from a relative url of the 'file' scheme to a file system path; not recommended for general use.STRING
HIGHthird_party/python/Lib/urllib/request.py0os-specific conversion from a relative url of the 'file' scheme to a file system path; not recommended for general use.STRING
HIGHthird_party/python/Lib/macurl2path.py0os-specific conversion from a file system path to a relative url of the 'file' scheme; not recommended for general use.STRING
HIGHthird_party/python/Lib/nturl2path.py0os-specific conversion from a file system path to a relative url of the 'file' scheme; not recommended for general use.STRING
HIGHthird_party/python/Lib/urllib/request.py0os-specific conversion from a file system path to a relative url of the 'file' scheme; not recommended for general use.STRING
HIGHthird_party/python/Lib/encodings/raw_unicode_escape.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/utf_8.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/unicode_internal.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/utf_16_be.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/ascii.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/latin_1.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/unicode_escape.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/utf_16_le.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/encodings/utf_16.py0python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warraSTRING
HIGHthird_party/python/Lib/distutils/_msvccompiler.py0return path to an msvc executable program. tries to find the program in several places: first, one of the msvc program sSTRING
HIGHthird_party/python/Lib/distutils/msvc9compiler.py0return path to an msvc executable program. tries to find the program in several places: first, one of the msvc program sSTRING
HIGHthird_party/python/Lib/distutils/msvccompiler.py0return path to an msvc executable program. tries to find the program in several places: first, one of the msvc program sSTRING
HIGHthird_party/python/Lib/distutils/_msvccompiler.py0concrete class that implements an interface to microsoft visual c++, as defined by the ccompiler abstract class.STRING
HIGHthird_party/python/Lib/distutils/msvc9compiler.py0concrete class that implements an interface to microsoft visual c++, as defined by the ccompiler abstract class.STRING
HIGHthird_party/python/Lib/distutils/msvccompiler.py0concrete class that implements an interface to microsoft visual c++, as defined by the ccompiler abstract class.STRING
HIGHthird_party/python/Lib/distutils/msvc9compiler.py0return the version of msvc that was used to build python. for python 2.3 and up, the version number is included in sys.vSTRING
HIGHthird_party/python/Lib/distutils/msvccompiler.py0return the version of msvc that was used to build python. for python 2.3 and up, the version number is included in sys.vSTRING
HIGHthird_party/python/Lib/ctypes/util.py0return the version of msvc that was used to build python. for python 2.3 and up, the version number is included in sys.vSTRING
HIGHthird_party/python/Lib/test/test_wave.py0\ 022d65ffeb9d 4b5a0f00fa54 3113c304ee2b 80dcd6084303 \ cbdec006b261 48a99803f2f8 bfe82401b07d 036bfbfe7b5d \ b85756fa3eSTRING
HIGHthird_party/python/Lib/test/test_sunau.py0\ 022d65ffeb9d 4b5a0f00fa54 3113c304ee2b 80dcd6084303 \ cbdec006b261 48a99803f2f8 bfe82401b07d 036bfbfe7b5d \ b85756fa3eSTRING
HIGHthird_party/python/Lib/test/test_aifc.py0\ 022d65ffeb9d 4b5a0f00fa54 3113c304ee2b 80dcd6084303 \ cbdec006b261 48a99803f2f8 bfe82401b07d 036bfbfe7b5d \ b85756fa3eSTRING
HIGHthird_party/python/Lib/test/test_wave.py0\ 022d65bcffeb9d92 4b5a0f8000fa549c 3113c34004ee2bc0 80dcd680084303e0 \ cbdec0c006b26140 48a9980003f2f8fc bfe8248001b07dSTRING
HIGHthird_party/python/Lib/test/test_sunau.py0\ 022d65bcffeb9d92 4b5a0f8000fa549c 3113c34004ee2bc0 80dcd680084303e0 \ cbdec0c006b26140 48a9980003f2f8fc bfe8248001b07dSTRING
HIGHthird_party/python/Lib/test/test_aifc.py0\ 022d65bcffeb9d92 4b5a0f8000fa549c 3113c34004ee2bc0 80dcd680084303e0 \ cbdec0c006b26140 48a9980003f2f8fc bfe8248001b07dSTRING
HIGHthird_party/python/Lib/test/test_nntplib.py0ensures that the correct values are exposed in the public api.STRING
HIGHthird_party/python/Lib/test/test_shutil.py0ensures that the correct values are exposed in the public api.STRING
HIGHthird_party/python/Lib/test/test_warnings/__init__.py0ensures that the correct values are exposed in the public api.STRING
Docstring Block Structure27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHthird_party/python/Lib/ipaddress.py28Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP STRING
HIGHthird_party/python/Lib/ipaddress.py58Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP STRING
HIGHthird_party/python/Lib/ipaddress.py88Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP STRING
HIGHthird_party/python/Lib/ipaddress.py123Represent an address as 4 packed bytes in network (big-endian) order. Args: address: An integer representatSTRING
HIGHthird_party/python/Lib/ipaddress.py307Collapse a list of IP objects. Example: collapse_addresses([IPv4Network('192.0.2.0/25'), STRING
HIGHthird_party/python/Lib/ipaddress.py448Return prefix length from the bitwise netmask. Args: ip_int: An integer, the netmask in expanded biSTRING
HIGHthird_party/python/Lib/ipaddress.py478Return prefix length from a numeric string Args: prefixlen_str: The string to be converted STRING
HIGHthird_party/python/Lib/ipaddress.py503Turn a netmask/hostmask string into a prefix length Args: ip_str: The netmask/hostmask to be converSTRING
HIGHthird_party/python/Lib/ipaddress.py737Remove an address from a larger block. For example: addr1 = ip_network('192.0.2.0/28') STRING
HIGHthird_party/python/Lib/ipaddress.py815Compare two IP objects. This is only concerned about the comparison of the integer representation of thSTRING
HIGHthird_party/python/Lib/ipaddress.py873The subnets which join to make the current subnet. In the case that self contains only one IP (self._prSTRING
HIGHthird_party/python/Lib/ipaddress.py926The supernet containing the current network. Args: prefixlen_diff: An integer, the amount the prefiSTRING
HIGHthird_party/python/Lib/ipaddress.py1101Turn the given IP string into an integer for comparison. Args: ip_str: A string, the IP ip_str. STRING
HIGHthird_party/python/Lib/ipaddress.py1127Convert a decimal octet into an integer. Args: octet_str: A string, the number to parse. RSTRING
HIGHthird_party/python/Lib/ipaddress.py1616Turn an IPv6 ip_str into an integer. Args: ip_str: A string, the IPv6 ip_str. Returns: STRING
HIGHthird_party/python/Lib/ipaddress.py1720Convert an IPv6 hextet string into an integer. Args: hextet_str: A string, the number to parse. STRING
HIGHthird_party/python/Lib/ipaddress.py1794Turns a 128-bit integer into hexadecimal notation. Args: ip_int: An integer, the IP address. STRING
HIGHthird_party/python/Lib/selectors.py22Return a file descriptor from a file object. Parameters: fileobj -- file object or file descriptor ReturnsSTRING
HIGHthird_party/python/Lib/selectors.py97Register a file object. Parameters: fileobj -- file object or file descriptor events -- eventsSTRING
HIGHthird_party/python/Lib/selectors.py120Unregister a file object. Parameters: fileobj -- file object or file descriptor Returns: STRING
HIGHthird_party/python/Lib/selectors.py138Change a registered file object monitored events or attached data. Parameters: fileobj -- file object oSTRING
HIGHthird_party/python/Lib/getpass.py30Prompt for a password, with echo turned off. Args: prompt: Written on stream to ask for the input. Default: STRING
HIGHthird_party/python/Lib/concurrent/futures/_base.py197An iterator over the given futures that yields each as it completes. Args: fs: The sequence of Futures (posSTRING
HIGHthird_party/python/Lib/concurrent/futures/_base.py406Return the result of the call that the future represents. Args: timeout: The number of seconds to wSTRING
HIGHthird_party/python/Lib/concurrent/futures/_base.py437Return the exception raised by the call that the future represents. Args: timeout: The number of seSTRING
HIGHthird_party/python/Lib/concurrent/futures/_base.py551Returns an iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many argumeSTRING
HIGHthird_party/python/Lib/concurrent/futures/process.py471Returns an iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many argumeSTRING
Hallucination Indicators10 hits · 125 pts
SeverityFileLineSnippetContext
CRITICALthird_party/python/Lib/test/test_urllib2net.py307 self.assertIsNone(u.fp.fp.raw._sock.gettimeout())CODE
CRITICALthird_party/python/Lib/test/test_urllib2net.py319 self.assertEqual(u.fp.fp.raw._sock.gettimeout(), 60)CODE
CRITICALthird_party/python/Lib/test/test_urllib2net.py331 self.assertIsNone(u.fp.fp.raw._sock.gettimeout())CODE
CRITICALthird_party/python/Lib/test/test_urllib2net.py338 self.assertEqual(u.fp.fp.raw._sock.gettimeout(), 60)CODE
CRITICAL…y/python/Lib/test/test_asyncio/test_proactor_events.py532 self.proactor.recv.return_value.add_done_callback.assert_called_with(CODE
CRITICAL…y/python/Lib/test/test_asyncio/test_proactor_events.py540 self.proactor.recv.return_value.add_done_callback.assert_called_with(CODE
CRITICALthird_party/python/Lib/xml/dom/expatbuilder.py319 self.document.doctype.entities._seq.append(node)CODE
CRITICALthird_party/python/Lib/xml/dom/expatbuilder.py325 self.document.doctype.notations._seq.append(node)CODE
CRITICALthird_party/python/Lib/lib2to3/tests/test_fixers.py225 a = """x = a.b.c.d.e.f(*args, **kwds)"""CODE
CRITICAL…rd_party/python/Lib/idlelib/idle_test/test_textview.py159 self.assertEqual(self.view.viewframe.textframe.text.get('1.0', '1.end'),CODE
AI Structural Patterns78 hits · 70 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Tools/gdb/libpython.py763CODE
LOWthird_party/python/Tools/gdb/libpython.py1127CODE
LOWthird_party/python/Tools/gdb/libpython.py1248CODE
LOWthird_party/python/Tools/pynche/StripViewer.py165CODE
LOWthird_party/python/Tools/clinic/clinic.py2044CODE
LOWthird_party/python/Lib/tempfile.py525CODE
LOWthird_party/python/Lib/tempfile.py639CODE
LOWthird_party/python/Lib/lzma.py263CODE
LOWthird_party/python/Lib/sndhdr.py55CODE
LOWthird_party/python/Lib/trace.py401CODE
LOWthird_party/python/Lib/dis.py338CODE
LOWthird_party/python/Lib/textwrap.py115CODE
LOWthird_party/python/Lib/cgi.py409CODE
LOWthird_party/python/Lib/subprocess.py601CODE
LOWthird_party/python/Lib/pydoc.py1197CODE
LOWthird_party/python/Lib/ftplib.py731CODE
LOWthird_party/python/Lib/optparse.py1178CODE
LOWthird_party/python/Lib/inspect.py1212CODE
LOWthird_party/python/Lib/configparser.py600CODE
LOWthird_party/python/Lib/compileall.py50CODE
LOWthird_party/python/Lib/doctest.py1859CODE
LOWthird_party/python/Lib/doctest.py1963CODE
LOWthird_party/python/Lib/argparse.py793CODE
LOWthird_party/python/Lib/argparse.py835CODE
LOWthird_party/python/Lib/argparse.py927CODE
LOWthird_party/python/Lib/argparse.py1604CODE
LOWthird_party/python/Lib/smtplib.py1010CODE
LOWthird_party/python/Lib/enum.py801CODE
LOWthird_party/python/Lib/enum.py819CODE
LOWthird_party/python/Lib/tarfile.py1413CODE
LOWthird_party/python/Lib/ssl.py520CODE
LOWthird_party/python/Lib/ssl.py1147CODE
LOWthird_party/python/Lib/ssl.py726CODE
LOWthird_party/python/Lib/datetime.py1389CODE
LOWthird_party/python/Lib/datetime.py1616CODE
LOWthird_party/python/Lib/_pydecimal.py3925CODE
LOWthird_party/python/Lib/distutils/_msvccompiler.py456CODE
LOWthird_party/python/Lib/distutils/unixccompiler.py148CODE
LOWthird_party/python/Lib/distutils/ccompiler.py617CODE
LOWthird_party/python/Lib/distutils/ccompiler.py679CODE
LOWthird_party/python/Lib/distutils/ccompiler.py700CODE
LOWthird_party/python/Lib/distutils/ccompiler.py720CODE
LOWthird_party/python/Lib/distutils/msvc9compiler.py568CODE
LOWthird_party/python/Lib/distutils/cygwinccompiler.py174CODE
LOWthird_party/python/Lib/distutils/extension.py86CODE
LOWthird_party/python/Lib/distutils/msvccompiler.py453CODE
LOWthird_party/python/Lib/distutils/bcppcompiler.py171CODE
LOWthird_party/python/Lib/unittest/runner.py128CODE
LOWthird_party/python/Lib/unittest/_main.py59CODE
LOWthird_party/python/Lib/unittest/mock.py371CODE
LOWthird_party/python/Lib/unittest/mock.py912CODE
LOWthird_party/python/Lib/test/test_buffer.py764CODE
LOWthird_party/python/Lib/test/test_decimal.py4110CODE
LOWthird_party/python/Lib/test/mock_socket.py54CODE
LOWthird_party/python/Lib/test/test_ssl.py2085CODE
LOWthird_party/python/Lib/test/test_regrtest.py400CODE
LOWthird_party/python/Lib/urllib/request.py1062CODE
LOWthird_party/python/Lib/urllib/request.py1077CODE
LOWthird_party/python/Lib/tkinter/__init__.py3320CODE
LOWthird_party/python/Lib/json/__init__.py120CODE
18 more matches not shown…
Redundant / Tautological Comments50 hits · 68 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Tools/scripts/abitype.py200 # Output result to stdoutCOMMENT
LOWthird_party/python/Lib/zipfile.py413 # Set these to zero because we write them after the file dataCOMMENT
LOWthird_party/python/Lib/zipfile.py1101 # Check if we were passed a file-like objectCOMMENT
LOWthird_party/python/Lib/dis.py301 # Set argval to the dereferenced value of the argument whenCOMMENT
LOWthird_party/python/Lib/pyclbr.py118 # Check if it is a built-in module; we don't do much for theseCOMMENT
LOWthird_party/python/Lib/heapq.py265 # Set childpos to index of smaller child.COMMENT
LOWthird_party/python/Lib/heapq.py301 # Set childpos to index of larger child.COMMENT
LOWthird_party/python/Lib/warnings.py271 # Check if message is already a Warning objectCOMMENT
LOWthird_party/python/Lib/warnings.py388 # Print message and contextCOMMENT
LOWthird_party/python/Lib/types.py222 # Check if 'func' is a coroutine function.COMMENT
LOWthird_party/python/Lib/types.py227 # Check if 'func' is a generator function.COMMENT
LOWthird_party/python/Lib/plistlib.py808 # Write file headerCOMMENT
LOWthird_party/python/Lib/_osx_support.py348 # Check if the SDK that is used during compilation actually exists,COMMENT
LOWthird_party/python/Lib/doctest.py1674 # Check if we should use diff.STRING
LOWthird_party/python/Lib/doctest.py2072 # Read the file, convert it to a test, and run it.STRING
LOWthird_party/python/Lib/smtplib.py409 # Check if multiline response.COMMENT
LOWthird_party/python/Lib/tarfile.py979 # Check if one of the fields contains surrogate characters and therebyCOMMENT
LOWthird_party/python/Lib/tarfile.py1203 # Check if the pax header contains a hdrcharset field. This tells usCOMMENT
LOWthird_party/python/Lib/abc.py217 # Check if it's a direct subclassCOMMENT
LOWthird_party/python/Lib/abc.py221 # Check if it's a subclass of a registered class (recursive)COMMENT
LOWthird_party/python/Lib/abc.py226 # Check if it's a subclass of a subclass (recursive)COMMENT
LOWthird_party/python/Lib/ctypes/__init__.py140 # Check if sizeof(ctypes_type) against struct.calcsize. ThisCOMMENT
LOW…/python/Lib/unittest/test/testmock/testmagicmethods.py453 # Check if you can change behaviour of magic methods in MagicMock initCOMMENT
LOWthird_party/python/Lib/test/test_gzip.py169 # Open the file for writing, then close it.STRING
LOWthird_party/python/Lib/test/test_difflib.py242 # Check if the problem described in patch #1413711 exists.COMMENT
LOWthird_party/python/Lib/test/test_typing.py816 # Check if a dictionary conforms to Dict typeCOMMENT
LOWthird_party/python/Lib/test/test_typing.py831 # Check if an instance conforms to the generic classCOMMENT
LOWthird_party/python/Lib/test/test_typing.py843 # Check if list conforms to a List subclassCOMMENT
LOWthird_party/python/Lib/test/test_smtpd.py879 # Set decode_data to TrueSTRING
LOWthird_party/python/Lib/test/test_io.py2931 # Check if the BOM is written only once (see issue1753).COMMENT
LOWthird_party/python/Lib/test/test_memoryio.py705 bytearray(state[0]) # Check if state[0] supports the buffer interface.CODE
LOWthird_party/python/Lib/test/test_codecs.py2751 # Check if the BOM is written only onceCOMMENT
LOWthird_party/python/Lib/test/support/__init__.py2611 # Check if the 'Crash Reporter' on OSX was configuredCOMMENT
LOWthird_party/python/Lib/test/libregrtest/cmdline.py149 # Set prog to prevent the uninformative "__main__.py" from displaying inSTRING
LOWthird_party/python/Lib/urllib/parse.py851 # Check if ' ' in string, where string may either be a str or bytes. IfCOMMENT
LOWthird_party/python/Lib/tkinter/ttk.py33# Verify if Tk is new enough to not need the Tile packageCOMMENT
LOW…arty/python/Lib/tkinter/test/test_tkinter/test_text.py37 # Check if we are getting the indices as strings -- you are likelyCOMMENT
LOWthird_party/python/Lib/http/cookies.py447 # Return the resultSTRING
LOWthird_party/python/Lib/http/server.py607 # Set this to HTTP/1.1 to enable automatic keepaliveCOMMENT
LOWthird_party/python/Lib/sqlite3/test/types.py260 # Check if the stripping of colnames works. Everything after the firstCOMMENT
LOWthird_party/python/Lib/importlib/_bootstrap_external.py1243 # Check if the module is the name of a directory (and thus a package).COMMENT
LOWthird_party/python/Lib/lib2to3/fixes/fix_metaclass.py113 # Check if the expr_node is a simple assignment.COMMENT
LOWthird_party/python/Lib/idlelib/pyshell.py1162 # Check if there's a relevant stdin range -- if so, use itCOMMENT
LOWthird_party/python/Lib/idlelib/iomenu.py407 # Check if there is an encoding declaredCOMMENT
LOWthird_party/python/Lib/idlelib/_pyclbr.py140 # Check if it is a built-in module; we don't do much for these.COMMENT
LOW…party/python/Lib/idlelib/idle_test/test_codecontext.py163 # Set stop_line to not go back to first line in source code.STRING
LOW…party/python/Lib/idlelib/idle_test/test_codecontext.py175 # Set stop_indent to test indent level to stop at.STRING
LOWthird_party/python/Lib/asyncio/streams.py554 # Check if we now have enough data in the buffer for `separator` toCOMMENT
LOWthird_party/python/Lib/asyncio/unix_events.py113 # Set SA_RESTART to limit EINTR occurrences.COMMENT
LOW…rd_party/python/Modules/_decimal/tests/formathelper.py212# Check if an integer can be converted to a valid fill character.COMMENT
Verbosity Indicators34 hits · 56 pts
SeverityFileLineSnippetContext
LOWlibc/calls/isevilpath.c20// The purpose of this function is to prevent the most truly evil kindsCOMMENT
LOWthird_party/libcxx/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp177 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp239 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp421 // Step 5: Print the decimal representation.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp666 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp205 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp264 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp357 // Step 5: Print the decimal representation.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp706 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOWthird_party/ctags/get.c159* This section handles preprocessor directives. It strips out allCOMMENT
LOWthird_party/python/Lib/configparser.py1162 options is None, so we need to check if the value is aSTRING
LOWthird_party/python/Lib/encodings/idna.py75 # Step 2: nameprepCOMMENT
LOWthird_party/python/Lib/encodings/idna.py78 # Step 3: UseSTD3ASCIIRules is falseCOMMENT
LOWthird_party/python/Lib/encodings/idna.py79 # Step 4: try ASCIICOMMENT
LOWthird_party/python/Lib/encodings/idna.py90 # Step 5: Check ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py94 # Step 6: Encode with PUNYCODECOMMENT
LOWthird_party/python/Lib/encodings/idna.py97 # Step 7: Prepend ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py100 # Step 8: Check sizeCOMMENT
LOWthird_party/python/Lib/encodings/idna.py106 # Step 1: Check for ASCIICOMMENT
LOWthird_party/python/Lib/encodings/idna.py116 # Step 2: Perform nameprepCOMMENT
LOWthird_party/python/Lib/encodings/idna.py123 # Step 3: Check for ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py127 # Step 4: Remove ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py130 # Step 5: Decode using PUNYCODECOMMENT
LOWthird_party/python/Lib/encodings/idna.py133 # Step 6: Apply ToASCIICOMMENT
LOWthird_party/python/Lib/encodings/idna.py136 # Step 7: Compare the result of step 6 with the one of step 3COMMENT
LOWthird_party/python/Lib/encodings/idna.py141 # Step 8: return the result of step 5COMMENT
LOWthird_party/python/Lib/encodings/idna.py64 # Step 1: try ASCIICOMMENT
LOWthird_party/python/Lib/email/header.py394 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
LOWthird_party/make/variable.c218 If the variable is not yet defined, then we need to check if getenv()CODE
LOWthird_party/openmp/kmp_affinity.cpp2206 // First, we need to check if cpuid(4) is supported on this chip. To see ifCOMMENT
LOWthird_party/openmp/kmp_affinity.cpp2298 // First, we need to check if cpuid(4) is supported on this chip. To see ifCOMMENT
LOWthird_party/openmp/kmp_collapse.cpp1428 // We found the chunk for this thread, now we need to check if it's theCOMMENT
Slop Phrases27 hits · 49 pts
SeverityFileLineSnippetContext
LOWthird_party/ncurses/comp_scan.c224 * succeed, don't forget to hack push_back() correspondingly.COMMENT
LOWthird_party/argon2/ref.c149 /* Don't forget to generate the first block of addresses: */COMMENT
LOWthird_party/python/Tools/pybench/pybench.py179 If you change a test in some way, don't forget to increaseCODE
LOWthird_party/python/Tools/clinic/clinic.py1398 # make sure to recognize stop line even if itSTRING
LOWthird_party/python/Python/bltinmodule.c207 Don't forget to modify PyUnicode_DecodeFSDefault() if you touch any of theCODE
LOWthird_party/python/Include/boolobject.h11Don't forget to apply Py_INCREF() when returning either!!! */CODE
LOWthird_party/python/Include/object.h908Don't forget to apply Py_INCREF() when returning this value!!!CODE
LOWthird_party/python/Include/token.h61/* Don't forget to update the table _PyParser_TokenNames in tokenizer.c! */COMMENT
LOWthird_party/python/Objects/exceptions.c40/* NOTE: If the exception class hierarchy changes, don't forget to updateCOMMENT
MEDIUMthird_party/python/Lib/heapq.py251# you can use it.COMMENT
LOWthird_party/python/Lib/quopri.py98 # Don't forget to include the soft line break `=' sign in theCOMMENT
MEDIUMthird_party/python/Lib/ntpath.py357# XXX With COMMAND.COM you can use any characters in a variable name,COMMENT
MEDIUM…/python/Lib/unittest/test/testmock/testmagicmethods.py453 # Check if you can change behaviour of magic methods in MagicMock initCOMMENT
LOWthird_party/python/Lib/test/test_gc.py1040 # make sure to always test gc.enable()COMMENT
MEDIUMthird_party/python/Lib/test/test_logging.py392# level values which do not fit into these limitations, you can use aCOMMENT
LOWthird_party/python/Lib/test/test_bigmem.py53# - Don't forget to test for large indices, offsets and results and such,COMMENT
MEDIUMthird_party/python/Lib/urllib/request.py1731 # Undocumented feature: you can use a differentCOMMENT
LOWthird_party/python/Modules/arraymodule.c543 * Don't forget to update typecode_to_mformat_code() if you add a newCOMMENT
MEDIUMthird_party/python/Modules/xxsubtype.c120 PyDoc_STR("an int variable for demonstration purposes")},CODE
MEDIUMthird_party/python/Modules/xxsubtype.c211 PyDoc_STR("an int variable for demonstration purposes")},CODE
LOWthird_party/unzip/unzpriv.h1396/* don't forget to update zipinfo.c appropiately if NUM_HOSTS changes! */COMMENT
LOWthird_party/unzip/unzpriv.h1416/* don't forget to update list.c (list_files()), extract.c and zipinfo.cCOMMENT
LOW.github/ISSUE_TEMPLATE/07-refactor.yml9 Don't forget to [check for existing refactor issue tickets](https://github.com/jart/cosmopolitan/issues?q=is%3AoCODE
LOW.github/ISSUE_TEMPLATE/06-research.yml9 Don't forget to check for any [duplicate research issue tickets](https://github.com/jart/cosmopolitan/issues?q=iCODE
MEDIUMtool/net/definitions.lua2888--- communicate with SQLite3. Here is a simple example:CODE
MEDIUMtool/net/definitions.lua3018--- and `db:exec()` returns `lsqlite3.ABORT`. Here is a simple example:CODE
MEDIUMtool/viz/life.c104 * Here's how you can compile this program on Linux:COMMENT
Structural Annotation Overuse27 hits · 46 pts
SeverityFileLineSnippetContext
LOWthird_party/libcxx/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp177 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp239 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp421 // Step 5: Print the decimal representation.COMMENT
LOWthird_party/libcxx/ryu/f2s.cpp666 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp205 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp264 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp357 // Step 5: Print the decimal representation.COMMENT
LOWthird_party/libcxx/ryu/d2s.cpp706 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOWthird_party/python/Lib/encodings/idna.py75 # Step 2: nameprepCOMMENT
LOWthird_party/python/Lib/encodings/idna.py78 # Step 3: UseSTD3ASCIIRules is falseCOMMENT
LOWthird_party/python/Lib/encodings/idna.py79 # Step 4: try ASCIICOMMENT
LOWthird_party/python/Lib/encodings/idna.py90 # Step 5: Check ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py94 # Step 6: Encode with PUNYCODECOMMENT
LOWthird_party/python/Lib/encodings/idna.py97 # Step 7: Prepend ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py100 # Step 8: Check sizeCOMMENT
LOWthird_party/python/Lib/encodings/idna.py106 # Step 1: Check for ASCIICOMMENT
LOWthird_party/python/Lib/encodings/idna.py116 # Step 2: Perform nameprepCOMMENT
LOWthird_party/python/Lib/encodings/idna.py123 # Step 3: Check for ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py127 # Step 4: Remove ACE prefixCOMMENT
LOWthird_party/python/Lib/encodings/idna.py130 # Step 5: Decode using PUNYCODECOMMENT
LOWthird_party/python/Lib/encodings/idna.py133 # Step 6: Apply ToASCIICOMMENT
LOWthird_party/python/Lib/encodings/idna.py136 # Step 7: Compare the result of step 6 with the one of step 3COMMENT
LOWthird_party/python/Lib/encodings/idna.py141 # Step 8: return the result of step 5COMMENT
LOWthird_party/python/Lib/encodings/idna.py64 # Step 1: try ASCIICOMMENT
LOWthird_party/python/Lib/email/header.py394 # Step 1: Normalize the chunks so that all runs of identical charsetsSTRING
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHthird_party/mbedtls/error.c88 /* Begin Auto-Generated Code. */COMMENT
HIGHthird_party/mbedtls/error.c422 /* End Auto-Generated Code. */COMMENT
HIGHthird_party/mbedtls/error.c443 /* Begin Auto-Generated Code. */COMMENT
HIGHthird_party/mbedtls/error.c634 /* End Auto-Generated Code. */COMMENT
Overly Generic Function Names39 hits · 21 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Lib/socketserver.py277 def handle_request(self):CODE
LOWthird_party/python/Lib/contextlib.py158 def helper(*args, **kwds):CODE
LOWthird_party/python/Lib/unittest/test/_test_warnings.py55 def test_function(self):CODE
LOW…party/python/Lib/unittest/test/testmock/testhelpers.py686 def test_function(self):CODE
LOWthird_party/python/Lib/test/test_strptime.py255 def helper(self, directive, position):CODE
LOWthird_party/python/Lib/test/test_gc.py209 def test_function(self):CODE
LOWthird_party/python/Lib/test/test_logging.py1807 def handle_request(self, request):CODE
LOWthird_party/python/Lib/test/test_with.py32 def helper(*args, **kwds):CODE
LOWthird_party/python/Lib/test/test_marshal.py19 def helper(self, sample, *extra):CODE
LOWthird_party/python/Lib/test/test_pdb.py286def do_something():CODE
LOWthird_party/python/Lib/test/test_pdb.py37 >>> def test_function(foo, bar):STRING
LOWthird_party/python/Lib/test/test_pdb.py77 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py176 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py308 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py331 1 def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py377 ... def do_something():STRING
LOWthird_party/python/Lib/test/test_pdb.py394 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py427 1 def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py521 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py610 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py676 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py743 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py802 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py858 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py904 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py940 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py996 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py1038 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py1083 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_pdb.py1122 >>> def test_function():STRING
LOWthird_party/python/Lib/test/test_os.py1666 def helper(self):STRING
LOWthird_party/python/Lib/test/test_concurrent_futures.py59 def my_method(self):CODE
LOWthird_party/python/Lib/test/test_tokenize.py397 def test_function(self):STRING
LOWthird_party/python/Lib/test/profilee.py55def helper():CODE
LOWthird_party/python/Lib/test/test_xmlrpc.py603 def my_function():CODE
LOWthird_party/python/Lib/test/test_xmlrpc.py661 def my_function():CODE
LOWthird_party/python/Lib/test/test_urllib2_localnet.py157 def handle_request(self, request_handler):CODE
LOWthird_party/python/Lib/multiprocessing/managers.py179 def handle_request(self, c):CODE
LOWthird_party/python/Lib/xmlrpc/server.py689 def handle_request(self, request_text=None):CODE
Fake / Example Data20 hits · 12 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Lib/test/test_xml_etree.py1250 <xi:fallback><a href="mailto:bob@example.org">Report error</a></xi:fallback>CODE
LOWthird_party/python/Lib/test/test_xml_etree.py1380 ' <ns0:fallback><a href="mailto:bob@example.org">Report error</a></ns0:fallback>\n'STRING
LOWthird_party/python/Lib/test/make_ssl_certs.py246 'email.1 = user@example.org',STRING
LOWthird_party/python/Lib/test/test_ssl.py367 ('email', 'null@python.org\x00user@example.org'),CODE
LOWthird_party/python/Lib/test/test_ssl.py374 ('email', 'null@python.org\x00user@example.org'),CODE
LOWthird_party/python/Lib/test/test_ssl.py388 ('email', 'user@example.org'),CODE
LOWthird_party/python/Lib/test/test_urlparse.py280 self.assertEqual(urllib.parse.urlparse('mailto:1337@example.org'),CODE
LOWthird_party/python/Lib/test/test_urlparse.py281 ('mailto', '', '1337@example.org', '', '', ''))CODE
LOWthird_party/python/Lib/test/test_smtplib.py394 m['From'] = 'foo@bar.com'CODE
LOWthird_party/python/Lib/test/test_smtplib.py428 m['From'] = 'foo@bar.com'CODE
LOWthird_party/python/Lib/test/test_smtplib.py454 m['From'] = 'foo@bar.com'CODE
LOWthird_party/python/Lib/test/test_smtplib.py508 m['From'] = 'foo@bar.com'CODE
LOWthird_party/python/Lib/test/test_smtplib.py542 m['From'] = 'foo@bar.com'CODE
LOWthird_party/python/Lib/test/test_email/test_email.py3225 eq(addrs[0][1], 'foo@bar.com')STRING
LOWthird_party/python/Lib/test/test_email/test_email.py3853 ('From: foo@bar.com', ('From', 'foo@bar.com')),STRING
LOWthird_party/python/Lib/test/test_email/test_email.py3886 ['foo@bar.com',STRING
LOWthird_party/python/Lib/test/test_email/test_email.py3897 [('From', 'foo@bar.com'),STRING
LOWthird_party/python/Lib/test/test_email/test_email.py3909 ['foo@bar.com',STRING
LOWthird_party/python/Lib/test/test_email/test_message.py577 ('To', 'foo@bar.com'),STRING
LOWthird_party/tidy/attrs.c381 { TidyAttr_PLACEHOLDER, "placeholder", CH_PCDATA },CODE
TODO Padding7 hits · 9 pts
SeverityFileLineSnippetContext
LOWlibc/intrin/ubsan.c464 return false; // TODO: implement meCODE
LOWtest/libc/tinymath/ldexp_test.c124 // TODO: implement quad floating point in printfCOMMENT
LOWtest/libc/tinymath/atan2l_test.c31 // TODO: implement quad floating point into printfCOMMENT
LOWthird_party/libcxx/experimental/__simd/simd_mask.h26// TODO: implement simd_mask classCOMMENT
LOWthird_party/libcxx/experimental/__simd/simd.h29// TODO: implement simd classCOMMENT
LOWthird_party/python/Lib/test/test_smtplib.py1034 #TODO: add tests for correct AUTH method fallback now that theCOMMENT
LOWthird_party/openmp/kmp_dispatch.cpp2140// TODO: implement countCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHthird_party/python/Lib/imaplib.py1136 # I'll update the code in `_get_response()'.COMMENT
Example Usage Blocks3 hits · 5 pts
SeverityFileLineSnippetContext
LOWthird_party/python/Tools/scripts/pdeps.py7# Usage:COMMENT
LOWthird_party/python/Tools/scripts/ifdef.py4# Usage:COMMENT
LOW…rd_party/python/Lib/unittest/test/testmock/testmock.py441 # Usage exampleCOMMENT