AI Slop Code RIsk Monitor

klzgrad/naiveproxy

Make a fortune quietly

9.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for klzgrad/naiveproxy, a C++ project with 9,506 GitHub stars. SynthScan examined 2,803,907 lines of code across 18256 source files, recording 26027 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 9.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

9.5
Adjusted Signal
9.5
Raw Pattern Score
100%
Time Factor
2026-10-07
Last Push
9.5K
Stars
C++
Language
2.8M
Lines of Code
18.3K
Files
26.0K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 35.8/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 25366 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

Are imports declared and package/API names verified? 302 finding(s).

Agent Over-Engineering Ratio 2.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 545 finding(s).

PR Review Velocity Impact 38.6/100 · MEDIUM

Which changes need focused human review? 26027 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

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

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 93MEDIUM 435LOW 25499

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block24536 hits · 23404 pts
SeverityFileLineSnippetContext
LOWsrc/get-openwrt.sh101#define HWCAP_LOONGARCH_LVZ (1 << 9)COMMENT
LOWsrc/crypto/kdf.h1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/pem.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/scoped_test_nss_db.h1// Copyright 2014 The Chromium AuthorsCOMMENT
LOWsrc/crypto/chaps_support.h1// Copyright 2020 The Chromium AuthorsCOMMENT
LOWsrc/crypto/scoped_capi_types.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/cose.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/tpm_parser.h1// Copyright 2026 The Chromium AuthorsCOMMENT
LOWsrc/crypto/tpm_parser.h221// TPM algorithm IDs for a given SignatureAlgorithm.COMMENT
LOWsrc/crypto/tpm_parser.h241CRYPTO_EXPORT std::vector<uint8_t> BuildCertifyCommand(COMMENT
LOWsrc/crypto/tpm_parser.h301// Parses a serialized TPM2_Hash response.COMMENT
LOWsrc/crypto/tpm_parser.h321ParseHashSequenceStartResponse(base::span<const uint8_t> response_blob);COMMENT
LOWsrc/crypto/secure_hash.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/mock_unexportable_key_provider.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/process_bound_string.h1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/ecdsa_utils.h21// Converts a DER-encoded ECDSA-Sig-Value signature to the fixed-width formatCOMMENT
LOWsrc/crypto/keypair.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/keypair.h61 // Generates a fresh, random ML-KEM-768 key.COMMENT
LOWsrc/crypto/keypair.h121 std::vector<uint8_t> ToPrivateKeyInfo() const;COMMENT
LOWsrc/crypto/keypair.h241 // Returns nullopt if the parameters are invalid for some reason.COMMENT
LOWsrc/crypto/scoped_test_nss_chromeos_user.h1// Copyright 2014 The Chromium AuthorsCOMMENT
LOWsrc/crypto/signature_verifier.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/signature_verifier.h41COMMENT
LOWsrc/crypto/nss_crypto_module_delegate.h1// Copyright 2013 The Chromium AuthorsCOMMENT
LOWsrc/crypto/secure_util.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/secure_util.h21// For cryptographic operations, comparison functions such as memcmp() mayCOMMENT
LOWsrc/crypto/nss_util_internal.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/nss_util_internal.h21COMMENT
LOWsrc/crypto/nss_util_internal.h61CRYPTO_EXPORT base::FilePath GetSoftwareNSSDBPath(COMMENT
LOWsrc/crypto/crypto_export.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/crypto_export.h21#define CRYPTO_EXPORT __attribute__((visibility("default")))COMMENT
LOWsrc/crypto/user_verifying_key_mac.mm1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/nss_key_util.h1// Copyright 2015 The Chromium AuthorsCOMMENT
LOWsrc/crypto/nss_key_util.h61// Note: This function assumes the CKA_ID for public/private key pairs isCOMMENT
LOWsrc/crypto/scoped_mock_unexportable_key_provider.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/scoped_nss_types.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/sha2.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/kex.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/hpke.h1// Copyright 2026 The Chromium AuthorsCOMMENT
LOWsrc/crypto/evp.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/hmac.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/aead.h1// Copyright 2015 The Chromium AuthorsCOMMENT
LOWsrc/crypto/aead.h61// This class caches the setup work of creating an AEAD context, so you canCOMMENT
LOWsrc/crypto/aead.h81 // is there any reason) to construct an Aead instance before the key isCOMMENT
LOWsrc/crypto/unexportable_key_win.h1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/user_verifying_key.h1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/user_verifying_key.h41};COMMENT
LOWsrc/crypto/scoped_test_system_nss_key_slot.h21// This object MUST be created before any call toCOMMENT
LOWsrc/crypto/nss_util.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/nss_util.h41#if BUILDFLAG(IS_CHROMEOS)COMMENT
LOWsrc/crypto/unexportable_key_metrics.h1// Copyright 2022 The Chromium AuthorsCOMMENT
LOWsrc/crypto/unexportable_key_metrics.h21 // An operation to create a TPM key from a wrapped key or a similarCOMMENT
LOWsrc/crypto/aes_cbc.h1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/aes_cbc.h21// which includes authentication.COMMENT
LOWsrc/crypto/encrypt.h1// Copyright 2026 The Chromium AuthorsCOMMENT
LOWsrc/crypto/aes_ctr.h1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/sign.h1// Copyright 2025 The Chromium AuthorsCOMMENT
LOWsrc/crypto/openssl_util.h1// Copyright 2012 The Chromium AuthorsCOMMENT
LOWsrc/crypto/hash.h1// Copyright 2024 The Chromium AuthorsCOMMENT
LOWsrc/crypto/unexportable_key.h1// Copyright 2021 The Chromium AuthorsCOMMENT
24476 more matches not shown…
Decorative Section Separators294 hits · 1023 pts
SeverityFileLineSnippetContext
MEDIUMsrc/tools/grit/grit/extern/tclib.py26# --------------------COMMENT
MEDIUMsrc/tools/grit/grit/extern/tclib.py28# --------------------COMMENT
MEDIUMsrc/tools/grit/grit/extern/tclib.py47# -------------------------------------------------------------------------COMMENT
MEDIUMsrc/tools/grit/grit/extern/tclib.py56# -----------------------------------------------------------COMMENT
MEDIUMsrc/tools/grit/grit/extern/tclib.py106# -----------------------------------------------------------------COMMENT
MEDIUMsrc/tools/grit/grit/extern/tclib.py359# --------------------------------------------------------COMMENT
MEDIUMsrc/tools/grit/grit/extern/tclib.py503# ----------------------------------------------------COMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h45// │ │ Mapping 3 │ └──────┬─────┘COMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h49// │ │ └────────────┬────────┘COMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h51// │ └────────────────┘COMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h52// └──────────────────────────────────────────────────────→ addressCOMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h73// │ │ │ │ │ │ ├──────┼─────┘COMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h77// │ ┊ │ ├────┼───────┼─┴──────┘ ┊COMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h79// │ ┊ └───┴────┴───────┘ ┊ ┊ ┊COMMENT
MEDIUM⚡…/trace_processor/importers/etm/virtual_address_space.h81// └─┴──┴───┴────┴───────┴─┴──────┴─────┴──────────────→ addressCOMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h107// ── Cflag index constants ───────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h139// ── Named bitfield struct ───────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h176// ── Indexed accessor ────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h190// ── Compile-time cflag pinning ──────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h368// ── Position / length / index typedefs ───────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h437// ── Span flags ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h499// ── Custom include ──────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h525// ── _with_dialect API gate ────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h552// ── Token category ────────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h570// ── Macro invocation style ───────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h582// ── Types used by the parser vtable ─────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h607// ── Dialect template (static dialect data) ────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h688// ── Configured dialect handle ─────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h700// ── Dynamic dialect loading ───────────────────────────────────────────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5486 // ── Configuration ──────────────────────────────────────────────────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5489 // ── Callback registration ──────────────────────────────────────────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5493 // ── Per-invocation state (set before callback, cleared after) ──────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5500 // ── Scratch buffers (reused across invocations, freed in destroy) ──────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5504 // ── Nesting depth (0 = not in macro) ───────────────────────────────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5507 // ── Layer tree ─────────────────────────────────────────────────────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5513 // ── Scratch buffers for span/text APIs ─────────────────────────────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5522// ── Parser struct ───────────────────────────────────────────────────────────COMMENT
MEDIUM⚡…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5525 // ── Core ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c951// ── Range metadata ───────────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c963// ── Field metadata (for AST dump / dynamic dialect loading) ──────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5357// ── Tunables ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5386// ── Macro expansion (compiled out with -DSYNTAQLITE_OMIT_MACROS) ─────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5548 // ── Parser-only state (only parser.c) ──────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c5593// ── Cross-file helpers ──────────────────────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c6145 // ── Same-line with previous token? ───────────────────────────────────────COMMENT
MEDIUM…rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c6195 // ── Record the comment ───────────────────────────────────────────────────COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h48// ┌─────────┐COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h53// │││││└────────────────────────────────┐COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h54// ││││└───────────────────────┐ │COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h55// ┌───────────────┘││└──────────────┐ │ │COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h61// │ │ └────┬────┘ └───────┘ └───────┘ └────────┘COMMENT
MEDIUMsrc/third_party/perfetto/src/protovm/rw_proto.h79// │ └────┬────┘ └───────┘COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h91// ┌──────┘││└────────────────────┐COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h92// │ │└───────────┐ │COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/rw_proto.h99// └────┬────┘ └───────┘ └───────┘ └────────┘COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/vm.h48// ┌───┴──┐ ┌────────┐COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/vm.h50// │Parser├────────────┤Executor│COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/vm.h52// └──────┘ └─┬────┬─┘COMMENT
MEDIUM⚡src/third_party/perfetto/src/protovm/vm.h54// ┌─────┘ └─────┐COMMENT
MEDIUMsrc/third_party/libc++/src/CMakeLists.txt1#===============================================================================COMMENT
234 more matches not shown…
AI Slop Vocabulary87 hits · 250 pts
SeverityFileLineSnippetContext
MEDIUMsrc/crypto/unexportable_key.h235 // interfaces to the secure hardware may not be robust. See |GetWrappedKey|.COMMENT
LOWsrc/tools/grit/grit/xtb_reader.py115 # We are inside a <translation> node so just add the characters to ourCOMMENT
LOWsrc/tools/grit/grit/format/html_inline.py604 # no more dependencies would be discovered anyway, so just return early.COMMENT
LOW…/net/tools/root_store_tool/update_crs_root_ids_enum.py156 # If there is only one anchor with this id, just use it.COMMENT
MEDIUMsrc/net/websockets/websocket_stream.h267 // object. Implementations of WriteFrames() should be robust againstCOMMENT
MEDIUMsrc/net/spdy/spdy_session.h1315 // Certainly if it has been more than 3 minutes, we do want to send a prefaceCOMMENT
MEDIUM…party/quiche/src/quiche/common/quiche_intrusive_list.h270 // variant of T and the matching qualified link type. Essentially, QualifiedTCOMMENT
MEDIUM…hird_party/quiche/src/quiche/quic/moqt/moqt_messages.h151 // with an explicit status, so we cannot utilize object ID compression.COMMENT
MEDIUM…d_party/quiche/src/quiche/quic/moqt/moqt_bidi_stream.h133 // method must be robust to multiple invocations. Only called on sending a FINCOMMENT
MEDIUMsrc/net/http/http_response_headers.h460 kNo, // Definitely no commas. No need to parse it.CODE
MEDIUMsrc/net/cert/do_nothing_ct_verifier.h31// relevant. Alternatively, much like how a robust and secure TLS clientCOMMENT
MEDIUMsrc/net/cert/do_nothing_ct_verifier.h32// requires a regularly updated root certificate store, a robust and secureCOMMENT
MEDIUMsrc/net/device_bound_sessions/inclusion_result.h11 // Definitely do not defer a request on behalf of this DBSC session.COMMENT
MEDIUMsrc/net/device_bound_sessions/cookie_craving.h112 // checks for access time.) Essentially, if this returns true, then thisCOMMENT
MEDIUMsrc/net/device_bound_sessions/session_service_impl.h501 // Per-site session signing quota. In order to be robust acrossCOMMENT
MEDIUMsrc/net/base/net_error_list.h644// numbers that correspond to services, which are not robust to spurious inputCOMMENT
MEDIUMsrc/net/socket/socket_apple.h110// To provide more robust detection of even the ambiguous case, this workaroundCOMMENT
MEDIUMsrc/net/socket/socket_apple.h133// TCP socket, the secondary return value alone provides robust and unambiguousCOMMENT
MEDIUMsrc/net/socket/socket_posix.h64 // TODO(byungchul): Need more robust way to pass system errno.COMMENT
MEDIUMsrc/net/socket/socket_posix.h74 // TODO(byungchul): Need more robust way to pass system errno.COMMENT
MEDIUMsrc/net/extras/preload_data/decoder.h128 // Although this code should be robust, it never processes attacker-controlledCOMMENT
MEDIUMsrc/url/gurl.rs27// SAFETY: `GURL` does not utilize shared or thread-bound data so moving itCOMMENT
MEDIUMsrc/url/origin.rs49// SAFETY: `Origin` does not utilize shared or thread-bound data so moving itCOMMENT
MEDIUMsrc/url/url.rs21//! Because both C++ and Rust utilize the exact same code paths, there is zeroCOMMENT
MEDIUM…party/perfetto/include/perfetto/tracing/traced_proto.h48// TracedProto also provides a seamless integration with writing untypedCOMMENT
MEDIUM…o/include/perfetto/tracing/internal/data_source_type.h272 // kernel scheduler. The tracing service is robust against data commitCOMMENT
MEDIUM…arty/perfetto/include/perfetto/ext/base/string_utils.h289// - Makes the code more robust in case of snprintf truncations (len() andCOMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/debugging/stacktrace.h27// Note: stack traces in Abseil that do not utilize a symbolizer will result inCOMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/meta/type_traits.h500// If it ever becomes possible to detect [[gsl::Owner]], we should leverage it:COMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/meta/type_traits.h570// If it ever becomes possible to detect [[gsl::Pointer]], we should leverageCOMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/meta/type_traits.h626// we should change the implementation to leverage that.COMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/log/scoped_mock_log.h57// // Simple robust setup, ignores unexpected logs.COMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/log/check.h29// compromise. It is also more robust and portable to deliberately terminateCOMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/log/absl_check.h27// compromise. It is also more robust and portable to deliberately terminateCOMMENT
MEDIUM…_party/abseil-cpp/absl/random/bernoulli_distribution.h161 // greater than or equal to 1, the same would be true for `p`. Certainly `p`COMMENT
MEDIUM…_party/abseil-cpp/absl/random/internal/nanobenchmark.h19// prediction hit rates. Uses a robust estimator to summarize the measurements.COMMENT
MEDIUM…_party/abseil-cpp/absl/random/internal/nanobenchmark.h45// which is more robust to outliers and skewed data than the mean or median.COMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/base/options.h39// Diamond dependency problems can be avoided if all packages utilize the sameCOMMENT
MEDIUMsrc/third_party/abseil-cpp/absl/base/internal/poison.h48 // Non-optimized builds may use more robust implementation. Note that we can'tCOMMENT
MEDIUM⚡…/third_party/libc++/src/include/__iterator/iter_swap.h46 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUM⚡…/third_party/libc++/src/include/__iterator/iter_swap.h56 // NOLINTBEGIN(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUM⚡…/third_party/libc++/src/include/__iterator/iter_swap.h63 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUM…/third_party/libc++/src/include/__iterator/iter_move.h43 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_moveCOMMENT
MEDIUM…/third_party/libc++/src/include/__iterator/iter_move.h62 // NOLINTBEGIN(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_moveCOMMENT
MEDIUM…/third_party/libc++/src/include/__iterator/iter_move.h69 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUM…/third_party/libc++/src/include/__compare/weak_order.h36 // NOLINTBEGIN(libcpp-robust-against-adl) weak_order should use ADL, but only hereCOMMENT
MEDIUM…/third_party/libc++/src/include/__compare/weak_order.h44 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUM…ird_party/libc++/src/include/__compare/partial_order.h34 // NOLINTBEGIN(libcpp-robust-against-adl) partial_order should use ADL, but only hereCOMMENT
MEDIUM…ird_party/libc++/src/include/__compare/partial_order.h42 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUM…hird_party/libc++/src/include/__compare/strong_order.h42 // NOLINTBEGIN(libcpp-robust-against-adl) strong_order should use ADL, but only hereCOMMENT
MEDIUM…hird_party/libc++/src/include/__compare/strong_order.h50 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUM…_party/libc++/src/include/__configuration/attributes.h178// A similar reasoning holds for many other properties that are ODR-affecting. Essentially anyCOMMENT
MEDIUMsrc/third_party/libc++/src/include/__locale_dir/num.h39// NOLINTBEGIN(libcpp-robust-against-adl)COMMENT
MEDIUMsrc/third_party/libc++/src/include/__locale_dir/num.h1016// NOLINTEND(libcpp-robust-against-adl)COMMENT
LOWsrc/third_party/libc++/src/utils/libcxx/test/android.py28 # /sys subdir isn't there. Most errors will be handled later, just use oneCOMMENT
MEDIUMsrc/third_party/libc++/src/utils/ci/build-picolibc.sh12# source to facilitate building libc++ against it.COMMENT
MEDIUM…c/third_party/libc++/src/src/filesystem/operations.cpp274 // as we can't utilize the fstream impl to copy empty filesCOMMENT
MEDIUM…rty/llvm-libc/src/test/src/math/smoke/GetPayloadTest.h43 // Essentially this:COMMENT
LOW…hird_party/llvm-libc/src/utils/hdrgen/hdrgen/header.py220 # If the header itself is in standard C, just call it that.STRING
LOW…hird_party/llvm-libc/src/utils/hdrgen/hdrgen/header.py223 # If the header itself is in POSIX, just call it that.STRING
27 more matches not shown…
Unused Imports242 hits · 242 pts
SeverityFileLineSnippetContext
LOWtools/parse-pcap-stream.py2CODE
LOWsrc/tools/metrics/PRESUBMIT_test.py6CODE
LOWsrc/tools/metrics/PRESUBMIT_test.py7CODE
LOWsrc/tools/metrics/PRESUBMIT_test.py10CODE
LOWsrc/tools/metrics/md2xml.py56CODE
LOWsrc/tools/metrics/PRESUBMIT.py23CODE
LOWsrc/tools/metrics/metrics_python_tests.py10CODE
LOWsrc/tools/metrics/private_metrics/dwa_model.py6CODE
LOW…metrics/private_metrics/private_metrics_validations.py7CODE
LOW…cs/private_metrics/private_metrics_validations_test.py8CODE
LOWsrc/tools/metrics/private_metrics/pretty_print.py9CODE
LOW…ols/metrics/private_metrics/private_metrics_codegen.py8CODE
LOW…s/private_metrics/gen_private_metrics_builders_test.py9CODE
LOW…s/private_metrics/gen_private_metrics_builders_test.py11CODE
LOW…c/tools/metrics/private_metrics/dwa_decode_template.py6CODE
LOWsrc/tools/metrics/private_metrics/validate_format.py11CODE
LOW…s/private_metrics/private_metrics_model_shared_test.py8CODE
LOW…tools/metrics/private_metrics/dwa_builders_template.py6CODE
LOW…etrics/private_metrics/private_metrics_model_shared.py6CODE
LOW…etrics/private_metrics/gen_private_metrics_builders.py15CODE
LOWsrc/tools/metrics/private_metrics/PRESUBMIT.py18CODE
LOWsrc/tools/metrics/python_support/script_checker.py12CODE
LOWsrc/tools/metrics/python_support/quote_checker_test.py9CODE
LOWsrc/tools/metrics/python_support/tests_helpers.py12CODE
LOWsrc/tools/metrics/python_support/validate_mypy.py6CODE
LOWsrc/tools/metrics/python_support/validate_mypy.py9CODE
LOWsrc/tools/metrics/python_support/dependency_solver.py20CODE
LOW…tools/metrics/python_support/dependency_solver_test.py4CODE
LOW…tools/metrics/python_support/dependency_solver_test.py10CODE
LOWsrc/tools/metrics/python_support/tests_helpers_test.py10CODE
LOWsrc/tools/metrics/common/enums.py9CODE
LOWsrc/tools/metrics/common/models.py31CODE
LOWsrc/tools/metrics/common/presubmit_util.py5CODE
LOWsrc/tools/metrics/common/presubmit_util.py19CODE
LOWsrc/tools/metrics/common/diff_util.py9CODE
LOWsrc/tools/metrics/common/model_shared.py5CODE
LOWsrc/tools/metrics/common/codegen_shared_test.py8CODE
LOWsrc/tools/metrics/common/pretty_print_xml.py34CODE
LOWsrc/tools/metrics/structured/codegen_unittest.py12CODE
LOWsrc/tools/metrics/structured/gen_validator.py14CODE
LOWsrc/tools/metrics/structured/gen_events.py14CODE
LOWsrc/tools/metrics/structured/model_unittest_wrapper.py10CODE
LOWsrc/tools/metrics/structured/pretty_print.py6CODE
LOWsrc/tools/metrics/structured/pretty_print.py7CODE
LOWsrc/tools/metrics/structured/pretty_print.py10CODE
LOWsrc/tools/metrics/structured/code_generator_cpp.py7CODE
LOWsrc/tools/metrics/structured/code_generator_ts.py4CODE
LOWsrc/tools/metrics/structured/code_generator_ts.py6CODE
LOWsrc/tools/metrics/structured/code_generator.py8CODE
LOWsrc/tools/metrics/structured/sync/model.py16CODE
LOWsrc/tools/metrics/structured/sync/model_unittest.py12CODE
LOWsrc/tools/metrics/ukm/builders_template.py7CODE
LOWsrc/tools/metrics/ukm/decode_template.py9CODE
LOWsrc/tools/metrics/ukm/xml_validations.py7CODE
LOWsrc/tools/metrics/ukm/pretty_print.py6CODE
LOWsrc/tools/metrics/ukm/pretty_print.py8CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py8CODE
LOWsrc/tools/metrics/ukm/validate_format.py10CODE
LOWsrc/tools/metrics/ukm/ukm_model.py6CODE
LOWsrc/tools/metrics/ukm/gen_builders.py16CODE
182 more matches not shown…
Deep Nesting205 hits · 192 pts
SeverityFileLineSnippetContext
LOWtests/ssl_cert_file.py54CODE
LOWtests/ssl_cert_file.py86CODE
LOWtests/ssl_cert_file.py123CODE
LOWtests/ssl_cert_file.py219CODE
LOWtests/basic.py221CODE
LOWsrc/tools/metrics/md2xml.py149CODE
LOW…metrics/private_metrics/private_metrics_validations.py30CODE
LOWsrc/tools/metrics/python_support/script_checker.py43CODE
LOWsrc/tools/metrics/common/presubmit_util.py234CODE
LOWsrc/tools/metrics/common/pretty_print_xml.py413CODE
LOWsrc/tools/metrics/common/pretty_print_xml.py506CODE
LOWsrc/tools/metrics/structured/code_generator_cpp.py93CODE
LOWsrc/tools/metrics/structured/code_generator_ts.py39CODE
LOWsrc/tools/metrics/ukm/xml_validations.py649CODE
LOWsrc/tools/metrics/ukm/xml_validations.py682CODE
LOWsrc/tools/metrics/ukm/xml_validations.py779CODE
LOWsrc/tools/metrics/ukm/xml_validations.py806CODE
LOWsrc/tools/metrics/ukm/xml_validations.py858CODE
LOWsrc/tools/metrics/actions/suffixes_to_variants.py93CODE
LOW…c/tools/metrics/histograms/find_unmapped_histograms.py385CODE
LOWsrc/tools/metrics/histograms/validate_token.py34CODE
LOWsrc/tools/metrics/histograms/update_autofill_enums.py36CODE
LOWsrc/tools/metrics/histograms/split_xml.py136CODE
LOWsrc/tools/metrics/histograms/update_editor_commands.py42CODE
LOWsrc/tools/metrics/histograms/expand_owners.py155CODE
LOWsrc/tools/metrics/histograms/validate_format.py85CODE
LOWsrc/tools/metrics/histograms/histogram_validation.py284CODE
LOWsrc/tools/metrics/histograms/extract_histograms.py174CODE
LOWsrc/tools/metrics/histograms/extract_histograms.py540CODE
LOWsrc/tools/metrics/histograms/extract_histograms.py736CODE
LOW…ls/metrics/histograms/update_protocol_commands_enum.py37CODE
LOW…c/tools/generate_shim_headers/generate_shim_headers.py26CODE
LOWsrc/tools/clang/scripts/update.py122CODE
LOWsrc/tools/clang/scripts/update.py194CODE
LOWsrc/tools/clang/scripts/update.py292CODE
LOWsrc/tools/protoc_wrapper/protoc_wrapper.py59CODE
LOWsrc/tools/protoc_wrapper/protoc_wrapper.py81CODE
LOWsrc/tools/grit/grit_info.py68CODE
LOWsrc/tools/grit/grit_info.py208CODE
LOWsrc/tools/grit/pak_util.py105CODE
LOWsrc/tools/grit/minimize_css.py30CODE
LOWsrc/tools/grit/grit/zip_helpers.py87CODE
LOWsrc/tools/grit/grit/clique.py148CODE
LOWsrc/tools/grit/grit/clique.py211CODE
LOWsrc/tools/grit/grit/clique.py223CODE
LOWsrc/tools/grit/grit/shortcuts.py49CODE
LOWsrc/tools/grit/grit/util.py283CODE
LOWsrc/tools/grit/grit/util.py515CODE
LOWsrc/tools/grit/grit/util.py290CODE
LOWsrc/tools/grit/grit/clique_unittest.py131CODE
LOWsrc/tools/grit/grit/tclib.py30CODE
LOWsrc/tools/grit/grit/grit_runner.py184CODE
LOWsrc/tools/grit/grit/xtb_reader.py61CODE
LOWsrc/tools/grit/grit/gather/chrome_scaled_image.py45CODE
LOWsrc/tools/grit/grit/gather/tr_html.py524CODE
LOWsrc/tools/grit/grit/gather/tr_html.py376CODE
LOWsrc/tools/grit/grit/gather/tr_html.py735CODE
LOWsrc/tools/grit/grit/gather/tr_html.py784CODE
LOWsrc/tools/grit/grit/gather/policy_json.py51CODE
LOWsrc/tools/grit/grit/gather/policy_json.py90CODE
145 more matches not shown…
Hyper-Verbose Identifiers176 hits · 174 pts
SeverityFileLineSnippetContext
LOWtools/parse_trust_anchors.py138def maybe_decode_full_extension(data: bytes):CODE
LOW…metrics/private_metrics/private_metrics_validations.py30 def check_metric_type_is_specified(self):CODE
LOW…cs/private_metrics/private_metrics_validations_test.py36 def test_events_missing_owners(self) -> None:CODE
LOW…cs/private_metrics/private_metrics_validations_test.py64 def test_metric_has_undefined_enum(self) -> None:CODE
LOW…etrics/private_metrics/private_metrics_model_shared.py65def create_event_based_document_type(tag):CODE
LOWsrc/tools/metrics/python_support/tests_helpers.py232def get_affected_testable_scripts(CODE
LOWsrc/tools/metrics/python_support/dependency_solver.py94def _parse_line_dependencies_with_symbol(CODE
LOWsrc/tools/metrics/python_support/dependency_solver.py142def scan_directory_dependencies(CODE
LOWsrc/tools/metrics/python_support/mypy_helpers.py60def _convert_to_windows_ignore_line_if_needed(ignore_file_entry: str) -> str:CODE
LOWsrc/tools/metrics/python_support/mypy_helpers.py162def run_mypy_and_filter_irrelevant(dir_to_check: str) -> List[str]:CODE
LOWsrc/tools/metrics/python_support/setup_modules_lib.py33def setup_chromium_src_module(chromium_src_path: pathlib.Path):CODE
LOW…tools/metrics/python_support/dependency_solver_test.py34 def test_direct_import_module(self):CODE
LOW…tools/metrics/python_support/dependency_solver_test.py72 def test_from_import_multiple_symbols(self):CODE
LOW…tools/metrics/python_support/dependency_solver_test.py89 def test_symbol_fallback_to_file(self):CODE
LOW…tools/metrics/python_support/dependency_solver_test.py104 def test_import_directory_recursive(self):CODE
LOW…tools/metrics/python_support/dependency_solver_test.py125 def test_ignore_unrelated_imports(self):CODE
LOW…tools/metrics/python_support/dependency_solver_test.py141 def test_get_all_dependencies_transitive(self):STRING
LOW…tools/metrics/python_support/dependency_solver_test.py164 def test_circular_dependency_safety(self):CODE
LOWsrc/tools/metrics/common/enums.py22def _get_enums_referenced_by_metric_nodes(files: list[str]) -> set[str]:CODE
LOWsrc/tools/metrics/structured/sync/model_unittest.py246 def test_duplicate_project_names(self):CODE
LOWsrc/tools/metrics/structured/sync/model_unittest.py274 def test_duplicate_event_names(self):CODE
LOWsrc/tools/metrics/structured/sync/model_unittest.py297 def test_duplicate_metric_names(self):CODE
LOWsrc/tools/metrics/structured/sync/model_unittest.py317 def test_key_rotation_validation(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations.py553def _is_metric_valid_as_index_field(metric_node):CODE
LOWsrc/tools/metrics/ukm/xml_validations.py602def _get_local_metric_index_fields(metric_node):CODE
LOWsrc/tools/metrics/ukm/xml_validations.py611def _split_words_in_metric_name(metric_name: str) -> list[str]:CODE
LOWsrc/tools/metrics/ukm/xml_validations.py682 def check_metric_type_is_specified(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations.py717 def check_local_metric_is_aggregated(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations.py779 def check_statistics_non_empty_valid(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations.py835 def check_event_names_case_insensitive_uniqueness(CODE
LOWsrc/tools/metrics/ukm/xml_validations.py858 def check_metric_names_case_insensitive_uniqueness(CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py34 def test_events_missing_owners(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py60 def test_metric_has_undefined_enum(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py91 def test_check_local_metric_is_aggregated(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py302 def test_statistics_non_empty_valid(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py316 def test_metric_uses_forbidden_name(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py349 def test_check_time_metric_unit(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py416 def test_split_words_in_metric_name(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py434 def test_event_names_insensitive_uniqueness(self):CODE
LOWsrc/tools/metrics/ukm/xml_validations_test.py465 def test_metric_names_case_insensitive_uniqueness(self):CODE
LOWsrc/tools/metrics/ukm/ukm_model.py138def prettify_xml_and_trim_obsolete(original_xml: str) -> str:CODE
LOWsrc/tools/metrics/ukm/gen_builders_test.py32 def test_filter_obsolete_metrics(self):CODE
LOWsrc/tools/metrics/ukm/ukm_model_test.py205 def test_trim_obsolete_metric(self):CODE
LOWsrc/tools/metrics/actions/print_action_names.py34def get_modified_action_names(CODE
LOW…c/tools/metrics/histograms/find_unmapped_histograms.py288def _collapse_adjacent_c_strings(string: str) -> str:CODE
LOW…c/tools/metrics/histograms/find_unmapped_histograms.py308def log_non_literal_histogram(CODE
LOW…c/tools/metrics/histograms/find_unmapped_histograms.py352def _read_chromium_histograms() -> dict[str, str]:CODE
LOW…c/tools/metrics/histograms/find_unmapped_histograms.py489def _hash_histogram_name_to_int(t: str) -> int:CODE
LOWsrc/tools/metrics/histograms/histogram_utils.py71def _merge_histograms_with_variants(CODE
LOWsrc/tools/metrics/histograms/histogram_utils.py92def get_modified_variants_blocks(CODE
LOWsrc/tools/metrics/histograms/histogram_utils.py121def _histogram_references_global_variant_from_list(CODE
LOWsrc/tools/metrics/histograms/histogram_utils.py164def _remove_affected_histogram_references_from_dom(CODE
LOWsrc/tools/metrics/histograms/histogram_utils.py188def get_names_using_variants_from_contents(CODE
LOWsrc/tools/metrics/histograms/histogram_utils.py258def find_files_using_variants(CODE
LOWsrc/tools/metrics/histograms/PRESUBMIT_test.py502 def _run_check_histograms_changes(self, file_data, is_committing=True):STRING
LOWsrc/tools/metrics/histograms/remove_unused_enums.py19def _remove_enum_nodes_not_in_list(CODE
LOWsrc/tools/metrics/histograms/generate_flag_enums.py23def get_entries_from_unit_test(outdir: str) -> typing.List[str]:CODE
LOWsrc/tools/metrics/histograms/generate_flag_enums.py37def get_entries_from_feature_string(feature: str) -> typing.List[str]:CODE
LOW…c/tools/metrics/histograms/generate_flag_enums_test.py59 def test_get_entries_from_feature_string(self):STRING
LOWsrc/tools/metrics/histograms/split_enums.py81def _extract_enum_nodes_by_names(enum_names):CODE
116 more matches not shown…
Cross-Language Confusion30 hits · 162 pts
SeverityFileLineSnippetContext
HIGHsrc/tools/metrics/structured/sync/model.py45 - (optional) one or more targets. If undefined, defaults to 'chromium'STRING
HIGHsrc/tools/grit/grit/gather/rc_unittest.py136 MENUITEM "Klonk && is ""good""", ID_GONK_KLONKISCODE
HIGHsrc/tools/grit/grit/gather/tr_html_unittest.py642 if (!(w.checked || e.checked)) { o.checked=0;o.disabled=1;} else {o.disabled=0;} }CODE
HIGHsrc/tools/grit/grit/format/rc_unittest.py116 MENUITEM "Klonk && is [good]", ID_GONK_KLONKISSTRING
HIGHsrc/tools/grit/grit/format/rc_unittest.py451 MENUITEM "Klonk && is excellent", ID_GONK_KLONKISSTRING
HIGHsrc/tools/grit/grit/tool/transl2tc_unittest.py129 'XX01XX&SkraXX02XX&HaettaXX03XXThetta er "Klonk" sem eg fylaXX04XXgonkurinnXX05XXKlonk && er [good]XX06XX&HjalpXX0CODE
HIGHsrc/third_party/abseil-cpp/convert_bazel_to_gn.py125 'if (is_apple || is_android) { sources = [] }',CODE
HIGHsrc/third_party/libc++/src/utils/adb_run.py148 " if command -v env >/dev/null; then"CODE
HIGH…++/src/utils/generate_feature_test_macro_components.py705 "test_suite_guard": "!defined(_LIBCPP_VERSION) || (_LIBCPP_HAS_FILESYSTEM && _LIBCPP_HAS_LOCALIZATION)",CODE
HIGH…++/src/utils/generate_feature_test_macro_components.py706 "libcxx_guard": "_LIBCPP_HAS_FILESYSTEM && _LIBCPP_HAS_LOCALIZATION",CODE
HIGHsrc/third_party/libc++/src/utils/libcxx/test/format.py153 script += ["%dbg(SETUP) cd %S && cp {} %{{temp}}".format(dep)]CODE
HIGH…rd_party/libc++/src/utils/libcxx/test/features/misc.py261 if (tempPathRet == 0 || tempPathRet > MAX_PATH) {STRING
HIGH…arty/libc++/src/utils/libcxx/test/features/platform.py65 if (ptr >= exe && ptr <= exeend)CODE
HIGH⚡…/libc++/src/utils/libcxx/test/features/availability.py32 r"_target-has-llvm-22 || target={{.+}}-apple-macosx{{26.[4-9](.\d+)?}}",CODE
HIGH⚡…/libc++/src/utils/libcxx/test/features/availability.py39 r"_target-has-llvm-21 || target={{.+}}-apple-macosx{{26.[0-3](.\d+)?}}",CODE
HIGH⚡…/libc++/src/utils/libcxx/test/features/availability.py46 r"_target-has-llvm-20 || target={{.+}}-apple-macosx{{15.[4-9](.\d+)?}}",CODE
HIGH⚡…/libc++/src/utils/libcxx/test/features/availability.py53 r"_target-has-llvm-19 || target={{.+}}-apple-macosx{{15.[0-3](.\d+)?}}",CODE
HIGH⚡…/libc++/src/utils/libcxx/test/features/availability.py60 r"_target-has-llvm-18 || target={{.+}}-apple-macosx{{14.[4-9](.\d+)?}}",CODE
HIGH⚡…/libc++/src/utils/libcxx/test/features/availability.py67 "_target-has-llvm-17 || target={{.+}}-apple-macosx{{14.[0-3](.[0-9]+)?}}",CODE
HIGH⚡…/libc++/src/utils/libcxx/test/features/availability.py74 "_target-has-llvm-16 || target={{.+}}-apple-macosx{{13.[4-9](.[0-9]+)?}}",CODE
HIGH…/libc++/src/utils/libcxx/test/features/availability.py88 "_target-has-llvm-14 || target={{.+}}-apple-macosx{{13.[0-3](.[0-9]+)?}}",CODE
HIGH…/libc++/src/utils/libcxx/test/features/availability.py95 "_target-has-llvm-13 || target={{.+}}-apple-macosx{{12.[3-9](.[0-9]+)?}}",CODE
HIGH…c/third_party/zstd/src/tests/automated_benchmarking.py103 os.system("cd ../ && make -j && cd tests")CODE
HIGH…arty/zstd/src/contrib/freestanding_lib/freestanding.py55 Handles && and ||.STRING
HIGH…benchmark/bindings/python/google_benchmark/__init__.py108 options = __OptionMaker.make(undefined)CODE
HIGHsrc/third_party/jni_zero/parse_test.py203 return null;CODE
HIGHsrc/third_party/jni_zero/codegen/natives_header.py323 sb(f'JNI_ZERO_DCHECK(switch_num >= 0 && switch_num < {num_aliases});\n')CODE
HIGH⚡src/third_party/jni_zero/codegen/proxy_impl_java.py76 if (holder != null && holder.value != null) {{CODE
HIGH⚡src/third_party/jni_zero/codegen/proxy_impl_java.py76 if (holder != null && holder.value != null) {{CODE
HIGH⚡src/third_party/jni_zero/codegen/proxy_impl_java.py83 if (sOverride == null) {{CODE
Structural Annotation Overuse76 hits · 147 pts
SeverityFileLineSnippetContext
LOWsrc/net/http/http_vary_data.h42// NOTE: This class does not hold onto the contents of the Vary header.COMMENT
LOWsrc/net/socket/ssl_server_socket.h5// NOTE: This class is provided to support existing Chromium consumers; it isCOMMENT
LOW…party/perfetto/include/perfetto/ext/base/murmur_hash.h187// NOTE: This function intentionally has no else branch for non-builtin types,COMMENT
LOWsrc/third_party/abseil-cpp/absl/status/status.h544 // NOTE: This function should only be called when converting to an associatedCOMMENT
LOWsrc/third_party/abseil-cpp/absl/status/status.h647 // NOTE: This function does nothing if the Status is ok.COMMENT
LOWsrc/third_party/abseil-cpp/absl/status/status_builder.h597 // NOTE: This function is `static` to prevent escaping the `this` pointer. WeCOMMENT
LOW⚡src/third_party/libc++/src/src/ryu/f2s.cpp173 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡src/third_party/libc++/src/src/ryu/f2s.cpp180 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/f2s.cpp242 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/f2s.cpp424 // Step 5: Print the decimal representation.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/f2s.cpp668 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡src/third_party/libc++/src/src/ryu/d2s.cpp199 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡src/third_party/libc++/src/src/ryu/d2s.cpp207 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/d2s.cpp266 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/d2s.cpp359 // Step 5: Print the decimal representation.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/d2s.cpp696 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp29 // Step 1: Executed with an absolute path containing slashes.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp48 // Step 2: Executed with a relative path containing slashes.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp67 // Step 3: Executed with an empty string.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp86 // Step 4: Executed with a path ending in a slash.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp104 // Step 5: Executed with a path without slashes.COMMENT
LOW⚡…est/integration/startup/linux/invocation_name_test.cpp122 // Step 6: Executed with an empty (zero-length) argv. The kernel adds anCOMMENT
LOW⚡…est/integration/startup/linux/invocation_name_test.cpp129 // Step 0: Initial run. Re-exec self with known argv[0] values.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp63 // Step 1: Open file A and write initial content.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp72 // Step 2: Open file A for reading.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp76 // Step 3: Use freopen to redirect stream from file A to file B for writing.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp80 // Step 4: Write to reopened stream (file B).COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp87 // Step 5: Verify file B content.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp94 // Step 1: Open file with write-update mode.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp103 // Step 2: Change mode with filename == nullptr to append.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp107 // Step 3: Write appended content.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp114 // Step 4: Verify combined content.COMMENT
LOWsrc/third_party/llvm-libc/src/docs/full_host_build.md116### Step 1: PreparationCOMMENT
LOWsrc/third_party/llvm-libc/src/docs/full_host_build.md125### Step 2: Linux HeadersCOMMENT
LOWsrc/third_party/llvm-libc/src/docs/full_host_build.md164### Step 3: Build and Install RuntimesCOMMENT
LOWsrc/third_party/llvm-libc/src/docs/full_host_build.md197### Step 4: Configure the Compiler WrapperCOMMENT
LOWsrc/third_party/llvm-libc/src/docs/full_host_build.md233### Step 5: VerificationCOMMENT
LOW⚡src/third_party/llvm-libc/src/src/__support/math/logf.h28// Step 1 - Range reduction:COMMENT
LOW⚡src/third_party/llvm-libc/src/src/__support/math/logf.h33// Step 2 - Another range reduction:COMMENT
LOW⚡src/third_party/llvm-libc/src/src/__support/math/logf.h43// Step 3 - Polynomial approximation:COMMENT
LOW⚡…/third_party/llvm-libc/src/src/__support/math/log10f.h29// Step 1 - Range reduction:COMMENT
LOW⚡…/third_party/llvm-libc/src/src/__support/math/log10f.h34// Step 2 - Another range reduction:COMMENT
LOW⚡…/third_party/llvm-libc/src/src/__support/math/log10f.h44// Step 3 - Polynomial approximation:COMMENT
LOW⚡…c/third_party/llvm-libc/src/src/__support/math/log2f.h26// Step 1 - Range reduction:COMMENT
LOW⚡…c/third_party/llvm-libc/src/src/__support/math/log2f.h31// Step 2 - Another range reduction:COMMENT
LOW⚡…c/third_party/llvm-libc/src/src/__support/math/log2f.h41// Step 3 - Polynomial approximation:COMMENT
LOW…ird_party/llvm-libc/src/src/__support/threads/thread.h134 // NOTE: This function is to be used for testing only. There is no standardCOMMENT
LOWsrc/third_party/llvm-libc/src/src/time/time_utils.cpp102 // Step 1: Convert seconds to days + remaining secondsCOMMENT
LOW⚡src/third_party/llvm-libc/src/src/time/time_utils.cpp178 // Step 4: Calculate day of year (yday) in January-based calendar [0, 365]COMMENT
LOW⚡src/third_party/llvm-libc/src/src/time/time_utils.cpp186 // Step 5: Calculate day of week [0=Sun, 1=Mon, ..., 6=Sat]COMMENT
LOW⚡src/third_party/llvm-libc/src/src/time/time_utils.cpp192 // Step 6: Populate tm structure with all calculated valuesCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h124 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h130 // Step 2: read blocksCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h135 // Step 3: find the zero in the blockCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h159 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h168 // Step 2: read blocksCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h175 // Step 3: find the match in the blockCOMMENT
LOWsrc/third_party/boringssl/src/include/openssl/ssl.h510// NOTE: This function must be queried again whenever the state machine changes,COMMENT
LOWsrc/third_party/boringssl/src/include/openssl/ssl.h1498// NOTE: This function assumes the caller does not use `SSL_clear` to reuseCOMMENT
LOWsrc/third_party/boringssl/src/include/openssl/span.h257 // NOTE: This method may abort() at runtime if pos or len are out of range.COMMENT
16 more matches not shown…
Example Usage Blocks95 hits · 142 pts
SeverityFileLineSnippetContext
LOWsrc/tools/grit/stamp_grit_sources.py12# Usage:COMMENT
LOWsrc/net/test/scoped_mutually_exclusive_feature_list.h21// Example usage:COMMENT
LOW…third_party/quiche/src/quiche/http2/core/spdy_framer.h245 // Example usage:COMMENT
LOW…third_party/quiche/src/quiche/common/quiche_weak_ptr.h13// Example usage:COMMENT
LOW…/third_party/quiche/src/quiche/quic/moqt/moqt_parser.h186 // Example usage:COMMENT
LOWsrc/net/http/http_response_headers.h53 // Example usage:COMMENT
LOWsrc/net/socket/socket_test_util.h87// Example usage:COMMENT
LOW…omponents/unexportable_keys/unexportable_key_service.h150 // Example usage:COMMENT
LOW…ude/perfetto/tracing/track_event_interned_data_index.h34// Example usageCOMMENT
LOW…y/perfetto/include/perfetto/trace_processor/iterator.h36// Example usage:COMMENT
LOW…arty/perfetto/include/perfetto/ext/base/string_utils.h282// Example usage:COMMENT
LOW…ty/perfetto/include/perfetto/ext/base/intrusive_tree.h32// Usage example:COMMENT
LOW…ty/perfetto/include/perfetto/ext/base/intrusive_list.h32// Usage example:COMMENT
LOW…ty/perfetto/include/perfetto/protozero/proto_decoder.h462 // Example usage:COMMENT
LOW…ird_party/perfetto/include/perfetto/public/pb_macros.h28// Example usage:COMMENT
LOW…rd_party/perfetto/include/perfetto/public/pb_decoder.h26// Example usage:COMMENT
LOW…rd_party/perfetto/src/trace_processor/core/util/slab.h38// Usage example:COMMENT
LOW…y/perfetto/src/trace_processor/core/util/flex_vector.h54// Usage example:COMMENT
LOW…etto/src/trace_processor/util/simple_json_serializer.h47// Usage example:COMMENT
LOW…etto/src/trace_processor/util/simple_json_serializer.h83// Usage example:COMMENT
LOW…etto/src/trace_processor/util/simple_json_serializer.h116// Usage example:COMMENT
LOW…perfetto/src/trace_processor/util/simple_json_parser.h54// Example usage:COMMENT
LOW…rc/trace_processor/importers/common/metadata_tracker.h36 // Example usage:COMMENT
LOW…rc/trace_processor/importers/common/metadata_tracker.h42 // Example usage:COMMENT
LOW…ird_party/perfetto/src/profiling/common/proc_cmdline.h39// Example usage:COMMENT
LOW…d_party/abseil-cpp/absl/strings/resize_and_overwrite.h31// Example usage:COMMENT
LOW…rty/abseil-cpp/absl/strings/internal/generic_printer.h46// Example usage:COMMENT
LOW…rty/abseil-cpp/absl/strings/internal/generic_printer.h85// Example usage:COMMENT
LOWsrc/third_party/abseil-cpp/absl/synchronization/mutex.h180 // Example usage:COMMENT
LOWsrc/third_party/abseil-cpp/absl/hash/internal/hash.h169// Example usage:COMMENT
LOW…arty/abseil-cpp/absl/debugging/internal/vdso_support.h30// Example usage:COMMENT
LOW…c/third_party/abseil-cpp/absl/meta/internal/requires.h30// Example usage:COMMENT
LOW…hird_party/abseil-cpp/absl/base/internal/raw_logging.h40// Usage example:COMMENT
LOWsrc/third_party/nasm/tools/mkdep.pl8# Usage:COMMENT
LOWsrc/third_party/nasm/test/bisect.sh3# Usage:COMMENT
LOWsrc/third_party/nasm/nasmlib/perfhash.pl10# Usage:COMMENT
LOWsrc/third_party/zlib/contrib/minizip/skipset.h20// Example usage:COMMENT
LOW…lvm-libc/src/src/__support/FPUtil/except_value_utils.h29// Example usage:COMMENT
LOWsrc/base/feature.rs126/// # Usage:COMMENT
LOWsrc/base/feature.h335// Example usage:COMMENT
LOWsrc/base/lazy_instance.h36// Example usage:COMMENT
LOWsrc/base/gtest_prod_util.h15// Example usage:COMMENT
LOWsrc/base/gtest_prod_util.h45// Example usage:COMMENT
LOWsrc/base/tuple.h11// Example usage:COMMENT
LOWsrc/base/apple/foundation_util.h152// Example usage:COMMENT
LOWsrc/base/apple/foundation_util.h216// Example usage:COMMENT
LOWsrc/base/types/expected.h122// Example usage:COMMENT
LOWsrc/base/memory/singleton.h145// Example usage:COMMENT
LOWsrc/base/memory/values_equivalent.h38// Example usage:COMMENT
LOWsrc/base/memory/values_equivalent.h55// Example usage:COMMENT
LOWsrc/base/memory/memory_pressure_listener.h124// Example usage:COMMENT
LOWsrc/base/trace_event/trace_arguments.h231 // Usage example:COMMENT
LOWsrc/base/test/repeating_test_future.h70 // Example usage:COMMENT
LOWsrc/base/test/with_feature_override.h24// Example usage:COMMENT
LOWsrc/base/test/manual_hang_watcher.h26// Example usage:COMMENT
LOWsrc/base/test/run_until.h21// Example usage:COMMENT
LOWsrc/base/test/test_future.h37// Example usage:COMMENT
LOWsrc/base/test/test_future.h265 // Example usage:COMMENT
LOWsrc/base/test/test_future.h281 // Example usage:COMMENT
LOWsrc/base/test/test_future.h299 // Example usage:COMMENT
35 more matches not shown…
Self-Referential Comments46 hits · 134 pts
SeverityFileLineSnippetContext
MEDIUM…tools/metrics/python_support/setup_modules_lib_test.py38 # Create a readable name for the test outputCOMMENT
MEDIUM…tools/metrics/python_support/dependency_solver_test.py17 # Create a temporary directory for each test to ensure isolationCOMMENT
MEDIUMsrc/tools/metrics/actions/PRESUBMIT_test.py88 # Create a mock error object to be returned by PresubmitErrorCOMMENT
MEDIUMsrc/tools/metrics/actions/suffixes_to_variants.py208 # Create an inline <token> node.COMMENT
MEDIUMsrc/tools/metrics/histograms/merge_xml.py79 # Create the combined <histograms> tag.COMMENT
MEDIUMsrc/tools/metrics/histograms/merge_xml.py104 # Create the combined <histogram_suffixes_list> tag.COMMENT
MEDIUM…c/tools/metrics/histograms/find_unmapped_histograms.py218 # The following function name suffixes are not defined in //base/metrics.STRING
MEDIUM…ls/metrics/histograms/presubmit_bad_message_reasons.py24 # This function is called once per bad_message.h-containing directory. CheckCOMMENT
MEDIUMsrc/tools/clang/scripts/update.py341 # This file is created by first class GCS deps. If this file exists,COMMENT
MEDIUMsrc/tools/grit/grit/format/html_inline_unittest.py96 # Create an HTML file that attempts to inline a generated JS file.COMMENT
MEDIUMsrc/tools/grit/grit/tool/resize.py289 # Create the resource.h fileCOMMENT
MEDIUMsrc/tools/grit/grit/tool/android2grd.py235 # Create an output element for each language.COMMENT
MEDIUMsrc/third_party/libc++/src/utils/ssh.py59 # Create a temporary directory where the test will be run.COMMENT
MEDIUMsrc/third_party/libc++/src/utils/libcxx/test/dsl.py133 # Create a dummy test suite and single dummy test inside it. As part ofCOMMENT
MEDIUMsrc/third_party/libc++/src/utils/libcxx/test/android.py80 # Create the job limit server socket.COMMENT
MEDIUMsrc/third_party/libc++/src/docs/conf.py5# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMsrc/third_party/nasm/generate_nasm_sources.py64# This file is created by generate_nasm_sources.py. Do not edit manually.STRING
MEDIUMsrc/third_party/nasm/nasmlib/perfhash.pl54# Define the value to be returned if a string is not foundCOMMENT
MEDIUMsrc/third_party/nasm/doc/rdsrc.pl946 # Create the navbar listCOMMENT
MEDIUMsrc/third_party/nasm/doc/genps.pl168# Create a font path. At least some versions of GhostscriptCOMMENT
MEDIUMsrc/third_party/nasm/doc/genps.pl188# Create a Fontmap. At least some versions of GhostscriptCOMMENT
MEDIUMsrc/third_party/nasm/travis/nasm-t.py502# Create a new empty test caseCOMMENT
MEDIUMsrc/third_party/llvm-libc/src/utils/libctest/format.py63 # Create a test with the executable nameCOMMENT
MEDIUMsrc/third_party/llvm-libc/src/docs/conf.py5# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMsrc/third_party/zstd/src/tests/gzip/init.cfg1# This file is sourced by init.sh, *before* its initialization.COMMENT
MEDIUMsrc/third_party/zstd/src/tests/gzip/init.sh136# The following code attempts to find a shell with support for these features.COMMENT
MEDIUMsrc/third_party/zstd/src/tests/gzip/init.sh451 # Create an alias, FOO, for each FOO.exe in this directory.COMMENT
MEDIUMsrc/third_party/zstd/src/tests/gzip/init.sh495# Create a temporary directory, much like mktemp -d does.COMMENT
MEDIUMsrc/third_party/zstd/src/tests/gzip/help-version.sh147# Create a file in the current directory, not in $TMPDIR.COMMENT
MEDIUMsrc/third_party/zstd/src/tests/gzip/test-driver.sh26# This file is maintained in Automake, please reportCOMMENT
MEDIUMsrc/third_party/libunwind/src/docs/conf.py5# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMsrc/third_party/depot_tools/cpplint.py6869 # The following function is just a speed up, no semantics are changed.STRING
MEDIUM…arty/boringssl/src/crypto/test/asm/trampoline-armv4.pl16# This file defines helper functions for crypto/test/abi_test.h on 32-bitCOMMENT
MEDIUM…arty/boringssl/src/crypto/test/asm/trampoline-armv8.pl16# This file defines helper functions for crypto/test/abi_test.h on aarch64. SeeCOMMENT
MEDIUM…rty/boringssl/src/crypto/test/asm/trampoline-x86_64.pl16# This file defines helper functions for crypto/test/abi_test.h on x86_64. SeeCOMMENT
MEDIUM…_party/boringssl/src/crypto/test/asm/trampoline-x86.pl16# This file defines helper functions for crypto/test/abi_test.h on x86. SeeCOMMENT
MEDIUM…crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go52 fmt.Printf(`# This file contains multiples of the base point for various curves. The pointCODE
MEDIUM…crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go55# This file is generated by make_ec_scalar_base_mult_tests.goCOMMENT
MEDIUM⚡…/boringssl/src/crypto/fipsmodule/aes/asm/aesv8-armx.pl22# This module implements support for ARMv8 AES instructions. TheCOMMENT
MEDIUM…l/src/crypto/fipsmodule/aes/asm/aes-gcm-avx2-x86_64.pl491# This function handles large amounts of AAD efficiently, while also keeping theCOMMENT
MEDIUM⚡…oringssl/src/crypto/fipsmodule/aes/asm/aesni-x86_64.pl22# This module implements support for Intel AES-NI extension. InCOMMENT
MEDIUM⚡…y/boringssl/src/crypto/fipsmodule/aes/asm/aesni-x86.pl22# This module implements support for Intel AES-NI extension. InCOMMENT
MEDIUM…src/crypto/fipsmodule/aes/asm/aes-gcm-avx512-x86_64.pl21# This file is based on aes-gcm-avx10-x86_64.S from the Linux kernelCOMMENT
MEDIUM…src/crypto/fipsmodule/aes/asm/aes-gcm-avx512-x86_64.pl642# This function handles large amounts of AAD efficiently, while also keeping theCOMMENT
MEDIUM…hird_party/jni_zero/codegen/called_by_native_header.py496 # Create the alias in the pacakge namespace.COMMENT
MEDIUMsrc/base/test/tracing/gen_amalgamated_stdlib.py64 # Create the C++ variable for each SQL file.STRING
Docstring Block Structure24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHsrc/tools/metrics/common/models.py378A complex node type that has attributes or other nodes as children. Unmarshalls nodes to objects. Args: tag: TSTRING
HIGHsrc/tools/metrics/common/models.py416Extracts the content of the node to an object. Args: node: The XML node to extract data from. Returns: STRING
HIGHsrc/tools/metrics/common/pretty_print_xml.py642Pretty-prints the given XML node at the given indent level. Args: node: The ElementTree node to pretty-print.STRING
HIGHsrc/tools/metrics/structured/sync/model_util.py33Get an attribute. Error if it is missing, optionally error if it doesn't match the provided regex. Args: eleSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py64Get the text of an element. Error if it is missing text, optionally error if it doesn't match the provided regex. STRING
HIGHsrc/tools/metrics/structured/sync/model_util.py93Get an attribute. Returns None if it doesn't exist. Args: elem: structured.xml file element tree. tag: NamSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py125Get an attribute that is a comma separated list. Returns None if it doesn't exist. Args: elem: structured.xml STRING
HIGHsrc/tools/metrics/structured/sync/model_util.py166Get all child nodes of `elem` with tag `tag`. Error if none exist, or a child is not a compound node. Args: elSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py197Get the child of `elem` with tag `tag`. Error if there isn't exactly one matching child, or it isn't compound. ArgSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py220Get the text of all child nodes of `elem` with tag `tag`. Error if none exist, or a child is not a text node. OptionaSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py260Get the text of the child of `elem` with tag `tag`. Error if there isn't exactly one matching child, or it isn't a teSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py287Ensure `elem` has no attributes except those in `expected_attrs`. Args: elem: structured.xml file element tree. STRING
HIGHsrc/tools/metrics/structured/sync/model_util.py314Ensure all children in `expected_children` are in `elem`. Args: elem: structured.xml file element tree. expecSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py356Ensure uniqueness of the 'name' of all children of `elem` with `tag`. Args: elem: structured.xml file element treSTRING
HIGHsrc/tools/metrics/structured/sync/model_util.py373Ensures that the names provided are unique. Args: elem: structured.xml file element tree. names: The list of STRING
HIGHsrc/tools/metrics/actions/action_utils.py234Parse the XML data currently stored in the file. Args: file_content: a string containing the action XML file contSTRING
HIGHsrc/tools/metrics/actions/action_utils.py371Converts template actions dictionary into a dictionary of expanded actions We allow the actions.xml to contain tokensSTRING
HIGH…etrics/histograms/generate_expired_histograms_array.py68Filters histograms to find expired ones if date format is used. Args: histograms(Dict[str, Dict]): Histogram descSTRING
HIGH…etrics/histograms/generate_expired_histograms_array.py119Fetches base date from |content| to compare expiry dates with. Args: content: A string with the base date. regeSTRING
HIGH…etrics/histograms/generate_expired_histograms_array.py149Extracts current milestone from |content|. Args: content: A string with the version information. regex: A regulSTRING
HIGHsrc/tools/metrics/histograms/update_histogram_enum.py68Creates a dictionary of enum values, read from a C++ file. Args: filename: The unix-style path (relative to srcSTRING
HIGHsrc/tools/metrics/histograms/extract_histograms.py1105Loads histogram definitions from a disk file. Args: filename: a file path to load data from. Returns: a diSTRING
HIGHsrc/tools/grit/grit/format/data_pack.py310Combines all inputs into one. Args: inputs: a list of (resources_by_id, encoding) tuples to be combined. STRING
HIGHsrc/net/tools/net_docs/net_docs.py64Processes a list of Markdown documentation files. If input_pathname and output_pathname are specified, outputs HTML fSTRING
Verbosity Indicators47 hits · 94 pts
SeverityFileLineSnippetContext
LOW⚡src/third_party/libc++/src/src/ryu/f2s.cpp173 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡src/third_party/libc++/src/src/ryu/f2s.cpp180 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/f2s.cpp242 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/f2s.cpp424 // Step 5: Print the decimal representation.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/f2s.cpp668 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡src/third_party/libc++/src/src/ryu/d2s.cpp199 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡src/third_party/libc++/src/src/ryu/d2s.cpp207 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/d2s.cpp266 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/d2s.cpp359 // Step 5: Print the decimal representation.COMMENT
LOWsrc/third_party/libc++/src/src/ryu/d2s.cpp696 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp29 // Step 1: Executed with an absolute path containing slashes.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp48 // Step 2: Executed with a relative path containing slashes.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp67 // Step 3: Executed with an empty string.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp86 // Step 4: Executed with a path ending in a slash.COMMENT
LOW…est/integration/startup/linux/invocation_name_test.cpp104 // Step 5: Executed with a path without slashes.COMMENT
LOW⚡…est/integration/startup/linux/invocation_name_test.cpp122 // Step 6: Executed with an empty (zero-length) argv. The kernel adds anCOMMENT
LOW⚡…est/integration/startup/linux/invocation_name_test.cpp129 // Step 0: Initial run. Re-exec self with known argv[0] values.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp63 // Step 1: Open file A and write initial content.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp72 // Step 2: Open file A for reading.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp76 // Step 3: Use freopen to redirect stream from file A to file B for writing.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp80 // Step 4: Write to reopened stream (file B).COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp87 // Step 5: Verify file B content.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp94 // Step 1: Open file with write-update mode.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp103 // Step 2: Change mode with filename == nullptr to append.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp107 // Step 3: Write appended content.COMMENT
LOW⚡…rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp114 // Step 4: Verify combined content.COMMENT
LOW…vm-libc/src/include/llvm-libc-macros/inttypes-macros.h118// only recent clang provides these macros, so we need to check if they areCOMMENT
LOWsrc/third_party/llvm-libc/src/shared/rpc.h652 // Once we acquire the index we need to check if we are in a valid sendingCOMMENT
LOW…arty/llvm-libc/src/src/__support/OSUtil/linux/vdso.cpp93 // now we need to check if it has the right versionCOMMENT
LOWsrc/third_party/llvm-libc/src/src/time/time_utils.cpp102 // Step 1: Convert seconds to days + remaining secondsCOMMENT
LOW⚡src/third_party/llvm-libc/src/src/time/time_utils.cpp178 // Step 4: Calculate day of year (yday) in January-based calendar [0, 365]COMMENT
LOW⚡src/third_party/llvm-libc/src/src/time/time_utils.cpp186 // Step 5: Calculate day of week [0=Sun, 1=Mon, ..., 6=Sat]COMMENT
LOW⚡src/third_party/llvm-libc/src/src/time/time_utils.cpp192 // Step 6: Populate tm structure with all calculated valuesCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h124 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h130 // Step 2: read blocksCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h135 // Step 3: find the zero in the blockCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h159 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h168 // Step 2: read blocksCOMMENT
LOW⚡…c/third_party/llvm-libc/src/src/string/string_length.h175 // Step 3: find the match in the blockCOMMENT
LOWsrc/base/apple/call_with_eh_frame.h17// The purpose of this function is to prevent a try/catch statement in systemCOMMENT
LOW⚡src/base/test/tracing/trace_event_analyzer.h51// Step 1: instrument code with custom begin/end trace events.COMMENT
LOW⚡src/base/test/tracing/trace_event_analyzer.h57// Step 2: associate these custom begin/end pairs.COMMENT
LOW⚡src/base/test/tracing/trace_event_analyzer.h63// Step 3: search for "timing1_begin" events with existing other event.COMMENT
LOW⚡src/base/test/tracing/trace_event_analyzer.h68// Step 4: analyze events, such as checking durations.COMMENT
LOW⚡src/base/process/memory_mac.mm94 // Step 1: Enable OOM killer on C++ failures.COMMENT
LOW⚡src/base/process/memory_mac.mm97// Step 2: Enable OOM killer on C-malloc failures for the default zone (if weCOMMENT
LOW⚡src/base/process/memory_mac.mm102 // Step 3: Enable OOM killer on all other malloc zones (or just "all" withoutCOMMENT
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHsrc/tools/update_pgo_profiles.py111except (ImportError, AttributeError):CODE
HIGHsrc/tools/update_pgo_profiles.py135except Exception:CODE
HIGHsrc/tools/clang/scripts/update.py331except:CODE
HIGHsrc/tools/grit/pak_util.py138except UnicodeDecodeError:CODE
HIGHsrc/tools/grit/grit/clique_unittest.py98except:CODE
HIGHsrc/tools/grit/grit/clique_unittest.py321except:CODE
HIGHsrc/tools/grit/grit/tclib_unittest.py167except exception.InvalidPlaceholderName:CODE
HIGHsrc/tools/grit/grit/grit_runner.py312except ImportError:CODE
HIGHsrc/tools/grit/grit/node/misc_unittest.py62except grit.exception.Parsing:CODE
HIGHsrc/tools/grit/grit/tool/unit.py13except ImportError:CODE
HIGHsrc/third_party/angle/src/commit_id.py147except:CODE
HIGHsrc/third_party/nasm/travis/nasm-t.py190except:CODE
HIGHsrc/third_party/zstd/src/tests/rateLimiter.py40except (KeyboardInterrupt, BrokenPipeError) as e:CODE
HIGHsrc/third_party/depot_tools/subprocess2.py60except ImportError:CODE
HIGH…ringssl/src/third_party/benchmark/tools/gbench/util.py54except BaseException:CODE
Synthetic Comment Markers7 hits · 68 pts
SeverityFileLineSnippetContext
HIGH⚡src/net/base/net_error_list.h353// Failed to set the socket's receive buffer size as requested.COMMENT
HIGH⚡src/net/base/net_error_list.h356// Failed to set the socket's send buffer size as requested.COMMENT
HIGH⚡src/net/base/net_error_list.h359// Failed to set the socket's receive buffer size as requested, despite successCOMMENT
HIGH⚡src/net/base/net_error_list.h363// Failed to set the socket's send buffer size as requested, despite successCOMMENT
HIGHsrc/third_party/boringssl/src/include/openssl/ssl.h6508// the requested amount of padding from the server as requested throughCOMMENT
HIGHsrc/base/message_loop/message_pump.h236 // ScheduleWork or as requested by the last NextWorkInfo returned by DoWork.COMMENT
HIGHsrc/base/message_loop/message_pump.h263 // up as requested by the return value of DoWork().COMMENT
Cross-File Repetition11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHsrc/tools/grit/grit/node/misc.py0creates a new node which is a child of 'parent', with attributes set by parameters of the same name.STRING
HIGHsrc/tools/grit/grit/node/structure.py0creates a new node which is a child of 'parent', with attributes set by parameters of the same name.STRING
HIGHsrc/tools/grit/grit/node/include.py0creates a new node which is a child of 'parent', with attributes set by parameters of the same name.STRING
HIGHsrc/tools/grit/grit/tool/newgrd.py0set this objects and return all non-option arguments.STRING
HIGHsrc/tools/grit/grit/tool/unit.py0set this objects and return all non-option arguments.STRING
HIGHsrc/tools/grit/grit/tool/android2grd.py0set this objects and return all non-option arguments.STRING
HIGHsrc/tools/grit/grit/tool/count.py0set this objects and return all non-option arguments.STRING
HIGH…ibc++/src/utils/generate_indic_conjunct_break_table.py0// -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm pSTRING
HIGH…ty/libc++/src/utils/generate_width_estimation_table.py0// -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm pSTRING
HIGH…arty/libc++/src/utils/generate_escaped_output_table.py0// -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm pSTRING
HIGH…/src/utils/generate_extended_grapheme_cluster_table.py0// -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm pSTRING
Redundant / Tautological Comments39 hits · 49 pts
SeverityFileLineSnippetContext
LOW…metrics/private_metrics/private_metrics_validations.py41 # Check if the enum is defined in enums.xml.COMMENT
LOWsrc/tools/metrics/common/diff_util.py47 temp.close() # Close the file so the browser process can access it.CODE
LOWsrc/tools/metrics/common/pretty_print_xml.py507 # Check if tag name is valid.COMMENT
LOWsrc/tools/metrics/structured/code_generator.py89 # Check if event is part of an event sequence. Note that this goes after theCOMMENT
LOWsrc/tools/metrics/structured/code_generator.py102 # Check if the Project should be generated for the given target.COMMENT
LOWsrc/tools/metrics/structured/sync/model.py159 # Check if key-rotation is specified. If so, then change theCOMMENT
LOWsrc/tools/metrics/structured/sync/model.py178 # Check if scope is specified. If so, then change the scope.COMMENT
LOWsrc/tools/metrics/ukm/xml_validations.py694 # Check if the enum is defined in enums.xml.COMMENT
LOW…c/tools/metrics/histograms/find_unmapped_histograms.py524 # Check if the sign bit (bit 31) is setCOMMENT
LOW…histograms/update_gpu_driver_bug_workaround_entries.py31 # Read the file as a list of linesCOMMENT
LOWsrc/tools/metrics/histograms/split_xml.py183 # Check if the directory of its prefix exists. Return the |camel_name| if theCOMMENT
LOWsrc/tools/metrics/histograms/update_editor_commands.py49 # Read the file as a list of linesCOMMENT
LOWsrc/tools/metrics/histograms/update_use_counter_css.py39 # Read the file as a list of linesCOMMENT
LOWsrc/tools/metrics/histograms/update_net_error_codes.py33 # Read the file as a list of linesCOMMENT
LOWsrc/tools/metrics/histograms/update_histogram_enum.py84 # Read the file as a list of linesCOMMENT
LOWsrc/tools/metrics/histograms/extract_histograms.py780 # Check if the affected histogram name is a pattern or exists directly.COMMENT
LOWsrc/tools/metrics/histograms/extract_histograms.py784 # Check if any current histogram matches the patternCOMMENT
LOWsrc/tools/grit/grit/grd_reader_unittest.py190 # Check if the ID is set to the name. In the past, there was a bugCOMMENT
LOWsrc/tools/grit/grit/grd_reader_unittest.py218 # Check if the ID is set to the name. In the past, there was a bugCOMMENT
LOWsrc/tools/grit/grit/format/data_pack.py203 # Write file header.COMMENT
LOWsrc/tools/grit/grit/format/c_format.py77 # Output message with non-ascii chars escaped as octal numbers C's grammarCOMMENT
LOWsrc/tools/grit/grit/node/misc.py534 # Check if the input is required for any output configuration.COMMENT
LOWsrc/third_party/nasm/tools/syncfiles.pl98 # Write the file back outCOMMENT
LOWsrc/third_party/nasm/doc/rdsrc.pl146# Read the file; pass a paragraph at a time to the paragraph processor.COMMENT
LOWsrc/third_party/nasm/doc/rdsrc.pl709 # Open file.COMMENT
LOWsrc/third_party/nasm/doc/rdsrc.pl802 # Close file.COMMENT
LOWsrc/third_party/nasm/travis/nasm-t.py125# Check if descriptor has mandatory fieldsCOMMENT
LOWsrc/third_party/depot_tools/cpplint.py2982 # Check if token is an unmatched '<'.COMMENT
LOWsrc/third_party/depot_tools/cpplint.py3780 # Check if the // may be in quotes. If so, ignore itSTRING
LOWsrc/third_party/depot_tools/cpplint.py5037 # Check if the body is emptySTRING
LOWsrc/third_party/depot_tools/cpplint.py5337 # Check if the line is a header guard.STRING
LOWsrc/third_party/depot_tools/cpplint.py5777 # Check if people are using the verboten C basic types. The only exceptionSTRING
LOWsrc/third_party/depot_tools/cpplint.py5800 # Check if some verboten operator overloading is going onSTRING
LOWsrc/third_party/depot_tools/cpplint.py6059 # Check if some verboten C functions are being used.STRING
LOWsrc/third_party/depot_tools/cpplint.py7032 # Set end_col to check whole lines after we are done with theSTRING
LOW…boringssl/src/third_party/benchmark/.ycm_extra_conf.py31# Set this to the absolute path to the folder (NOT the file!) containing theCOMMENT
LOW…ngssl/src/third_party/benchmark/tools/gbench/report.py236 # Check if we failed miserably with minimum required repetitions for utestCOMMENT
LOW…_party/boringssl/src/.github/workflows/branch-time.yml45 # Check if the current GitHub HEAD exists in UpstreamCOMMENT
LOWsrc/third_party/jni_zero/java_types.py578 # Check if it's already fully qualified.COMMENT
Excessive Try-Catch Wrapping33 hits · 45 pts
SeverityFileLineSnippetContext
LOWtests/ssl_cert_file.py247 except Exception as error:STRING
LOWsrc/tools/update_pgo_profiles.py135 except Exception:CODE
LOWsrc/tools/metrics/PRESUBMIT.py280 except Exception as e:CODE
LOW…tools/metrics/python_support/setup_modules_lib_test.py58 except Exception as e:CODE
LOWsrc/tools/metrics/common/presubmit_util.py85 except Exception:CODE
LOWsrc/tools/metrics/common/presubmit_util.py269 except Exception as e:CODE
LOWsrc/tools/metrics/common/presubmit_util.py278 except Exception as e:CODE
LOWsrc/tools/metrics/actions/extract_actions.py432 except Exception as e:CODE
MEDIUMsrc/tools/metrics/actions/extract_actions.py433 print('Error encountered for path %s' % path)CODE
LOWsrc/tools/metrics/actions/PRESUBMIT.py224 except Exception as e:CODE
MEDIUMsrc/tools/protoc_wrapper/protoc_wrapper.py78 print(f"Error: File not found at path: {file_path}")CODE
MEDIUMsrc/tools/grit/stamp_grit_sources.py47 print("Error: expecting 3 args.")CODE
MEDIUMsrc/tools/grit/grit/node/base.py66 print('Error processing node %s: %s' % (str(self), exc_value))CODE
LOWsrc/tools/grit/grit/tool/build.py596 except Exception as e:CODE
MEDIUMsrc/tools/grit/grit/tool/build.py609 print("Error: One or more grit output workers failed. Aborting.")CODE
MEDIUMsrc/tools/grit/grit/tool/android2grd.py269 print('Error: illegal string name: %s' % raw_name)CODE
LOW…rit/grit/tool/update_resource_ids/assigner_unittest.py144 except Exception as e:CODE
MEDIUM…/net/tools/root_store_tool/update_crs_root_ids_enum.py73 print(f"Error reading certs file {file_path}: {e}", file=sys.stderr)CODE
LOW…/net/tools/root_store_tool/update_crs_root_ids_enum.py87 except Exception as e:CODE
LOW…/net/tools/root_store_tool/update_crs_root_ids_enum.py132 except Exception as e:CODE
MEDIUM…/net/tools/root_store_tool/update_crs_root_ids_enum.py133 print(f"Error parsing {ROOT_STORE_TEXTPROTO_PATH}: {e}", file=sys.stderr)CODE
MEDIUM…ird_party/perfetto/gn/standalone/build_tool_wrapper.py69 print('Error running: "%s" (%s)' % (args.cmd[0], e.strerror))CODE
LOW…ird_party/zstd/src/tests/DEPRECATED-test-zstd-speed.py74 except Exception:CODE
LOW…ird_party/zstd/src/tests/DEPRECATED-test-zstd-speed.py370 except Exception as e:CODE
MEDIUM…ird_party/zstd/src/tests/DEPRECATED-test-zstd-speed.py71def does_command_exist(command):CODE
LOWsrc/third_party/jni_zero/jni_generator.py721 except Exception as e:CODE
LOWsrc/third_party/jni_zero/parse.py717 except Exception as e:CODE
LOWsrc/third_party/jni_zero/parse.py749 except Exception as e:CODE
MEDIUMsrc/third_party/jni_zero/parse.py701def parse_java_file(filename,CODE
MEDIUMsrc/third_party/jni_zero/parse.py724def parse_javap_data(filename, contents, natives_only=False):CODE
LOWsrc/third_party/jni_zero/jni_registration_generator.py41 except Exception as e:CODE
MEDIUMsrc/third_party/jni_zero/jni_registration_generator.py35def _ParseHelper(package_prefix, package_prefix_filter, path):CODE
LOWsrc/third_party/jni_zero/gen_register_natives.py110 except Exception as e:STRING
Fake / Example Data29 hits · 38 pts
SeverityFileLineSnippetContext
LOWsrc/tools/grit/grit/gather/policy_json_unittest.py47 'owners': ['foo@bar.com'],CODE
LOW…ols/grit/grit/format/policy_templates_json_unittest.py48 'owners': ['foo@bar.com'],CODE
LOW…ols/grit/grit/format/policy_templates_json_unittest.py169 "owners": ["foo@bar.com"],CODE
LOW…_party/abseil-cpp/absl/functional/any_invocable_test.h147 char dummy_data[absl::internal_any_invocable::kStorageSize + 1] = {};CODE
LOW…hird_party/zlib/google/test/data/test/foo/bar/quux.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sem urna, semper ac, adipiscing sed, varius eget, quam. FuscCODE
LOW…hird_party/zlib/google/test/data/test/foo/bar/quux.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sem urna, semper ac, adipiscing sed, varius eget, quam. FuscCODE
LOW…hird_party/zlib/google/test/data/test/foo/bar/quux.txt13Nullam non lacus. Vivamus rhoncus dolor sit amet ipsum. Vivamus volutpat eleifend odio. Vestibulum nunc. In at magna a pCODE
LOW⚡…hird_party/zlib/google/test/data/test/foo/bar/quux.txt37Etiam ut nibh nec neque elementum iaculis. Maecenas facilisis nulla at lorem. Pellentesque elit sapien, ultricies at, diCODE
LOW⚡…hird_party/zlib/google/test/data/test/foo/bar/quux.txt37Etiam ut nibh nec neque elementum iaculis. Maecenas facilisis nulla at lorem. Pellentesque elit sapien, ultricies at, diCODE
LOW⚡…hird_party/zlib/google/test/data/test/foo/bar/quux.txt39Morbi aliquam lectus sit amet nisi. Praesent urna purus, porttitor vitae, accumsan in, sollicitudin at, lorem. Donec diaCODE
LOW⚡…hird_party/zlib/google/test/data/test/foo/bar/quux.txt39Morbi aliquam lectus sit amet nisi. Praesent urna purus, porttitor vitae, accumsan in, sollicitudin at, lorem. Donec diaCODE
LOW…y/llvm-libc/src/test/src/__support/CPP/string_test.cpp402 string_view placeholder = "placeholder";CODE
LOW…y/llvm-libc/src/test/src/__support/CPP/string_test.cpp406 s.replace(6, placeholder.size(), insert); // Replace "placeholder"CODE
LOWsrc/third_party/zstd/src/tests/loremOut.h12 * Generate @size bytes of compressible data using lorem ipsum generator intoCOMMENT
LOWsrc/third_party/zstd/src/tests/fullbench.c933 * if @compressibility < 0.0, use Lorem Ipsum generatorCOMMENT
LOWsrc/third_party/zstd/src/tests/loremOut.c12 * Generates a stream of Lorem ipsum paragraphs to stdout,COMMENT
LOW…std/src/contrib/seekable_format/tests/seekable_tests.c272 { char const inBuffer[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididuCODE
LOW…std/src/contrib/seekable_format/tests/seekable_tests.c272 { char const inBuffer[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididuCODE
LOWsrc/third_party/zstd/src/programs/lorem.h11/* lorem ipsum generator */COMMENT
LOWsrc/third_party/zstd/src/programs/lorem.h17 * Generate @size bytes of compressible data using lorem ipsum generatorCOMMENT
LOWsrc/third_party/zstd/src/programs/benchzstd.h128 * if @compressibility < 0.0, uses the lorem ipsum generatorCOMMENT
LOWsrc/third_party/zstd/src/programs/README.md140If no file is provided, the benchmark will use a procedurally generated "lorem ipsum" content.CODE
LOWsrc/third_party/zstd/src/programs/zstd.1.md675When no `FILE` is provided, the benchmark will use a procedurally generated `lorem ipsum` text.CODE
LOWsrc/third_party/zstd/src/programs/benchzstd.c1004 name = "Lorem ipsum";CODE
LOW⚡src/third_party/zstd/src/programs/lorem.c13 * This is a very simple lorem ipsum generatorCOMMENT
LOW⚡src/third_party/zstd/src/programs/lorem.c20 * The resulting compression / ratio curve of the lorem ipsum generatorCOMMENT
LOW⚡src/third_party/zstd/src/programs/lorem.c25 * The compression ratio achievable on the generated lorem ipsumCOMMENT
LOWsrc/third_party/zstd/src/programs/lorem.c240/* It's "common" for lorem ipsum generators to start with the same firstCOMMENT
LOWsrc/third_party/zstd/src/programs/zstdcli.c906 double compressibility = -1.0; /* lorem ipsum generator */CODE
AI Response Leakage5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHsrc/net/ntlm/ntlm.h120// In this implementation the Proof Input is the first 28 bytes of whatCOMMENT
HIGHsrc/net/ntlm/ntlm.h199// In this implementation NTLMSSP_NEGOTIATE_KEY_EXCH never negotiated andCOMMENT
HIGHsrc/net/ntlm/ntlm_client.h62 // to uppercase is not clearly defined. In this implementation the defaultCOMMENT
HIGH…arty/quiche/src/quiche/common/quiche_linked_hash_map.h255 // erased. In this implementation, this will be 0 or 1.COMMENT
HIGHsrc/third_party/libunwind/src/src/Unwind-EHABI.cpp469 // In this implementation, the phases don't share the VRS backing store.COMMENT
Slop Phrases6 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/tools/metrics/common/presubmit_util.py124 "Updated %s. Don't forget to add it to your changelist", xml_pathCODE
LOW…ty/quiche/src/quiche/quic/core/quic_dispatcher_stats.h17// Don't forget to update the operator<< implementation when adding new fields.COMMENT
MEDIUM…ird_party/llvm-libc/src/test/src/stdio/sscanf_test.cpp510 // If the max length were not here this would fail as discussed above, butCOMMENT
LOWsrc/third_party/boringssl/src/crypto/md5/asm/md5-586.pl121 # make sure to do 'D' first, not 'B', else we clash withCOMMENT
LOWsrc/third_party/boringssl/src/crypto/md5/asm/md5-586.pl139 # make sure to do 'D' first, not 'B', else we clash withCOMMENT
LOWsrc/base/process/launch.h400// and don't forget to quote it.COMMENT
AI Structural Patterns10 hits · 10 pts
SeverityFileLineSnippetContext
LOW…c/tools/metrics/histograms/find_unmapped_histograms.py240CODE
LOWsrc/tools/grit/grit/grd_reader.py162CODE
LOWsrc/tools/grit/grit/util.py306CODE
LOWsrc/tools/grit/grit/util.py335CODE
LOWsrc/tools/grit/grit/gather/chrome_scaled_image.py156CODE
LOWsrc/tools/grit/grit/extern/tclib.py365CODE
LOWsrc/tools/grit/grit/extern/tclib.py509CODE
LOWsrc/third_party/libc++/src/utils/gdb/libcxx/printers.py146CODE
LOWsrc/third_party/libc++/src/utils/gdb/libcxx/printers.py586CODE
LOWsrc/third_party/libc++/src/utils/gdb/libcxx/printers.py590CODE
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…hird_party/perfetto/src/android_stats/perfetto_atoms.h114 // kCmd* guardrails.COMMENT
MEDIUM…hird_party/perfetto/src/android_stats/perfetto_atoms.h122 // perfetto_cmd. Removed as perfetto no longer manages stateful guardrailsCOMMENT
MEDIUM…ibc++/src/utils/data/unicode/GraphemeBreakProperty.txt1200B77D..B797 ; LVT # Lo [27] HANGUL SYLLABLE RAG..HANGUL SYLLABLE RAHCODE
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…rty/libc++/src/include/experimental/__simd/simd_mask.h27// TODO: implement simd_mask classCOMMENT
LOW…rd_party/libc++/src/include/experimental/__simd/simd.h43// TODO: implement simd classCOMMENT
LOW…arty/llvm-libc/src/include/llvm-libc-types/__jmp_buf.h12// TODO: implement sigjmp_buf related functions for other architecturesCOMMENT
LOW…-libc/src/src/__support/FPUtil/ManipulationFunctions.h208 // TODO: Add tests for exceptions.COMMENT
Modern Structural Boilerplate6 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/third_party/libc++/src/utils/libcxx/__init__.py16__all__ = []CODE
LOW…rd_party/libc++/src/utils/libcxx/sym_check/__init__.py16__all__ = ["diff", "extract", "util"]CODE
LOW…c/third_party/llvm-libc/src/utils/libctest/__init__.py20__all__ = ["LibcTest"]CODE
LOWsrc/third_party/zstd/src/tests/cli-tests/run.py489 def _setup_once(self) -> None:CODE
LOWsrc/third_party/zstd/src/tests/cli-tests/run.py505 def _setup(self, test_basename: str) -> None:CODE
LOW…ssl/src/third_party/benchmark/tools/gbench/__init__.py8__all__ = [] # type: ignoreCODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…erfetto/gn/standalone/wasm_typescript_declaration.d.ts70 print(s: string): void;CODE