AI Slop Code Risk Monitor

google/skia

SlopCodeMonitor badge for google/skia Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See documentation for contribution instructions.

2.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for google/skia, a C++ project with 11,012 GitHub stars. SynthScan examined 1,799,408 lines of code across 7287 source files, recording 4654 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 2.9 (Low 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.

2.9
Adjusted Signal
2.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
11.0K
Stars
C++
Language
1.8M
Lines of Code
7.3K
Files
4.7K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 11.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 1.5/100 · LOW

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

PR Review Velocity Impact 13.6/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

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

CRITICAL 0HIGH 95MEDIUM 66LOW 4493

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block4176 hits · 4105 pts
SeverityFileLineSnippetContext
LOWexperimental/rust_ico/decoder/impl/SkIcoRustCodec.h1/*COMMENT
LOWexperimental/rust_ico/decoder/impl/SkIcoRustCodec.cpp1/*COMMENT
LOWexperimental/rust_ico/decoder/impl/SkIcoRustCodec.cpp141 // contained by dimensions(). Taking the component-wise maxima preservesCOMMENT
LOWexperimental/rust_ico/ffi/FFI.rs1// Copyright 2025 Google LLCCOMMENT
LOWexperimental/rust_ico/ffi/FFI.rs281 }COMMENT
LOWexperimental/rust_ico/ffi/FFI.rs521 // Handle any future variants or invalid valuesCOMMENT
LOWexperimental/lowp-basic/lowp_experiments.cpp1/*COMMENT
LOWexperimental/rust_jpeg/encoder/SkJpegRustEncoder.cpp1/*COMMENT
LOWexperimental/rust_jpeg/decoder/impl/SkJpegRustCodec.h1/*COMMENT
LOWexperimental/rust_jpeg/decoder/impl/SkJpegRustCodec.h141COMMENT
LOWexperimental/rust_jpeg/decoder/impl/SkJpegRustCodec.cpp1/*COMMENT
LOWexperimental/rust_jpeg/decoder/impl/SkJpegRustCodec.cpp21#include "include/core/SkYUVAPixmaps.h"COMMENT
LOWexperimental/rust_jpeg/ffi/jpeg_metadata.rs1// Copyright 2026 Google LLC.COMMENT
LOWexperimental/rust_jpeg/ffi/jpeg_multipicture.rs1// Copyright 2026 Google LLC.COMMENT
LOWexperimental/rust_jpeg/ffi/jpeg_segment_scan.rs1// Copyright 2026 Google LLC.COMMENT
LOWexperimental/tskit/bindings/bindings.h1/*COMMENT
LOWexperimental/tskit/bindings/bindings.h21//COMMENT
LOWexperimental/tskit/bindings/bindings.h41// */COMMENT
LOWexperimental/minimal_ios_mtl_skia_app/main.mm1// Copyright 2019 Google LLCCOMMENT
LOWexperimental/webgpu-bazel/src/bindings.cpp1/*COMMENT
LOWexperimental/webgpu-bazel/src/bindings.cpp21COMMENT
LOWbench/ShapesBench.cpp1/*COMMENT
LOWbench/SkGlyphCacheBench.cpp1/*COMMENT
LOWbench/GlyphRunRSXformBench.cpp1/*COMMENT
LOWbench/BlendmodeBench.cpp1/*COMMENT
LOWbench/ColorFilterBench.cpp1/*COMMENT
LOWbench/BlurRectBench.cpp1/*COMMENT
LOWbench/PDFBench.cpp1/*COMMENT
LOWbench/PicturePlaybackBench.cpp1/*COMMENT
LOWbench/BulkRectBench.cpp1/*COMMENT
LOWbench/DashBench.cpp1/*COMMENT
LOWbench/TessellateBench.cpp1/*COMMENT
LOWbench/SkSLBench.cpp1/*COMMENT
LOWbench/SkSLBench.cpp21#include "src/sksl/codegen/SkSLGLSLCodeGenerator.h"COMMENT
LOWbench/SkGlyphCacheBench.h1// Copyright 2019 Google LLCCOMMENT
LOWbench/GameBench.cpp1/*COMMENT
LOWbench/TileImageFilterBench.cpp1/*COMMENT
LOWbench/ParagraphBench.cpp1/*COMMENT
LOWbench/VertBench.cpp1/*COMMENT
LOWbench/DisplacementBench.cpp1/*COMMENT
LOWbench/MorphologyBench.cpp1/*COMMENT
LOWbench/GlyphQuadFillBench.cpp1/*COMMENT
LOWbench/GpuTools.h21namespace skgpu {COMMENT
LOWbench/ClipMaskBench.cpp1/*COMMENT
LOWbench/ImageFilterCollapse.cpp1/*COMMENT
LOWbench/VertexColorSpaceBench.cpp1/*COMMENT
LOWbench/VertexColorSpaceBench.cpp21#include "src/gpu/ganesh/GrOpFlushState.h"COMMENT
LOWbench/FontCacheBench.cpp1/*COMMENT
LOWbench/nanobench.cpp1/*COMMENT
LOWbench/nanobench.cpp21#include "bench/SkSLBench.h"COMMENT
LOWbench/nanobench.cpp41#include "src/core/SkAutoMalloc.h"COMMENT
LOWbench/nanobench.cpp61#include "tools/fonts/FontToolUtils.h"COMMENT
LOWbench/nanobench.cpp81#include "include/gpu/graphite/Recorder.h"COMMENT
LOWbench/nanobench.cpp101#if defined(SK_USE_PARTITION_ALLOC)COMMENT
LOWbench/nanobench.cpp521 }COMMENT
LOWbench/nanobench.cpp1201COMMENT
LOWbench/EncodeBench.cpp1/*COMMENT
LOWbench/ShadowBench.cpp1/*COMMENT
LOWbench/SKPBench.cpp1/*COMMENT
LOWbench/TextBlobBench.cpp1/*COMMENT
4116 more matches not shown…
Cross-File Repetition60 hits · 300 pts
SeverityFileLineSnippetContext
HIGHtools/reformat-json.py0copyright 2015 google inc. use of this source code is governed by a bsd-style license that can be found in the license fSTRING
HIGHtools/fonts/generate_fir_coeff.py0copyright 2015 google inc. use of this source code is governed by a bsd-style license that can be found in the license fSTRING
HIGHtools/embed_resources.py0copyright 2015 google inc. use of this source code is governed by a bsd-style license that can be found in the license fSTRING
HIGHtools/skp/page_sets/skia_espn_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_twitter_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_wikipedia_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_tiger8svg_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_theverge_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_css3gradients_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_pravda_tablet.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_tigersvg_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_googlesearch_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_mapsvg_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_chalkboard_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_weather_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_forecastio_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_gmail_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_facebook_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_googlecalendar_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_googlenews_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_googledocs_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_yahooanswers_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_ynevsvg_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_yahoosports_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_cnn_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_booking_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_carsvg_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_baidu_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_digg_tablet.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_facebook_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_amazon_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_gujuratiwiki_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_worldjournal_tablet.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_slashdot_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_wowwiki_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_motionmarkarcs_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_wikipedia_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_googlespreadsheet_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_theverge_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_ebay_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_youtube_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_googlesearch_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_youtube_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_capitalvolkswagen_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_reddit_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_motionmarksuits_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_mozilla_tablet.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_techcrunch_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_motionmarkpaths_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_deviantart_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_cnnarticle_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_samoasvg_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_motionmarksuitsclip_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_cnn_mobile.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_googleimagesearch_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_nytimes_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGHtools/skp/page_sets/skia_linkedin_desktop.py0pages designed to represent the median, not highly optimized webSTRING
HIGH…p/page_sets/other/CRASHING-skia_vnexpress_nexus10.json0pages designed to represent the median, not highly optimized webSTRING
HIGH…kp/page_sets/other/POPUP-skia_mercurynews_nexus10.json0pages designed to represent the median, not highly optimized webSTRING
HIGH…ge_sets/other/CRASHING-skia_wikipedia_galaxynexus.json0pages designed to represent the median, not highly optimized webSTRING
Unused Imports120 hits · 120 pts
SeverityFileLineSnippetContext
LOWexperimental/tools/mskp_parser.py10CODE
LOWexperimental/tools/mskp_parser.py12CODE
LOWinfra/bots/zip_utils_test.py12CODE
LOWinfra/bots/zip_utils_test.py17CODE
LOWinfra/bots/run_recipe.py9CODE
LOWinfra/bots/check_deps.py12CODE
LOWinfra/bots/utils.py9CODE
LOWinfra/bots/zip_utils.py12CODE
LOWinfra/bots/git_utils.py10CODE
LOWinfra/bots/git_utils.py12CODE
LOWinfra/bots/recipe_modules/checkout/api.py10CODE
LOW…dules/doxygen/resources/generate_and_upload_doxygen.py14CODE
LOWinfra/bots/recipe_modules/flavor/android.py6CODE
LOWinfra/bots/recipe_modules/flavor/android.py7CODE
LOWinfra/bots/recipe_modules/flavor/ssh.py6CODE
LOWinfra/bots/recipe_modules/flavor/chromebook.py6CODE
LOWinfra/bots/recipe_modules/flavor/resources/scale_cpu.py6CODE
LOW…/bots/recipe_modules/flavor/resources/ios_debug_cmd.py9CODE
LOW…e_modules/flavor/resources/set_cpu_scaling_governor.py6CODE
LOW…e_modules/flavor/resources/set_cpu_scaling_governor.py9CODE
LOW…ots/recipe_modules/flavor/resources/set_gpu_scaling.py6CODE
LOW…ots/recipe_modules/flavor/resources/set_gpu_scaling.py9CODE
LOW…cipe_modules/flavor/resources/setup_device_for_asan.py6CODE
LOW…bots/recipe_modules/flavor/resources/set_cpu_online.py6CODE
LOW…bots/recipe_modules/flavor/resources/set_cpu_online.py9CODE
LOW…ra/bots/recipe_modules/flavor/resources/win_ssh_cmd.py7CODE
LOW…ra/bots/recipe_modules/flavor/resources/win_ssh_cmd.py8CODE
LOW…ra/bots/recipe_modules/flavor/resources/win_ssh_cmd.py9CODE
LOWinfra/bots/recipes/perf.py11CODE
LOWinfra/bots/recipes/housekeeper.py9CODE
LOWinfra/bots/assets/svg/create.py15CODE
LOW…a/bots/assets/chromebook_arm_gles/create_and_upload.py16CODE
LOWinfra/bots/assets/chromebook_arm_gles/create.py12CODE
LOWinfra/bots/assets/skp/create_and_upload.py15CODE
LOWinfra/bots/assets/skp/create_and_upload.py16CODE
LOWinfra/bots/assets/skp/create.py12CODE
LOWinfra/bots/assets/win_toolchain/create_and_upload.py15CODE
LOWinfra/bots/assets/win_toolchain/create_and_upload.py16CODE
LOWinfra/bots/assets/win_toolchain/create.py24CODE
LOWinfra/bots/assets/win_toolchain/create.py27CODE
LOWinfra/bots/assets/win_toolchain/create.py29CODE
LOWinfra/bots/assets/binutils_linux_x64/create.py13CODE
LOWinfra/bots/assets/gcloud_linux/create.py13CODE
LOWinfra/bots/assets/gcloud_linux/create.py15CODE
LOWinfra/bots/assets/arm64_sysroot/create.py12CODE
LOWinfra/bots/assets/arm64_sysroot/create.py14CODE
LOWinfra/bots/assets/arm64_sysroot/create.py16CODE
LOW…fra/bots/assets/android_sdk_linux/create_and_upload.py15CODE
LOW…fra/bots/assets/android_sdk_linux/create_and_upload.py16CODE
LOW…ots/assets/chromebook_x86_64_gles/create_and_upload.py16CODE
LOWinfra/bots/assets/chromebook_x86_64_gles/create.py12CODE
LOWinfra/bots/assets/armhf_sysroot/create.py12CODE
LOW…bots/assets/chromebook_arm64_gles/create_and_upload.py16CODE
LOWinfra/bots/assets/chromebook_arm64_gles/create.py12CODE
LOWinfra/bots/assets/skimage/create_and_upload.py14CODE
LOWinfra/bots/buildstats/buildstats_web.py9CODE
LOWinfra/bots/buildstats/buildstats_wasm.py9CODE
LOWinfra/bots/buildstats/buildstats_cpp.py9CODE
LOWinfra/bots/buildstats/buildstats_cpp.py10CODE
LOWtools/abandon_gerrit_cls.py13CODE
60 more matches not shown…
Empty Error Handlers23 hits · 115 pts
SeverityFileLineSnippetContext
HIGHinfra/bots/git_utils.py30except subprocess.CalledProcessError:CODE
HIGHinfra/bots/recipe_modules/run/examples/full.py25except api.step.StepFailure:CODE
HIGHinfra/bots/recipe_modules/run/examples/full.py53except api.step.StepFailure:CODE
HIGH…a/bots/recipe_modules/flavor/resources/dump_adb_log.py24except subprocess.CalledProcessError:CODE
HIGHinfra/bots/recipe_modules/flavor/examples/full.py19except ValueError:CODE
HIGHinfra/bots/recipe_modules/flavor/examples/full.py23except ValueError:CODE
HIGHinfra/bots/recipe_modules/flavor/examples/full.py27except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py24except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py29except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py34except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py45except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py50except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py56except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py62except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py67except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py76except ValueError:CODE
HIGH…ts/recipe_modules/builder_name_schema/examples/full.py89except ValueError:CODE
HIGHtools/raster_pipeline/llvm_mca_analysis.py370except ValueError:CODE
HIGHgn/gn_meta_sln.py17except OSError:CODE
HIGHplatform_tools/debugging/lldb/skia.py79except:CODE
HIGHplatform_tools/debugging/lldb/skia.py128except:CODE
HIGHplatform_tools/debugging/lldb/skia.py183except:CODE
HIGHplatform_tools/debugging/lldb/skia.py211except:CODE
AI Slop Vocabulary39 hits · 112 pts
SeverityFileLineSnippetContext
LOWtools/generate_patches.py39 # so we can just use a stub and it works fine.COMMENT
MEDIUMtools/gpu/vk/VkTestUtils.cpp758 // We can manually disable any undesired features here. Currently, we only disable robustCOMMENT
MEDIUMtools/sk_app/mac/Window_mac.mm239 // Something more robust would be needed to support alternate keyboards.COMMENT
LOWtools/calmbench/ab.py284 if (a == 0): # bad bench, just return no regressionCODE
MEDIUMtests/ScaleToSidesTest.cpp56 // (Is there a more robust way to test this, like SkTFitsIn but double->float?)COMMENT
MEDIUMtests/GrQuadCropTest.cpp142 // numerically robust enough.COMMENT
MEDIUMtests/M44Test.cpp329 // MapRect should have a more robust solution than a fixed w > epsilon and when it does,COMMENT
MEDIUMtests/M44Test.cpp375 // Stripped down test case from skbug.com/40043416. Essentially, the corners of this rect wouldCOMMENT
MEDIUMtests/MatrixTest.cpp1091 // Stripped down test case from skbug.com/40043416. Essentially, the corners of this rect wouldCOMMENT
MEDIUMtests/graphite/InnerFillTest.cpp61 // traverse the recorded draws and inspect them could let these checks be more robust, e.g.COMMENT
LOWthird_party/dawn/cmake_utils.py350 # We can't just use ar.exe because it is not shipped with MSVC.COMMENT
MEDIUMgm/drawquadset.cpp85 // Use non-public API to leverage general GrPaint capabilitiesCOMMENT
MEDIUMgm/compositor_quads.cpp56// and quadrilaterals with per-edge AA, with complex images, effects, and seamless tiling.COMMENT
MEDIUMmodules/skcms/src/skcms_internals.h21// skcms can leverage some C++ extensions when they are present.COMMENT
MEDIUMmodules/canvaskit/compile_gm.sh186# test harness. Thus we omit them.COMMENT
MEDIUMmodules/canvaskit/htmlcanvas/canvas2dcontext.js869 // to the identity. Essentially "commit" the transform.COMMENT
MEDIUMsrc/gpu/ganesh/vk/GrVkResourceProvider.cpp453 // TODO: We really need to have a more robust way to protect us from client proc calls thatCOMMENT
MEDIUMsrc/gpu/ganesh/gl/GrGLCaps.cpp1051 // Never prefer flat shading on WebGL. GPU detection isn't as robust (e.g.COMMENT
MEDIUMsrc/gpu/ganesh/geometry/GrQuadUtils.cpp588 // perspective; it does not prove numerical robust enough in the wild and should beCOMMENT
MEDIUMsrc/gpu/ganesh/gradients/GrGradientShader.cpp450 // Definitely cannot represent this gradient configurationCOMMENT
MEDIUMsrc/gpu/ganesh/gradients/GrGradientShader.cpp473 // Definitely cannot represent this gradient configurationCOMMENT
MEDIUMsrc/gpu/graphite/ShaderInfo.h37 // Backend implementations which may utilize static / immutable samplers should pass in a realCOMMENT
MEDIUMsrc/gpu/graphite/ShaderInfo.h43 // for each sampler the nodes utilize (dynamic and immutable). This way, a SamplerDesc's indexCOMMENT
MEDIUMsrc/gpu/graphite/ScratchResourceManager.h94 // TODO: Eventually update BufferSubAllocator and DrawBufferManager to leverage theCOMMENT
MEDIUMsrc/gpu/graphite/PaintParams.cpp550 // Definitely not eligible for conversion to kSrc, remove optimistically added flagCOMMENT
MEDIUMsrc/gpu/graphite/ShaderInfo.cpp1497 // Porter-Duff blend modes can utilize BlendFormula. Notice that `isOpaque` is falseCOMMENT
MEDIUMsrc/gpu/graphite/ResourceTypes.h233 // In order to fit within SamplerDesc's uint32 desc field, backends can only utilize up toCOMMENT
MEDIUMsrc/gpu/graphite/render/TessellateWedgesRenderStep.cpp199 // TODO: Essentially the same as PathWedgeTessellator::write_patches but with a differentCOMMENT
MEDIUMsrc/gpu/graphite/draw/DrawWriter.h139 // required, so that it is seamless to the caller. The draws do not use instances or indices.COMMENT
MEDIUMsrc/gpu/graphite/draw/DrawWriter.h152 // seamless to the caller.COMMENT
MEDIUMsrc/core/SkBlockAllocator.h469 // Inline head block, must be at the end so that it can utilize any additional reserved spaceCOMMENT
MEDIUMsrc/core/SkRRect.cpp776 // robust against floating-point imprecision when translated. SeeCOMMENT
MEDIUMsrc/core/SkRRect.cpp1036 // Definitely no intersectionCOMMENT
MEDIUMsrc/codec/SkPngRustCodec.cpp379 // Doing this check here is more robust than doing it insideCOMMENT
MEDIUMsrc/codec/SkPngRustCodec.cpp384 // Reporting a hard error is more robust than trying to ignore the `fcTL`COMMENT
MEDIUMsrc/codec/SkPngRustCodec.cpp638 // Safe advancement: robust if fDst lacks stride padding on the last row.COMMENT
MEDIUMsrc/encode/SkJpegGainmapEncoder.cpp343 // obeyed, and further, makes the file dangerous for use by less robust editors (seeCOMMENT
MEDIUMsrc/effects/SkDashPathEffect.cpp226 // TODO: make this test for horizontal & vertical lines more robustCOMMENT
MEDIUMsrc/ports/SkFontMgr_android_parser.cpp882 // Product fonts (fonts_customization.xml) leverage <fonts-modification version="21">COMMENT
Hyper-Verbose Identifiers71 hits · 71 pts
SeverityFileLineSnippetContext
LOW…dules/doxygen/resources/generate_and_upload_doxygen.py42def generate_and_upload_doxygen():CODE
LOWinfra/bots/recipe_modules/flavor/ios.py162 def copy_directory_contents_to_device(self, host, device):CODE
LOWinfra/bots/recipe_modules/flavor/ios.py165 def copy_directory_contents_to_host(self, device, host):CODE
LOWinfra/bots/recipe_modules/flavor/api.py65 def copy_directory_contents_to_device(self, host_dir, device_dir):CODE
LOWinfra/bots/recipe_modules/flavor/api.py68 def copy_directory_contents_to_host(self, device_dir, host_dir):CODE
LOWinfra/bots/recipe_modules/flavor/default.py59 def copy_directory_contents_to_device(self, host_dir, device_dir):CODE
LOWinfra/bots/recipe_modules/flavor/default.py69 def copy_directory_contents_to_host(self, device_dir, host_dir):CODE
LOWinfra/bots/recipe_modules/flavor/android.py388 def copy_directory_contents_to_device(self, host, device):CODE
LOWinfra/bots/recipe_modules/flavor/android.py397 def copy_directory_contents_to_host(self, device, host):CODE
LOWinfra/bots/recipe_modules/flavor/ssh.py97 #def copy_directory_contents_to_device(self, host_path, device_path):COMMENT
LOWinfra/bots/recipe_modules/flavor/ssh.py100 #def copy_directory_contents_to_host(self, device_path, host_path):COMMENT
LOWinfra/bots/recipe_modules/flavor/chromebook.py50 def copy_directory_contents_to_device(self, host_path, device_path):CODE
LOWinfra/bots/recipe_modules/flavor/chromebook.py53 def copy_directory_contents_to_host(self, device_path, host_path):CODE
LOWinfra/bots/buildstats/buildstats_flutter.py104def print_skia_lines_file_symbol(lines):CODE
LOWinfra/bots/buildstats/buildstats_flutter.py142def print_skia_lines_symbol_file(lines):CODE
LOWtools/parse_llvm_coverage.py57def _get_per_file_per_line_coverage(report):CODE
LOWtools/UrlDataManager.h20class UrlDataManager {CODE
LOWtools/build_workaround_header.py22def merge_files_into_workarounds(files):STRING
LOWtools/skp/webpages_playback.py490 def does_storage_object_exist(self, name):CODE
LOWtools/skp/webpages_playback.py508 def does_storage_object_exist(self, name):CODE
LOWtools/skp/webpages_playback.py537 def does_storage_object_exist(self, name):CODE
LOWtools/perf-canvaskit-puppeteer/path-transform.html155 function svgToPathAndFillColorPairs(svgElement, CanvasKit) {CODE
LOWtools/perf-canvaskit-puppeteer/canvas_perf.js313function htmlImageElementToDataURL(htmlImageElement) {CODE
LOWtools/perf-canvaskit-puppeteer/skp_data_prep.js98function tableDataFromComparisonDataObject({CODE
LOWtools/skpbench/skpbench.py109def dump_commandline_if_verbose(commandline):STRING
LOWtools/debugger/DrawCommand.h47class UrlDataManager;CODE
LOWtools/debugger/DebugLayerManager.h25class UrlDataManager;CODE
LOWtools/debugger/JsonWriteBuffer.h30class UrlDataManager;CODE
LOWtools/debugger/DebugCanvas.cpp41class UrlDataManager;CODE
LOWtools/debugger/DebugCanvas.h42class UrlDataManager;CODE
LOWdemos.skia.org/demos/path_performance/main.js62 function switchRenderMethodCallback(switchMethod) {CODE
LOWdemos.skia.org/demos/path_performance/main.js94function svgToPathStringAndFillColorPairs(svgElement) {CODE
LOWtests/GrMeshTest.cpp70class GrGLSLProgramDataManager;CODE
LOWtests/PrimitiveProcessorTest.cpp46class GrGLSLProgramDataManager;CODE
LOWtests/GrGpuBufferTest.cpp59class GrGLSLProgramDataManager;CODE
LOWtests/GrPipelineDynamicStateTest.cpp59class GrGLSLProgramDataManager;CODE
LOWthird_party/dawn/cmake_utils.py60def add_next_batch_to_command(base_cmd, workset):CODE
LOWthird_party/dawn/cmake_utils.py372def get_third_party_locations():CODE
LOWbazel/external/dawn/generate_dawn_files_test.py34 def test_append_file_to_group_routing(self):CODE
LOWbazel/external/dawn/generate_dawn_files_test.py89 def test_parse_set_and_list_commands(self):CODE
LOWbazel/external/dawn/generate_dawn_files.py213 def _handle_generator_command(self, name, args):CODE
LOWbazel/external/dawn/generate_dawn_files.py338 def _handle_add_library_command(self, args):CODE
LOWgm/clockwise.cpp57class GrGLSLProgramDataManager;CODE
LOWgm/attributes.cpp36class GrGLSLProgramDataManager;CODE
LOWmodules/canvaskit/memory.js68function freeArraysThatAreNotMallocedByUsers(ptr, arr) {CODE
LOWmodules/canvaskit/memory.js346function copyColorComponentsToWasm(r, g, b, a) {CODE
LOWmodules/canvaskit/color.js173function uIntColorToCanvasKitColor(c) {CODE
LOWmodules/canvaskit/tests/core_test.js111 function decodeAndDrawSingleFrameImage(imgName, goldName, done) {CODE
LOWsrc/gpu/ganesh/GrUniformDataManager.h25class GrUniformDataManager : public GrGLSLProgramDataManager {CODE
LOWsrc/gpu/ganesh/GrColorSpaceXform.cpp20class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/GrXferProcessor.h26class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/GrPipeline.h36class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/GrFragmentProcessor.h33class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/vk/GrVkPipelineStateDataManager.h23class GrVkPipelineStateDataManager : public GrUniformDataManager {CODE
LOWsrc/gpu/ganesh/glsl/GrGLSLProgramDataManager.h26class GrGLSLProgramDataManager {CODE
LOWsrc/gpu/ganesh/gl/GrGLProgramDataManager.h28class GrGLProgramDataManager : public GrGLSLProgramDataManager {CODE
LOWsrc/gpu/ganesh/ops/FillRRectOp.cpp71class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/ops/AAConvexPathRenderer.cpp72class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/ops/QuadPerEdgeAA.cpp37class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/ops/LatticeOp.cpp68class GrGLSLProgramDataManager;CODE
11 more matches not shown…
Fake / Example Data37 hits · 50 pts
SeverityFileLineSnippetContext
LOWbench/PDFBench.cpp324 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do",CODE
LOWbench/PDFBench.cpp324 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do",CODE
LOWbench/PDFBench.cpp338 "qui dolorem ipsum, quia dolor sit amet consectetur adipiscing velit,",CODE
LOWbench/PDFBench.cpp338 "qui dolorem ipsum, quia dolor sit amet consectetur adipiscing velit,",CODE
LOWbench/PDFBench.cpp367 "qui dolorem ipsum, quia dolor sit amet consectetur adipiscing velit,",CODE
LOWbench/PDFBench.cpp367 "qui dolorem ipsum, quia dolor sit amet consectetur adipiscing velit,",CODE
LOW⚡bench/ParagraphBench.cpp55 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡bench/ParagraphBench.cpp55 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡bench/ParagraphBench.cpp62 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡bench/ParagraphBench.cpp62 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWinclude/core/SkPicture.h295 // When fRecord is nullptr, then we treat the SkPicture as a "placeholder"COMMENT
LOWgm/animatedimageblurs.cpp220 "Lorem ipsum dolor sit amet,",CODE
LOWgm/animatedimageblurs.cpp220 "Lorem ipsum dolor sit amet,",CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2224 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2224 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2231 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2231 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2308 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2308 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2315 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2315 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2395 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2395 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2402 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2402 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2482 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2482 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2489 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOW⚡modules/skparagraph/tests/SkParagraphTest.cpp2489 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp1811 builder.addText(u"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ut dolor ornare, fermentum nibCODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp1811 builder.addText(u"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ut dolor ornare, fermentum nibCODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp2757 const char* hello = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do";CODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp2757 const char* hello = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do";CODE
LOW⚡modules/skparagraph/slides/ParagraphSlide.cpp4353 draw(TextDirection::kLtr, 20, "Lorem ipsum dolor sit amet");CODE
LOW⚡modules/skparagraph/slides/ParagraphSlide.cpp4353 draw(TextDirection::kLtr, 20, "Lorem ipsum dolor sit amet");CODE
LOW⚡modules/skparagraph/slides/ParagraphSlide.cpp4354 draw(TextDirection::kRtl, 20, "Lorem ipsum dolor sit amet");CODE
LOW⚡modules/skparagraph/slides/ParagraphSlide.cpp4354 draw(TextDirection::kRtl, 20, "Lorem ipsum dolor sit amet");CODE
Deep Nesting47 hits · 47 pts
SeverityFileLineSnippetContext
LOWPRESUBMIT.py127CODE
LOWPRESUBMIT.py307CODE
LOWPRESUBMIT.py340CODE
LOWPRESUBMIT.py383CODE
LOWPRESUBMIT.py540CODE
LOWPRESUBMIT.py654CODE
LOWexperimental/tools/pdf-comparison.py94CODE
LOWinfra/bots/recipes.py155CODE
LOWinfra/bots/zip_utils.py28CODE
LOWinfra/bots/zip_utils.py61CODE
LOWinfra/bots/recipe_modules/flavor/ios.py127CODE
LOW…cipe_modules/flavor/resources/symbolize_stack_trace.py15CODE
LOWinfra/bots/recipe_modules/flavor/examples/full.py31CODE
LOW…ipe_modules/builder_name_schema/builder_name_schema.py45CODE
LOW…ipe_modules/builder_name_schema/builder_name_schema.py48CODE
LOWinfra/bots/recipes/perf.py33CODE
LOWinfra/bots/assets/skp/create.py67CODE
LOWinfra/bots/assets/android_ndk_darwin/create.py32CODE
LOWtools/parse_llvm_coverage.py57CODE
LOWtools/parse_llvm_coverage.py151CODE
LOWtools/rewrite_includes.py69CODE
LOWtools/embed_resources.py13CODE
LOWtools/sanitize_source_files.py21CODE
LOWtools/merge_static_libs.py20CODE
LOWtools/gdb/bitmap.py51CODE
LOWtools/skp/webpages_playback.py207CODE
LOWtools/skpbench/skiaperf.py65CODE
LOWtools/skpbench/sheet.py74CODE
LOWtools/skpbench/sheet.py95CODE
LOWtools/skpbench/skpbench.py298CODE
LOWtools/skpbench/skpbench.py347CODE
LOWtools/skpbench/skpbench.py226CODE
LOWtools/raster_pipeline/llvm_mca_analysis.py22CODE
LOWtools/raster_pipeline/llvm_mca_analysis.py103CODE
LOWtools/raster_pipeline/llvm_mca_analysis.py253CODE
LOWgn/gn_meta_sln.py25CODE
LOWgn/gn_to_cmake.py550CODE
LOWgn/find_msvc.py16CODE
LOWgn/copy_git_directory.py11CODE
LOWgn/compile_ib_files.py13CODE
LOWgn/gn_to_bp.py492CODE
LOWbazel/external/dawn/generate_dawn_files.py437CODE
LOWbazel/external/dawn/generate_dawn_files.py98CODE
LOWbazel/external/dawn/generate_dawn_files.py180CODE
LOWbazel/external/dawn/generate_dawn_files.py213CODE
LOWbazel/external/dawn/generate_dawn_files.py364CODE
LOWbazel/external/dawn/generate_dawn_files.py380CODE
Excessive Try-Catch Wrapping25 hits · 46 pts
SeverityFileLineSnippetContext
LOW…ules/gold_upload/resources/get_uninteresting_hashes.py28 except Exception as e:CODE
LOWinfra/bots/assets/skp/create.py102 except Exception:CODE
MEDIUMtools/generate_patches.py30 print(f"Error: Source file not found: {source_file}", file=sys.stderr)CODE
LOWtools/skp/webpages_playback.py279 except Exception:CODE
LOWtools/calmbench/ab.py402 except Exception as e:CODE
MEDIUMtools/raster_pipeline/llvm_mca_analysis.py26 print(f"Error: Could not find {header_path}")CODE
MEDIUM⚡tools/raster_pipeline/llvm_mca_analysis.py54 print(f"Error running nm: {e.stderr}")CODE
LOW⚡tools/raster_pipeline/llvm_mca_analysis.py56 except Exception as e:CODE
MEDIUM⚡tools/raster_pipeline/llvm_mca_analysis.py57 print(f"Error starting nm: {e}")CODE
MEDIUM⚡tools/raster_pipeline/llvm_mca_analysis.py141 print(f"Error disassembling {symbol_info['full_demangled']}: {e.stderr}")CODE
LOW⚡tools/raster_pipeline/llvm_mca_analysis.py143 except Exception as e:CODE
MEDIUM⚡tools/raster_pipeline/llvm_mca_analysis.py144 print(f"Error running objdump: {e}")CODE
MEDIUM⚡tools/raster_pipeline/llvm_mca_analysis.py209 print(f"Error running llvm-mca on {asm_path}: {error_msg}")CODE
LOW⚡tools/raster_pipeline/llvm_mca_analysis.py211 except Exception as e:CODE
MEDIUM⚡tools/raster_pipeline/llvm_mca_analysis.py212 print(f"Error running llvm-mca: {e}")CODE
MEDIUMtools/raster_pipeline/llvm_mca_analysis.py267 print(f"Error: Binary {args.bin} does not exist.")CODE
LOWgn/is_xcode.py20except Exception:CODE
MEDIUMthird_party/dawn/cmake_utils.py93 print("Error: ninja not found in PATH.")CODE
MEDIUMthird_party/dawn/build_tint.py45 print("Error: cmake not found in PATH.")CODE
MEDIUMthird_party/dawn/build_tint.py50 print("Error: ninja not found in PATH.")CODE
MEDIUMthird_party/dawn/build_dawn.py63 print("Error: cmake not found in PATH.")CODE
MEDIUMthird_party/dawn/build_dawn.py68 print("Error: ninja not found in PATH.")CODE
LOWplatform_tools/android/skp_gen/android_skp_capture.py104 except Exception:CODE
LOWplatform_tools/android/skp_gen/android_skp_capture.py113 except Exception:CODE
LOWbazel/external/dawn/generate_dawn_files.py177 except Exception as e:CODE
Self-Referential Comments13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMserve-bazel-test-undeclared-outputs.sh35# Create a temporary directory where we will extract the ZIP file, and delete it on exit.COMMENT
MEDIUMinfra/bots/analysis/create-alljobs.sh7# Create a file /tmp/alljobs.csv by parsing jobs.json.COMMENT
MEDIUMinfra/bots/recipe_modules/checkout/api.py57 # Create the checkout path if necessary.COMMENT
MEDIUMinfra/bots/recipes/perf_skottietrace.py133 # Create the output JSON file in perf_data_dir for the Upload task to upload.COMMENT
MEDIUMinfra/bots/recipes/perf_skottiewasm_lottieweb.py194 # Create the output JSON file in perf_data_dir for the Upload task to upload.COMMENT
MEDIUMinfra/bots/assets/clang_ubuntu_noble/create.py18 # Create a local docker image tagged "clang_ubuntu_noble_asset" with a]COMMENT
MEDIUMinfra/bots/assets/clang_linux/create.py18 # Create a local docker image tagged "clang_linux_asset" with a compiled clang for amd64 Linux.COMMENT
MEDIUMinfra/bots/assets/arm64_sysroot/create.py22 # Create a local docker image tagged "arm64_sysroot" with a sysroot forCOMMENT
MEDIUMtools/skp/webpages_playback.py230 # Create the required local storage directories.COMMENT
MEDIUMtools/skp/webpages_playback.py249 # Create an archive of the specified webpages if '--record=True' isCOMMENT
MEDIUMtools/fiddle/animate.sh7# Create a 3 second long animation from the Raster output of fiddle at 15 fps.COMMENT
MEDIUMgn/gn_meta_sln.py80# Create a new solution. We arbitrarily use the first config as the GUID sourceCOMMENT
MEDIUM…urces/sksl/es2_conformance/import_conformance_tests.py214 # Create a runnable SkSL test by returning green or red based on the test result.COMMENT
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHtools/skslc/Main.cpp386 // Apply settings as requested. Since they can come in any order, repeat until we'veCOMMENT
HIGHsrc/gpu/ganesh/GrFragmentProcessor.cpp453 // Compose the two processors as requested.COMMENT
HIGHsrc/codec/SkRawCodec.cpp579 // Quick check if the image contains a valid TIFF header as requested by DNG format.COMMENT
HIGHsrc/codec/SkCrabbyAvifCodec.cpp432 // 2) Subset computation (as requested by options.fSubset).COMMENT
HIGHsrc/sksl/ir/SkSLSwizzle.h82 // Swizzle::MakeExact creates the swizzle as requested, without simplification.COMMENT
Cross-Language Confusion5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHinfra/bots/assets/clang_ubuntu_noble/create.py32 'cp -R /tmp/clang_output/* /OUT && chmod -R a+w /OUT']CODE
HIGHinfra/bots/assets/clang_linux/create.py31 'cp -R /tmp/clang_output/* /OUT && chmod -R a+w /OUT']CODE
HIGHinfra/bots/assets/arm64_sysroot/create.py36 'cp -R /tmp/arm64_sysroot_output/* /OUT && chmod -R a+w /OUT']CODE
HIGHtools/bloaty_treemap.py70 ['ROOT', null, 0],""")CODE
HIGHtools/skpbench/_hardware_android.py138 exists = self._adb.check('test -d /sys/class/kgsl && echo y')CODE
TODO Padding11 hits · 16 pts
SeverityFileLineSnippetContext
LOWmodules/skparagraph/tests/SkParagraphTest.cpp3074// TODO: Add test for wavy decorations.COMMENT
LOWmodules/skparagraph/src/TextLine.cpp1313 result.fUnscaledAscent = - fMaxRunMetrics.ascent(); // TODO: implementCODE
LOWmodules/audioplayer/SkAudioPlayer_oboe.cpp96 // TODO: implement rate function (change sample rate of AudioStream)COMMENT
LOWmodules/audioplayer/SkAudioPlayer_oboe.cpp101 // TODO: implement volume function (multiply each sample by desired amplitude)COMMENT
LOWsrc/gpu/ganesh/d3d/GrD3DCaps.cpp47 // TODO: implement theseCOMMENT
LOWsrc/gpu/ganesh/d3d/GrD3DCaps.cpp65 // TODO: implementCOMMENT
LOWsrc/gpu/graphite/Resource.cpp140 // TODO: implement this to report real gpu id backing the resource. Will be virtual implementedCOMMENT
LOWsrc/gpu/graphite/draw/DrawList.cpp41 // TODO: Add validation that the renderer's expected shape type and stroke params match providedCOMMENT
LOWsrc/core/SkVx.h629// TODO: implement with map()?COMMENT
LOWsrc/pdf/SkPDFDevice.cpp1127 // TODO: implement drawVerticesCOMMENT
LOWsrc/pdf/SkPDFDevice.cpp1134 // TODO: implement drawMeshCOMMENT
Decorative Section Separators3 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM⚡modules/skottie/src/effects/DisplacementMapEffect.cpp245 // │ │ └──────────────── B -> horizontal modulationCOMMENT
MEDIUM⚡modules/skottie/src/effects/DisplacementMapEffect.cpp246 // │ └──────────────────────────────── G -> vertical displacementCOMMENT
MEDIUM⚡modules/skottie/src/effects/DisplacementMapEffect.cpp247 // └─────────────────────────────────────────── R -> horizontal displacementCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtools/find_run_binary.py15Runs a program from the command line and returns stdout. Args: args: Command line to run, as a list of string parSTRING
HIGHtools/find_run_binary.py37Returns path to an existing program binary. Args: program: Basename of the program to find (e.g., 'render_pictureSTRING
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWPRESUBMIT.py676 # Check if safety comment is on the same line.COMMENT
LOWtools/skpbench/_hardware_android.py152 # Set GPU to performance mode and lock clockCOMMENT
LOWtools/skpbench/_hardware_pixel2.py64 # Set GPU to performance modeCOMMENT
LOWtools/skpbench/_hardware_pixel.py45 # Set GPU to performance mode, 315 MHZCOMMENT
LOWthird_party/dawn/build_tint.py111 # Set PYTHONPATH to include Dawn's third_party directory. This is neededCOMMENT
Verbosity Indicators5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/raster_pipeline/run_benchmarks.py72 # Step 1: Compile the 3 Control (Baseline) versionsCOMMENT
LOWtools/raster_pipeline/run_benchmarks.py88 # Step 2: Compile the 3 Optimized (With Changes) versionsCOMMENT
LOWmodules/jsonreader/SkJSONReader.cpp758 // Thus they cannot be consumed indiscriminately -- we need to check if we hit theCOMMENT
LOWsrc/gpu/ganesh/vk/GrVkCommandBuffer.cpp115 // We need to check if we are adding a pipeline barrier that covers part of the sameCOMMENT
LOWsrc/gpu/graphite/vk/VulkanCommandBuffer.cpp2375 // We need to check if we are adding a pipeline barrier that covers part of the sameCOMMENT
Structural Annotation Overuse5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/raster_pipeline/run_benchmarks.py72 # Step 1: Compile the 3 Control (Baseline) versionsCOMMENT
LOWtools/raster_pipeline/run_benchmarks.py88 # Step 2: Compile the 3 Optimized (With Changes) versionsCOMMENT
LOWsrc/gpu/ganesh/effects/GrSkSLFP.h347 // NOTE: This function (necessarily) gets an rvalue reference to child, but deliberatelyCOMMENT
LOWsrc/gpu/ganesh/effects/GrSkSLFP.h361 // NOTE: This function (necessarily) gets an rvalue reference to child, but deliberatelyCOMMENT
LOWsrc/codec/SkPngRustCodec.cpp137 // NOTE: This method is based on `read_color_profile` inCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…urces/sksl/es2_conformance/import_conformance_tests.py11# Usage:COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmodules/skcms/src/Transform_inl.h643 // TODO: don't forget to optimize gather_32().COMMENT