Repository Analysis

google/clusterfuzz

Scalable fuzzing infrastructure.

63.1 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of google/clusterfuzz, a Python project with 5,584 GitHub stars. SynthScan v2.0 examined 251,987 lines of code across 1409 source files, recording 5755 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 63.1 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

63.1
Adjusted Score
63.1
Raw Score
100%
Time Factor
2026-08-01
Last Push
5.6K
Stars
Python
Language
252.0K
Lines of Code
1.4K
Files
5.8K
Pattern Hits
2026-08-02
Scan Date
1.07
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

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

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1422HIGH 86MEDIUM 95LOW 4152

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators1422 hits · 10988 pts
SeverityFileLineSnippetContext
CRITICAL…rnal/tests/core/build_management/source_mapper_test.py47 frame = 'at org.apache.lucene.util.ArrayUtil.growExact(ArrayUtil.java:400)'CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py671 self.mock.open.return_value.__enter__.return_value.unpack.assert_called_with(CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py688 self.mock.open.return_value.__enter__.return_value.unpack.assert_called_with(CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py724 self.mock.open.return_value.__enter__.return_value.unpack.assert_has_calls([CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py745 self.mock.open.return_value.__enter__.return_value.unpack.assert_has_calls([CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py819 self.mock.open_uri.return_value.__enter__.return_value.unpacked_size.assert_called_with(CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py1283 self.mock.open.return_value.unpack.assert_called_once_with(CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py1834 self.mock.open.return_value.__enter__.return_value.unpack.assert_called_with(CODE
CRITICAL…rnal/tests/core/build_management/build_manager_test.py1863 self.mock.open.return_value.__enter__.return_value.unpack.assert_called_with(CODE
CRITICAL…rfuzz/_internal/tests/core/bot/startup/run_bot_test.py242 self.mock.RemoteTaskGate.return_value.create_utask_main_jobs.assert_called_once(CODE
CRITICAL…rfuzz/_internal/tests/core/bot/startup/run_bot_test.py262 self.mock.RemoteTaskGate.return_value.create_utask_main_jobs.assert_called_once(CODE
CRITICAL…rfuzz/_internal/tests/core/bot/startup/run_bot_test.py284 self.mock.RemoteTaskGate.return_value.create_utask_main_jobs.assert_called_once(CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1395 at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:474)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1401 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1402 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1403 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1420 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1425 at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1426 at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:148)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1427 at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:75)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1433 at com.google.security.wycheproof.AesGcmTest.testLargeArrayAlias(AesGcmTest.java:469)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1446 at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:206)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1447 at com.google.security.wycheproof.CipherInputStreamTest.testCorruptAesGcm(CipherInputStreamTest.java:243)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1453 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1454 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1455 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1472 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1477 at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1478 at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:148)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1479 at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:75)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1483 at com.google.security.wycheproof.CipherInputStreamTest.testCorruptDecrypt(CipherInputStreamTest.java:206)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1484 at com.google.security.wycheproof.CipherInputStreamTest.testAesEax(CipherInputStreamTest.java:284)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1490 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1491 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1492 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1509 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1514 at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1515 at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:148)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1516 at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:75)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1520 at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:185)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1521 at com.google.security.wycheproof.CipherOutputStreamTest.testEmptyPlaintext(CipherOutputStreamTest.java:225)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1527 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1528 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1529 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1546 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1551 at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1552 at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:148)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1553 at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:75)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1557 at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:179)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1558 at com.google.security.wycheproof.CipherOutputStreamTest.testAesEax(CipherOutputStreamTest.java:249)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1564 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1565 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1566 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1583 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1588 at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1589 at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:148)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1590 at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:75)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1594 at com.google.security.wycheproof.CipherOutputStreamTest.testCorruptDecrypt(CipherOutputStreamTest.java:179)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1595 at com.google.security.wycheproof.CipherOutputStreamTest.testAesGcm(CipherOutputStreamTest.java:205)CODE
CRITICAL…lysis/stack_parsing/stack_analyzer_data/wycheproof.txt1601 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)CODE
1362 more matches not shown…
Hyper-Verbose Identifiers2203 hits · 2194 pts
SeverityFileLineSnippetContext
LOWbutler.py144def _add_py_unittest_subparser(toplevel_subparsers):CODE
LOWbutler.py198def _add_integration_tests_subparsers(toplevel_subparsers):CODE
LOWbutler.py204def _add_weights_fuzzer_subparser(weights_subparsers):CODE
LOWbutler.py258def _add_weights_batches_subparser(weights_subparsers):CODE
LOWbutler.py282def _add_weights_target_subparser(weights_subparsers):CODE
LOWbutler.py339def _add_schedule_tworker_fuzz_subparser(toplevel_subparsers):CODE
LOWcli/casp/README.md100 def test_my_command_no_verbose(self):CODE
LOWcli/casp/src/casp/tests/utils/gcloud_test.py184 def test_login_fail_then_custom_path(self, mock_is_valid, mock_confirm,CODE
LOWcli/casp/src/casp/tests/utils/gcloud_test.py204 def test_decline_login_then_custom_path(self, mock_is_valid, mock_confirm,CODE
LOWcli/casp/src/casp/tests/utils/local_butler_test.py32 def test_build_command_success_auto_find(self, mock_get_butler):CODE
LOWcli/casp/src/casp/tests/utils/local_butler_test.py42 def test_build_command_success_explicit_path(self):CODE
LOWcli/casp/src/casp/tests/utils/local_butler_test.py53 def test_build_command_flags_and_args(self, mock_get_butler):CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py57 def test_docker_permission_denied(self, mock_echo, mock_secho, mock_from_env):CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py149 def test_pull_image_docker_setup_fails(self, mock_echo, mock_secho,CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py162 def test_pull_image_not_found(self, mock_echo, mock_secho,CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py233 def test_run_command_privileged(self, mock_check_docker_setup,CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py268 def test_run_command_docker_setup_fails(CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py285 def test_run_command_pull_image_fails(self, mock_check_docker_setup,CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py305 def test_run_command_container_error_status(CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py340 def test_run_command_container_error_exception_with_stderr(CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py363 def test_run_command_container_error_exception_no_stderr(CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py385 def test_run_command_image_not_found(CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py411 def test_run_command_api_error(self, mock_secho, mock_check_docker_setup,CODE
LOWcli/casp/src/casp/tests/utils/docker_test.py435 def test_run_command_remove_container_fails(CODE
LOWcli/casp/src/casp/tests/utils/config_test.py50 def test_save_config_creates_dir_and_file(self):CODE
LOWcli/casp/src/casp/tests/utils/config_test.py63 def test_load_config_file_not_exists(self):CODE
LOWcli/casp/src/casp/tests/utils/config_test.py70 def test_save_and_load_config(self):CODE
LOWcli/casp/src/casp/tests/utils/config_test.py80 def test_load_config_empty_file(self):CODE
LOWcli/casp/src/casp/tests/utils/config_test.py89 def test_load_config_malformed_json(self):CODE
LOWcli/casp/src/casp/tests/utils/config_test.py99 def test_overwrite_existing_config(self):CODE
LOWcli/casp/src/casp/tests/commands/lint_test.py39 def test_lint_success_no_args(self):CODE
LOWcli/casp/src/casp/tests/commands/lint_test.py47 def test_lint_success_with_path_arg(self):CODE
LOWcli/casp/src/casp/tests/commands/lint_test.py58 def test_lint_success_with_path_option(self):CODE
LOWcli/casp/src/casp/tests/commands/lint_test.py69 def test_lint_success_with_type_check(self):CODE
LOWcli/casp/src/casp/tests/commands/lint_test.py78 def test_lint_success_with_path_and_type_check(self):CODE
LOWcli/casp/src/casp/tests/commands/lint_test.py98 def test_subprocess_run_fails(self):CODE
LOWcli/casp/src/casp/tests/commands/reproduce_test.py68 def test_reproduce_success_with_custom_config(self):CODE
LOWcli/casp/src/casp/tests/commands/reproduce_test.py107 def test_reproduce_no_gcloud_credentials(self):CODE
LOWcli/casp/src/casp/tests/commands/reproduce_test.py116 def test_reproduce_docker_command_fails(self):CODE
LOWcli/casp/src/casp/tests/commands/reproduce_test.py132 def test_reproduce_with_project_option(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py53 def test_init_success_all_steps(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py70 def test_init_docker_setup_fails(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py80 def test_init_gcloud_auth_fails(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py91 def test_init_docker_pull_fails(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py101 def test_init_with_existing_config(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py115 def test_init_custom_config_path_success(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py133 def test_init_custom_config_path_not_exists(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py151 def test_init_custom_config_path_empty(self):CODE
LOWcli/casp/src/casp/tests/commands/init_test.py163 def test_init_custom_config_path_empty_clears_existing(self):CODE
LOWcli/casp/src/casp/tests/commands/format_test.py39 def test_format_success_no_dir(self):CODE
LOWcli/casp/src/casp/tests/commands/format_test.py47 def test_format_success_with_path_option(self):CODE
LOWcli/casp/src/casp/tests/commands/format_test.py58 def test_format_success_with_path(self):CODE
LOWcli/casp/src/casp/tests/commands/format_test.py77 def test_subprocess_run_fails(self):CODE
LOWcli/casp/src/casp/tests/commands/package_test.py38 def test_package_success_defaults(self):CODE
LOWcli/casp/src/casp/tests/commands/package_test.py47 def test_package_success_with_args(self):CODE
LOWcli/casp/src/casp/tests/commands/package_test.py64 def test_subprocess_run_fails(self):CODE
LOWcli/casp/src/casp/tests/commands/run_test.py38 def test_run_local_success_basic(self):CODE
LOWcli/casp/src/casp/tests/commands/run_test.py58 def test_run_local_success_all_options(self):CODE
LOWcli/casp/src/casp/tests/commands/run_test.py112 def test_run_container_success(self):CODE
LOWcli/casp/src/casp/tests/commands/bootstrap_test.py55 def test_subprocess_run_fails(self):CODE
2143 more matches not shown…
Over-Commented Block1404 hits · 1388 pts
SeverityFileLineSnippetContext
LOWcloudbuild.yaml1# Copyright 2019 Google LLCCOMMENT
LOWbutler.py1# Copyright 2019 Google LLCCOMMENT
LOWinfra/terraform/main.tf1# Copyright 2023 Google LLCCOMMENT
LOWinfra/terraform/variables.tf1# Copyright 2023 Google LLCCOMMENT
LOWinfra/terraform/monitoring.tf1# Copyright 2024 Google LLCCOMMENT
LOWdocker/build-immutable.sh1#!/bin/bash -exCOMMENT
LOWdocker/cloudbuild.yaml1# Copyright 2025 Google LLCCOMMENT
LOWdocker/build.sh1#!/bin/bash -exCOMMENT
LOWdocker/build_on_container_builder.sh1#!/bin/bashCOMMENT
LOWdocker/immutable-cloudbuild.yaml1# Copyright 2025 Google LLCCOMMENT
LOWdocker/fuchsia/start.sh1#!/bin/bash -exCOMMENT
LOWdocker/chromium/builder/setup_depot_tools.sh1#!/bin/bashCOMMENT
LOWdocker/chromium/builder/setup_gerrit.sh1#!/bin/bashCOMMENT
LOWdocker/chromium/builder/start.sh1#!/bin/bash -exCOMMENT
LOWdocker/chromium/tests-syncer/setup_depot_tools.sh1#!/bin/bashCOMMENT
LOWdocker/chromium/tests-syncer/setup_gerrit.sh1#!/bin/bashCOMMENT
LOWdocker/chromium/tests-syncer/start.sh1#!/bin/bash -exCOMMENT
LOWdocker/chromium/base/setup.sh1#!/bin/bash -exCOMMENT
LOWdocker/chromium/base/setup_x.sh1#!/bin/bash -exCOMMENT
LOWdocker/chromium/base/start.sh1#!/bin/bash -exCOMMENT
LOWdocker/base/setup_clusterfuzz.sh1#!/bin/bash -exCOMMENT
LOWdocker/base/setup_mock_metadata.sh1#!/bin/bash -exCOMMENT
LOWdocker/base/start_clusterfuzz.sh1#!/bin/bash -exCOMMENT
LOWdocker/base/start.sh1#!/bin/bash -exCOMMENT
LOWdocker/base/setup_common.sh1#!/bin/bash -exCOMMENT
LOWdocker/oss-fuzz/base/start.sh1#!/bin/bash -exCOMMENT
LOWdeploy/cloudbuild.yaml1# Copyright 2025 Google LLCCOMMENT
LOW…rces/platform/android/third_party/asan_device_setup.sh1#!/bin/bashCOMMENT
LOWdocs/_config.yml1# Welcome to Jekyll!COMMENT
LOWdocs/setting-up-fuzzing/build_afl.bash1#! /bin/bashCOMMENT
LOWcli/casp/src/casp/__init__.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/main.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/__init__.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/utils/gcloud_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/utils/__init__.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/utils/local_butler_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/utils/docker_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/utils/config_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/lint_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/__init__.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/reproduce_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/init_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/format_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/package_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/run_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/tests/commands/bootstrap_test.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/utils/docker_utils.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/utils/config.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/utils/gcloud.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/utils/container.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/utils/local_butler.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/utils/path_utils.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/package.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/bootstrap.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/run.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/run_bot.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/version.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/deploy.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/reproduce.py1# Copyright 2025 Google LLCCOMMENT
LOWcli/casp/src/casp/commands/remote.py1# Copyright 2025 Google LLCCOMMENT
1344 more matches not shown…
Cross-File Repetition49 hits · 245 pts
SeverityFileLineSnippetContext
HIGH…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHsrc/clusterfuzz/_internal/protos/heartbeat_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…clusterfuzz/_internal/protos/process_state_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHsrc/clusterfuzz/_internal/protos/swarming_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…c/clusterfuzz/_internal/protos/uworker_msg_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGH…internal/tests/core/build_management/revisions_test.py0helper function to read the contents of a data file.STRING
HIGH…internal/tests/appengine/handlers/fuzzer_stats_test.py0helper function to read the contents of a data file.STRING
HIGH…al/tests/appengine/handlers/cron/project_setup_test.py0helper function to read the contents of a data file.STRING
HIGH…ernal/tests/core/bot/tasks/utasks/analyze_task_test.py0checks that an output with an error is handled properly.STRING
HIGH…l/tests/core/bot/tasks/utasks/progression_task_test.py0checks that an output with an error is handled properly.STRING
HIGH…nal/tests/core/bot/tasks/utasks/symbolize_task_test.py0checks that an output with an error is handled properly.STRING
HIGH…ernal/tests/core/bot/tasks/utasks/analyze_task_test.py0tests utask_postprocess behaviour when there is a crash on latest revision.STRING
HIGH…l/tests/core/bot/tasks/utasks/progression_task_test.py0tests utask_postprocess behaviour when there is a crash on latest revision.STRING
HIGH…nal/tests/core/bot/tasks/utasks/symbolize_task_test.py0tests utask_postprocess behaviour when there is a crash on latest revision.STRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py0return the maximum additional timeout in seconds for additional operations in fuzz() (e.g. merging back new items). argsSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py0return the maximum additional timeout in seconds for additional operations in fuzz() (e.g. merging back new items). argsSTRING
HIGHsrc/clusterfuzz/fuzz/engine.py0return the maximum additional timeout in seconds for additional operations in fuzz() (e.g. merging back new items). argsSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py0prepares for a fuzzing session, by generating options. args: corpus_dir: the main corpus directory. target_path: path toSTRING
HIGHsrc/clusterfuzz/_internal/bot/fuzzers/afl/engine.py0prepares for a fuzzing session, by generating options. args: corpus_dir: the main corpus directory. target_path: path toSTRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py0prepares for a fuzzing session, by generating options. args: corpus_dir: the main corpus directory. target_path: path toSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py0prepares for a fuzzing session, by generating options. args: corpus_dir: the main corpus directory. target_path: path toSTRING
HIGHsrc/clusterfuzz/fuzz/engine.py0prepares for a fuzzing session, by generating options. args: corpus_dir: the main corpus directory. target_path: path toSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py0prepares for a fuzzing session, by generating options. args: corpus_dir: the main corpus directory. target_path: path toSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py0runs a fuzz session. args: target_path: path to the target. options: the fuzzoptions object returned by prepare(). reproSTRING
HIGHsrc/clusterfuzz/_internal/bot/fuzzers/afl/engine.py0runs a fuzz session. args: target_path: path to the target. options: the fuzzoptions object returned by prepare(). reproSTRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py0runs a fuzz session. args: target_path: path to the target. options: the fuzzoptions object returned by prepare(). reproSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py0runs a fuzz session. args: target_path: path to the target. options: the fuzzoptions object returned by prepare(). reproSTRING
HIGHsrc/clusterfuzz/fuzz/engine.py0runs a fuzz session. args: target_path: path to the target. options: the fuzzoptions object returned by prepare(). reproSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py0runs a fuzz session. args: target_path: path to the target. options: the fuzzoptions object returned by prepare(). reproSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py0optional (but recommended): run corpus minimization. args: target_path: path to the target. arguments: additional argumeSTRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py0optional (but recommended): run corpus minimization. args: target_path: path to the target. arguments: additional argumeSTRING
HIGHsrc/clusterfuzz/fuzz/engine.py0optional (but recommended): run corpus minimization. args: target_path: path to the target. arguments: additional argumeSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py0minimizes a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase minimizSTRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py0minimizes a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase minimizSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py0minimizes a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase minimizSTRING
HIGHsrc/clusterfuzz/fuzz/engine.py0minimizes a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase minimizSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py0minimizes a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase minimizSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py0cleanses a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase cleanse.STRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py0cleanses a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase cleanse.STRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py0cleanses a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase cleanse.STRING
HIGHsrc/clusterfuzz/fuzz/engine.py0cleanses a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase cleanse.STRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py0cleanses a testcase. args: target_path: path to the target. arguments: additional arguments needed for testcase cleanse.STRING
HIGHsrc/clusterfuzz/_internal/bot/fuzzers/afl/engine.py0reproduces a crash given an input. args: target_path: path to the target. input_path: path to the reproducer input. arguSTRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py0reproduces a crash given an input. args: target_path: path to the target. input_path: path to the reproducer input. arguSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py0reproduces a crash given an input. args: target_path: path to the target. input_path: path to the reproducer input. arguSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py0reproduces a crash given an input. args: target_path: path to the target. input_path: path to the reproducer input. arguSTRING
HIGHsrc/clusterfuzz/_internal/bot/fuzzers/afl/engine.py0runs corpus minimization. args: target_path: path to the target. arguments: additional arguments needed for corpus minimSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py0runs corpus minimization. args: target_path: path to the target. arguments: additional arguments needed for corpus minimSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py0runs corpus minimization. args: target_path: path to the target. arguments: additional arguments needed for corpus minimSTRING
Excessive Try-Catch Wrapping156 hits · 161 pts
SeverityFileLineSnippetContext
LOWsrc/python/bot/startup/run.py72 except Exception:CODE
LOWsrc/python/bot/startup/run.py107 except Exception:CODE
LOWsrc/python/bot/startup/run.py128 except Exception:CODE
LOWsrc/python/bot/startup/run.py150 except Exception:CODE
LOWsrc/python/bot/startup/run.py168 except Exception as e:CODE
LOWsrc/python/bot/startup/run.py186 except Exception:CODE
LOWsrc/python/bot/startup/run.py211 except Exception:CODE
LOWsrc/python/bot/startup/run_bot.py237 except Exception:CODE
LOWsrc/python/bot/startup/run_bot.py299 except Exception as ex:CODE
LOWsrc/python/bot/startup/run_bot.py379 except Exception:CODE
LOWsrc/python/bot/startup/run_cron.py69 except Exception as e:CODE
LOWsrc/python/bot/startup/heartbeat.py71 except Exception:CODE
LOWsrc/python/bot/startup/heartbeat.py85 except Exception:CODE
LOWsrc/python/bot/startup/heartbeat.py113 except Exception:CODE
LOWsrc/python/bot/startup/run_heartbeat.py69 except Exception:CODE
LOWsrc/appengine/libs/gcs.py58 except Exception as e:CODE
LOWsrc/appengine/libs/helpers.py138 except Exception:CODE
LOWsrc/appengine/libs/helpers.py152 except Exception:CODE
LOWsrc/appengine/handlers/viewer.py60 except Exception:CODE
LOWsrc/appengine/handlers/fuzzer_stats.py521 except Exception as e:CODE
LOWsrc/appengine/handlers/fuzzer_stats.py531 except Exception as e:CODE
LOWsrc/appengine/handlers/upload_testcase.py444 except Exception as e:CODE
LOWsrc/appengine/handlers/upload_testcase.py459 except Exception as e:CODE
LOWsrc/appengine/handlers/upload_testcase.py793 except Exception as e:CODE
LOWsrc/appengine/handlers/base_handler.py254 except Exception:CODE
LOWsrc/appengine/handlers/base_handler.py279 except Exception as exception:CODE
LOWsrc/local/butler/deploy.py451 except Exception as ex:CODE
LOWsrc/local/butler/reproduce.py84 except Exception as e:CODE
LOWsrc/local/butler/integration_tests.py56 except Exception:CODE
MEDIUMsrc/local/butler/integration_tests.py57 print('Error occurred:')CODE
LOWsrc/local/butler/run_server.py99 except Exception:CODE
LOWsrc/local/butler/lint.py159 except Exception as e:CODE
LOWsrc/local/butler/scripts/grouper_experiment.py722 except Exception as e:CODE
LOWsrc/local/butler/scripts/grouper_experiment.py732 except Exception as e:CODE
LOWsrc/local/butler/scripts/migrate_blobs.py52 except Exception:CODE
LOWsrc/local/butler/scripts/build_attributes.py87 except Exception:CODE
LOWsrc/local/butler/scripts/build_attributes.py91 except Exception:CODE
MEDIUMsrc/local/butler/scripts/build_attributes.py92 print('Error: %s %s' % (testcase.key.id(), sys.exc_info()))CODE
LOW…scripts/migration/monorail_to_issuetracker_migrator.py103 except Exception as e:CODE
LOW…scripts/migration/monorail_to_issuetracker_migrator.py111 except Exception as ie:CODE
LOW…terfuzz/_internal/google_cloud_utils/compute_engine.py66 except Exception:CODE
LOW…terfuzz/_internal/google_cloud_utils/compute_engine.py97 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/gsutil.py183 except Exception:CODE
MEDIUMsrc/clusterfuzz/_internal/google_cloud_utils/storage.py777def from_key(key):CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/storage.py1337 except Exception:CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/storage.py1347 except Exception:CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/storage.py1360 except Exception:CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/storage.py780 except Exception:CODE
LOW…rfuzz/_internal/google_cloud_utils/compute_metadata.py51 except Exception:CODE
LOWsrc/clusterfuzz/_internal/metrics/monitor.py88 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/metrics/monitor.py129 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py216 except Exception as ex:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py643 except Exception:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py824 except Exception:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py1085 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py1109 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py1146 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py1166 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py1195 except Exception as e:CODE
LOWsrc/clusterfuzz/_internal/metrics/profiler.py38 except Exception:CODE
96 more matches not shown…
Self-Referential Comments44 hits · 138 pts
SeverityFileLineSnippetContext
MEDIUM…rces/platform/android/third_party/asan_device_setup.sh6# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMcli/casp/src/casp/tests/utils/config_test.py84 f.write('') # Create an empty fileCODE
MEDIUMsrc/appengine/handlers/upload_testcase.py539 # Create a job to unpack an archive.COMMENT
MEDIUMsrc/appengine/handlers/upload_testcase.py568 # Create a testcase metadata object to show the user their upload.COMMENT
MEDIUMsrc/local/butler/create_config.py242 # Create the bucket if it does not exist.COMMENT
MEDIUM…sterfuzz/_internal/google_cloud_utils/google_groups.py177 # Create a membership object with a role type MEMBERCOMMENT
MEDIUM…sterfuzz/_internal/google_cloud_utils/google_groups.py186 # Create a membership using the group ID and the membership objectCOMMENT
MEDIUMsrc/clusterfuzz/_internal/platforms/android/device.py179 # Create a list of property name and names to be used in local.prop file.COMMENT
MEDIUMsrc/clusterfuzz/_internal/fuzzing/leak_blacklist.py117 # Create the directory if it does not exists, since we need to write to it.COMMENT
MEDIUM…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py387 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/clusterfuzz/_internal/protos/heartbeat_pb2_grpc.py64 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUM…lusterfuzz/_internal/build_management/build_manager.py219 # Create the root build directory for this job.COMMENT
MEDIUMsrc/clusterfuzz/_internal/k8s/service.py148 # Define the context with all the dynamic values.COMMENT
MEDIUM…zz/_internal/tests/core/datastore/feature_flag_test.py28 # Create a boolean feature flag.COMMENT
MEDIUM…zz/_internal/tests/core/datastore/feature_flag_test.py34 # Create a float feature flag.COMMENT
MEDIUM…lusterfuzz/_internal/tests/core/system/archive_test.py69 # Create a temporary TAR archive file on disk.COMMENT
MEDIUM…lusterfuzz/_internal/tests/core/system/archive_test.py73 # Create a malicious archive with an absolute path payload.COMMENT
MEDIUM…lusterfuzz/_internal/tests/core/system/archive_test.py76 # Creating a TarInfo object with an absolute path.COMMENT
MEDIUM…nternal/tests/core/bot/tasks/utasks/uworker_io_test.py129 # Create a mocked version of write_data so that when we upload the uworkerCOMMENT
MEDIUM…nternal/tests/core/bot/tasks/utasks/uworker_io_test.py146 # Create a mocked version of download_signed_url that will read the dataCOMMENT
MEDIUM…nternal/tests/core/bot/tasks/utasks/uworker_io_test.py195 # Create a version of upload_signed_url that will "upload" the data to aCOMMENT
MEDIUM…internal/tests/core/bot/tasks/utasks/fuzz_task_test.py1267 # Create the correct version file to make the fuzzer appear up-to-date on diskCOMMENT
MEDIUM…/untrusted_runner/untrusted_runner_integration_test.py522 # This file is as good as any.COMMENT
MEDIUM…_internal/tests/core/bot/fuzzers/engine_common_test.py584 # Create an arbitrary file with a hash name that is different from thisCOMMENT
MEDIUM…ternal/tests/core/bot/fuzzers/afl/afl_launcher_test.py772 # Create an arbitrary number of features.COMMENT
MEDIUM…/core/bot/fuzzers/afl/afl_launcher_integration_test.py82 # Create the queue directory within AFL's output directory.COMMENT
MEDIUM…z/_internal/tests/core/remote_task/remote_task_test.py122 # Create a new gate instance to trigger __init__ again.COMMENT
MEDIUM…uzz/_internal/tests/appengine/handlers/fuzzers_test.py199 # Create a Linux job.COMMENT
MEDIUM…uzz/_internal/tests/appengine/handlers/fuzzers_test.py231 # Create a Windows job.COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py781 # Create the testcase.COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1499 # Create the job to analyze the testcase.COMMENT
MEDIUMsrc/clusterfuzz/_internal/system/archive.py435 """This class is a very simple file-like object representation of a zip fileSTRING
MEDIUMsrc/clusterfuzz/_internal/bot/testcase_manager.py1097 # Create a file in user profile directory based on format:COMMENT
MEDIUMsrc/clusterfuzz/_internal/bot/testcase_manager.py1173 # Create a blank command line with no file to run and no http.COMMENT
MEDIUMsrc/clusterfuzz/_internal/bot/testcase_manager.py1204 # Initialize helper variables.COMMENT
MEDIUMsrc/clusterfuzz/_internal/bot/tasks/setup.py888 # Create the archive.COMMENT
MEDIUMsrc/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py1790 # Create a dict to store metadata specific to each testcase.COMMENT
MEDIUM…clusterfuzz/_internal/bot/tasks/utasks/analyze_task.py408 # Initialize some variables.COMMENT
MEDIUMsrc/clusterfuzz/_internal/bot/tasks/utasks/__init__.py35# Define an alias to appease pylint.COMMENT
MEDIUM…c/clusterfuzz/_internal/bot/tasks/utasks/uworker_io.py35# Define an alias to appease pylint.COMMENT
MEDIUM…ernal/crash_analysis/stack_parsing/stack_symbolizer.py19# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMsrc/clusterfuzz/_internal/cron/project_setup.py385 # Create a new one in those cases.COMMENT
MEDIUMsrc/clusterfuzz/_internal/cron/oss_fuzz_cc_groups.py78 # Create the group and bail out since the CIG API might delay to create aCOMMENT
MEDIUMsrc/clusterfuzz/_internal/cron/grouper.py69 # This method is useful so that an object calling it gets a similar resultCOMMENT
Docstring Block Structure26 hits · 130 pts
SeverityFileLineSnippetContext
HIGHcli/casp/src/casp/utils/local_butler.py24Builds a butler command for local execution. Args: subcommand: The butler subcommand to execute (e.g., 'format').STRING
HIGH…zz/_internal/platforms/android/android_build_v4_api.py54Validates credentials and constructs an authenticated client instance. Args: credentials: Service account creSTRING
HIGH…lusterfuzz/_internal/build_management/build_manager.py486Gets a handle on a build archive for the current build. Depending on the provided parameters, this function might doSTRING
HIGH…lusterfuzz/_internal/build_management/build_archive.py472Open the archive and gets the appropriate build archive based on the provided archive information. Args: readSTRING
HIGH…lusterfuzz/_internal/build_management/build_archive.py500Opens the archive and gets the appropriate build archive based on the `archive_path`. The resulting object is usable aSTRING
HIGHsrc/clusterfuzz/_internal/system/archive.py390Opens the archive and gets the appropriate archive reader based on the `archive_path`. If `file_obj` is not none, the STRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py380Reproduce a crash given an input. Args: target_path: Path to the target. input_path: Path to the reprodSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py497Optional (but recommended): run corpus minimization. Args: target_path: Path to the target. arguments: STRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py552Optional (but recommended): Minimize a testcase. Args: target_path: Path to the target. arguments: AddiSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py586Optional (but recommended): Cleanse a testcase. Args: target_path: Path to the target. arguments: AdditSTRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py120Optional (but recommended): run corpus minimization. Args: target_path: Path to the target. arguments: STRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py142Optional (but recommended): Minimize a testcase. Args: target_path: Path to the target. arguments: AddiSTRING
HIGH…terfuzz/_internal/bot/fuzzers/googlefuzztest/engine.py160Optional (but recommended): Cleanse a testcase. Args: target_path: Path to the target. arguments: AdditSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py635Minimizes a testcase. Args: target_path: Path to the target. arguments: Additional arguments needed for STRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py676Cleanses a testcase. Args: target_path: Path to the target. arguments: Additional arguments needed for tSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py277Optional (but recommended): Minimize a testcase. Args: target_path: Path to the target. arguments: AdditSTRING
HIGH…/clusterfuzz/_internal/bot/fuzzers/honggfuzz/engine.py292Optional (but recommended): Cleanse a testcase. Args: target_path: Path to the target. arguments: AdditiSTRING
HIGHsrc/clusterfuzz/_internal/base/utils.py125Launches an HTTP GET request with retries. Args: url: Target URL for the GET request. params: Optional STRING
HIGHsrc/clusterfuzz/_internal/base/utils.py166Post the provided data and headers to the provided url. The request is retried `URL_REQUEST_RETRIES` times. To avoidSTRING
HIGHsrc/clusterfuzz/_internal/swarming/api.py102Makes a pRPC request to the Swarming API. Args: endpoint: The pRPC endpoint (e.g. "swarming.v2.Tasks/NewTask"STRING
HIGHsrc/clusterfuzz/_internal/swarming/api.py141Schedules a task on swarming. Args: task_request: The NewTaskRequest proto message. Returns: STRING
HIGHsrc/clusterfuzz/_internal/swarming/api.py176Counts tasks on swarming. Args: count_request: The TasksCountRequest proto message. Returns: STRING
HIGHsrc/clusterfuzz/fuzz/engine.py127Reproduce a crash given an input. Args: target_path: Path to the target. input_path: Path to the reprodSTRING
HIGHsrc/clusterfuzz/fuzz/engine.py145Optional (but recommended): run corpus minimization. Args: target_path: Path to the target. arguments: STRING
HIGHsrc/clusterfuzz/fuzz/engine.py167Optional (but recommended): Minimize a testcase. Args: target_path: Path to the target. arguments: AddiSTRING
HIGHsrc/clusterfuzz/fuzz/engine.py185Optional (but recommended): Cleanse a testcase. Args: target_path: Path to the target. arguments: AdditSTRING
Redundant / Tautological Comments68 hits · 107 pts
SeverityFileLineSnippetContext
LOWdeploy/cloudbuild.yaml73 # Check if the _PROJECT substitution was provided.COMMENT
LOWdeploy/cloudbuild.yaml114 # Check if the metadata value has been updatedCOMMENT
LOWlocal/install_deps_linux.bash54# Check if the distro is supported.COMMENT
LOWlocal/install_deps_linux.bash71# Check if the architecture is supported.COMMENT
LOWsrc/appengine/handlers/upload_testcase.py243 # Check if this is an external user with access to certain fuzzers/jobs.COMMENT
LOWsrc/local/butler/scripts/upload_fuzzer.py108 # Check if the fuzzer already exists to determine whether to edit or create.COMMENT
LOWsrc/clusterfuzz/_internal/metrics/events.py508 # Check if testcase has an associated issue.COMMENT
LOWsrc/clusterfuzz/_internal/metrics/logs.py206 # Check if it's a NamedTupleCOMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/wifi.py63 # Check if wifi needs to be enabled. If not, then no need to modify theCOMMENT
LOW…fuzz/_internal/platforms/android/symbols_downloader.py61 # Check if we already have the symbols locally.COMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/util.py53 # Check if device is deprecatedCOMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/util.py57 # Check if branch is deprecatedCOMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/flash.py68 # Check if our local build matches the latest build. If not, we willCOMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/flash.py125 # Check if a flash is needed based on last recorded flash time.COMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/flash.py147 # Check if both |BUILD_BRANCH| and |BUILD_TARGET| environment variablesCOMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/adb.py668 # Check if we are already running as root. If yes bail out.COMMENT
LOWsrc/clusterfuzz/_internal/platforms/android/adb.py904 # Write file with desired contents.COMMENT
LOWsrc/clusterfuzz/_internal/datastore/data_handler.py1158 # Check if the heartbeat was recently updated. If yes, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/system/process_handler.py237 # Check if we need to bail out on process exit.COMMENT
LOWsrc/clusterfuzz/_internal/system/process_handler.py265 # Check if a reboot has happened, if yes, append log output before rebootCOMMENT
LOWsrc/clusterfuzz/_internal/system/environment.py207 # Check if UBSAN is enabled as well for this ASAN build.COMMENT
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py1002 # Check if the file to run is in fuzzed testcases folder. If yes, then weCOMMENT
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py1016 # Check if the testcase needs to be loaded over http.COMMENT
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py1212 # Check if the build is bad.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/trials.py109 # Check if the flag is contradicted by an already added flagCOMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/trials.py112 # Check if the flag contradicts an already added flagCOMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/setup.py453 # Check if data bundle is up to date. If yes, skip the update.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/setup.py761 # Check if we recently synced.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/update_task.py303 # Check if we have a valid tests url.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/commands.py380 # Check if the device or branch is deprecated.COMMENT
LOW…lusterfuzz/_internal/bot/tasks/utasks/minimize_task.py429 # Check if we have an application path. If not, our build failedCOMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py580 # Check if the corpus was recently synced. If yes, set a flag so that weCOMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py1965 # Check if we have an application path. If not, our build failedCOMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py1971 # Check if we have a bad build, i.e. one that crashes on startup.COMMENT
LOW…clusterfuzz/_internal/bot/tasks/utasks/analyze_task.py162 # Check if we have an application path. If not, our build failedCOMMENT
LOW…sterfuzz/_internal/bot/tasks/utasks/fuzz_task_knobs.py114 # Check if UBSan is enabled in this ASan build. If not, can't disable it.COMMENT
LOW…clusterfuzz/_internal/bot/tasks/utasks/variant_task.py123 # Check if we have an application path. If not, our build failed to setupCOMMENT
LOW…sterfuzz/_internal/bot/tasks/utasks/regression_task.py566 # Check if we made progress at all. If this task already resumed a previousCOMMENT
LOW…lusterfuzz/_internal/bot/untrusted_runner/untrusted.py72 # Check if there is a in-progress RPC.COMMENT
LOWsrc/clusterfuzz/_internal/bot/init_scripts/android.py35 # Check if we need to reflash device to latest build.COMMENT
LOWsrc/clusterfuzz/_internal/bot/fuzzers/engine_common.py192 # Check if we exceeded our timeout. If yes, do no more mutations and break.COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/libFuzzer/engine.py316 # Check if we crashed, and get the crash testcase path.COMMENT
LOWsrc/clusterfuzz/_internal/bot/fuzzers/afl/launcher.py516 # Set paths to afl tools.COMMENT
LOWsrc/clusterfuzz/_internal/bot/fuzzers/afl/launcher.py526 # Set this to None so we can tell if it has never been set or if it's justCOMMENT
LOW…clusterfuzz/_internal/crash_analysis/crash_analyzer.py243 # Check if we have a complete stacktrace by location stacktrace end marker.COMMENT
LOW…clusterfuzz/_internal/crash_analysis/crash_analyzer.py248 # Check if have a UBSan error.COMMENT
LOW…clusterfuzz/_internal/crash_analysis/crash_analyzer.py252 # Check if have a stacktrace start marker.COMMENT
LOW…_internal/crash_analysis/stack_parsing/stack_parser.py281 # Set base to use for address translation.COMMENT
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py184 # Check if we don't have any symbols at all. If yes, this is probablyCOMMENT
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py270 # Set LD_LIBRARY_PATH to use the right libstdc++.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py734 # Check if testcase is open. If yes, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py738 # Check if there is an associated bug in open state. If yes, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py621 # Check if there are any reproducible open testcases are associated withCOMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py790 # Check if the testcase job name is in the list of jobs.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py834 # Check if there is ignore label on issue already. If yes, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py838 # Check if we did add the notification comment already. If yes, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py896 # Check if we added this message once. If yes, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py993 # Check if this is a user upload. If not, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/cron/cleanup.py1009 # Check if the notification is already sent once. If yes, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/cron/triage.py89 # Check if the testcase is already associated with a bug.COMMENT
8 more matches not shown…
Decorative Section Separators30 hits · 99 pts
SeverityFileLineSnippetContext
MEDIUM…s_default_1d783bc2a3629b94c963debfa3feaee27092dd92.txt11# -----------------------------------------------------------------------------COMMENT
MEDIUM…s_default_1d783bc2a3629b94c963debfa3feaee27092dd92.txt13# -----------------------------------------------------------------------------COMMENT
MEDIUM…core/build_management/revisions_data/chromium_deps.txt11# -----------------------------------------------------------------------------COMMENT
MEDIUM…core/build_management/revisions_data/chromium_deps.txt13# -----------------------------------------------------------------------------COMMENT
MEDIUM…s_default_2eca06e8a84ae4db820e2dcb6bd91fe8b7b71b83.txt11# -----------------------------------------------------------------------------COMMENT
MEDIUM…s_default_2eca06e8a84ae4db820e2dcb6bd91fe8b7b71b83.txt13# -----------------------------------------------------------------------------COMMENT
MEDIUM…dictionary_manager_data/example_correct_dictionary.txt3# ------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1147# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1149# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1210# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1212# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1358# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1360# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1634# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1636# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1713# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1715# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py100# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py102# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py973# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py975# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1020# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1090# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1092# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1337# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1339# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1552# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1554# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1738# ------------------------------------------------------------------------------COMMENT
MEDIUMsrc/clusterfuzz/_internal/datastore/data_handler.py1740# ------------------------------------------------------------------------------COMMENT
Fake / Example Data82 hits · 98 pts
SeverityFileLineSnippetContext
LOW…rfuzz/_internal/tests/core/k8s/k8s_integration_test.py49 mock_creds.token = 'fake-token'CODE
LOW…internal/tests/core/bot/tasks/utasks/fuzz_task_test.py1263 blobstore_key='fake_key',CODE
LOW…ternal/tests/core/bot/fuzzers/afl/afl_launcher_test.py234 DUMMY_OPTION = 'dummy_option=dummy_value'CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py34 email='user@example.com',CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py81 email='user@example.com',CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py192 self.assertEqual(result, ['user2@example.com', 'user@example.com'])CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py261 'user@example.com', 'parent_child2', include_from_jobs=False))CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py265 'user@example.com', 'parent_child3', include_from_jobs=True))CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py269 'user@example.com', 'parent', include_from_jobs=True))CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py273 'user@example.com', 'fuzzer', include_from_jobs=True))CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py290 external_users.is_job_allowed_for_user('user@example.com', 'job2'))CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py297 external_users.is_upload_allowed_for_user('user@example.com'))CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py302 self.assertEqual(result, ['user@example.com'])CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py305 self.assertEqual(result, ['user2@example.com', 'user@example.com'])CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py314 self.assertEqual(result, ['user2@example.com', 'user@example.com'])CODE
LOW…rfuzz/_internal/tests/core/base/external_users_test.py317 self.assertEqual(result, ['user2@example.com', 'user@example.com'])CODE
LOW…z/_internal/tests/core/remote_task/remote_task_test.py43 mock_creds.token = 'fake-token'CODE
LOW…/clusterfuzz/_internal/tests/core/swarming/api_test.py39 self.mock_creds.token = 'fake_token'CODE
LOW…/clusterfuzz/_internal/tests/core/swarming/api_test.py74 'Authorization': 'Bearer fake_token'CODE
LOW…/clusterfuzz/_internal/tests/core/swarming/api_test.py93 'Authorization': 'Bearer fake_token'CODE
LOW…uzz/_internal/tests/appengine/libs/issue_filer_test.py464 email='user@example.com',CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py191 user = auth.User('test@test.com', email_verified=True)CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py198 user = auth.User('test@test.com', email_verified=False)CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py204 user = auth.User('test@test.com', email_verified=True)CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py265 'test@test.com', email_verified=False)CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py477 self.testcase.uploader_email = 'test@test.com'CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py60 self.mock.get_user_email.return_value = 'test@test.com'CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py95 self.assertTrue(access._is_privileged_user('test@test.com'))CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py167 self.assertFalse(access._is_domain_allowed('test@test.com'))CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py172 self.assertTrue(access._is_domain_allowed('test@test.com'))CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py226 self.user = auth.User('test@test.com')CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py367 self.email = 'test@test.com'CODE
LOW…sterfuzz/_internal/tests/appengine/libs/access_test.py552 self.mock.get_user_email.return_value = 'user@example.com'CODE
LOW…zz/_internal/tests/appengine/libs/crash_access_test.py46 self.mock.get_user_email.return_value = 'test@test.com'CODE
LOW…lusterfuzz/_internal/tests/appengine/libs/form_test.py38 self.mock.get_user_email.return_value = 'test@test.com'CODE
LOW…lusterfuzz/_internal/tests/appengine/libs/form_test.py71 data_types.CSRFToken.user_email == 'test@test.com'))CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py181 self.mock.get_current_user.return_value = auth.User('test@test.com')CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py301 self.mock.get_user_email.return_value = 'test@test.com'CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py310 self.assertEqual('test@test.com', resp.json['email'])CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py517 'email': 'test@test.com',CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py533 'email': 'test@test.com',CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py581 'email': 'test@test.com',CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py586 self.assertEqual('test@test.com', email)CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py631 'email': 'test@test.com',CODE
LOW…terfuzz/_internal/tests/appengine/libs/handler_test.py648 'email': 'test@test.com',CODE
LOW…internal/tests/appengine/handlers/base_handler_test.py96 self.mock.get_user_email.return_value = 'test@test.com'CODE
LOW…internal/tests/appengine/handlers/base_handler_test.py115 self.assertEqual(response.json['email'], 'test@test.com')CODE
LOW…internal/tests/appengine/handlers/base_handler_test.py125 self.assertEqual(response.json['email'], 'test@test.com')CODE
LOW…nternal/tests/appengine/handlers/testcase_list_test.py170 self.mock.get_user_email.return_value = 'test@test.com'CODE
LOW…andlers/testcase_detail/testcase_status_events_test.py810 uploader='user@example.com',CODE
LOW…ine/handlers/testcase_detail/download_testcase_test.py39 self.mock.get_email_and_access_token.return_value = ('test@test.com',CODE
LOW…/tests/appengine/handlers/testcase_detail/show_test.py350 self.mock.get_user_email.return_value = 'test@test.com'CODE
LOW…ppengine/handlers/testcase_detail/update_issue_test.py68 self.mock.get_current_user().email = 'test@test.com'CODE
LOW…ppengine/handlers/testcase_detail/update_issue_test.py93 self.assertEqual('test@test.com', resp.json['email'])CODE
LOW…ppengine/handlers/testcase_detail/update_issue_test.py114 self.assertEqual('test@test.com', resp.json['email'])CODE
LOW…ppengine/handlers/testcase_detail/update_issue_test.py137 self.assertEqual('test@test.com', resp.json['email'])CODE
LOW…sts/appengine/handlers/cron/oss_fuzz_apply_ccs_test.py49 issue.add_cc('user@example.com')CODE
LOW…sts/appengine/handlers/cron/oss_fuzz_apply_ccs_test.py52 issue.add_cc('user@example.com')CODE
LOW…sts/appengine/handlers/cron/oss_fuzz_apply_ccs_test.py65 email='user@example.com',CODE
LOW…sts/appengine/handlers/cron/oss_fuzz_apply_ccs_test.py119 'user@example.com',CODE
22 more matches not shown…
Deep Nesting105 hits · 97 pts
SeverityFileLineSnippetContext
LOWsrc/python/bot/startup/run_bot.py164CODE
LOWsrc/appengine/libs/handler.py365CODE
LOWsrc/appengine/libs/handler.py401CODE
LOWsrc/appengine/libs/handler.py368CODE
LOWsrc/appengine/libs/handler.py404CODE
LOWsrc/appengine/libs/handler.py372CODE
LOWsrc/appengine/libs/handler.py408CODE
LOWsrc/appengine/libs/query/datastore_query.py93CODE
LOWsrc/appengine/libs/query/datastore_query.py121CODE
LOWsrc/appengine/handlers/fuzzer_stats.py103CODE
LOWsrc/appengine/handlers/fuzzer_stats.py224CODE
LOWsrc/appengine/handlers/fuzzer_stats.py512CODE
LOWsrc/appengine/handlers/testcase_detail/show.py353CODE
LOWsrc/local/butler/deploy.py63CODE
LOWsrc/local/butler/deploy.py487CODE
LOWsrc/local/butler/py_unittest.py145CODE
LOWsrc/local/butler/weights.py389CODE
LOWsrc/local/butler/scripts/grouper_experiment.py361CODE
LOWsrc/local/butler/scripts/grouper_experiment.py507CODE
LOWsrc/local/butler/scripts/preprocess.py33CODE
LOWsrc/local/butler/scripts/build_attributes.py65CODE
LOW…scripts/migration/monorail_to_issuetracker_migrator.py95CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/storage.py911CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/storage.py1478CODE
LOWsrc/clusterfuzz/_internal/google_cloud_utils/storage.py394CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py1119CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py1172CODE
LOWsrc/clusterfuzz/_internal/platforms/linux/gestures.py63CODE
LOW…sterfuzz/_internal/platforms/android/fetch_artifact.py99CODE
LOW…sterfuzz/_internal/platforms/android/fetch_artifact.py236CODE
LOWsrc/clusterfuzz/_internal/platforms/android/flash.py66CODE
LOWsrc/clusterfuzz/_internal/platforms/android/flash.py108CODE
LOWsrc/clusterfuzz/_internal/platforms/android/adb.py310CODE
LOWsrc/clusterfuzz/_internal/platforms/windows/gestures.py62CODE
LOWsrc/clusterfuzz/_internal/platforms/windows/gestures.py121CODE
LOWsrc/clusterfuzz/_internal/fuzzing/leak_blacklist.py166CODE
LOWsrc/clusterfuzz/_internal/fuzzing/corpus_manager.py483CODE
LOWsrc/clusterfuzz/_internal/build_management/revisions.py49CODE
LOW…lusterfuzz/_internal/build_management/build_manager.py235CODE
LOW…lusterfuzz/_internal/build_management/build_manager.py1062CODE
LOW…lusterfuzz/_internal/tests/core/system/archive_test.py155CODE
LOW…lusterfuzz/_internal/tests/core/system/archive_test.py167CODE
LOW…lusterfuzz/_internal/tests/core/system/archive_test.py212CODE
LOW…terfuzz/_internal/tests/core/chrome/build_info_test.py32CODE
LOW…terfuzz/_internal/tests/core/chrome/build_info_test.py37CODE
LOW…fuzz/_internal/tests/core/bot/tasks/task_types_test.py162CODE
LOWsrc/clusterfuzz/_internal/datastore/search_tokenizer.py82CODE
LOWsrc/clusterfuzz/_internal/system/process_handler.py94CODE
LOWsrc/clusterfuzz/_internal/system/process_handler.py113CODE
LOWsrc/clusterfuzz/_internal/system/process_handler.py647CODE
LOWsrc/clusterfuzz/_internal/system/environment.py889CODE
LOWsrc/clusterfuzz/_internal/batch/service.py203CODE
LOW…/clusterfuzz/_internal/issue_management/issue_filer.py166CODE
LOW…issue_management/google_issue_tracker/issue_tracker.py284CODE
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py126CODE
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py179CODE
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py229CODE
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py911CODE
LOWsrc/clusterfuzz/_internal/bot/tasks/setup.py823CODE
LOWsrc/clusterfuzz/_internal/bot/tasks/blame_task.py163CODE
45 more matches not shown…
Cross-Language Confusion11 hits · 62 pts
SeverityFileLineSnippetContext
HIGH…/_internal/tests/core/platforms/android/logger_test.py81 'mounted filesystem without journal. Opts: (null)\n',CODE
HIGH…/_internal/tests/core/platforms/android/logger_test.py84 'mounted filesystem without journal. Opts: (null)'))CODE
HIGH…re/crash_analysis/stack_parsing/stack_analyzer_test.py2344 expected_state = ('offset + length <= impl.length() in StringView.h\n'CODE
HIGH…re/crash_analysis/stack_parsing/stack_analyzer_test.py2564 'length == 0 || (length > 0 && data != __null) in vector.h\n')CODE
HIGH…re/crash_analysis/stack_parsing/stack_analyzer_test.py2578 'length == 0 || (length > 0 && data != __null) in vector.h\n'CODE
HIGH…re/crash_analysis/stack_parsing/stack_analyzer_test.py834 '<= text.length() in SimplifiedB\n'CODE
HIGH…re/crash_analysis/stack_parsing/stack_analyzer_test.py3101 'ss_len == 0 || ss_len >= offsetof(struct sockaddr_un, sun_path) + 1\n'CODE
HIGHsrc/clusterfuzz/_internal/system/minijail.py147 """Create /dev/null, /dev/random, /dev/urandom, and /dev/shm."""STRING
HIGH…lusterfuzz/_internal/bot/tasks/utasks/minimize_task.py343 run_queue.push(self.file_path, self.run, self.store_result_from_run)CODE
HIGHsrc/clusterfuzz/_internal/bot/minimizer/minimizer.py273 self.test_queue.push(CODE
HIGH…clusterfuzz/_internal/crash_analysis/crash_analyzer.py392 # If the address is not near null, then we it is highly likelyCOMMENT
Unused Imports52 hits · 51 pts
SeverityFileLineSnippetContext
LOWsrc/clusterfuzz/_internal/metrics/logs.py39CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py40CODE
LOWsrc/clusterfuzz/_internal/metrics/logs.py41CODE
LOWsrc/clusterfuzz/_internal/platforms/fuchsia/__init__.py16CODE
LOWsrc/clusterfuzz/_internal/platforms/mac/__init__.py16CODE
LOWsrc/clusterfuzz/_internal/platforms/linux/__init__.py16CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py16CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py17CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py18CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py19CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py20CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py21CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py22CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py23CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py24CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py25CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py26CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py27CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py28CODE
LOWsrc/clusterfuzz/_internal/platforms/android/__init__.py29CODE
LOWsrc/clusterfuzz/_internal/platforms/windows/__init__.py16CODE
LOWsrc/clusterfuzz/_internal/protos/swarming_pb2.py29CODE
LOW…clusterfuzz/_internal/protos/process_state_pb2_grpc.py17CODE
LOWsrc/clusterfuzz/_internal/protos/swarming_pb2_grpc.py17CODE
LOW…c/clusterfuzz/_internal/protos/untrusted_runner_pb2.py29CODE
LOW…c/clusterfuzz/_internal/protos/untrusted_runner_pb2.py30CODE
LOWsrc/clusterfuzz/_internal/protos/uworker_msg_pb2.py29CODE
LOWsrc/clusterfuzz/_internal/protos/uworker_msg_pb2.py30CODE
LOWsrc/clusterfuzz/_internal/protos/uworker_msg_pb2.py31CODE
LOW…c/clusterfuzz/_internal/protos/uworker_msg_pb2_grpc.py17CODE
LOW…rnal/tests/core/build_management/build_manager_test.py31CODE
LOWsrc/clusterfuzz/_internal/fuzzer_utils/__init__.py23CODE
LOWsrc/clusterfuzz/_internal/fuzzer_utils/__init__.py24CODE
LOWsrc/clusterfuzz/_internal/fuzzer_utils/__init__.py25CODE
LOWsrc/clusterfuzz/_internal/fuzzer_utils/__init__.py26CODE
LOWsrc/clusterfuzz/_internal/common/testcase_utils.py16CODE
LOWsrc/clusterfuzz/_internal/common/testcase_utils.py17CODE
LOW…zz/_internal/bot/tokenizer/grammars/JavaScriptLexer.py20CODE
LOW…sterfuzz/_internal/bot/tokenizer/grammars/HTMLLexer.py20CODE
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py39CODE
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py41CODE
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py42CODE
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py45CODE
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py46CODE
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py48CODE
LOWsrc/clusterfuzz/_internal/base/tasks/__init__.py38CODE
LOWsrc/clusterfuzz/_internal/swarming/__init__.py16CODE
LOWsrc/clusterfuzz/_internal/swarming/__init__.py26CODE
LOWsrc/clusterfuzz/_internal/cron/backup.py29CODE
LOWsrc/clusterfuzz/stacktraces/crash_comparer.py16CODE
LOWsrc/clusterfuzz/stacktraces/__init__.py26CODE
LOWsrc/clusterfuzz/environment/__init__.py16CODE
AI Structural Patterns39 hits · 36 pts
SeverityFileLineSnippetContext
LOWsrc/appengine/handlers/upload_testcase.py315CODE
LOWsrc/clusterfuzz/_internal/platforms/android/adb.py765CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py393CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py410CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py427CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py444CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py461CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py478CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py495CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py512CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py529CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py546CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py563CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py580CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py597CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py614CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py631CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py648CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py665CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py682CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py699CODE
LOW…sterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py716CODE
LOWsrc/clusterfuzz/_internal/protos/heartbeat_pb2_grpc.py70CODE
LOW…internal/tests/core/bot/tasks/utasks/fuzz_task_test.py998CODE
LOWsrc/clusterfuzz/_internal/datastore/data_handler.py461CODE
LOWsrc/clusterfuzz/_internal/system/new_process.py389CODE
LOW…/_internal/bot/untrusted_runner/remote_process_host.py79CODE
LOW…rfuzz/_internal/bot/untrusted_runner/remote_process.py88CODE
LOWsrc/clusterfuzz/_internal/bot/minimizer/minimizer.py496CODE
LOWsrc/clusterfuzz/_internal/bot/minimizer/js_minimizer.py189CODE
LOW…clusterfuzz/_internal/bot/minimizer/chunk_minimizer.py70CODE
LOWsrc/clusterfuzz/_internal/bot/fuzzers/libfuzzer.py521CODE
LOW…_internal/crash_analysis/stack_parsing/stack_parser.py54CODE
LOW…_internal/crash_analysis/stack_parsing/stack_parser.py171CODE
LOW…_internal/crash_analysis/stack_parsing/stack_parser.py229CODE
LOWsrc/clusterfuzz/_internal/base/utils.py426CODE
LOWsrc/clusterfuzz/_internal/base/utils.py523CODE
LOWsrc/clusterfuzz/_internal/cron/project_setup.py645CODE
LOWsrc/clusterfuzz/stacktraces/__init__.py168CODE
Dead Code14 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py846CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py847CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py848CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py849CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py851CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py852CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py854CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py858CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py859CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py861CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py863CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py866CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py935CODE
MEDIUM…fuzz/_internal/bot/tasks/utasks/corpus_pruning_task.py937CODE
AI Slop Vocabulary15 hits · 26 pts
SeverityFileLineSnippetContext
LOWsrc/local/butler/integration_tests.py47 # TODO(ochang): Make bootstrap a separate butler command and just call that.COMMENT
LOWsrc/clusterfuzz/_internal/build_management/revisions.py605 # No revision >= |MIN_REVISION| was found, store the error and just returnCOMMENT
LOWsrc/clusterfuzz/_internal/config/db_config.py50 # All data is in a single line, just return that.COMMENT
LOWsrc/clusterfuzz/_internal/datastore/data_handler.py289 # For ASSERTs and CHECK failures, we should just use the crash type and theCOMMENT
LOWsrc/clusterfuzz/_internal/chrome/build_info.py119 # If there is no canary for that platform, just return canary from windows.COMMENT
LOWsrc/clusterfuzz/_internal/bot/testcase_manager.py993 # command - just use app_name.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/task_types.py52 # Simple tasks can just use the environment they don't need the uworker env.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/task_creation.py254 # For supported environments, just create the minimize task for now.COMMENT
MEDIUM…lusterfuzz/_internal/bot/tasks/utasks/minimize_task.py384 # TODO(ochang): More robust check for engine minimization support.COMMENT
LOW…sterfuzz/_internal/bot/tasks/utasks/regression_task.py260 # exist any later revision, just use the last revision in the list instead.COMMENT
LOW…sterfuzz/_internal/bot/tasks/utasks/regression_task.py277 # found again, so just use it and restart from scratch.COMMENT
MEDIUM…clusterfuzz/_internal/crash_analysis/crash_comparer.py103 # TODO(aarya): Improve this algorithm and leverage other parts ofCOMMENT
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py185 # a system library. In this case, just return the binary name.COMMENT
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py683 # This should never happen but if it does, lets just return the unsymbolized stack.COMMENT
LOW…ernal/crash_analysis/stack_parsing/stack_symbolizer.py742 # just return the same binary path.COMMENT
Structural Annotation Overuse10 hits · 18 pts
SeverityFileLineSnippetContext
LOWdeploy/cloudbuild.yaml108 # Step 1: Run the update command in the backgroundCOMMENT
LOWdeploy/cloudbuild.yaml111 # Step 2: Poll for the updated metadata valueCOMMENT
LOWconfigs/test/project.yaml49 # WARNING: This can cause OOMs.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/task_creation.py101 # Step 1: Check if the regression task finished. If not, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/task_creation.py105 # Step 2: Check if the symbolize task is applicable and finished. If not,COMMENT
LOWsrc/clusterfuzz/_internal/bot/fuzzers/builtin.py15# NOTE: This module is deprecated and will be replaced withCOMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py521 # Step 1: Generate corpus file for Centipede.COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py548 # Step 2: Distill.COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py566 # Step 3: Generate corpus files for output_dir.COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py594 # Step 4: Copy reproducers from full_corpus_workdir.COMMENT
Verbosity Indicators9 hits · 16 pts
SeverityFileLineSnippetContext
LOWdeploy/cloudbuild.yaml108 # Step 1: Run the update command in the backgroundCOMMENT
LOWdeploy/cloudbuild.yaml111 # Step 2: Poll for the updated metadata valueCOMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/task_creation.py101 # Step 1: Check if the regression task finished. If not, bail out.COMMENT
LOWsrc/clusterfuzz/_internal/bot/tasks/task_creation.py105 # Step 2: Check if the symbolize task is applicable and finished. If not,COMMENT
LOWsrc/clusterfuzz/_internal/bot/fuzzers/afl/launcher.py1474 # We need to check if ASAN_OPTIONS and/or MSAN_OPTIONS contain symbolize=0COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py521 # Step 1: Generate corpus file for Centipede.COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py548 # Step 2: Distill.COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py566 # Step 3: Generate corpus files for output_dir.COMMENT
LOW…/clusterfuzz/_internal/bot/fuzzers/centipede/engine.py594 # Step 4: Copy reproducers from full_corpus_workdir.COMMENT
Overly Generic Function Names11 hits · 11 pts
SeverityFileLineSnippetContext
LOW…erfuzz/_internal/tests/core/system/environment_test.py387 def test_function():CODE
LOW…erfuzz/_internal/tests/core/system/environment_test.py397 def test_function():CODE
LOW…erfuzz/_internal/tests/core/system/environment_test.py416 def test_function():CODE
LOW…erfuzz/_internal/tests/core/system/environment_test.py426 def test_function():CODE
LOW…erfuzz/_internal/tests/core/system/environment_test.py446 def test_function():CODE
LOW…erfuzz/_internal/tests/core/system/environment_test.py456 def test_function():CODE
LOW…erfuzz/_internal/tests/core/system/environment_test.py468 def test_function():CODE
LOW…lusterfuzz/_internal/tests/core/base/untrusted_test.py24def test_function():CODE
LOWsrc/clusterfuzz/_internal/bot/tasks/unpack_task.py32def execute_task(metadata_id, job_type):CODE
LOWsrc/clusterfuzz/_internal/bot/tasks/blame_task.py306def execute_task(testcase_id, _):CODE
LOWsrc/clusterfuzz/_internal/bot/tasks/impact_task.py336def execute_task(testcase_id, job_type):CODE
Modern Structural Boilerplate5 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/local/butler/reproduce.py35def _setup_reproduce(args) -> None:CODE
LOW…rfuzz/_internal/tests/core/batch/batch_service_test.py60def _set_preemptible(instance_policy, batch_workload_spec) -> None:CODE
LOWsrc/clusterfuzz/_internal/datastore/data_handler.py889def set_initial_testcase_metadata(testcase: data_types.Testcase) -> None:CODE
LOWsrc/clusterfuzz/_internal/batch/service.py138def _set_preemptible(instance_policy, batch_workload_spec) -> None:CODE
LOWsrc/clusterfuzz/_internal/bot/tasks/utasks/__init__.py428def set_uworker_env(uworker_env: dict) -> None:CODE