Repository Analysis

google/skia

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

2.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of google/skia, a C++ project with 10,825 GitHub stars. SynthScan v2.0 examined 1,740,322 lines of code across 7200 source files, recording 4444 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 2.8 places this repository in the Likely human-written 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).

2.8
Adjusted Score
2.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
10.8K
Stars
C++
Language
1.7M
Lines of Code
7.2K
Files
4.4K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 72MEDIUM 66LOW 4306

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 4444 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.

Over-Commented Block3991 hits · 3920 pts
SeverityFileLineSnippetContext
LOWexperimental/rust_bmp/decoder/impl/SkBmpRustCodec.cpp1/*COMMENT
LOWexperimental/rust_bmp/ffi/FFI.rs81 /// Attempt to read all image pixel data from the stream into internal buffer.COMMENT
LOWexperimental/lowp-basic/lowp_experiments.cpp1/*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/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/DisplacementBench.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/SkTaskGroup.h"COMMENT
LOWbench/nanobench.cpp61COMMENT
LOWbench/nanobench.cpp81#include "tools/graphite/ContextFactory.h"COMMENT
LOWbench/nanobench.cpp101#include <cinttypes>COMMENT
LOWbench/nanobench.cpp521 // overheadCOMMENT
LOWbench/nanobench.cpp1181 }COMMENT
LOWbench/EncodeBench.cpp1/*COMMENT
LOWbench/SKPBench.cpp1/*COMMENT
LOWbench/TextBlobBench.cpp1/*COMMENT
LOWbench/BlurBench.cpp1/*COMMENT
LOWbench/ImageFilterDAGBench.cpp1/*COMMENT
LOWbench/ClearBench.cpp1/*COMMENT
LOWbench/BlurImageFilterBench.cpp1/*COMMENT
LOWbench/BlurImageFilterBench.cpp21#define BLUR_SIGMA_MINI 0.5fCOMMENT
LOWbench/PathTextBench.cpp1/*COMMENT
LOWbench/PathBench.cpp1/*COMMENT
LOWbench/graphite/BoundsManagerBench.cpp1/*COMMENT
LOWbench/graphite/IntersectionTreeBench.cpp1/*COMMENT
LOWinfra/bots/build_task_drivers.sh1#!/bin/bashCOMMENT
LOWinfra/bots/recipes.py1#!/bin/shCOMMENT
LOWinfra/bots/gen_tasks_logic/gen_tasks_logic.go101 // using the default Bazel cache path would work, our Bazel task drivers demand an explicit path.COMMENT
LOWinfra/bots/gen_tasks_logic/gen_tasks_logic.go2161 //COMMENT
LOWinfra/bots/gen_tasks_logic/task_builder.go301 // {COMMENT
LOWinfra/bots/analysis/axis.sh1#!/bin/bashCOMMENT
LOWinfra/bots/recipe_modules/flavor/android.py81 'Pixel10',COMMENT
3931 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 Imports121 hits · 121 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/recipes/compute_buildstats.py8CODE
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
LOWinfra/bots/assets/scripts/create.py11CODE
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
61 more matches not shown…
AI Slop Vocabulary38 hits · 109 pts
SeverityFileLineSnippetContext
LOWtools/generate_patches.py39 # so we can just use a stub and it works fine.COMMENT
MEDIUMtools/gpu/vk/VkTestUtils.cpp769 // 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.cpp325 // MapRect should have a more robust solution than a fixed w > epsilon and when it does,COMMENT
MEDIUMtests/M44Test.cpp371 // Stripped down test case from skbug.com/40043416. Essentially, the corners of this rect wouldCOMMENT
MEDIUMtests/MatrixTest.cpp1083 // 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.cpp84 // 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.cpp1045 // 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.cpp448 // Definitely cannot represent this gradient configurationCOMMENT
MEDIUMsrc/gpu/ganesh/gradients/GrGradientShader.cpp471 // Definitely cannot represent this gradient configurationCOMMENT
MEDIUMsrc/gpu/graphite/DrawWriter.h139 // required, so that it is seamless to the caller. The draws do not use instances or indices.COMMENT
MEDIUMsrc/gpu/graphite/DrawWriter.h152 // seamless to the caller.COMMENT
MEDIUMsrc/gpu/graphite/ShaderInfo.h34 // Backend implementations which may utilize static / immutable samplers should pass in a realCOMMENT
MEDIUMsrc/gpu/graphite/ShaderInfo.h40 // for each sampler the nodes utilize (dynamic and immutable). This way, a SamplerDesc's indexCOMMENT
MEDIUMsrc/gpu/graphite/ScratchResourceManager.h93 // TODO: Eventually update BufferSubAllocator and DrawBufferManager to leverage theCOMMENT
MEDIUMsrc/gpu/graphite/PaintParams.cpp511 // Definitely not eligible for conversion to kSrc, remove optimistically added flagCOMMENT
MEDIUMsrc/gpu/graphite/ShaderInfo.cpp1242 // Porter-Duff blend modes can utilize BlendFormula.COMMENT
MEDIUMsrc/gpu/graphite/ResourceTypes.h231 // In order to fit within SamplerDesc's uint32 desc field, backends can only utilize up toCOMMENT
MEDIUMsrc/gpu/graphite/render/TessellateWedgesRenderStep.cpp166 // TODO: Essentially the same as PathWedgeTessellator::write_patches but with a differentCOMMENT
MEDIUMsrc/core/SkBlockAllocator.h468 // Inline head block, must be at the end so that it can utilize any additional reserved spaceCOMMENT
MEDIUMsrc/core/SkRRect.cpp982 // Definitely no intersectionCOMMENT
MEDIUMsrc/codec/SkPngRustCodec.cpp378 // Doing this check here is more robust than doing it insideCOMMENT
MEDIUMsrc/codec/SkPngRustCodec.cpp383 // Reporting a hard error is more robust than trying to ignore the `fcTL`COMMENT
MEDIUMsrc/codec/SkPngRustCodec.cpp627 // 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 Identifiers72 hits · 72 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.py389 def copy_directory_contents_to_device(self, host, device):CODE
LOWinfra/bots/recipe_modules/flavor/android.py398 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/recipes/compute_buildstats.py29def add_binary_size_output_property(result, source, binary_size):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.h31class 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.cpp58class 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.py83 def test_parse_set_and_list_commands(self):CODE
LOWbazel/external/dawn/generate_dawn_files.py204 def _handle_generator_command(self, name, args):CODE
LOWbazel/external/dawn/generate_dawn_files.py329 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.h25class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/GrPipeline.h35class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/GrFragmentProcessor.h32class 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.cpp71class GrGLSLProgramDataManager;CODE
LOWsrc/gpu/ganesh/ops/QuadPerEdgeAA.cpp37class GrGLSLProgramDataManager;CODE
12 more matches not shown…
Fake / Example Data36 hits · 48 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
LOWbench/ParagraphBench.cpp55 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWbench/ParagraphBench.cpp55 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWbench/ParagraphBench.cpp62 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWbench/ParagraphBench.cpp62 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWgm/animatedimageblurs.cpp218 "Lorem ipsum dolor sit amet,",CODE
LOWgm/animatedimageblurs.cpp218 "Lorem ipsum dolor sit amet,",CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1814 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1814 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1821 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1821 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1898 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1898 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1905 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1905 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1985 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1985 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1992 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp1992 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp2072 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp2072 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp2079 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "CODE
LOWmodules/skparagraph/tests/SkParagraphTest.cpp2079 "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.cpp2758 const char* hello = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do";CODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp2758 const char* hello = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do";CODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp4354 draw(TextDirection::kLtr, 20, "Lorem ipsum dolor sit amet");CODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp4354 draw(TextDirection::kLtr, 20, "Lorem ipsum dolor sit amet");CODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp4355 draw(TextDirection::kRtl, 20, "Lorem ipsum dolor sit amet");CODE
LOWmodules/skparagraph/slides/ParagraphSlide.cpp4355 draw(TextDirection::kRtl, 20, "Lorem ipsum dolor sit amet");CODE
Deep Nesting46 hits · 46 pts
SeverityFileLineSnippetContext
LOWPRESUBMIT.py78CODE
LOWPRESUBMIT.py258CODE
LOWPRESUBMIT.py291CODE
LOWPRESUBMIT.py334CODE
LOWPRESUBMIT.py491CODE
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.py47CODE
LOW…ipe_modules/builder_name_schema/builder_name_schema.py50CODE
LOWinfra/bots/recipes/perf.py30CODE
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.py68CODE
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.py479CODE
LOWbazel/external/dawn/generate_dawn_files.py422CODE
LOWbazel/external/dawn/generate_dawn_files.py98CODE
LOWbazel/external/dawn/generate_dawn_files.py171CODE
LOWbazel/external/dawn/generate_dawn_files.py204CODE
LOWbazel/external/dawn/generate_dawn_files.py355CODE
LOWbazel/external/dawn/generate_dawn_files.py371CODE
Excessive Try-Catch Wrapping24 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
MEDIUMtools/raster_pipeline/llvm_mca_analysis.py54 print(f"Error running nm: {e.stderr}")CODE
LOWtools/raster_pipeline/llvm_mca_analysis.py56 except Exception as e:CODE
MEDIUMtools/raster_pipeline/llvm_mca_analysis.py57 print(f"Error starting nm: {e}")CODE
MEDIUMtools/raster_pipeline/llvm_mca_analysis.py141 print(f"Error disassembling {symbol_info['full_demangled']}: {e.stderr}")CODE
LOWtools/raster_pipeline/llvm_mca_analysis.py143 except Exception as e:CODE
MEDIUMtools/raster_pipeline/llvm_mca_analysis.py144 print(f"Error running objdump: {e}")CODE
MEDIUMtools/raster_pipeline/llvm_mca_analysis.py209 print(f"Error running llvm-mca on {asm_path}: {error_msg}")CODE
LOWtools/raster_pipeline/llvm_mca_analysis.py211 except Exception as e:CODE
MEDIUMtools/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
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.py61 print("Error: cmake not found in PATH.")CODE
MEDIUMthird_party/dawn/build_dawn.py66 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.py168 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.cpp367 // 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.cpp2470// TODO: Add test for wavy decorations.COMMENT
LOWmodules/skparagraph/src/TextLine.cpp1177 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/DrawList.cpp39 // TODO: Add validation that the renderer's expected shape type and stroke params match providedCOMMENT
LOWsrc/gpu/graphite/Resource.cpp140 // TODO: implement this to report real gpu id backing the resource. Will be virtual implementedCOMMENT
LOWsrc/core/SkVx.h629// TODO: implement with map()?COMMENT
LOWsrc/pdf/SkPDFDevice.cpp1121 // TODO: implement drawVerticesCOMMENT
LOWsrc/pdf/SkPDFDevice.cpp1128 // TODO: implement drawMeshCOMMENT
Decorative Section Separators3 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMmodules/skottie/src/effects/DisplacementMapEffect.cpp244 // │ │ └──────────────── B -> horizontal modulationCOMMENT
MEDIUMmodules/skottie/src/effects/DisplacementMapEffect.cpp245 // │ └──────────────────────────────── G -> vertical displacementCOMMENT
MEDIUMmodules/skottie/src/effects/DisplacementMapEffect.cpp246 // └─────────────────────────────────────────── 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
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.cpp754 // 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.cpp2042 // 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.cpp136 // NOTE: This method is based on `read_color_profile` inCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
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.py109 # Set PYTHONPATH to include Dawn's third_party directory. This is neededCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMrust/icc/FFI.rs59 // in `skcms_public.h`. Some guardrails exist, but they are not 100% accurate:COMMENT
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