Make a fortune quietly
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 25366 finding(s).
Are imports declared and package/API names verified? 302 finding(s).
Are wrappers, guards, and repeated structures necessary? 545 finding(s).
Which changes need focused human review? 26027 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/get-openwrt.sh | 101 | #define HWCAP_LOONGARCH_LVZ (1 << 9) | COMMENT |
| LOW | src/crypto/kdf.h | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/pem.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/scoped_test_nss_db.h | 1 | // Copyright 2014 The Chromium Authors | COMMENT |
| LOW | src/crypto/chaps_support.h | 1 | // Copyright 2020 The Chromium Authors | COMMENT |
| LOW | src/crypto/scoped_capi_types.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/cose.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/tpm_parser.h | 1 | // Copyright 2026 The Chromium Authors | COMMENT |
| LOW | src/crypto/tpm_parser.h | 221 | // TPM algorithm IDs for a given SignatureAlgorithm. | COMMENT |
| LOW | src/crypto/tpm_parser.h | 241 | CRYPTO_EXPORT std::vector<uint8_t> BuildCertifyCommand( | COMMENT |
| LOW | src/crypto/tpm_parser.h | 301 | // Parses a serialized TPM2_Hash response. | COMMENT |
| LOW | src/crypto/tpm_parser.h | 321 | ParseHashSequenceStartResponse(base::span<const uint8_t> response_blob); | COMMENT |
| LOW | src/crypto/secure_hash.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/mock_unexportable_key_provider.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/process_bound_string.h | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/ecdsa_utils.h | 21 | // Converts a DER-encoded ECDSA-Sig-Value signature to the fixed-width format | COMMENT |
| LOW | src/crypto/keypair.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/keypair.h | 61 | // Generates a fresh, random ML-KEM-768 key. | COMMENT |
| LOW | src/crypto/keypair.h | 121 | std::vector<uint8_t> ToPrivateKeyInfo() const; | COMMENT |
| LOW | src/crypto/keypair.h | 241 | // Returns nullopt if the parameters are invalid for some reason. | COMMENT |
| LOW | src/crypto/scoped_test_nss_chromeos_user.h | 1 | // Copyright 2014 The Chromium Authors | COMMENT |
| LOW | src/crypto/signature_verifier.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/signature_verifier.h | 41 | COMMENT | |
| LOW | src/crypto/nss_crypto_module_delegate.h | 1 | // Copyright 2013 The Chromium Authors | COMMENT |
| LOW | src/crypto/secure_util.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/secure_util.h | 21 | // For cryptographic operations, comparison functions such as memcmp() may | COMMENT |
| LOW | src/crypto/nss_util_internal.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/nss_util_internal.h | 21 | COMMENT | |
| LOW | src/crypto/nss_util_internal.h | 61 | CRYPTO_EXPORT base::FilePath GetSoftwareNSSDBPath( | COMMENT |
| LOW | src/crypto/crypto_export.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/crypto_export.h | 21 | #define CRYPTO_EXPORT __attribute__((visibility("default"))) | COMMENT |
| LOW | src/crypto/user_verifying_key_mac.mm | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/nss_key_util.h | 1 | // Copyright 2015 The Chromium Authors | COMMENT |
| LOW | src/crypto/nss_key_util.h | 61 | // Note: This function assumes the CKA_ID for public/private key pairs is | COMMENT |
| LOW | src/crypto/scoped_mock_unexportable_key_provider.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/scoped_nss_types.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/sha2.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/kex.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/hpke.h | 1 | // Copyright 2026 The Chromium Authors | COMMENT |
| LOW | src/crypto/evp.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/hmac.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/aead.h | 1 | // Copyright 2015 The Chromium Authors | COMMENT |
| LOW | src/crypto/aead.h | 61 | // This class caches the setup work of creating an AEAD context, so you can | COMMENT |
| LOW | src/crypto/aead.h | 81 | // is there any reason) to construct an Aead instance before the key is | COMMENT |
| LOW | src/crypto/unexportable_key_win.h | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/user_verifying_key.h | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/user_verifying_key.h | 41 | }; | COMMENT |
| LOW | src/crypto/scoped_test_system_nss_key_slot.h | 21 | // This object MUST be created before any call to | COMMENT |
| LOW | src/crypto/nss_util.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/nss_util.h | 41 | #if BUILDFLAG(IS_CHROMEOS) | COMMENT |
| LOW | src/crypto/unexportable_key_metrics.h | 1 | // Copyright 2022 The Chromium Authors | COMMENT |
| LOW | src/crypto/unexportable_key_metrics.h | 21 | // An operation to create a TPM key from a wrapped key or a similar | COMMENT |
| LOW | src/crypto/aes_cbc.h | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/aes_cbc.h | 21 | // which includes authentication. | COMMENT |
| LOW | src/crypto/encrypt.h | 1 | // Copyright 2026 The Chromium Authors | COMMENT |
| LOW | src/crypto/aes_ctr.h | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/sign.h | 1 | // Copyright 2025 The Chromium Authors | COMMENT |
| LOW | src/crypto/openssl_util.h | 1 | // Copyright 2012 The Chromium Authors | COMMENT |
| LOW | src/crypto/hash.h | 1 | // Copyright 2024 The Chromium Authors | COMMENT |
| LOW | src/crypto/unexportable_key.h | 1 | // Copyright 2021 The Chromium Authors | COMMENT |
| 24476 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/tools/grit/grit/extern/tclib.py | 26 | # -------------------- | COMMENT |
| MEDIUM | src/tools/grit/grit/extern/tclib.py | 28 | # -------------------- | COMMENT |
| MEDIUM | src/tools/grit/grit/extern/tclib.py | 47 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/tools/grit/grit/extern/tclib.py | 56 | # ----------------------------------------------------------- | COMMENT |
| MEDIUM | src/tools/grit/grit/extern/tclib.py | 106 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM | src/tools/grit/grit/extern/tclib.py | 359 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | src/tools/grit/grit/extern/tclib.py | 503 | # ---------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 45 | // │ │ Mapping 3 │ └──────┬─────┘ | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 49 | // │ │ └────────────┬────────┘ | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 51 | // │ └────────────────┘ | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 52 | // └──────────────────────────────────────────────────────→ address | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 73 | // │ │ │ │ │ │ ├──────┼─────┘ | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 77 | // │ ┊ │ ├────┼───────┼─┴──────┘ ┊ | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 79 | // │ ┊ └───┴────┴───────┘ ┊ ┊ ┊ | COMMENT |
| MEDIUM⚡ | …/trace_processor/importers/etm/virtual_address_space.h | 81 | // └─┴──┴───┴────┴───────┴─┴──────┴─────┴──────────────→ address | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 107 | // ── Cflag index constants ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 139 | // ── Named bitfield struct ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 176 | // ── Indexed accessor ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 190 | // ── Compile-time cflag pinning ────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 368 | // ── Position / length / index typedefs ─────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 437 | // ── Span flags ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 499 | // ── Custom include ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 525 | // ── _with_dialect API gate ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 552 | // ── Token category ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 570 | // ── Macro invocation style ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 582 | // ── Types used by the parser vtable ───────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 607 | // ── Dialect template (static dialect data) ──────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 688 | // ── Configured dialect handle ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.h | 700 | // ── Dynamic dialect loading ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5486 | // ── Configuration ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5489 | // ── Callback registration ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5493 | // ── Per-invocation state (set before callback, cleared after) ────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5500 | // ── Scratch buffers (reused across invocations, freed in destroy) ────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5504 | // ── Nesting depth (0 = not in macro) ─────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5507 | // ── Layer tree ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5513 | // ── Scratch buffers for span/text APIs ───────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5522 | // ── Parser struct ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5525 | // ── Core ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 951 | // ── Range metadata ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 963 | // ── Field metadata (for AST dump / dynamic dialect loading) ────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5357 | // ── Tunables ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5386 | // ── Macro expansion (compiled out with -DSYNTAQLITE_OMIT_MACROS) ───────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5548 | // ── Parser-only state (only parser.c) ────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 5593 | // ── Cross-file helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 6145 | // ── Same-line with previous token? ─────────────────────────────────────── | COMMENT |
| MEDIUM | …rocessor/perfetto_sql/syntaqlite/syntaqlite_perfetto.c | 6195 | // ── Record the comment ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 48 | // ┌─────────┐ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 53 | // │││││└────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 54 | // ││││└───────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 55 | // ┌───────────────┘││└──────────────┐ │ │ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 61 | // │ │ └────┬────┘ └───────┘ └───────┘ └────────┘ | COMMENT |
| MEDIUM | src/third_party/perfetto/src/protovm/rw_proto.h | 79 | // │ └────┬────┘ └───────┘ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 91 | // ┌──────┘││└────────────────────┐ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 92 | // │ │└───────────┐ │ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/rw_proto.h | 99 | // └────┬────┘ └───────┘ └───────┘ └────────┘ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/vm.h | 48 | // ┌───┴──┐ ┌────────┐ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/vm.h | 50 | // │Parser├────────────┤Executor│ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/vm.h | 52 | // └──────┘ └─┬────┬─┘ | COMMENT |
| MEDIUM⚡ | src/third_party/perfetto/src/protovm/vm.h | 54 | // ┌─────┘ └─────┐ | COMMENT |
| MEDIUM | src/third_party/libc++/src/CMakeLists.txt | 1 | #=============================================================================== | COMMENT |
| 234 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/crypto/unexportable_key.h | 235 | // interfaces to the secure hardware may not be robust. See |GetWrappedKey|. | COMMENT |
| LOW | src/tools/grit/grit/xtb_reader.py | 115 | # We are inside a <translation> node so just add the characters to our | COMMENT |
| LOW | src/tools/grit/grit/format/html_inline.py | 604 | # no more dependencies would be discovered anyway, so just return early. | COMMENT |
| LOW | …/net/tools/root_store_tool/update_crs_root_ids_enum.py | 156 | # If there is only one anchor with this id, just use it. | COMMENT |
| MEDIUM | src/net/websockets/websocket_stream.h | 267 | // object. Implementations of WriteFrames() should be robust against | COMMENT |
| MEDIUM | src/net/spdy/spdy_session.h | 1315 | // Certainly if it has been more than 3 minutes, we do want to send a preface | COMMENT |
| MEDIUM | …party/quiche/src/quiche/common/quiche_intrusive_list.h | 270 | // variant of T and the matching qualified link type. Essentially, QualifiedT | COMMENT |
| MEDIUM | …hird_party/quiche/src/quiche/quic/moqt/moqt_messages.h | 151 | // with an explicit status, so we cannot utilize object ID compression. | COMMENT |
| MEDIUM | …d_party/quiche/src/quiche/quic/moqt/moqt_bidi_stream.h | 133 | // method must be robust to multiple invocations. Only called on sending a FIN | COMMENT |
| MEDIUM | src/net/http/http_response_headers.h | 460 | kNo, // Definitely no commas. No need to parse it. | CODE |
| MEDIUM | src/net/cert/do_nothing_ct_verifier.h | 31 | // relevant. Alternatively, much like how a robust and secure TLS client | COMMENT |
| MEDIUM | src/net/cert/do_nothing_ct_verifier.h | 32 | // requires a regularly updated root certificate store, a robust and secure | COMMENT |
| MEDIUM | src/net/device_bound_sessions/inclusion_result.h | 11 | // Definitely do not defer a request on behalf of this DBSC session. | COMMENT |
| MEDIUM | src/net/device_bound_sessions/cookie_craving.h | 112 | // checks for access time.) Essentially, if this returns true, then this | COMMENT |
| MEDIUM | src/net/device_bound_sessions/session_service_impl.h | 501 | // Per-site session signing quota. In order to be robust across | COMMENT |
| MEDIUM | src/net/base/net_error_list.h | 644 | // numbers that correspond to services, which are not robust to spurious input | COMMENT |
| MEDIUM | src/net/socket/socket_apple.h | 110 | // To provide more robust detection of even the ambiguous case, this workaround | COMMENT |
| MEDIUM | src/net/socket/socket_apple.h | 133 | // TCP socket, the secondary return value alone provides robust and unambiguous | COMMENT |
| MEDIUM | src/net/socket/socket_posix.h | 64 | // TODO(byungchul): Need more robust way to pass system errno. | COMMENT |
| MEDIUM | src/net/socket/socket_posix.h | 74 | // TODO(byungchul): Need more robust way to pass system errno. | COMMENT |
| MEDIUM | src/net/extras/preload_data/decoder.h | 128 | // Although this code should be robust, it never processes attacker-controlled | COMMENT |
| MEDIUM | src/url/gurl.rs | 27 | // SAFETY: `GURL` does not utilize shared or thread-bound data so moving it | COMMENT |
| MEDIUM | src/url/origin.rs | 49 | // SAFETY: `Origin` does not utilize shared or thread-bound data so moving it | COMMENT |
| MEDIUM | src/url/url.rs | 21 | //! Because both C++ and Rust utilize the exact same code paths, there is zero | COMMENT |
| MEDIUM | …party/perfetto/include/perfetto/tracing/traced_proto.h | 48 | // TracedProto also provides a seamless integration with writing untyped | COMMENT |
| MEDIUM | …o/include/perfetto/tracing/internal/data_source_type.h | 272 | // kernel scheduler. The tracing service is robust against data commit | COMMENT |
| MEDIUM | …arty/perfetto/include/perfetto/ext/base/string_utils.h | 289 | // - Makes the code more robust in case of snprintf truncations (len() and | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/debugging/stacktrace.h | 27 | // Note: stack traces in Abseil that do not utilize a symbolizer will result in | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/meta/type_traits.h | 500 | // If it ever becomes possible to detect [[gsl::Owner]], we should leverage it: | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/meta/type_traits.h | 570 | // If it ever becomes possible to detect [[gsl::Pointer]], we should leverage | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/meta/type_traits.h | 626 | // we should change the implementation to leverage that. | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/log/scoped_mock_log.h | 57 | // // Simple robust setup, ignores unexpected logs. | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/log/check.h | 29 | // compromise. It is also more robust and portable to deliberately terminate | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/log/absl_check.h | 27 | // compromise. It is also more robust and portable to deliberately terminate | COMMENT |
| MEDIUM | …_party/abseil-cpp/absl/random/bernoulli_distribution.h | 161 | // greater than or equal to 1, the same would be true for `p`. Certainly `p` | COMMENT |
| MEDIUM | …_party/abseil-cpp/absl/random/internal/nanobenchmark.h | 19 | // prediction hit rates. Uses a robust estimator to summarize the measurements. | COMMENT |
| MEDIUM | …_party/abseil-cpp/absl/random/internal/nanobenchmark.h | 45 | // which is more robust to outliers and skewed data than the mean or median. | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/base/options.h | 39 | // Diamond dependency problems can be avoided if all packages utilize the same | COMMENT |
| MEDIUM | src/third_party/abseil-cpp/absl/base/internal/poison.h | 48 | // Non-optimized builds may use more robust implementation. Note that we can't | COMMENT |
| MEDIUM⚡ | …/third_party/libc++/src/include/__iterator/iter_swap.h | 46 | // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swap | COMMENT |
| MEDIUM⚡ | …/third_party/libc++/src/include/__iterator/iter_swap.h | 56 | // NOLINTBEGIN(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swap | COMMENT |
| MEDIUM⚡ | …/third_party/libc++/src/include/__iterator/iter_swap.h | 63 | // NOLINTEND(libcpp-robust-against-adl) | COMMENT |
| MEDIUM | …/third_party/libc++/src/include/__iterator/iter_move.h | 43 | // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_move | COMMENT |
| MEDIUM | …/third_party/libc++/src/include/__iterator/iter_move.h | 62 | // NOLINTBEGIN(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_move | COMMENT |
| MEDIUM | …/third_party/libc++/src/include/__iterator/iter_move.h | 69 | // NOLINTEND(libcpp-robust-against-adl) | COMMENT |
| MEDIUM | …/third_party/libc++/src/include/__compare/weak_order.h | 36 | // NOLINTBEGIN(libcpp-robust-against-adl) weak_order should use ADL, but only here | COMMENT |
| MEDIUM | …/third_party/libc++/src/include/__compare/weak_order.h | 44 | // NOLINTEND(libcpp-robust-against-adl) | COMMENT |
| MEDIUM | …ird_party/libc++/src/include/__compare/partial_order.h | 34 | // NOLINTBEGIN(libcpp-robust-against-adl) partial_order should use ADL, but only here | COMMENT |
| MEDIUM | …ird_party/libc++/src/include/__compare/partial_order.h | 42 | // NOLINTEND(libcpp-robust-against-adl) | COMMENT |
| MEDIUM | …hird_party/libc++/src/include/__compare/strong_order.h | 42 | // NOLINTBEGIN(libcpp-robust-against-adl) strong_order should use ADL, but only here | COMMENT |
| MEDIUM | …hird_party/libc++/src/include/__compare/strong_order.h | 50 | // NOLINTEND(libcpp-robust-against-adl) | COMMENT |
| MEDIUM | …_party/libc++/src/include/__configuration/attributes.h | 178 | // A similar reasoning holds for many other properties that are ODR-affecting. Essentially any | COMMENT |
| MEDIUM | src/third_party/libc++/src/include/__locale_dir/num.h | 39 | // NOLINTBEGIN(libcpp-robust-against-adl) | COMMENT |
| MEDIUM | src/third_party/libc++/src/include/__locale_dir/num.h | 1016 | // NOLINTEND(libcpp-robust-against-adl) | COMMENT |
| LOW | src/third_party/libc++/src/utils/libcxx/test/android.py | 28 | # /sys subdir isn't there. Most errors will be handled later, just use one | COMMENT |
| MEDIUM | src/third_party/libc++/src/utils/ci/build-picolibc.sh | 12 | # source to facilitate building libc++ against it. | COMMENT |
| MEDIUM | …c/third_party/libc++/src/src/filesystem/operations.cpp | 274 | // as we can't utilize the fstream impl to copy empty files | COMMENT |
| MEDIUM | …rty/llvm-libc/src/test/src/math/smoke/GetPayloadTest.h | 43 | // Essentially this: | COMMENT |
| LOW | …hird_party/llvm-libc/src/utils/hdrgen/hdrgen/header.py | 220 | # If the header itself is in standard C, just call it that. | STRING |
| LOW | …hird_party/llvm-libc/src/utils/hdrgen/hdrgen/header.py | 223 | # If the header itself is in POSIX, just call it that. | STRING |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/parse-pcap-stream.py | 2 | CODE | |
| LOW | src/tools/metrics/PRESUBMIT_test.py | 6 | CODE | |
| LOW | src/tools/metrics/PRESUBMIT_test.py | 7 | CODE | |
| LOW | src/tools/metrics/PRESUBMIT_test.py | 10 | CODE | |
| LOW | src/tools/metrics/md2xml.py | 56 | CODE | |
| LOW | src/tools/metrics/PRESUBMIT.py | 23 | CODE | |
| LOW | src/tools/metrics/metrics_python_tests.py | 10 | CODE | |
| LOW | src/tools/metrics/private_metrics/dwa_model.py | 6 | CODE | |
| LOW | …metrics/private_metrics/private_metrics_validations.py | 7 | CODE | |
| LOW | …cs/private_metrics/private_metrics_validations_test.py | 8 | CODE | |
| LOW | src/tools/metrics/private_metrics/pretty_print.py | 9 | CODE | |
| LOW | …ols/metrics/private_metrics/private_metrics_codegen.py | 8 | CODE | |
| LOW | …s/private_metrics/gen_private_metrics_builders_test.py | 9 | CODE | |
| LOW | …s/private_metrics/gen_private_metrics_builders_test.py | 11 | CODE | |
| LOW | …c/tools/metrics/private_metrics/dwa_decode_template.py | 6 | CODE | |
| LOW | src/tools/metrics/private_metrics/validate_format.py | 11 | CODE | |
| LOW | …s/private_metrics/private_metrics_model_shared_test.py | 8 | CODE | |
| LOW | …tools/metrics/private_metrics/dwa_builders_template.py | 6 | CODE | |
| LOW | …etrics/private_metrics/private_metrics_model_shared.py | 6 | CODE | |
| LOW | …etrics/private_metrics/gen_private_metrics_builders.py | 15 | CODE | |
| LOW | src/tools/metrics/private_metrics/PRESUBMIT.py | 18 | CODE | |
| LOW | src/tools/metrics/python_support/script_checker.py | 12 | CODE | |
| LOW | src/tools/metrics/python_support/quote_checker_test.py | 9 | CODE | |
| LOW | src/tools/metrics/python_support/tests_helpers.py | 12 | CODE | |
| LOW | src/tools/metrics/python_support/validate_mypy.py | 6 | CODE | |
| LOW | src/tools/metrics/python_support/validate_mypy.py | 9 | CODE | |
| LOW | src/tools/metrics/python_support/dependency_solver.py | 20 | CODE | |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 4 | CODE | |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 10 | CODE | |
| LOW | src/tools/metrics/python_support/tests_helpers_test.py | 10 | CODE | |
| LOW | src/tools/metrics/common/enums.py | 9 | CODE | |
| LOW | src/tools/metrics/common/models.py | 31 | CODE | |
| LOW | src/tools/metrics/common/presubmit_util.py | 5 | CODE | |
| LOW | src/tools/metrics/common/presubmit_util.py | 19 | CODE | |
| LOW | src/tools/metrics/common/diff_util.py | 9 | CODE | |
| LOW | src/tools/metrics/common/model_shared.py | 5 | CODE | |
| LOW | src/tools/metrics/common/codegen_shared_test.py | 8 | CODE | |
| LOW | src/tools/metrics/common/pretty_print_xml.py | 34 | CODE | |
| LOW | src/tools/metrics/structured/codegen_unittest.py | 12 | CODE | |
| LOW | src/tools/metrics/structured/gen_validator.py | 14 | CODE | |
| LOW | src/tools/metrics/structured/gen_events.py | 14 | CODE | |
| LOW | src/tools/metrics/structured/model_unittest_wrapper.py | 10 | CODE | |
| LOW | src/tools/metrics/structured/pretty_print.py | 6 | CODE | |
| LOW | src/tools/metrics/structured/pretty_print.py | 7 | CODE | |
| LOW | src/tools/metrics/structured/pretty_print.py | 10 | CODE | |
| LOW | src/tools/metrics/structured/code_generator_cpp.py | 7 | CODE | |
| LOW | src/tools/metrics/structured/code_generator_ts.py | 4 | CODE | |
| LOW | src/tools/metrics/structured/code_generator_ts.py | 6 | CODE | |
| LOW | src/tools/metrics/structured/code_generator.py | 8 | CODE | |
| LOW | src/tools/metrics/structured/sync/model.py | 16 | CODE | |
| LOW | src/tools/metrics/structured/sync/model_unittest.py | 12 | CODE | |
| LOW | src/tools/metrics/ukm/builders_template.py | 7 | CODE | |
| LOW | src/tools/metrics/ukm/decode_template.py | 9 | CODE | |
| LOW | src/tools/metrics/ukm/xml_validations.py | 7 | CODE | |
| LOW | src/tools/metrics/ukm/pretty_print.py | 6 | CODE | |
| LOW | src/tools/metrics/ukm/pretty_print.py | 8 | CODE | |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 8 | CODE | |
| LOW | src/tools/metrics/ukm/validate_format.py | 10 | CODE | |
| LOW | src/tools/metrics/ukm/ukm_model.py | 6 | CODE | |
| LOW | src/tools/metrics/ukm/gen_builders.py | 16 | CODE | |
| 182 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ssl_cert_file.py | 54 | CODE | |
| LOW | tests/ssl_cert_file.py | 86 | CODE | |
| LOW | tests/ssl_cert_file.py | 123 | CODE | |
| LOW | tests/ssl_cert_file.py | 219 | CODE | |
| LOW | tests/basic.py | 221 | CODE | |
| LOW | src/tools/metrics/md2xml.py | 149 | CODE | |
| LOW | …metrics/private_metrics/private_metrics_validations.py | 30 | CODE | |
| LOW | src/tools/metrics/python_support/script_checker.py | 43 | CODE | |
| LOW | src/tools/metrics/common/presubmit_util.py | 234 | CODE | |
| LOW | src/tools/metrics/common/pretty_print_xml.py | 413 | CODE | |
| LOW | src/tools/metrics/common/pretty_print_xml.py | 506 | CODE | |
| LOW | src/tools/metrics/structured/code_generator_cpp.py | 93 | CODE | |
| LOW | src/tools/metrics/structured/code_generator_ts.py | 39 | CODE | |
| LOW | src/tools/metrics/ukm/xml_validations.py | 649 | CODE | |
| LOW | src/tools/metrics/ukm/xml_validations.py | 682 | CODE | |
| LOW | src/tools/metrics/ukm/xml_validations.py | 779 | CODE | |
| LOW | src/tools/metrics/ukm/xml_validations.py | 806 | CODE | |
| LOW | src/tools/metrics/ukm/xml_validations.py | 858 | CODE | |
| LOW | src/tools/metrics/actions/suffixes_to_variants.py | 93 | CODE | |
| LOW | …c/tools/metrics/histograms/find_unmapped_histograms.py | 385 | CODE | |
| LOW | src/tools/metrics/histograms/validate_token.py | 34 | CODE | |
| LOW | src/tools/metrics/histograms/update_autofill_enums.py | 36 | CODE | |
| LOW | src/tools/metrics/histograms/split_xml.py | 136 | CODE | |
| LOW | src/tools/metrics/histograms/update_editor_commands.py | 42 | CODE | |
| LOW | src/tools/metrics/histograms/expand_owners.py | 155 | CODE | |
| LOW | src/tools/metrics/histograms/validate_format.py | 85 | CODE | |
| LOW | src/tools/metrics/histograms/histogram_validation.py | 284 | CODE | |
| LOW | src/tools/metrics/histograms/extract_histograms.py | 174 | CODE | |
| LOW | src/tools/metrics/histograms/extract_histograms.py | 540 | CODE | |
| LOW | src/tools/metrics/histograms/extract_histograms.py | 736 | CODE | |
| LOW | …ls/metrics/histograms/update_protocol_commands_enum.py | 37 | CODE | |
| LOW | …c/tools/generate_shim_headers/generate_shim_headers.py | 26 | CODE | |
| LOW | src/tools/clang/scripts/update.py | 122 | CODE | |
| LOW | src/tools/clang/scripts/update.py | 194 | CODE | |
| LOW | src/tools/clang/scripts/update.py | 292 | CODE | |
| LOW | src/tools/protoc_wrapper/protoc_wrapper.py | 59 | CODE | |
| LOW | src/tools/protoc_wrapper/protoc_wrapper.py | 81 | CODE | |
| LOW | src/tools/grit/grit_info.py | 68 | CODE | |
| LOW | src/tools/grit/grit_info.py | 208 | CODE | |
| LOW | src/tools/grit/pak_util.py | 105 | CODE | |
| LOW | src/tools/grit/minimize_css.py | 30 | CODE | |
| LOW | src/tools/grit/grit/zip_helpers.py | 87 | CODE | |
| LOW | src/tools/grit/grit/clique.py | 148 | CODE | |
| LOW | src/tools/grit/grit/clique.py | 211 | CODE | |
| LOW | src/tools/grit/grit/clique.py | 223 | CODE | |
| LOW | src/tools/grit/grit/shortcuts.py | 49 | CODE | |
| LOW | src/tools/grit/grit/util.py | 283 | CODE | |
| LOW | src/tools/grit/grit/util.py | 515 | CODE | |
| LOW | src/tools/grit/grit/util.py | 290 | CODE | |
| LOW | src/tools/grit/grit/clique_unittest.py | 131 | CODE | |
| LOW | src/tools/grit/grit/tclib.py | 30 | CODE | |
| LOW | src/tools/grit/grit/grit_runner.py | 184 | CODE | |
| LOW | src/tools/grit/grit/xtb_reader.py | 61 | CODE | |
| LOW | src/tools/grit/grit/gather/chrome_scaled_image.py | 45 | CODE | |
| LOW | src/tools/grit/grit/gather/tr_html.py | 524 | CODE | |
| LOW | src/tools/grit/grit/gather/tr_html.py | 376 | CODE | |
| LOW | src/tools/grit/grit/gather/tr_html.py | 735 | CODE | |
| LOW | src/tools/grit/grit/gather/tr_html.py | 784 | CODE | |
| LOW | src/tools/grit/grit/gather/policy_json.py | 51 | CODE | |
| LOW | src/tools/grit/grit/gather/policy_json.py | 90 | CODE | |
| 145 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/parse_trust_anchors.py | 138 | def maybe_decode_full_extension(data: bytes): | CODE |
| LOW | …metrics/private_metrics/private_metrics_validations.py | 30 | def check_metric_type_is_specified(self): | CODE |
| LOW | …cs/private_metrics/private_metrics_validations_test.py | 36 | def test_events_missing_owners(self) -> None: | CODE |
| LOW | …cs/private_metrics/private_metrics_validations_test.py | 64 | def test_metric_has_undefined_enum(self) -> None: | CODE |
| LOW | …etrics/private_metrics/private_metrics_model_shared.py | 65 | def create_event_based_document_type(tag): | CODE |
| LOW | src/tools/metrics/python_support/tests_helpers.py | 232 | def get_affected_testable_scripts( | CODE |
| LOW | src/tools/metrics/python_support/dependency_solver.py | 94 | def _parse_line_dependencies_with_symbol( | CODE |
| LOW | src/tools/metrics/python_support/dependency_solver.py | 142 | def scan_directory_dependencies( | CODE |
| LOW | src/tools/metrics/python_support/mypy_helpers.py | 60 | def _convert_to_windows_ignore_line_if_needed(ignore_file_entry: str) -> str: | CODE |
| LOW | src/tools/metrics/python_support/mypy_helpers.py | 162 | def run_mypy_and_filter_irrelevant(dir_to_check: str) -> List[str]: | CODE |
| LOW | src/tools/metrics/python_support/setup_modules_lib.py | 33 | def setup_chromium_src_module(chromium_src_path: pathlib.Path): | CODE |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 34 | def test_direct_import_module(self): | CODE |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 72 | def test_from_import_multiple_symbols(self): | CODE |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 89 | def test_symbol_fallback_to_file(self): | CODE |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 104 | def test_import_directory_recursive(self): | CODE |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 125 | def test_ignore_unrelated_imports(self): | CODE |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 141 | def test_get_all_dependencies_transitive(self): | STRING |
| LOW | …tools/metrics/python_support/dependency_solver_test.py | 164 | def test_circular_dependency_safety(self): | CODE |
| LOW | src/tools/metrics/common/enums.py | 22 | def _get_enums_referenced_by_metric_nodes(files: list[str]) -> set[str]: | CODE |
| LOW | src/tools/metrics/structured/sync/model_unittest.py | 246 | def test_duplicate_project_names(self): | CODE |
| LOW | src/tools/metrics/structured/sync/model_unittest.py | 274 | def test_duplicate_event_names(self): | CODE |
| LOW | src/tools/metrics/structured/sync/model_unittest.py | 297 | def test_duplicate_metric_names(self): | CODE |
| LOW | src/tools/metrics/structured/sync/model_unittest.py | 317 | def test_key_rotation_validation(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 553 | def _is_metric_valid_as_index_field(metric_node): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 602 | def _get_local_metric_index_fields(metric_node): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 611 | def _split_words_in_metric_name(metric_name: str) -> list[str]: | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 682 | def check_metric_type_is_specified(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 717 | def check_local_metric_is_aggregated(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 779 | def check_statistics_non_empty_valid(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 835 | def check_event_names_case_insensitive_uniqueness( | CODE |
| LOW | src/tools/metrics/ukm/xml_validations.py | 858 | def check_metric_names_case_insensitive_uniqueness( | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 34 | def test_events_missing_owners(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 60 | def test_metric_has_undefined_enum(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 91 | def test_check_local_metric_is_aggregated(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 302 | def test_statistics_non_empty_valid(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 316 | def test_metric_uses_forbidden_name(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 349 | def test_check_time_metric_unit(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 416 | def test_split_words_in_metric_name(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 434 | def test_event_names_insensitive_uniqueness(self): | CODE |
| LOW | src/tools/metrics/ukm/xml_validations_test.py | 465 | def test_metric_names_case_insensitive_uniqueness(self): | CODE |
| LOW | src/tools/metrics/ukm/ukm_model.py | 138 | def prettify_xml_and_trim_obsolete(original_xml: str) -> str: | CODE |
| LOW | src/tools/metrics/ukm/gen_builders_test.py | 32 | def test_filter_obsolete_metrics(self): | CODE |
| LOW | src/tools/metrics/ukm/ukm_model_test.py | 205 | def test_trim_obsolete_metric(self): | CODE |
| LOW | src/tools/metrics/actions/print_action_names.py | 34 | def get_modified_action_names( | CODE |
| LOW | …c/tools/metrics/histograms/find_unmapped_histograms.py | 288 | def _collapse_adjacent_c_strings(string: str) -> str: | CODE |
| LOW | …c/tools/metrics/histograms/find_unmapped_histograms.py | 308 | def log_non_literal_histogram( | CODE |
| LOW | …c/tools/metrics/histograms/find_unmapped_histograms.py | 352 | def _read_chromium_histograms() -> dict[str, str]: | CODE |
| LOW | …c/tools/metrics/histograms/find_unmapped_histograms.py | 489 | def _hash_histogram_name_to_int(t: str) -> int: | CODE |
| LOW | src/tools/metrics/histograms/histogram_utils.py | 71 | def _merge_histograms_with_variants( | CODE |
| LOW | src/tools/metrics/histograms/histogram_utils.py | 92 | def get_modified_variants_blocks( | CODE |
| LOW | src/tools/metrics/histograms/histogram_utils.py | 121 | def _histogram_references_global_variant_from_list( | CODE |
| LOW | src/tools/metrics/histograms/histogram_utils.py | 164 | def _remove_affected_histogram_references_from_dom( | CODE |
| LOW | src/tools/metrics/histograms/histogram_utils.py | 188 | def get_names_using_variants_from_contents( | CODE |
| LOW | src/tools/metrics/histograms/histogram_utils.py | 258 | def find_files_using_variants( | CODE |
| LOW | src/tools/metrics/histograms/PRESUBMIT_test.py | 502 | def _run_check_histograms_changes(self, file_data, is_committing=True): | STRING |
| LOW | src/tools/metrics/histograms/remove_unused_enums.py | 19 | def _remove_enum_nodes_not_in_list( | CODE |
| LOW | src/tools/metrics/histograms/generate_flag_enums.py | 23 | def get_entries_from_unit_test(outdir: str) -> typing.List[str]: | CODE |
| LOW | src/tools/metrics/histograms/generate_flag_enums.py | 37 | def get_entries_from_feature_string(feature: str) -> typing.List[str]: | CODE |
| LOW | …c/tools/metrics/histograms/generate_flag_enums_test.py | 59 | def test_get_entries_from_feature_string(self): | STRING |
| LOW | src/tools/metrics/histograms/split_enums.py | 81 | def _extract_enum_nodes_by_names(enum_names): | CODE |
| 116 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/tools/metrics/structured/sync/model.py | 45 | - (optional) one or more targets. If undefined, defaults to 'chromium' | STRING |
| HIGH | src/tools/grit/grit/gather/rc_unittest.py | 136 | MENUITEM "Klonk && is ""good""", ID_GONK_KLONKIS | CODE |
| HIGH | src/tools/grit/grit/gather/tr_html_unittest.py | 642 | if (!(w.checked || e.checked)) { o.checked=0;o.disabled=1;} else {o.disabled=0;} } | CODE |
| HIGH | src/tools/grit/grit/format/rc_unittest.py | 116 | MENUITEM "Klonk && is [good]", ID_GONK_KLONKIS | STRING |
| HIGH | src/tools/grit/grit/format/rc_unittest.py | 451 | MENUITEM "Klonk && is excellent", ID_GONK_KLONKIS | STRING |
| HIGH | src/tools/grit/grit/tool/transl2tc_unittest.py | 129 | 'XX01XX&SkraXX02XX&HaettaXX03XXThetta er "Klonk" sem eg fylaXX04XXgonkurinnXX05XXKlonk && er [good]XX06XX&HjalpXX0 | CODE |
| HIGH | src/third_party/abseil-cpp/convert_bazel_to_gn.py | 125 | 'if (is_apple || is_android) { sources = [] }', | CODE |
| HIGH | src/third_party/libc++/src/utils/adb_run.py | 148 | " if command -v env >/dev/null; then" | CODE |
| HIGH | …++/src/utils/generate_feature_test_macro_components.py | 705 | "test_suite_guard": "!defined(_LIBCPP_VERSION) || (_LIBCPP_HAS_FILESYSTEM && _LIBCPP_HAS_LOCALIZATION)", | CODE |
| HIGH | …++/src/utils/generate_feature_test_macro_components.py | 706 | "libcxx_guard": "_LIBCPP_HAS_FILESYSTEM && _LIBCPP_HAS_LOCALIZATION", | CODE |
| HIGH | src/third_party/libc++/src/utils/libcxx/test/format.py | 153 | script += ["%dbg(SETUP) cd %S && cp {} %{{temp}}".format(dep)] | CODE |
| HIGH | …rd_party/libc++/src/utils/libcxx/test/features/misc.py | 261 | if (tempPathRet == 0 || tempPathRet > MAX_PATH) { | STRING |
| HIGH | …arty/libc++/src/utils/libcxx/test/features/platform.py | 65 | if (ptr >= exe && ptr <= exeend) | CODE |
| HIGH⚡ | …/libc++/src/utils/libcxx/test/features/availability.py | 32 | r"_target-has-llvm-22 || target={{.+}}-apple-macosx{{26.[4-9](.\d+)?}}", | CODE |
| HIGH⚡ | …/libc++/src/utils/libcxx/test/features/availability.py | 39 | r"_target-has-llvm-21 || target={{.+}}-apple-macosx{{26.[0-3](.\d+)?}}", | CODE |
| HIGH⚡ | …/libc++/src/utils/libcxx/test/features/availability.py | 46 | r"_target-has-llvm-20 || target={{.+}}-apple-macosx{{15.[4-9](.\d+)?}}", | CODE |
| HIGH⚡ | …/libc++/src/utils/libcxx/test/features/availability.py | 53 | r"_target-has-llvm-19 || target={{.+}}-apple-macosx{{15.[0-3](.\d+)?}}", | CODE |
| HIGH⚡ | …/libc++/src/utils/libcxx/test/features/availability.py | 60 | r"_target-has-llvm-18 || target={{.+}}-apple-macosx{{14.[4-9](.\d+)?}}", | CODE |
| HIGH⚡ | …/libc++/src/utils/libcxx/test/features/availability.py | 67 | "_target-has-llvm-17 || target={{.+}}-apple-macosx{{14.[0-3](.[0-9]+)?}}", | CODE |
| HIGH⚡ | …/libc++/src/utils/libcxx/test/features/availability.py | 74 | "_target-has-llvm-16 || target={{.+}}-apple-macosx{{13.[4-9](.[0-9]+)?}}", | CODE |
| HIGH | …/libc++/src/utils/libcxx/test/features/availability.py | 88 | "_target-has-llvm-14 || target={{.+}}-apple-macosx{{13.[0-3](.[0-9]+)?}}", | CODE |
| HIGH | …/libc++/src/utils/libcxx/test/features/availability.py | 95 | "_target-has-llvm-13 || target={{.+}}-apple-macosx{{12.[3-9](.[0-9]+)?}}", | CODE |
| HIGH | …c/third_party/zstd/src/tests/automated_benchmarking.py | 103 | os.system("cd ../ && make -j && cd tests") | CODE |
| HIGH | …arty/zstd/src/contrib/freestanding_lib/freestanding.py | 55 | Handles && and ||. | STRING |
| HIGH | …benchmark/bindings/python/google_benchmark/__init__.py | 108 | options = __OptionMaker.make(undefined) | CODE |
| HIGH | src/third_party/jni_zero/parse_test.py | 203 | return null; | CODE |
| HIGH | src/third_party/jni_zero/codegen/natives_header.py | 323 | sb(f'JNI_ZERO_DCHECK(switch_num >= 0 && switch_num < {num_aliases});\n') | CODE |
| HIGH⚡ | src/third_party/jni_zero/codegen/proxy_impl_java.py | 76 | if (holder != null && holder.value != null) {{ | CODE |
| HIGH⚡ | src/third_party/jni_zero/codegen/proxy_impl_java.py | 76 | if (holder != null && holder.value != null) {{ | CODE |
| HIGH⚡ | src/third_party/jni_zero/codegen/proxy_impl_java.py | 83 | if (sOverride == null) {{ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/net/http/http_vary_data.h | 42 | // NOTE: This class does not hold onto the contents of the Vary header. | COMMENT |
| LOW | src/net/socket/ssl_server_socket.h | 5 | // NOTE: This class is provided to support existing Chromium consumers; it is | COMMENT |
| LOW | …party/perfetto/include/perfetto/ext/base/murmur_hash.h | 187 | // NOTE: This function intentionally has no else branch for non-builtin types, | COMMENT |
| LOW | src/third_party/abseil-cpp/absl/status/status.h | 544 | // NOTE: This function should only be called when converting to an associated | COMMENT |
| LOW | src/third_party/abseil-cpp/absl/status/status.h | 647 | // NOTE: This function does nothing if the Status is ok. | COMMENT |
| LOW | src/third_party/abseil-cpp/absl/status/status_builder.h | 597 | // NOTE: This function is `static` to prevent escaping the `this` pointer. We | COMMENT |
| LOW⚡ | src/third_party/libc++/src/src/ryu/f2s.cpp | 173 | // Step 2: Determine the interval of valid decimal representations. | COMMENT |
| LOW⚡ | src/third_party/libc++/src/src/ryu/f2s.cpp | 180 | // Step 3: Convert to a decimal power base using 64-bit arithmetic. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/f2s.cpp | 242 | // Step 4: Find the shortest decimal representation in the interval of valid representations. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/f2s.cpp | 424 | // Step 5: Print the decimal representation. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/f2s.cpp | 668 | // Step 1: Decode the floating-point number, and unify normalized and subnormal cases. | COMMENT |
| LOW⚡ | src/third_party/libc++/src/src/ryu/d2s.cpp | 199 | // Step 2: Determine the interval of valid decimal representations. | COMMENT |
| LOW⚡ | src/third_party/libc++/src/src/ryu/d2s.cpp | 207 | // Step 3: Convert to a decimal power base using 128-bit arithmetic. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/d2s.cpp | 266 | // Step 4: Find the shortest decimal representation in the interval of valid representations. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/d2s.cpp | 359 | // Step 5: Print the decimal representation. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/d2s.cpp | 696 | // Step 1: Decode the floating-point number, and unify normalized and subnormal cases. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 29 | // Step 1: Executed with an absolute path containing slashes. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 48 | // Step 2: Executed with a relative path containing slashes. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 67 | // Step 3: Executed with an empty string. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 86 | // Step 4: Executed with a path ending in a slash. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 104 | // Step 5: Executed with a path without slashes. | COMMENT |
| LOW⚡ | …est/integration/startup/linux/invocation_name_test.cpp | 122 | // Step 6: Executed with an empty (zero-length) argv. The kernel adds an | COMMENT |
| LOW⚡ | …est/integration/startup/linux/invocation_name_test.cpp | 129 | // Step 0: Initial run. Re-exec self with known argv[0] values. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 63 | // Step 1: Open file A and write initial content. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 72 | // Step 2: Open file A for reading. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 76 | // 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.cpp | 80 | // Step 4: Write to reopened stream (file B). | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 87 | // Step 5: Verify file B content. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 94 | // Step 1: Open file with write-update mode. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 103 | // Step 2: Change mode with filename == nullptr to append. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 107 | // Step 3: Write appended content. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 114 | // Step 4: Verify combined content. | COMMENT |
| LOW | src/third_party/llvm-libc/src/docs/full_host_build.md | 116 | ### Step 1: Preparation | COMMENT |
| LOW | src/third_party/llvm-libc/src/docs/full_host_build.md | 125 | ### Step 2: Linux Headers | COMMENT |
| LOW | src/third_party/llvm-libc/src/docs/full_host_build.md | 164 | ### Step 3: Build and Install Runtimes | COMMENT |
| LOW | src/third_party/llvm-libc/src/docs/full_host_build.md | 197 | ### Step 4: Configure the Compiler Wrapper | COMMENT |
| LOW | src/third_party/llvm-libc/src/docs/full_host_build.md | 233 | ### Step 5: Verification | COMMENT |
| LOW⚡ | src/third_party/llvm-libc/src/src/__support/math/logf.h | 28 | // Step 1 - Range reduction: | COMMENT |
| LOW⚡ | src/third_party/llvm-libc/src/src/__support/math/logf.h | 33 | // Step 2 - Another range reduction: | COMMENT |
| LOW⚡ | src/third_party/llvm-libc/src/src/__support/math/logf.h | 43 | // Step 3 - Polynomial approximation: | COMMENT |
| LOW⚡ | …/third_party/llvm-libc/src/src/__support/math/log10f.h | 29 | // Step 1 - Range reduction: | COMMENT |
| LOW⚡ | …/third_party/llvm-libc/src/src/__support/math/log10f.h | 34 | // Step 2 - Another range reduction: | COMMENT |
| LOW⚡ | …/third_party/llvm-libc/src/src/__support/math/log10f.h | 44 | // Step 3 - Polynomial approximation: | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/__support/math/log2f.h | 26 | // Step 1 - Range reduction: | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/__support/math/log2f.h | 31 | // Step 2 - Another range reduction: | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/__support/math/log2f.h | 41 | // Step 3 - Polynomial approximation: | COMMENT |
| LOW | …ird_party/llvm-libc/src/src/__support/threads/thread.h | 134 | // NOTE: This function is to be used for testing only. There is no standard | COMMENT |
| LOW | src/third_party/llvm-libc/src/src/time/time_utils.cpp | 102 | // Step 1: Convert seconds to days + remaining seconds | COMMENT |
| LOW⚡ | src/third_party/llvm-libc/src/src/time/time_utils.cpp | 178 | // 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.cpp | 186 | // Step 5: Calculate day of week [0=Sun, 1=Mon, ..., 6=Sat] | COMMENT |
| LOW⚡ | src/third_party/llvm-libc/src/src/time/time_utils.cpp | 192 | // Step 6: Populate tm structure with all calculated values | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 124 | // Step 1: read 1 byte at a time to align to block size | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 130 | // Step 2: read blocks | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 135 | // Step 3: find the zero in the block | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 159 | // Step 1: read 1 byte at a time to align to block size | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 168 | // Step 2: read blocks | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 175 | // Step 3: find the match in the block | COMMENT |
| LOW | src/third_party/boringssl/src/include/openssl/ssl.h | 510 | // NOTE: This function must be queried again whenever the state machine changes, | COMMENT |
| LOW | src/third_party/boringssl/src/include/openssl/ssl.h | 1498 | // NOTE: This function assumes the caller does not use `SSL_clear` to reuse | COMMENT |
| LOW | src/third_party/boringssl/src/include/openssl/span.h | 257 | // NOTE: This method may abort() at runtime if pos or len are out of range. | COMMENT |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/tools/grit/stamp_grit_sources.py | 12 | # Usage: | COMMENT |
| LOW | src/net/test/scoped_mutually_exclusive_feature_list.h | 21 | // Example usage: | COMMENT |
| LOW | …third_party/quiche/src/quiche/http2/core/spdy_framer.h | 245 | // Example usage: | COMMENT |
| LOW | …third_party/quiche/src/quiche/common/quiche_weak_ptr.h | 13 | // Example usage: | COMMENT |
| LOW | …/third_party/quiche/src/quiche/quic/moqt/moqt_parser.h | 186 | // Example usage: | COMMENT |
| LOW | src/net/http/http_response_headers.h | 53 | // Example usage: | COMMENT |
| LOW | src/net/socket/socket_test_util.h | 87 | // Example usage: | COMMENT |
| LOW | …omponents/unexportable_keys/unexportable_key_service.h | 150 | // Example usage: | COMMENT |
| LOW | …ude/perfetto/tracing/track_event_interned_data_index.h | 34 | // Example usage | COMMENT |
| LOW | …y/perfetto/include/perfetto/trace_processor/iterator.h | 36 | // Example usage: | COMMENT |
| LOW | …arty/perfetto/include/perfetto/ext/base/string_utils.h | 282 | // Example usage: | COMMENT |
| LOW | …ty/perfetto/include/perfetto/ext/base/intrusive_tree.h | 32 | // Usage example: | COMMENT |
| LOW | …ty/perfetto/include/perfetto/ext/base/intrusive_list.h | 32 | // Usage example: | COMMENT |
| LOW | …ty/perfetto/include/perfetto/protozero/proto_decoder.h | 462 | // Example usage: | COMMENT |
| LOW | …ird_party/perfetto/include/perfetto/public/pb_macros.h | 28 | // Example usage: | COMMENT |
| LOW | …rd_party/perfetto/include/perfetto/public/pb_decoder.h | 26 | // Example usage: | COMMENT |
| LOW | …rd_party/perfetto/src/trace_processor/core/util/slab.h | 38 | // Usage example: | COMMENT |
| LOW | …y/perfetto/src/trace_processor/core/util/flex_vector.h | 54 | // Usage example: | COMMENT |
| LOW | …etto/src/trace_processor/util/simple_json_serializer.h | 47 | // Usage example: | COMMENT |
| LOW | …etto/src/trace_processor/util/simple_json_serializer.h | 83 | // Usage example: | COMMENT |
| LOW | …etto/src/trace_processor/util/simple_json_serializer.h | 116 | // Usage example: | COMMENT |
| LOW | …perfetto/src/trace_processor/util/simple_json_parser.h | 54 | // Example usage: | COMMENT |
| LOW | …rc/trace_processor/importers/common/metadata_tracker.h | 36 | // Example usage: | COMMENT |
| LOW | …rc/trace_processor/importers/common/metadata_tracker.h | 42 | // Example usage: | COMMENT |
| LOW | …ird_party/perfetto/src/profiling/common/proc_cmdline.h | 39 | // Example usage: | COMMENT |
| LOW | …d_party/abseil-cpp/absl/strings/resize_and_overwrite.h | 31 | // Example usage: | COMMENT |
| LOW | …rty/abseil-cpp/absl/strings/internal/generic_printer.h | 46 | // Example usage: | COMMENT |
| LOW | …rty/abseil-cpp/absl/strings/internal/generic_printer.h | 85 | // Example usage: | COMMENT |
| LOW | src/third_party/abseil-cpp/absl/synchronization/mutex.h | 180 | // Example usage: | COMMENT |
| LOW | src/third_party/abseil-cpp/absl/hash/internal/hash.h | 169 | // Example usage: | COMMENT |
| LOW | …arty/abseil-cpp/absl/debugging/internal/vdso_support.h | 30 | // Example usage: | COMMENT |
| LOW | …c/third_party/abseil-cpp/absl/meta/internal/requires.h | 30 | // Example usage: | COMMENT |
| LOW | …hird_party/abseil-cpp/absl/base/internal/raw_logging.h | 40 | // Usage example: | COMMENT |
| LOW | src/third_party/nasm/tools/mkdep.pl | 8 | # Usage: | COMMENT |
| LOW | src/third_party/nasm/test/bisect.sh | 3 | # Usage: | COMMENT |
| LOW | src/third_party/nasm/nasmlib/perfhash.pl | 10 | # Usage: | COMMENT |
| LOW | src/third_party/zlib/contrib/minizip/skipset.h | 20 | // Example usage: | COMMENT |
| LOW | …lvm-libc/src/src/__support/FPUtil/except_value_utils.h | 29 | // Example usage: | COMMENT |
| LOW | src/base/feature.rs | 126 | /// # Usage: | COMMENT |
| LOW | src/base/feature.h | 335 | // Example usage: | COMMENT |
| LOW | src/base/lazy_instance.h | 36 | // Example usage: | COMMENT |
| LOW | src/base/gtest_prod_util.h | 15 | // Example usage: | COMMENT |
| LOW | src/base/gtest_prod_util.h | 45 | // Example usage: | COMMENT |
| LOW | src/base/tuple.h | 11 | // Example usage: | COMMENT |
| LOW | src/base/apple/foundation_util.h | 152 | // Example usage: | COMMENT |
| LOW | src/base/apple/foundation_util.h | 216 | // Example usage: | COMMENT |
| LOW | src/base/types/expected.h | 122 | // Example usage: | COMMENT |
| LOW | src/base/memory/singleton.h | 145 | // Example usage: | COMMENT |
| LOW | src/base/memory/values_equivalent.h | 38 | // Example usage: | COMMENT |
| LOW | src/base/memory/values_equivalent.h | 55 | // Example usage: | COMMENT |
| LOW | src/base/memory/memory_pressure_listener.h | 124 | // Example usage: | COMMENT |
| LOW | src/base/trace_event/trace_arguments.h | 231 | // Usage example: | COMMENT |
| LOW | src/base/test/repeating_test_future.h | 70 | // Example usage: | COMMENT |
| LOW | src/base/test/with_feature_override.h | 24 | // Example usage: | COMMENT |
| LOW | src/base/test/manual_hang_watcher.h | 26 | // Example usage: | COMMENT |
| LOW | src/base/test/run_until.h | 21 | // Example usage: | COMMENT |
| LOW | src/base/test/test_future.h | 37 | // Example usage: | COMMENT |
| LOW | src/base/test/test_future.h | 265 | // Example usage: | COMMENT |
| LOW | src/base/test/test_future.h | 281 | // Example usage: | COMMENT |
| LOW | src/base/test/test_future.h | 299 | // Example usage: | COMMENT |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tools/metrics/python_support/setup_modules_lib_test.py | 38 | # Create a readable name for the test output | COMMENT |
| MEDIUM | …tools/metrics/python_support/dependency_solver_test.py | 17 | # Create a temporary directory for each test to ensure isolation | COMMENT |
| MEDIUM | src/tools/metrics/actions/PRESUBMIT_test.py | 88 | # Create a mock error object to be returned by PresubmitError | COMMENT |
| MEDIUM | src/tools/metrics/actions/suffixes_to_variants.py | 208 | # Create an inline <token> node. | COMMENT |
| MEDIUM | src/tools/metrics/histograms/merge_xml.py | 79 | # Create the combined <histograms> tag. | COMMENT |
| MEDIUM | src/tools/metrics/histograms/merge_xml.py | 104 | # Create the combined <histogram_suffixes_list> tag. | COMMENT |
| MEDIUM | …c/tools/metrics/histograms/find_unmapped_histograms.py | 218 | # The following function name suffixes are not defined in //base/metrics. | STRING |
| MEDIUM | …ls/metrics/histograms/presubmit_bad_message_reasons.py | 24 | # This function is called once per bad_message.h-containing directory. Check | COMMENT |
| MEDIUM | src/tools/clang/scripts/update.py | 341 | # This file is created by first class GCS deps. If this file exists, | COMMENT |
| MEDIUM | src/tools/grit/grit/format/html_inline_unittest.py | 96 | # Create an HTML file that attempts to inline a generated JS file. | COMMENT |
| MEDIUM | src/tools/grit/grit/tool/resize.py | 289 | # Create the resource.h file | COMMENT |
| MEDIUM | src/tools/grit/grit/tool/android2grd.py | 235 | # Create an output element for each language. | COMMENT |
| MEDIUM | src/third_party/libc++/src/utils/ssh.py | 59 | # Create a temporary directory where the test will be run. | COMMENT |
| MEDIUM | src/third_party/libc++/src/utils/libcxx/test/dsl.py | 133 | # Create a dummy test suite and single dummy test inside it. As part of | COMMENT |
| MEDIUM | src/third_party/libc++/src/utils/libcxx/test/android.py | 80 | # Create the job limit server socket. | COMMENT |
| MEDIUM | src/third_party/libc++/src/docs/conf.py | 5 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | src/third_party/nasm/generate_nasm_sources.py | 64 | # This file is created by generate_nasm_sources.py. Do not edit manually. | STRING |
| MEDIUM | src/third_party/nasm/nasmlib/perfhash.pl | 54 | # Define the value to be returned if a string is not found | COMMENT |
| MEDIUM | src/third_party/nasm/doc/rdsrc.pl | 946 | # Create the navbar list | COMMENT |
| MEDIUM | src/third_party/nasm/doc/genps.pl | 168 | # Create a font path. At least some versions of Ghostscript | COMMENT |
| MEDIUM | src/third_party/nasm/doc/genps.pl | 188 | # Create a Fontmap. At least some versions of Ghostscript | COMMENT |
| MEDIUM | src/third_party/nasm/travis/nasm-t.py | 502 | # Create a new empty test case | COMMENT |
| MEDIUM | src/third_party/llvm-libc/src/utils/libctest/format.py | 63 | # Create a test with the executable name | COMMENT |
| MEDIUM | src/third_party/llvm-libc/src/docs/conf.py | 5 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | src/third_party/zstd/src/tests/gzip/init.cfg | 1 | # This file is sourced by init.sh, *before* its initialization. | COMMENT |
| MEDIUM | src/third_party/zstd/src/tests/gzip/init.sh | 136 | # The following code attempts to find a shell with support for these features. | COMMENT |
| MEDIUM | src/third_party/zstd/src/tests/gzip/init.sh | 451 | # Create an alias, FOO, for each FOO.exe in this directory. | COMMENT |
| MEDIUM | src/third_party/zstd/src/tests/gzip/init.sh | 495 | # Create a temporary directory, much like mktemp -d does. | COMMENT |
| MEDIUM | src/third_party/zstd/src/tests/gzip/help-version.sh | 147 | # Create a file in the current directory, not in $TMPDIR. | COMMENT |
| MEDIUM | src/third_party/zstd/src/tests/gzip/test-driver.sh | 26 | # This file is maintained in Automake, please report | COMMENT |
| MEDIUM | src/third_party/libunwind/src/docs/conf.py | 5 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | src/third_party/depot_tools/cpplint.py | 6869 | # The following function is just a speed up, no semantics are changed. | STRING |
| MEDIUM | …arty/boringssl/src/crypto/test/asm/trampoline-armv4.pl | 16 | # This file defines helper functions for crypto/test/abi_test.h on 32-bit | COMMENT |
| MEDIUM | …arty/boringssl/src/crypto/test/asm/trampoline-armv8.pl | 16 | # This file defines helper functions for crypto/test/abi_test.h on aarch64. See | COMMENT |
| MEDIUM | …rty/boringssl/src/crypto/test/asm/trampoline-x86_64.pl | 16 | # This file defines helper functions for crypto/test/abi_test.h on x86_64. See | COMMENT |
| MEDIUM | …_party/boringssl/src/crypto/test/asm/trampoline-x86.pl | 16 | # This file defines helper functions for crypto/test/abi_test.h on x86. See | COMMENT |
| MEDIUM | …crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go | 52 | fmt.Printf(`# This file contains multiples of the base point for various curves. The point | CODE |
| MEDIUM | …crypto/fipsmodule/ec/make_ec_scalar_base_mult_tests.go | 55 | # This file is generated by make_ec_scalar_base_mult_tests.go | COMMENT |
| MEDIUM⚡ | …/boringssl/src/crypto/fipsmodule/aes/asm/aesv8-armx.pl | 22 | # This module implements support for ARMv8 AES instructions. The | COMMENT |
| MEDIUM | …l/src/crypto/fipsmodule/aes/asm/aes-gcm-avx2-x86_64.pl | 491 | # This function handles large amounts of AAD efficiently, while also keeping the | COMMENT |
| MEDIUM⚡ | …oringssl/src/crypto/fipsmodule/aes/asm/aesni-x86_64.pl | 22 | # This module implements support for Intel AES-NI extension. In | COMMENT |
| MEDIUM⚡ | …y/boringssl/src/crypto/fipsmodule/aes/asm/aesni-x86.pl | 22 | # This module implements support for Intel AES-NI extension. In | COMMENT |
| MEDIUM | …src/crypto/fipsmodule/aes/asm/aes-gcm-avx512-x86_64.pl | 21 | # This file is based on aes-gcm-avx10-x86_64.S from the Linux kernel | COMMENT |
| MEDIUM | …src/crypto/fipsmodule/aes/asm/aes-gcm-avx512-x86_64.pl | 642 | # This function handles large amounts of AAD efficiently, while also keeping the | COMMENT |
| MEDIUM | …hird_party/jni_zero/codegen/called_by_native_header.py | 496 | # Create the alias in the pacakge namespace. | COMMENT |
| MEDIUM | src/base/test/tracing/gen_amalgamated_stdlib.py | 64 | # Create the C++ variable for each SQL file. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/tools/metrics/common/models.py | 378 | A complex node type that has attributes or other nodes as children. Unmarshalls nodes to objects. Args: tag: T | STRING |
| HIGH | src/tools/metrics/common/models.py | 416 | Extracts the content of the node to an object. Args: node: The XML node to extract data from. Returns: | STRING |
| HIGH | src/tools/metrics/common/pretty_print_xml.py | 642 | Pretty-prints the given XML node at the given indent level. Args: node: The ElementTree node to pretty-print. | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 33 | Get an attribute. Error if it is missing, optionally error if it doesn't match the provided regex. Args: ele | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 64 | Get the text of an element. Error if it is missing text, optionally error if it doesn't match the provided regex. | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 93 | Get an attribute. Returns None if it doesn't exist. Args: elem: structured.xml file element tree. tag: Nam | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 125 | Get an attribute that is a comma separated list. Returns None if it doesn't exist. Args: elem: structured.xml | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 166 | Get all child nodes of `elem` with tag `tag`. Error if none exist, or a child is not a compound node. Args: el | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 197 | Get the child of `elem` with tag `tag`. Error if there isn't exactly one matching child, or it isn't compound. Arg | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 220 | Get the text of all child nodes of `elem` with tag `tag`. Error if none exist, or a child is not a text node. Optiona | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 260 | Get the text of the child of `elem` with tag `tag`. Error if there isn't exactly one matching child, or it isn't a te | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 287 | Ensure `elem` has no attributes except those in `expected_attrs`. Args: elem: structured.xml file element tree. | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 314 | Ensure all children in `expected_children` are in `elem`. Args: elem: structured.xml file element tree. expec | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 356 | Ensure uniqueness of the 'name' of all children of `elem` with `tag`. Args: elem: structured.xml file element tre | STRING |
| HIGH | src/tools/metrics/structured/sync/model_util.py | 373 | Ensures that the names provided are unique. Args: elem: structured.xml file element tree. names: The list of | STRING |
| HIGH | src/tools/metrics/actions/action_utils.py | 234 | Parse the XML data currently stored in the file. Args: file_content: a string containing the action XML file cont | STRING |
| HIGH | src/tools/metrics/actions/action_utils.py | 371 | Converts template actions dictionary into a dictionary of expanded actions We allow the actions.xml to contain tokens | STRING |
| HIGH | …etrics/histograms/generate_expired_histograms_array.py | 68 | Filters histograms to find expired ones if date format is used. Args: histograms(Dict[str, Dict]): Histogram desc | STRING |
| HIGH | …etrics/histograms/generate_expired_histograms_array.py | 119 | Fetches base date from |content| to compare expiry dates with. Args: content: A string with the base date. rege | STRING |
| HIGH | …etrics/histograms/generate_expired_histograms_array.py | 149 | Extracts current milestone from |content|. Args: content: A string with the version information. regex: A regul | STRING |
| HIGH | src/tools/metrics/histograms/update_histogram_enum.py | 68 | Creates a dictionary of enum values, read from a C++ file. Args: filename: The unix-style path (relative to src | STRING |
| HIGH | src/tools/metrics/histograms/extract_histograms.py | 1105 | Loads histogram definitions from a disk file. Args: filename: a file path to load data from. Returns: a di | STRING |
| HIGH | src/tools/grit/grit/format/data_pack.py | 310 | Combines all inputs into one. Args: inputs: a list of (resources_by_id, encoding) tuples to be combined. | STRING |
| HIGH | src/net/tools/net_docs/net_docs.py | 64 | Processes a list of Markdown documentation files. If input_pathname and output_pathname are specified, outputs HTML f | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/third_party/libc++/src/src/ryu/f2s.cpp | 173 | // Step 2: Determine the interval of valid decimal representations. | COMMENT |
| LOW⚡ | src/third_party/libc++/src/src/ryu/f2s.cpp | 180 | // Step 3: Convert to a decimal power base using 64-bit arithmetic. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/f2s.cpp | 242 | // Step 4: Find the shortest decimal representation in the interval of valid representations. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/f2s.cpp | 424 | // Step 5: Print the decimal representation. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/f2s.cpp | 668 | // Step 1: Decode the floating-point number, and unify normalized and subnormal cases. | COMMENT |
| LOW⚡ | src/third_party/libc++/src/src/ryu/d2s.cpp | 199 | // Step 2: Determine the interval of valid decimal representations. | COMMENT |
| LOW⚡ | src/third_party/libc++/src/src/ryu/d2s.cpp | 207 | // Step 3: Convert to a decimal power base using 128-bit arithmetic. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/d2s.cpp | 266 | // Step 4: Find the shortest decimal representation in the interval of valid representations. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/d2s.cpp | 359 | // Step 5: Print the decimal representation. | COMMENT |
| LOW | src/third_party/libc++/src/src/ryu/d2s.cpp | 696 | // Step 1: Decode the floating-point number, and unify normalized and subnormal cases. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 29 | // Step 1: Executed with an absolute path containing slashes. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 48 | // Step 2: Executed with a relative path containing slashes. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 67 | // Step 3: Executed with an empty string. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 86 | // Step 4: Executed with a path ending in a slash. | COMMENT |
| LOW | …est/integration/startup/linux/invocation_name_test.cpp | 104 | // Step 5: Executed with a path without slashes. | COMMENT |
| LOW⚡ | …est/integration/startup/linux/invocation_name_test.cpp | 122 | // Step 6: Executed with an empty (zero-length) argv. The kernel adds an | COMMENT |
| LOW⚡ | …est/integration/startup/linux/invocation_name_test.cpp | 129 | // Step 0: Initial run. Re-exec self with known argv[0] values. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 63 | // Step 1: Open file A and write initial content. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 72 | // Step 2: Open file A for reading. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 76 | // 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.cpp | 80 | // Step 4: Write to reopened stream (file B). | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 87 | // Step 5: Verify file B content. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 94 | // Step 1: Open file with write-update mode. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 103 | // Step 2: Change mode with filename == nullptr to append. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 107 | // Step 3: Write appended content. | COMMENT |
| LOW⚡ | …rd_party/llvm-libc/src/test/src/stdio/freopen_test.cpp | 114 | // Step 4: Verify combined content. | COMMENT |
| LOW | …vm-libc/src/include/llvm-libc-macros/inttypes-macros.h | 118 | // only recent clang provides these macros, so we need to check if they are | COMMENT |
| LOW | src/third_party/llvm-libc/src/shared/rpc.h | 652 | // Once we acquire the index we need to check if we are in a valid sending | COMMENT |
| LOW | …arty/llvm-libc/src/src/__support/OSUtil/linux/vdso.cpp | 93 | // now we need to check if it has the right version | COMMENT |
| LOW | src/third_party/llvm-libc/src/src/time/time_utils.cpp | 102 | // Step 1: Convert seconds to days + remaining seconds | COMMENT |
| LOW⚡ | src/third_party/llvm-libc/src/src/time/time_utils.cpp | 178 | // 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.cpp | 186 | // Step 5: Calculate day of week [0=Sun, 1=Mon, ..., 6=Sat] | COMMENT |
| LOW⚡ | src/third_party/llvm-libc/src/src/time/time_utils.cpp | 192 | // Step 6: Populate tm structure with all calculated values | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 124 | // Step 1: read 1 byte at a time to align to block size | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 130 | // Step 2: read blocks | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 135 | // Step 3: find the zero in the block | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 159 | // Step 1: read 1 byte at a time to align to block size | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 168 | // Step 2: read blocks | COMMENT |
| LOW⚡ | …c/third_party/llvm-libc/src/src/string/string_length.h | 175 | // Step 3: find the match in the block | COMMENT |
| LOW | src/base/apple/call_with_eh_frame.h | 17 | // The purpose of this function is to prevent a try/catch statement in system | COMMENT |
| LOW⚡ | src/base/test/tracing/trace_event_analyzer.h | 51 | // Step 1: instrument code with custom begin/end trace events. | COMMENT |
| LOW⚡ | src/base/test/tracing/trace_event_analyzer.h | 57 | // Step 2: associate these custom begin/end pairs. | COMMENT |
| LOW⚡ | src/base/test/tracing/trace_event_analyzer.h | 63 | // Step 3: search for "timing1_begin" events with existing other event. | COMMENT |
| LOW⚡ | src/base/test/tracing/trace_event_analyzer.h | 68 | // Step 4: analyze events, such as checking durations. | COMMENT |
| LOW⚡ | src/base/process/memory_mac.mm | 94 | // Step 1: Enable OOM killer on C++ failures. | COMMENT |
| LOW⚡ | src/base/process/memory_mac.mm | 97 | // Step 2: Enable OOM killer on C-malloc failures for the default zone (if we | COMMENT |
| LOW⚡ | src/base/process/memory_mac.mm | 102 | // Step 3: Enable OOM killer on all other malloc zones (or just "all" without | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/tools/update_pgo_profiles.py | 111 | except (ImportError, AttributeError): | CODE |
| HIGH | src/tools/update_pgo_profiles.py | 135 | except Exception: | CODE |
| HIGH | src/tools/clang/scripts/update.py | 331 | except: | CODE |
| HIGH | src/tools/grit/pak_util.py | 138 | except UnicodeDecodeError: | CODE |
| HIGH | src/tools/grit/grit/clique_unittest.py | 98 | except: | CODE |
| HIGH | src/tools/grit/grit/clique_unittest.py | 321 | except: | CODE |
| HIGH | src/tools/grit/grit/tclib_unittest.py | 167 | except exception.InvalidPlaceholderName: | CODE |
| HIGH | src/tools/grit/grit/grit_runner.py | 312 | except ImportError: | CODE |
| HIGH | src/tools/grit/grit/node/misc_unittest.py | 62 | except grit.exception.Parsing: | CODE |
| HIGH | src/tools/grit/grit/tool/unit.py | 13 | except ImportError: | CODE |
| HIGH | src/third_party/angle/src/commit_id.py | 147 | except: | CODE |
| HIGH | src/third_party/nasm/travis/nasm-t.py | 190 | except: | CODE |
| HIGH | src/third_party/zstd/src/tests/rateLimiter.py | 40 | except (KeyboardInterrupt, BrokenPipeError) as e: | CODE |
| HIGH | src/third_party/depot_tools/subprocess2.py | 60 | except ImportError: | CODE |
| HIGH | …ringssl/src/third_party/benchmark/tools/gbench/util.py | 54 | except BaseException: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | src/net/base/net_error_list.h | 353 | // Failed to set the socket's receive buffer size as requested. | COMMENT |
| HIGH⚡ | src/net/base/net_error_list.h | 356 | // Failed to set the socket's send buffer size as requested. | COMMENT |
| HIGH⚡ | src/net/base/net_error_list.h | 359 | // Failed to set the socket's receive buffer size as requested, despite success | COMMENT |
| HIGH⚡ | src/net/base/net_error_list.h | 363 | // Failed to set the socket's send buffer size as requested, despite success | COMMENT |
| HIGH | src/third_party/boringssl/src/include/openssl/ssl.h | 6508 | // the requested amount of padding from the server as requested through | COMMENT |
| HIGH | src/base/message_loop/message_pump.h | 236 | // ScheduleWork or as requested by the last NextWorkInfo returned by DoWork. | COMMENT |
| HIGH | src/base/message_loop/message_pump.h | 263 | // up as requested by the return value of DoWork(). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/tools/grit/grit/node/misc.py | 0 | creates a new node which is a child of 'parent', with attributes set by parameters of the same name. | STRING |
| HIGH | src/tools/grit/grit/node/structure.py | 0 | creates a new node which is a child of 'parent', with attributes set by parameters of the same name. | STRING |
| HIGH | src/tools/grit/grit/node/include.py | 0 | creates a new node which is a child of 'parent', with attributes set by parameters of the same name. | STRING |
| HIGH | src/tools/grit/grit/tool/newgrd.py | 0 | set this objects and return all non-option arguments. | STRING |
| HIGH | src/tools/grit/grit/tool/unit.py | 0 | set this objects and return all non-option arguments. | STRING |
| HIGH | src/tools/grit/grit/tool/android2grd.py | 0 | set this objects and return all non-option arguments. | STRING |
| HIGH | src/tools/grit/grit/tool/count.py | 0 | set this objects and return all non-option arguments. | STRING |
| HIGH | …ibc++/src/utils/generate_indic_conjunct_break_table.py | 0 | // -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm p | STRING |
| HIGH | …ty/libc++/src/utils/generate_width_estimation_table.py | 0 | // -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm p | STRING |
| HIGH | …arty/libc++/src/utils/generate_escaped_output_table.py | 0 | // -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm p | STRING |
| HIGH | …/src/utils/generate_extended_grapheme_cluster_table.py | 0 | // -*- c++ -*- //===----------------------------------------------------------------------===// // // part of the llvm p | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …metrics/private_metrics/private_metrics_validations.py | 41 | # Check if the enum is defined in enums.xml. | COMMENT |
| LOW | src/tools/metrics/common/diff_util.py | 47 | temp.close() # Close the file so the browser process can access it. | CODE |
| LOW | src/tools/metrics/common/pretty_print_xml.py | 507 | # Check if tag name is valid. | COMMENT |
| LOW | src/tools/metrics/structured/code_generator.py | 89 | # Check if event is part of an event sequence. Note that this goes after the | COMMENT |
| LOW | src/tools/metrics/structured/code_generator.py | 102 | # Check if the Project should be generated for the given target. | COMMENT |
| LOW | src/tools/metrics/structured/sync/model.py | 159 | # Check if key-rotation is specified. If so, then change the | COMMENT |
| LOW | src/tools/metrics/structured/sync/model.py | 178 | # Check if scope is specified. If so, then change the scope. | COMMENT |
| LOW | src/tools/metrics/ukm/xml_validations.py | 694 | # Check if the enum is defined in enums.xml. | COMMENT |
| LOW | …c/tools/metrics/histograms/find_unmapped_histograms.py | 524 | # Check if the sign bit (bit 31) is set | COMMENT |
| LOW | …histograms/update_gpu_driver_bug_workaround_entries.py | 31 | # Read the file as a list of lines | COMMENT |
| LOW | src/tools/metrics/histograms/split_xml.py | 183 | # Check if the directory of its prefix exists. Return the |camel_name| if the | COMMENT |
| LOW | src/tools/metrics/histograms/update_editor_commands.py | 49 | # Read the file as a list of lines | COMMENT |
| LOW | src/tools/metrics/histograms/update_use_counter_css.py | 39 | # Read the file as a list of lines | COMMENT |
| LOW | src/tools/metrics/histograms/update_net_error_codes.py | 33 | # Read the file as a list of lines | COMMENT |
| LOW | src/tools/metrics/histograms/update_histogram_enum.py | 84 | # Read the file as a list of lines | COMMENT |
| LOW | src/tools/metrics/histograms/extract_histograms.py | 780 | # Check if the affected histogram name is a pattern or exists directly. | COMMENT |
| LOW | src/tools/metrics/histograms/extract_histograms.py | 784 | # Check if any current histogram matches the pattern | COMMENT |
| LOW | src/tools/grit/grit/grd_reader_unittest.py | 190 | # Check if the ID is set to the name. In the past, there was a bug | COMMENT |
| LOW | src/tools/grit/grit/grd_reader_unittest.py | 218 | # Check if the ID is set to the name. In the past, there was a bug | COMMENT |
| LOW | src/tools/grit/grit/format/data_pack.py | 203 | # Write file header. | COMMENT |
| LOW | src/tools/grit/grit/format/c_format.py | 77 | # Output message with non-ascii chars escaped as octal numbers C's grammar | COMMENT |
| LOW | src/tools/grit/grit/node/misc.py | 534 | # Check if the input is required for any output configuration. | COMMENT |
| LOW | src/third_party/nasm/tools/syncfiles.pl | 98 | # Write the file back out | COMMENT |
| LOW | src/third_party/nasm/doc/rdsrc.pl | 146 | # Read the file; pass a paragraph at a time to the paragraph processor. | COMMENT |
| LOW | src/third_party/nasm/doc/rdsrc.pl | 709 | # Open file. | COMMENT |
| LOW | src/third_party/nasm/doc/rdsrc.pl | 802 | # Close file. | COMMENT |
| LOW | src/third_party/nasm/travis/nasm-t.py | 125 | # Check if descriptor has mandatory fields | COMMENT |
| LOW | src/third_party/depot_tools/cpplint.py | 2982 | # Check if token is an unmatched '<'. | COMMENT |
| LOW | src/third_party/depot_tools/cpplint.py | 3780 | # Check if the // may be in quotes. If so, ignore it | STRING |
| LOW | src/third_party/depot_tools/cpplint.py | 5037 | # Check if the body is empty | STRING |
| LOW | src/third_party/depot_tools/cpplint.py | 5337 | # Check if the line is a header guard. | STRING |
| LOW | src/third_party/depot_tools/cpplint.py | 5777 | # Check if people are using the verboten C basic types. The only exception | STRING |
| LOW | src/third_party/depot_tools/cpplint.py | 5800 | # Check if some verboten operator overloading is going on | STRING |
| LOW | src/third_party/depot_tools/cpplint.py | 6059 | # Check if some verboten C functions are being used. | STRING |
| LOW | src/third_party/depot_tools/cpplint.py | 7032 | # Set end_col to check whole lines after we are done with the | STRING |
| LOW | …boringssl/src/third_party/benchmark/.ycm_extra_conf.py | 31 | # Set this to the absolute path to the folder (NOT the file!) containing the | COMMENT |
| LOW | …ngssl/src/third_party/benchmark/tools/gbench/report.py | 236 | # Check if we failed miserably with minimum required repetitions for utest | COMMENT |
| LOW | …_party/boringssl/src/.github/workflows/branch-time.yml | 45 | # Check if the current GitHub HEAD exists in Upstream | COMMENT |
| LOW | src/third_party/jni_zero/java_types.py | 578 | # Check if it's already fully qualified. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ssl_cert_file.py | 247 | except Exception as error: | STRING |
| LOW | src/tools/update_pgo_profiles.py | 135 | except Exception: | CODE |
| LOW | src/tools/metrics/PRESUBMIT.py | 280 | except Exception as e: | CODE |
| LOW | …tools/metrics/python_support/setup_modules_lib_test.py | 58 | except Exception as e: | CODE |
| LOW | src/tools/metrics/common/presubmit_util.py | 85 | except Exception: | CODE |
| LOW | src/tools/metrics/common/presubmit_util.py | 269 | except Exception as e: | CODE |
| LOW | src/tools/metrics/common/presubmit_util.py | 278 | except Exception as e: | CODE |
| LOW | src/tools/metrics/actions/extract_actions.py | 432 | except Exception as e: | CODE |
| MEDIUM | src/tools/metrics/actions/extract_actions.py | 433 | print('Error encountered for path %s' % path) | CODE |
| LOW | src/tools/metrics/actions/PRESUBMIT.py | 224 | except Exception as e: | CODE |
| MEDIUM | src/tools/protoc_wrapper/protoc_wrapper.py | 78 | print(f"Error: File not found at path: {file_path}") | CODE |
| MEDIUM | src/tools/grit/stamp_grit_sources.py | 47 | print("Error: expecting 3 args.") | CODE |
| MEDIUM | src/tools/grit/grit/node/base.py | 66 | print('Error processing node %s: %s' % (str(self), exc_value)) | CODE |
| LOW | src/tools/grit/grit/tool/build.py | 596 | except Exception as e: | CODE |
| MEDIUM | src/tools/grit/grit/tool/build.py | 609 | print("Error: One or more grit output workers failed. Aborting.") | CODE |
| MEDIUM | src/tools/grit/grit/tool/android2grd.py | 269 | print('Error: illegal string name: %s' % raw_name) | CODE |
| LOW | …rit/grit/tool/update_resource_ids/assigner_unittest.py | 144 | except Exception as e: | CODE |
| MEDIUM | …/net/tools/root_store_tool/update_crs_root_ids_enum.py | 73 | print(f"Error reading certs file {file_path}: {e}", file=sys.stderr) | CODE |
| LOW | …/net/tools/root_store_tool/update_crs_root_ids_enum.py | 87 | except Exception as e: | CODE |
| LOW | …/net/tools/root_store_tool/update_crs_root_ids_enum.py | 132 | except Exception as e: | CODE |
| MEDIUM | …/net/tools/root_store_tool/update_crs_root_ids_enum.py | 133 | print(f"Error parsing {ROOT_STORE_TEXTPROTO_PATH}: {e}", file=sys.stderr) | CODE |
| MEDIUM | …ird_party/perfetto/gn/standalone/build_tool_wrapper.py | 69 | print('Error running: "%s" (%s)' % (args.cmd[0], e.strerror)) | CODE |
| LOW | …ird_party/zstd/src/tests/DEPRECATED-test-zstd-speed.py | 74 | except Exception: | CODE |
| LOW | …ird_party/zstd/src/tests/DEPRECATED-test-zstd-speed.py | 370 | except Exception as e: | CODE |
| MEDIUM | …ird_party/zstd/src/tests/DEPRECATED-test-zstd-speed.py | 71 | def does_command_exist(command): | CODE |
| LOW | src/third_party/jni_zero/jni_generator.py | 721 | except Exception as e: | CODE |
| LOW | src/third_party/jni_zero/parse.py | 717 | except Exception as e: | CODE |
| LOW | src/third_party/jni_zero/parse.py | 749 | except Exception as e: | CODE |
| MEDIUM | src/third_party/jni_zero/parse.py | 701 | def parse_java_file(filename, | CODE |
| MEDIUM | src/third_party/jni_zero/parse.py | 724 | def parse_javap_data(filename, contents, natives_only=False): | CODE |
| LOW | src/third_party/jni_zero/jni_registration_generator.py | 41 | except Exception as e: | CODE |
| MEDIUM | src/third_party/jni_zero/jni_registration_generator.py | 35 | def _ParseHelper(package_prefix, package_prefix_filter, path): | CODE |
| LOW | src/third_party/jni_zero/gen_register_natives.py | 110 | except Exception as e: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/tools/grit/grit/gather/policy_json_unittest.py | 47 | 'owners': ['foo@bar.com'], | CODE |
| LOW | …ols/grit/grit/format/policy_templates_json_unittest.py | 48 | 'owners': ['foo@bar.com'], | CODE |
| LOW | …ols/grit/grit/format/policy_templates_json_unittest.py | 169 | "owners": ["foo@bar.com"], | CODE |
| LOW | …_party/abseil-cpp/absl/functional/any_invocable_test.h | 147 | char dummy_data[absl::internal_any_invocable::kStorageSize + 1] = {}; | CODE |
| LOW | …hird_party/zlib/google/test/data/test/foo/bar/quux.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sem urna, semper ac, adipiscing sed, varius eget, quam. Fusc | CODE |
| LOW | …hird_party/zlib/google/test/data/test/foo/bar/quux.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sem urna, semper ac, adipiscing sed, varius eget, quam. Fusc | CODE |
| LOW | …hird_party/zlib/google/test/data/test/foo/bar/quux.txt | 13 | Nullam non lacus. Vivamus rhoncus dolor sit amet ipsum. Vivamus volutpat eleifend odio. Vestibulum nunc. In at magna a p | CODE |
| LOW⚡ | …hird_party/zlib/google/test/data/test/foo/bar/quux.txt | 37 | Etiam ut nibh nec neque elementum iaculis. Maecenas facilisis nulla at lorem. Pellentesque elit sapien, ultricies at, di | CODE |
| LOW⚡ | …hird_party/zlib/google/test/data/test/foo/bar/quux.txt | 37 | Etiam ut nibh nec neque elementum iaculis. Maecenas facilisis nulla at lorem. Pellentesque elit sapien, ultricies at, di | CODE |
| LOW⚡ | …hird_party/zlib/google/test/data/test/foo/bar/quux.txt | 39 | Morbi aliquam lectus sit amet nisi. Praesent urna purus, porttitor vitae, accumsan in, sollicitudin at, lorem. Donec dia | CODE |
| LOW⚡ | …hird_party/zlib/google/test/data/test/foo/bar/quux.txt | 39 | Morbi aliquam lectus sit amet nisi. Praesent urna purus, porttitor vitae, accumsan in, sollicitudin at, lorem. Donec dia | CODE |
| LOW | …y/llvm-libc/src/test/src/__support/CPP/string_test.cpp | 402 | string_view placeholder = "placeholder"; | CODE |
| LOW | …y/llvm-libc/src/test/src/__support/CPP/string_test.cpp | 406 | s.replace(6, placeholder.size(), insert); // Replace "placeholder" | CODE |
| LOW | src/third_party/zstd/src/tests/loremOut.h | 12 | * Generate @size bytes of compressible data using lorem ipsum generator into | COMMENT |
| LOW | src/third_party/zstd/src/tests/fullbench.c | 933 | * if @compressibility < 0.0, use Lorem Ipsum generator | COMMENT |
| LOW | src/third_party/zstd/src/tests/loremOut.c | 12 | * Generates a stream of Lorem ipsum paragraphs to stdout, | COMMENT |
| LOW | …std/src/contrib/seekable_format/tests/seekable_tests.c | 272 | { char const inBuffer[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididu | CODE |
| LOW | …std/src/contrib/seekable_format/tests/seekable_tests.c | 272 | { char const inBuffer[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididu | CODE |
| LOW | src/third_party/zstd/src/programs/lorem.h | 11 | /* lorem ipsum generator */ | COMMENT |
| LOW | src/third_party/zstd/src/programs/lorem.h | 17 | * Generate @size bytes of compressible data using lorem ipsum generator | COMMENT |
| LOW | src/third_party/zstd/src/programs/benchzstd.h | 128 | * if @compressibility < 0.0, uses the lorem ipsum generator | COMMENT |
| LOW | src/third_party/zstd/src/programs/README.md | 140 | If no file is provided, the benchmark will use a procedurally generated "lorem ipsum" content. | CODE |
| LOW | src/third_party/zstd/src/programs/zstd.1.md | 675 | When no `FILE` is provided, the benchmark will use a procedurally generated `lorem ipsum` text. | CODE |
| LOW | src/third_party/zstd/src/programs/benchzstd.c | 1004 | name = "Lorem ipsum"; | CODE |
| LOW⚡ | src/third_party/zstd/src/programs/lorem.c | 13 | * This is a very simple lorem ipsum generator | COMMENT |
| LOW⚡ | src/third_party/zstd/src/programs/lorem.c | 20 | * The resulting compression / ratio curve of the lorem ipsum generator | COMMENT |
| LOW⚡ | src/third_party/zstd/src/programs/lorem.c | 25 | * The compression ratio achievable on the generated lorem ipsum | COMMENT |
| LOW | src/third_party/zstd/src/programs/lorem.c | 240 | /* It's "common" for lorem ipsum generators to start with the same first | COMMENT |
| LOW | src/third_party/zstd/src/programs/zstdcli.c | 906 | double compressibility = -1.0; /* lorem ipsum generator */ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/net/ntlm/ntlm.h | 120 | // In this implementation the Proof Input is the first 28 bytes of what | COMMENT |
| HIGH | src/net/ntlm/ntlm.h | 199 | // In this implementation NTLMSSP_NEGOTIATE_KEY_EXCH never negotiated and | COMMENT |
| HIGH | src/net/ntlm/ntlm_client.h | 62 | // to uppercase is not clearly defined. In this implementation the default | COMMENT |
| HIGH | …arty/quiche/src/quiche/common/quiche_linked_hash_map.h | 255 | // erased. In this implementation, this will be 0 or 1. | COMMENT |
| HIGH | src/third_party/libunwind/src/src/Unwind-EHABI.cpp | 469 | // In this implementation, the phases don't share the VRS backing store. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/tools/metrics/common/presubmit_util.py | 124 | "Updated %s. Don't forget to add it to your changelist", xml_path | CODE |
| LOW | …ty/quiche/src/quiche/quic/core/quic_dispatcher_stats.h | 17 | // Don't forget to update the operator<< implementation when adding new fields. | COMMENT |
| MEDIUM | …ird_party/llvm-libc/src/test/src/stdio/sscanf_test.cpp | 510 | // If the max length were not here this would fail as discussed above, but | COMMENT |
| LOW | src/third_party/boringssl/src/crypto/md5/asm/md5-586.pl | 121 | # make sure to do 'D' first, not 'B', else we clash with | COMMENT |
| LOW | src/third_party/boringssl/src/crypto/md5/asm/md5-586.pl | 139 | # make sure to do 'D' first, not 'B', else we clash with | COMMENT |
| LOW | src/base/process/launch.h | 400 | // and don't forget to quote it. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c/tools/metrics/histograms/find_unmapped_histograms.py | 240 | CODE | |
| LOW | src/tools/grit/grit/grd_reader.py | 162 | CODE | |
| LOW | src/tools/grit/grit/util.py | 306 | CODE | |
| LOW | src/tools/grit/grit/util.py | 335 | CODE | |
| LOW | src/tools/grit/grit/gather/chrome_scaled_image.py | 156 | CODE | |
| LOW | src/tools/grit/grit/extern/tclib.py | 365 | CODE | |
| LOW | src/tools/grit/grit/extern/tclib.py | 509 | CODE | |
| LOW | src/third_party/libc++/src/utils/gdb/libcxx/printers.py | 146 | CODE | |
| LOW | src/third_party/libc++/src/utils/gdb/libcxx/printers.py | 586 | CODE | |
| LOW | src/third_party/libc++/src/utils/gdb/libcxx/printers.py | 590 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …hird_party/perfetto/src/android_stats/perfetto_atoms.h | 114 | // kCmd* guardrails. | COMMENT |
| MEDIUM | …hird_party/perfetto/src/android_stats/perfetto_atoms.h | 122 | // perfetto_cmd. Removed as perfetto no longer manages stateful guardrails | COMMENT |
| MEDIUM | …ibc++/src/utils/data/unicode/GraphemeBreakProperty.txt | 1200 | B77D..B797 ; LVT # Lo [27] HANGUL SYLLABLE RAG..HANGUL SYLLABLE RAH | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rty/libc++/src/include/experimental/__simd/simd_mask.h | 27 | // TODO: implement simd_mask class | COMMENT |
| LOW | …rd_party/libc++/src/include/experimental/__simd/simd.h | 43 | // TODO: implement simd class | COMMENT |
| LOW | …arty/llvm-libc/src/include/llvm-libc-types/__jmp_buf.h | 12 | // TODO: implement sigjmp_buf related functions for other architectures | COMMENT |
| LOW | …-libc/src/src/__support/FPUtil/ManipulationFunctions.h | 208 | // TODO: Add tests for exceptions. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/third_party/libc++/src/utils/libcxx/__init__.py | 16 | __all__ = [] | CODE |
| LOW | …rd_party/libc++/src/utils/libcxx/sym_check/__init__.py | 16 | __all__ = ["diff", "extract", "util"] | CODE |
| LOW | …c/third_party/llvm-libc/src/utils/libctest/__init__.py | 20 | __all__ = ["LibcTest"] | CODE |
| LOW | src/third_party/zstd/src/tests/cli-tests/run.py | 489 | def _setup_once(self) -> None: | CODE |
| LOW | src/third_party/zstd/src/tests/cli-tests/run.py | 505 | def _setup(self, test_basename: str) -> None: | CODE |
| LOW | …ssl/src/third_party/benchmark/tools/gbench/__init__.py | 8 | __all__ = [] # type: ignore | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …erfetto/gn/standalone/wasm_typescript_declaration.d.ts | 70 | print(s: string): void; | CODE |