Repository Analysis

facebook/hermes

A JavaScript engine optimized for running React Native.

31.3 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of facebook/hermes, a JavaScript project with 11,205 GitHub stars. SynthScan v2.0 examined 1,951,075 lines of code across 11929 source files, recording 19990 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 31.3 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).

31.3
Adjusted Score
31.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.2K
Stars
JavaScript
Language
2.0M
Lines of Code
11.9K
Files
20.0K
Pattern Hits
2026-07-14
Scan Date
0.72
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 65HIGH 8554MEDIUM 99LOW 11272

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 19990 distinct pattern matches across 23 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.

Cross-Language Confusion (JS/TS)8527 hits · 49218 pts
SeverityFileLineSnippetContext
HIGHtools/hvm-bench/arrayUnshift.js18 print('done');CODE
HIGHtools/hvm-bench/stringSplit.js22 print('done');CODE
HIGHtools/hvm-bench/arrayReduceRight.js26 print('done');CODE
HIGHtools/hvm-bench/stringPadStart.js19 print('done');CODE
HIGHtools/hvm-bench/regExpReplace.js27 print('done');CODE
HIGHtools/hvm-bench/arraySome.js41 print('done');CODE
HIGHtools/hvm-bench/arrayReverse.js22 print('done');CODE
HIGHtools/hvm-bench/largeArrayWrite.js40print(run(10000));CODE
HIGHtools/hvm-bench/arrayFilter.js31 print('done');CODE
HIGHtools/hvm-bench/stringEndsWith.js20 print('done');CODE
HIGHtools/hvm-bench/arrayWrite.js38print(run(1000000));CODE
HIGHtools/hvm-bench/arraySlice.js21 print('done');CODE
HIGHtools/hvm-bench/arrayFill.js22 print('done');CODE
HIGHtools/hvm-bench/allocObjLit.js31print(allocNTimes(100));CODE
HIGHtools/hvm-bench/allocNewArray.js57print(allocNTimes(500));CODE
HIGHtools/hvm-bench/arrayFindIndex.js41 print('done');CODE
HIGHtools/hvm-bench/simpleSum.js24print(doSumNTimes(10000));CODE
HIGHtools/hvm-bench/stringFromCharCode.js16print('done');CODE
HIGHtools/hvm-bench/regExpSearch.js21 print('done');CODE
HIGHtools/hvm-bench/arrayCopyWithin.js22 print('done');CODE
HIGHtools/hvm-bench/stringMatch.js24 print('done');CODE
HIGHtools/hvm-bench/arrayEvery.js41 print('done');CODE
HIGHtools/hvm-bench/stringPadEnd.js19 print('done');CODE
HIGHtools/hvm-bench/arraySplice.js22 print('done');CODE
HIGHtools/hvm-bench/allocNewObj.js57print(allocNTimes(500));CODE
HIGHtools/hvm-bench/wb-perf.js44print(wbPerf(200));CODE
HIGHtools/hvm-bench/regExpFlags.js18 print('done');CODE
HIGHtools/hvm-bench/stringStartsWith.js20 print('done');CODE
HIGHtools/hvm-bench/arrayMap.js31 print('done');CODE
HIGHtools/hvm-bench/arrayShift.js22 print('done');CODE
HIGHtools/hvm-bench/arrayIndexOf.js28 print('done, sum =', sum);CODE
HIGHtools/hvm-bench/stringLastIndexOf.js25 print('done');CODE
HIGHtools/hvm-bench/stringSearch.js24 print('done');CODE
HIGHtools/hvm-bench/allocArray.js57print(allocNTimes(500));CODE
HIGHtools/hvm-bench/arrayIncludes.js24 print('done');CODE
HIGHtools/hvm-bench/stringSlice.js21 print('done');CODE
HIGHtools/hvm-bench/regExpSplit.js21 print('done');CODE
HIGHtools/hvm-bench/arrayReduce.js26 print('done');CODE
HIGHtools/hvm-bench/propAccess.js38print(access16NTimes(10000000));CODE
HIGHtools/hvm-bench/arrayFind.js41 print('done');CODE
HIGHtools/hvm-bench/allocObj.js59print(allocNTimes(500));CODE
HIGHtools/hvm-bench/regExpMatch.js20print('done');CODE
HIGHtools/hvm-bench/arrayFrom.js46 print('done');CODE
HIGHtools/hvm-bench/stringReplace.js25 print('done');CODE
HIGHtools/hvm-bench/stringIncludes.js24 print('done');CODE
HIGHtools/hvm-bench/stringIndexOf.js25 print('done');CODE
HIGHtools/hvm-bench/arrayLastIndexOf.js28 print('done, sum =', sum);CODE
HIGHtools/hvm-bench/arrayRead.js38print(run(1000000));CODE
HIGHtools/hvm-bench/largeArrayRead.js46print(run(10000));CODE
HIGHtools/hvm-bench/arrayPop.js21 print('done');CODE
HIGHtools/hvm-bench/regExpToString.js19 print('done');CODE
HIGHtools/hvm-bench/stringCharAt.js21 print('done');CODE
HIGHagent-perf/benchmarks/micro/array_operations.js120 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
HIGHagent-perf/benchmarks/micro/control_flow.js124 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
HIGHagent-perf/benchmarks/micro/object_creation.js99 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
HIGHagent-perf/benchmarks/micro/arithmetic.js101 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
HIGHagent-perf/benchmarks/micro/string_operations.js99 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
HIGHagent-perf/benchmarks/micro/property_access.js93 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
HIGHagent-perf/benchmarks/micro/typed_operations.js110 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
HIGHagent-perf/benchmarks/micro/function_calls.js109 print("RESULT: " + name + " " + opsPerSec + " ops/sec");CODE
8467 more matches not shown…
Over-Commented Block10280 hits · 9562 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt601COMMENT
LOWtools/dependency-extractor/emdependency-extractor.cpp21#include "hermes/Support/Algorithms.h"COMMENT
LOWtools/dependency-extractor/emdependency-extractor.cpp41extern "C" {COMMENT
LOWtools/hermes-parser/hermes-parser-wasm.cpp1/*COMMENT
LOW…/hermes-parser/src/utils/mutateESTreeASTForPrettier.js61 // https://github.com/prettier/prettier/issues/11793COMMENT
LOW…mes-eslint/src/scope-manager/referencer/TypeVisitor.js401 }COMMENT
LOW…/hermes-parser/js/hermes-transform/src/detachedNode.js81 config: DetachConfig = {},COMMENT
LOW…rser/js/hermes-transform/src/transform/transformAST.js101 })();COMMENT
LOW…rc/transform/comments/prettier/language-js/comments.js161// else { ... }COMMENT
LOWtools/hbc-attribute/hbc-attribute.cpp1/*COMMENT
LOWtools/hbc-attribute/hbc-attribute.cpp21#include "hermes/BCGen/LiteralBufferBuilder.h"COMMENT
LOWtools/napi-runner/napi-runner.cpp1/**COMMENT
LOWtools/emhermesc/emhermesc.cpp21#include "hermes/SourceMap/SourceMapParser.h"COMMENT
LOWtools/emhermesc/emhermesc.cpp41/// result must be freed with \c hermesCompileResult_free().COMMENT
LOWtools/hcdp/hcdp.cpp21#include <iostream>COMMENT
LOWtools/synth/synth.cpp1/*COMMENT
LOWtools/synth/fix_trace.py1#!/usr/bin/env python3COMMENT
LOWtools/hbcdump/hbcdump.cpp1/*COMMENT
LOWtools/test-runner/Executor.cpp1/*COMMENT
LOWtools/test-runner/Executor.cpp21COMMENT
LOWtools/test-runner/Executor.cpp101 sigemptyset(&sa.sa_mask);COMMENT
LOWtools/test-runner/Skiplist.h81 std::vector<SkipCategory> categories_;COMMENT
LOWtools/test-runner/Executor.h101/// Compile JS source to bytecode in-memory.COMMENT
LOWtools/test-runner/Executor.h141 bool disableHandleSan = false);COMMENT
LOWtools/test-runner/main.cpp1/*COMMENT
LOWtools/test-runner/main.cpp21#include "llvh/Support/raw_ostream.h"COMMENT
LOWtools/test-runner/HarnessCache.h81COMMENT
LOWtools/hbc-deltaprep/hbc-deltaprep.cpp41COMMENT
LOWtools/hdb/hdb.cpp21#include <jsi/jsi.h>COMMENT
LOWtools/hermes/hermes.cpp1/*COMMENT
LOWtools/hermes/hermes.cpp241 llvh::InitLLVM initLLVM(argc, argv);COMMENT
LOWtools/hermes/repl.cpp1/*COMMENT
LOWtools/hermes/repl.cpp21#include "hermes/Support/OSCompat.h"COMMENT
LOWtools/shermes/OutputStream.h21 /// Replaces the stream with an open stream to a temporary fileCOMMENT
LOWtools/shermes/ParseJSFile.cpp41 /// The AST context.COMMENT
LOWtools/shermes/CMakeLists.txt61# then used to build the VM for the target system.COMMENT
LOWtools/shermes/ConsoleBindings.cpp1/*COMMENT
LOWtools/shermes/ParseJSFile.h41COMMENT
LOWtools/shermes/shermes.cpp1/*COMMENT
LOWtools/shermes/shermes.cpp21#include "hermes/Parser/JSParser.h"COMMENT
LOWtools/shermes/shermes.cpp541 }COMMENT
LOWtools/hvm/hvm.cpp1/*COMMENT
LOWtools/fuzzers/fuzzilli/fuzzilli.cpp21using facebook::jsi::String;COMMENT
LOWtools/fuzzers/fuzzilli/profile/Profile.swift1// Copyright 2019 Google LLCCOMMENT
LOWtools/hvm-bench/interp-dispatch-bench.cpp1/*COMMENT
LOWtools/hvm-bench/interp-dispatch-bench.cpp21/// d-cache size (it only uses a few registers), exceptions, heap allocation andCOMMENT
LOWagent-perf/tools/perf_proxies.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/collect_pmu.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/count_instructions.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/run_benchmarks.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/compiler_stats.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/pass_experiment.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/compilation_profiler.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/binary_size_compare.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/generated_code_report.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/benchmark_compare.sh1#!/bin/bashCOMMENT
LOWagent-perf/tools/gc_stats.sh1#!/bin/bashCOMMENT
LOWtest/BCGen/HBC/string_kinds.js21// CHECK-NEXT: i3[ASCII, {{.*}}] #{{.*}}: definePropertyCOMMENT
LOWtest/BCGen/HBC/store_to_env.js21 print(myObj);COMMENT
LOWtest/BCGen/HBC/store_to_env.js41// CHECK-NEXT: Shape table count: 0COMMENT
10220 more matches not shown…
Hallucination Indicators65 hits · 770 pts
SeverityFileLineSnippetContext
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js122Y=Box2D.Collision.b2SimplexCache;Box2D.inherit(G,Box2D.Collision.Shapes.b2Shape);G.prototype.__super=Box2D.Collision.ShaCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js127y.prototype.__super=Box2D.Collision.Shapes.b2Shape.prototype;y.b2EdgeShape=function(){Box2D.Collision.Shapes.b2Shape.b2SCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js135y.prototype.SetPrevEdge=function(k,z,u,D){this.m_prevEdge=k;this.m_coreV1=z;this.m_cornerDir1=u;this.m_cornerConvex1=D};CODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js296I.prototype.__super=Box2D.Dynamics.Contacts.b2Contact.prototype;I.b2EdgeAndCircleContact=function(){Box2D.Dynamics.ContaCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js297this.m_fixtureB.GetShape()instanceof F?this.m_fixtureB.GetShape():null,o.m_xf)};I.prototype.b2CollideEdgeAndCircle=functCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js298Box2D.Dynamics.Contacts.b2Contact.prototype;Y.b2PolyAndCircleContact=function(){Box2D.Dynamics.Contacts.b2Contact.b2ContCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js299K?this.m_fixtureA.GetShape():null,j.m_xf,this.m_fixtureB.GetShape()instanceof F?this.m_fixtureB.GetShape():null,o.m_xf)}CODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js301function(){Box2D.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)};z.Create=function(){return new z};z.DestroCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js308w.prototype.__super=Box2D.Dynamics.Controllers.b2Controller.prototype;w.b2BuoyancyController=function(){Box2D.Dynamics.CCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js311A.b2ConstantAccelController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.ACODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js312function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.F=new K(0,0)};U.prototype.SteCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js315Q.b2GravityController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.G=1;thiCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js317Box2D.Dynamics.Controllers.b2Controller.prototype;V.b2TensorDampingController=function(){Box2D.Dynamics.Controllers.b2CoCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js321Box2D.inherit(U,Box2D.Dynamics.Joints.b2Joint);U.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;U.b2DistanceJCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js330l.m_sweep.a+=l.m_invI*(n*c-a*q);h.SynchronizeTransform();l.SynchronizeTransform();return y.Abs(d)<F.b2_linearSlop};Box2DCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js331this.frequencyHz=0};p.prototype.Initialize=function(d,h,l,j){this.bodyA=d;this.bodyB=h;this.localAnchorA.SetV(this.bodyACODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js339Q.prototype.__super=Box2D.Dynamics.Joints.b2JointDef.prototype;Q.b2FrictionJointDef=function(){Box2D.Dynamics.Joints.b2JCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js340Box2D.inherit(V,Box2D.Dynamics.Joints.b2Joint);V.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;V.b2GearJointCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js350h.SynchronizeTransform();return 0<F.b2_linearSlop};Box2D.inherit(M,Box2D.Dynamics.Joints.b2JointDef);M.prototype.__superCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js357k.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;k.b2LineJoint=function(){Box2D.Dynamics.Joints.b2Joint.b2JoiCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js377F.b2_linearSlop&&f<=F.b2_angularSlop};Box2D.inherit(z,Box2D.Dynamics.Joints.b2JointDef);z.prototype.__super=Box2D.DynamiCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js3780;this.enableMotor=false;this.motorSpeed=this.maxMotorForce=0};z.prototype.Initialize=function(d,h,l,j){this.bodyA=d;thiCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js385a;this.m_impulse.y+=o;d=d.dt*this.m_maxForce;this.m_impulse.LengthSquared()>d*d&&this.m_impulse.Multiply(d/this.m_impulsCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js386arguments);this.target=new w};D.prototype.b2MouseJointDef=function(){this.__super.b2JointDef.call(this);this.type=I.e_moCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js447a-d*n);j.m_sweep.c.x+=j.m_invMass*n;j.m_sweep.c.y+=j.m_invMass*a;j.m_sweep.a+=j.m_invI*(g*a-b*n);l.SynchronizeTransform(CODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js449this.bodyA.GetAngle()};Box2D.inherit(aa,Box2D.Dynamics.Joints.b2Joint);aa.prototype.__super=Box2D.Dynamics.Joints.b2JoinCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js457j.m_sweep.a+=g*(n*m.y-a*m.x+m.z);l.SynchronizeTransform();j.SynchronizeTransform();return r<=F.b2_linearSlop&&s<=F.b2_anCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js269aa=Box2D.Collision.b2ContactID,Z=Box2D.Collision.b2Manifold,d=Box2D.Collision.b2TimeOfImpact,h=Box2D.Collision.b2TOIInpuCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js408O.prototype.__super=Box2D.Dynamics.Joints.b2JointDef.prototype;O.b2PrismaticJointDef=function(){Box2D.Dynamics.Joints.b2CODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js4090};O.prototype.Initialize=function(d,h,l,j){this.bodyA=d;this.bodyB=h;this.localAnchorA=this.bodyA.GetLocalPoint(l);thisCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js428function(){Box2D.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments);this.groundAnchorA=new w;this.groundAnchorBCODE
CRITICAL…arks/bench-runner/resource/test-suites/octane/box2d.js430N.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;N.b2RevoluteJoint=function(){Box2D.Dynamics.Joints.b2Joint.bCODE
CRITICALbenchmarks/octane/box2d.js513Y=Box2D.Collision.b2SimplexCache;Box2D.inherit(G,Box2D.Collision.Shapes.b2Shape);G.prototype.__super=Box2D.Collision.ShaCODE
CRITICALbenchmarks/octane/box2d.js518y.prototype.__super=Box2D.Collision.Shapes.b2Shape.prototype;y.b2EdgeShape=function(){Box2D.Collision.Shapes.b2Shape.b2SCODE
CRITICALbenchmarks/octane/box2d.js526y.prototype.SetPrevEdge=function(k,z,u,D){this.m_prevEdge=k;this.m_coreV1=z;this.m_cornerDir1=u;this.m_cornerConvex1=D};CODE
CRITICALbenchmarks/octane/box2d.js687I.prototype.__super=Box2D.Dynamics.Contacts.b2Contact.prototype;I.b2EdgeAndCircleContact=function(){Box2D.Dynamics.ContaCODE
CRITICALbenchmarks/octane/box2d.js688this.m_fixtureB.GetShape()instanceof F?this.m_fixtureB.GetShape():null,o.m_xf)};I.prototype.b2CollideEdgeAndCircle=functCODE
CRITICALbenchmarks/octane/box2d.js689Box2D.Dynamics.Contacts.b2Contact.prototype;Y.b2PolyAndCircleContact=function(){Box2D.Dynamics.Contacts.b2Contact.b2ContCODE
CRITICALbenchmarks/octane/box2d.js690K?this.m_fixtureA.GetShape():null,j.m_xf,this.m_fixtureB.GetShape()instanceof F?this.m_fixtureB.GetShape():null,o.m_xf)}CODE
CRITICALbenchmarks/octane/box2d.js692function(){Box2D.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)};z.Create=function(){return new z};z.DestroCODE
CRITICALbenchmarks/octane/box2d.js699w.prototype.__super=Box2D.Dynamics.Controllers.b2Controller.prototype;w.b2BuoyancyController=function(){Box2D.Dynamics.CCODE
CRITICALbenchmarks/octane/box2d.js702A.b2ConstantAccelController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.ACODE
CRITICALbenchmarks/octane/box2d.js703function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.F=new K(0,0)};U.prototype.SteCODE
CRITICALbenchmarks/octane/box2d.js706Q.b2GravityController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.G=1;thiCODE
CRITICALbenchmarks/octane/box2d.js708Box2D.Dynamics.Controllers.b2Controller.prototype;V.b2TensorDampingController=function(){Box2D.Dynamics.Controllers.b2CoCODE
CRITICALbenchmarks/octane/box2d.js712Box2D.inherit(U,Box2D.Dynamics.Joints.b2Joint);U.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;U.b2DistanceJCODE
CRITICALbenchmarks/octane/box2d.js721l.m_sweep.a+=l.m_invI*(n*c-a*q);h.SynchronizeTransform();l.SynchronizeTransform();return y.Abs(d)<F.b2_linearSlop};Box2DCODE
CRITICALbenchmarks/octane/box2d.js722this.frequencyHz=0};p.prototype.Initialize=function(d,h,l,j){this.bodyA=d;this.bodyB=h;this.localAnchorA.SetV(this.bodyACODE
CRITICALbenchmarks/octane/box2d.js730Q.prototype.__super=Box2D.Dynamics.Joints.b2JointDef.prototype;Q.b2FrictionJointDef=function(){Box2D.Dynamics.Joints.b2JCODE
CRITICALbenchmarks/octane/box2d.js731Box2D.inherit(V,Box2D.Dynamics.Joints.b2Joint);V.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;V.b2GearJointCODE
CRITICALbenchmarks/octane/box2d.js741h.SynchronizeTransform();return 0<F.b2_linearSlop};Box2D.inherit(M,Box2D.Dynamics.Joints.b2JointDef);M.prototype.__superCODE
CRITICALbenchmarks/octane/box2d.js748k.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;k.b2LineJoint=function(){Box2D.Dynamics.Joints.b2Joint.b2JoiCODE
CRITICALbenchmarks/octane/box2d.js768F.b2_linearSlop&&f<=F.b2_angularSlop};Box2D.inherit(z,Box2D.Dynamics.Joints.b2JointDef);z.prototype.__super=Box2D.DynamiCODE
CRITICALbenchmarks/octane/box2d.js7690;this.enableMotor=false;this.motorSpeed=this.maxMotorForce=0};z.prototype.Initialize=function(d,h,l,j){this.bodyA=d;thiCODE
CRITICALbenchmarks/octane/box2d.js776a;this.m_impulse.y+=o;d=d.dt*this.m_maxForce;this.m_impulse.LengthSquared()>d*d&&this.m_impulse.Multiply(d/this.m_impulsCODE
CRITICALbenchmarks/octane/box2d.js777arguments);this.target=new w};D.prototype.b2MouseJointDef=function(){this.__super.b2JointDef.call(this);this.type=I.e_moCODE
CRITICALbenchmarks/octane/box2d.js838a-d*n);j.m_sweep.c.x+=j.m_invMass*n;j.m_sweep.c.y+=j.m_invMass*a;j.m_sweep.a+=j.m_invI*(g*a-b*n);l.SynchronizeTransform(CODE
CRITICALbenchmarks/octane/box2d.js840this.bodyA.GetAngle()};Box2D.inherit(aa,Box2D.Dynamics.Joints.b2Joint);aa.prototype.__super=Box2D.Dynamics.Joints.b2JoinCODE
CRITICALbenchmarks/octane/box2d.js848j.m_sweep.a+=g*(n*m.y-a*m.x+m.z);l.SynchronizeTransform();j.SynchronizeTransform();return r<=F.b2_linearSlop&&s<=F.b2_anCODE
CRITICALbenchmarks/octane/box2d.js660aa=Box2D.Collision.b2ContactID,Z=Box2D.Collision.b2Manifold,d=Box2D.Collision.b2TimeOfImpact,h=Box2D.Collision.b2TOIInpuCODE
5 more matches not shown…
Hyper-Verbose Identifiers674 hits · 610 pts
SeverityFileLineSnippetContext
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js110function deserializeFunctionLikeLast() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js113function deserializeStatementFirst() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js116function deserializeMatchStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js124function deserializeLoopStatementFirst() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js127function deserializeWhileStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js135function deserializeDoWhileStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js143function deserializeForInStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js152function deserializeForOfStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js172function deserializeLoopStatementLast() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js175function deserializeDebuggerStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js178function deserializeEmptyStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js181function deserializeBlockStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js197function deserializeBreakStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js204function deserializeContinueStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js211function deserializeThrowStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js218function deserializeReturnStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js233function deserializeSwitchStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js241function deserializeLabeledStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js249function deserializeExpressionStatement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js317function deserializeThisExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js323function deserializeSequenceExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js330function deserializeObjectExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js337function deserializeArrayExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js362function deserializeYieldExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js370function deserializeAwaitExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js377function deserializeImportExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js385function deserializeCallExpressionLikeFirst() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js390function deserializeCallExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js400function deserializeOptionalCallExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js411function deserializeCallExpressionLikeLast() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js416function deserializeAssignmentExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js425function deserializeUnaryExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js434function deserializeUpdateExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js443function deserializeMemberExpressionLikeFirst() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js448function deserializeMemberExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js457function deserializeOptionalMemberExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js467function deserializeMemberExpressionLikeLast() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js472function deserializeLogicalExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js481function deserializeConditionalExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js490function deserializeBinaryExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js554function deserializeVariableDeclarator() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js562function deserializeVariableDeclaration() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js570function deserializeTemplateLiteral() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js578function deserializeTaggedTemplateExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js586function deserializeTemplateElement() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js701function deserializeImportDeclaration() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js711function deserializeImportSpecifier() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js720function deserializeImportDefaultSpecifier() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js727function deserializeImportNamespaceSpecifier() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js734function deserializeImportAttribute() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js742function deserializeExportNamedDeclaration() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js752function deserializeExportSpecifier() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js760function deserializeExportNamespaceSpecifier() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js767function deserializeExportDefaultDeclaration() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js774function deserializeExportAllDeclaration() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js821function deserializeMatchStatementCase() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js830function deserializeMatchExpression() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js838function deserializeMatchExpressionCase() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js847function deserializeMatchPatternFirst() {CODE
LOW…/js/hermes-parser/src/HermesParserNodeDeserializers.js850function deserializeMatchWildcardPattern() {CODE
614 more matches not shown…
Cross-Language Confusion22 hits · 160 pts
SeverityFileLineSnippetContext
HIGHutils/bench_with_stats.py189 # Check for non-positive factors (would make geometric mean undefined)COMMENT
HIGHutils/testsuite/preprocess.py197 if (type_opt !== undefined) {CODE
HIGHutils/testsuite/preprocess.py205 if (arguments.length > 1 && type_opt === undefined) {CODE
HIGHutils/testsuite/preprocess.py205 if (arguments.length > 1 && type_opt === undefined) {CODE
HIGHutils/testsuite/preprocess.py208 if (type_opt !== undefined && typeof type_opt !== 'function') {CODE
HIGHutils/testsuite/preprocess.py215 assertException(e, type_opt, undefined);CODE
HIGHutils/testsuite/preprocess.py219 if (type_opt !== undefined && type_opt.name !== undefined)CODE
HIGHutils/testsuite/preprocess.py219 if (type_opt !== undefined && type_opt.name !== undefined)CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py162 self.assertTrue(BooleanExpression.evaluate('true || true', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py163 self.assertTrue(BooleanExpression.evaluate('true || false', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py164 self.assertTrue(BooleanExpression.evaluate('false || true', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py165 self.assertFalse(BooleanExpression.evaluate('false || false', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py167 self.assertTrue(BooleanExpression.evaluate('true && true', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py168 self.assertFalse(BooleanExpression.evaluate('true && false', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py169 self.assertFalse(BooleanExpression.evaluate('false && true', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py170 self.assertFalse(BooleanExpression.evaluate('false && false', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py178 self.assertTrue(BooleanExpression.evaluate('false && false || true', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py178 self.assertTrue(BooleanExpression.evaluate('false && false || true', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py179 self.assertTrue(BooleanExpression.evaluate('(false && false) || true', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py180 self.assertFalse(BooleanExpression.evaluate('false && (false || true)', {}))CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py235 self.checkException("(((true && true) || true)",CODE
HIGHexternal/llvh/utils/lit/lit/BooleanExpression.py238 "in expression: '(((true && true) || true)'")CODE
Decorative Section Separators44 hits · 158 pts
SeverityFileLineSnippetContext
MEDIUMdoc/icu_license.txt300 # ----------------------------------------------------------------------COMMENT
MEDIUMdoc/icu_license.txt328 # --------------------------------------------------------------------------COMMENT
MEDIUMdoc/icu_license.txt338 # --------------------------------------------------------------------------COMMENT
MEDIUMdoc/icu_license.txt368 # --------------------------------------------------------------------------COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt24# ===================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt37# ==============================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt69# ================================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt84# =================================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt127# ============================================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt152# ================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt165# ==================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt234# =========================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt381# =======================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt390# ===============COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt563# ================COMMENT
MEDIUMexternal/asmjit/asmjit/CMakeLists.txt577# ================COMMENT
MEDIUMexternal/icu_decls/license.html291 # --------------------------------------------------------------------------------COMMENT
MEDIUMexternal/icu_decls/license.html314 # --------------------------------------------------------------------------------COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt17# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt19# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt23# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt26# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt31# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt33# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt36# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt38# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt41# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt43# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt46# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt48# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt51# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt53# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt57# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt61# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt64# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt69# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt72# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt76# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt79# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt81# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt87# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt89# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt92# =========================================================================COMMENT
MEDIUMexternal/node-api-tests/hermes/hermes-skip-list.txt94# =========================================================================COMMENT
Structural Annotation Overuse77 hits · 133 pts
SeverityFileLineSnippetContext
LOWtools/test-runner/Executor.cpp906 // Step 1: Compile with shermes.COMMENT
LOWtools/test-runner/Executor.cpp955 // Step 2: Run the compiled binary.COMMENT
LOWtools/test-runner/Executor.h146/// Step 1: Compile JS source to a native binary using shermes.COMMENT
LOWtools/test-runner/Executor.h147/// Step 2: Run the native binary and evaluate the result.COMMENT
LOWagent-perf/README.md661# Step 1: A/B binary size across OctaneCOMMENT
LOWagent-perf/README.md665# Step 2: Symbol-level drill-down on a specific benchmarkCOMMENT
LOWagent-perf/README.md706# Step 1: Collect PMU countersCOMMENT
LOWagent-perf/README.md709# Step 2: Check for anomaliesCOMMENT
LOWagent-perf/README.md712# Step 3: Profile with perfCOMMENT
LOWagent-perf/README.md716# Step 4: Parse profile and find hot runtime functionsCOMMENT
LOWagent-perf/README.md720# Step 5: Annotate source with hotspotsCOMMENT
LOWinclude/hermes/BCGen/HBC/HBC.h178/// NOTE: This function is exposed here for convenience, because there's noCOMMENT
LOWinclude/hermes/Sema/FlowContext.h366 /// NOTE: This function isn't to be used on type aliases, which can haveCOMMENT
LOWinclude/hermes/Support/UTF16Stream.h20/// NOTE: This class is NOT GC-aware. Don't pass in data from GC-managed objectsCOMMENT
LOW.claude/skills/binary-size-analysis/SKILL.md69### Step 0: Verify Git Repository and ToolsCOMMENT
LOW.claude/skills/binary-size-analysis/SKILL.md93### Step 1: Categorize CommitsCOMMENT
LOW.claude/skills/binary-size-analysis/SKILL.md159### Step 2: Build and MeasureCOMMENT
LOW.claude/skills/binary-size-analysis/SKILL.md285### Step 3: Generate SummaryCOMMENT
LOW.claude/skills/binary-size-analysis/SKILL.md299### Step 4: Restore BranchCOMMENT
LOW.claude/skills/non-interactive-git-rebase/SKILL.md101# Step 1: Prepare todo with 'edit' on commits to rewordCOMMENT
LOW.claude/skills/non-interactive-git-rebase/SKILL.md103# Step 2: At each stop, amend the message non-interactively:COMMENT
LOW.claude/skills/non-interactive-git-rebase/SKILL.md108# Step 3: Continue to the next stopCOMMENT
LOW.claude/skills/non-interactive-git-rebase/SKILL.md127# Step 1: Prepare todo with 'edit' on the target commitCOMMENT
LOW.claude/skills/non-interactive-git-rebase/SKILL.md131# Step 2: Rebase stops at the target commit. Split it:COMMENT
LOW.claude/skills/non-interactive-git-rebase/SKILL.md134# Step 3: Selectively stage and commit pieces.COMMENT
LOW.claude/skills/non-interactive-git-rebase/SKILL.md143# Step 4: Continue the rebaseCOMMENT
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui.cpp2899 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui.cpp2916 // Step 1: Let the clipper infer height from first rangeCOMMENT
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui.cpp14814 // Step 0: stack queryCOMMENT
LOW.llms/skills/sh_perf_investigation.md14### Step 1: Profile — Identify Hot FunctionsCOMMENT
LOW.llms/skills/sh_perf_investigation.md32### Step 2: Map — Trace Hot Code Back to SourceCOMMENT
LOW.llms/skills/sh_perf_investigation.md46### Step 3: Categorize — Where Is the Bottleneck?COMMENT
LOW.llms/skills/sh_perf_investigation.md58### Step 4: PMU — Check Hardware BottlenecksCOMMENT
LOW.llms/skills/sh_perf_investigation.md76### Step 5: Generated Code — Analyze C Code QualityCOMMENT
LOW.llms/skills/sh_perf_investigation.md101### Step 6: Runtime — Profile Runtime Library UsageCOMMENT
LOW.llms/skills/sh_perf_investigation.md118### Step 7: Compiler — Check Pass EffectivenessCOMMENT
LOW.llms/skills/sh_perf_investigation.md133### Step 8: Type Analysis — Check Typed Mode PotentialCOMMENT
LOW.llms/skills/sh_perf_investigation.md149### Step 9: Anti-Patterns — Scan for Known IssuesCOMMENT
LOW.llms/skills/sh_perf_investigation.md159### Step 10: Fix — Implement the OptimizationCOMMENT
LOW.llms/skills/sh_perf_investigation.md171### Step 11: Validate — Measure the ImpactCOMMENT
LOW.llms/skills/sh_perf_investigation.md195### Step 12: Submit — Create the DiffCOMMENT
LOWlib/InternalJavaScript/01-Promise.js138 // Step 2: NewPromiseCapability(C). Throws synchronously if C isCOMMENT
LOWlib/InternalJavaScript/01-Promise.js216 // Step 2: NewPromiseCapability(C).COMMENT
LOWlib/InternalJavaScript/01-Promise.js305 // Step 2: NewPromiseCapability(C).COMMENT
LOWlib/InternalJavaScript/01-Promise.js335 // Step 2: NewPromiseCapability(C).COMMENT
LOWlib/IRGen/ESTreeIRGen-expr.cpp3385 // Step 1: get the template object.COMMENT
LOWlib/IRGen/ESTreeIRGen-expr.cpp3425 // Step 2: call the tag function, passing the template object followed by aCOMMENT
LOWlib/VM/JSLib/HermesBuiltin.cpp1061 // Step 6: Define the "name" property withCOMMENT
LOWlib/VM/JSLib/Base64Util.cpp274 // Step 3: If maxLength is 0, return immediately.COMMENT
LOWAPI/hermes/extensions/contrib/README.md20### Step 1: Create the JavaScript FileCOMMENT
LOWAPI/hermes/extensions/contrib/README.md39### Step 2: Create the C++ HeaderCOMMENT
LOWAPI/hermes/extensions/contrib/README.md67### Step 3: Create the C++ ImplementationCOMMENT
LOWAPI/hermes/extensions/contrib/README.md109### Step 4: Update Build and RegistrationCOMMENT
LOWAPI/hermes/extensions/contrib/README.md138### Step 5: Add TestsCOMMENT
LOWdoc/plans/ir-type/progress.md33### Step 11: Port util bindingCOMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3623 // Step 1: Schubfach multiplier calculation.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3659 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3717 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3820 // Step 1: Schubfach multiplier calculation.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3859 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
17 more matches not shown…
AI Slop Vocabulary37 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUMtest/SourceMap/thrower.js18// Duplicate some functions to ensure we are robust against function dedup.COMMENT
MEDIUMtest/hermes/error-prepare-stack-trace-uncaught-3.js13// Duplicate some functions to ensure we are robust against function dedup.COMMENT
MEDIUMinclude/hermes/VM/Runtime.h1633 /// do not really want a stack-traces node. This means we can leverage ourCOMMENT
MEDIUMinclude/hermes/VM/Runtime.h2221 // allows us to leverage our whole test-suite to find missing cases ofCOMMENT
MEDIUMinclude/hermes/VM/Runtime.h2240 // allows us to leverage our whole test-suite to find missing cases ofCOMMENT
MEDIUMinclude/hermes/VM/Runtime.h2258 // allows us to leverage our whole test-suite to find missing cases ofCOMMENT
MEDIUMunsupported/juno/crates/juno/src/gen_js.rs3804 // Definitely cool.COMMENT
MEDIUMutils/testsuite/hermes.py142 # Check async test result regardless of exit code. The $DONE harnessCOMMENT
LOWutils/testsuite/cli.py41 # simply set it to the directory of current file as a fallback (it's unclearCOMMENT
MEDIUMlib/BCGen/HBC/BCProvider.cpp213 // function so we can leverage BytecodeFileFields template types.COMMENT
MEDIUMlib/InternalJavaScript/20-MathPrototypeSumPrecise.js37// https://www-2.cs.cmu.edu/afs/cs/project/quake/public/papers/robust-arithmetic.psCOMMENT
MEDIUM…tl/java/com/facebook/hermes/intl/LocaleIdentifier.java658 // Essentially, we ended up with slightly more complicated and less space efficient (due toCOMMENT
MEDIUM…m/Intl/java/com/facebook/hermes/intl/NumberFormat.java183 // TODO :: Make it more robust.COMMENT
MEDIUM…/com/facebook/hermes/intl/PlatformCollatorAndroid.java74 // TODO: setCaseLevel method is not available. Essentially, the "CASE" sensitivity won'tCOMMENT
MEDIUMlib/Sema/SemResolve.cpp89 // the leave() function. Essentially, innermost BinaryExpressionNode isCOMMENT
MEDIUMlib/VM/Interpreter.cpp406 // This allows us to leverage our whole test-suite to find missing casesCOMMENT
MEDIUMlib/VM/HiddenClass.cpp413 // robust). T31555339.COMMENT
MEDIUMlib/AST2JS/AST2JS.cpp1150 // Definitely cool.COMMENT
MEDIUMAPI/hermes/TraceInterpreter.cpp462 // structures in each rep, for a more robust time metric.COMMENT
MEDIUMAPI/hermes/TraceInterpreter.cpp1291 // Essentially the same implementation as CallFromNative, exceptCOMMENT
MEDIUMexternal/dragonbox/dragonbox/dragonbox.h1438 // Without the bound on n_max (which compilers these days never leverage), theCOMMENT
MEDIUMexternal/dragonbox/dragonbox/dragonbox.h1448 // Without the bound on n_max (which compilers these days never leverage), theCOMMENT
MEDIUMexternal/dragonbox/dragonbox/dragonbox.h1461 // Without the bound on n_max (which compilers these days never leverage), theCOMMENT
MEDIUMexternal/asmjit/asmjit/src/asmjit/core/emitter.h134//! often. To make the experience of using AsmJit seamless it offers validation features that can be controlledCOMMENT
LOWexternal/icu_decls/unicode/platform.h60 * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PREDCOMMENT
MEDIUMexternal/llvh/include/llvh/ADT/Hashing.h624/// behavior in the presence of integral promotions. Essentially,COMMENT
MEDIUMexternal/llvh/include/llvh/IR/DerivedUser.h26/// loophole that allows classes outside of lib/IR to extend User to leverageCOMMENT
MEDIUMexternal/llvh/include/llvh/IR/ValueMap.h274 Copy.Map->Map.erase(Copy); // Definitely destroys *this.CODE
MEDIUMexternal/llvh/include/llvh/IR/ValueMap.h296 Copy.Map->Map.erase(I); // Definitely destroys *this.CODE
MEDIUMexternal/llvh/include/llvh/Support/Compiler.h541/// However, this doesn't make any attempt to leverage the fancier techniquesCOMMENT
MEDIUMexternal/llvh/include/llvh/Support/MathExtras.h651/// Essentially, it is a floor operation across the domain of powers of two.COMMENT
MEDIUMexternal/llvh/include/llvh/Support/MathExtras.h658/// Essentially, it is a ceil operation across the domain of powers of two.COMMENT
MEDIUMexternal/llvh/include/llvh/Support/FormatVariadic.h72 // Essentially, we are converting a std::tuple<Derived<Ts...>> to aCOMMENT
MEDIUM…s/unittest/googletest/include/gtest/gtest-death-test.h146// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUM…s/unittest/googletest/include/gtest/gtest-death-test.h218// In practice, this can be used to test functions that utilize theCOMMENT
LOWexternal/llvh/utils/lit/lit/ShUtil.py222 # If this is an argument, just add it to the current command.COMMENT
MEDIUM.circleci/config.yml49 # TODO(zhaogang): test with --shermes flag as well once we address the harnessCOMMENT
Verbosity Indicators37 hits · 64 pts
SeverityFileLineSnippetContext
LOWtools/test-runner/Executor.cpp906 // Step 1: Compile with shermes.COMMENT
LOWtools/test-runner/Executor.cpp955 // Step 2: Run the compiled binary.COMMENT
LOWtools/test-runner/Executor.h146/// Step 1: Compile JS source to a native binary using shermes.COMMENT
LOWtools/test-runner/Executor.h147/// Step 2: Run the native binary and evaluate the result.COMMENT
LOWunsupported/juno/crates/juno/src/sema/resolver.rs356 // Determine the target statement. We need to check if it directly enclosesCOMMENT
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui.cpp2899 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui.cpp2916 // Step 1: Let the clipper infer height from first rangeCOMMENT
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui.cpp14814 // Step 0: stack queryCOMMENT
LOWlib/InternalJavaScript/01-Promise.js138 // Step 2: NewPromiseCapability(C). Throws synchronously if C isCOMMENT
LOWlib/InternalJavaScript/01-Promise.js216 // Step 2: NewPromiseCapability(C).COMMENT
LOWlib/InternalJavaScript/01-Promise.js305 // Step 2: NewPromiseCapability(C).COMMENT
LOWlib/InternalJavaScript/01-Promise.js335 // Step 2: NewPromiseCapability(C).COMMENT
LOWlib/IRGen/ESTreeIRGen-expr.cpp3385 // Step 1: get the template object.COMMENT
LOWlib/IRGen/ESTreeIRGen-expr.cpp3425 // Step 2: call the tag function, passing the template object followed by aCOMMENT
LOWlib/Sema/SemanticResolver.cpp640 // Determine the target statement. We need to check if it directly enclosesCOMMENT
LOWlib/VM/JSLib/HermesBuiltin.cpp1061 // Step 6: Define the "name" property withCOMMENT
LOWlib/VM/JSLib/Base64Util.cpp274 // Step 3: If maxLength is 0, return immediately.COMMENT
LOWlib/VM/JIT/arm64/JitEmitter.cpp1444 // If the function has a prohibitInvoke flag, we need to check if it has beenCOMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3623 // Step 1: Schubfach multiplier calculation.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3659 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3717 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3820 // Step 1: Schubfach multiplier calculation.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3859 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3916 // Step 3: Find the significand with the smaller divisor.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3964 // Step 1: Schubfach multiplier calculation.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h3990 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWexternal/dragonbox/dragonbox/dragonbox.h4024 // Step 3: Find the significand with the small divisor.COMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h649 // Step 1: Word[0] >>= 4 ; 0x0ABBCCDDCOMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h650 // Step 2: Word[0] |= 0x10000000 ; 0x1ABBCCDDCOMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h651 // Step 3: Word[1] >>= 4 ; 0x0EEFF001COMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h652 // Step 4: Word[1] |= 0x50000000 ; 0x5EEFF001COMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h653 // Step 5: Word[2] >>= 4 ; 0x02334455COMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h699 // Step 1: Word[2] <<= 4 ; 0x23344550COMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h700 // Step 2: Word[2] |= 0x0000000E ; 0x2334455ECOMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h701 // Step 3: Word[1] <<= 4 ; 0xEFF00110COMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h702 // Step 4: Word[1] |= 0x0000000A ; 0xEFF0011ACOMMENT
LOWexternal/llvh/include/llvh/ADT/BitVector.h703 // Step 5: Word[0] <<= 4 ; 0xABBCCDD0COMMENT
Unused Imports62 hits · 62 pts
SeverityFileLineSnippetContext
LOWtools/hbc-attribute/accumulate.py7CODE
LOWtools/hbc-attribute/accumulate.py7CODE
LOWtools/hbc-attribute/accumulate.py7CODE
LOWtools/hbc-attribute/accumulate.py7CODE
LOWtools/hbc-read-trace/trace.py7CODE
LOWtools/hbc-read-trace/trace.py7CODE
LOWtools/hbc-read-trace/trace.py7CODE
LOWtools/hbc-read-trace/trace.py7CODE
LOWtools/hbc-read-trace/hbc_sections.py6CODE
LOWtools/hbc-read-trace/hbc_sections.py6CODE
LOWtools/hbc-read-trace/hbc_sections.py6CODE
LOWtools/hbc-read-trace/hbc_sections.py6CODE
LOWtools/hvm-bench/interp-dispatch.py6CODE
LOWtools/hvm-bench/interp-dispatch.py6CODE
LOWtools/hvm-bench/interp-dispatch.py6CODE
LOWtools/hvm-bench/interp-dispatch.py6CODE
LOWtools/ffigen/ffigen.py7CODE
LOWlldb/HermesValueFormatter.py9CODE
LOWlldb/HermesValueFormatter.py9CODE
LOWlldb/HermesValueFormatter.py9CODE
LOWlldb/HermesValueFormatter.py9CODE
LOWlldb/HermesValueFormatter.py14CODE
LOWlldb/Stack.py12CODE
LOWlldb/Stack.py12CODE
LOWlldb/Stack.py12CODE
LOWlldb/Stack.py12CODE
LOWutils/summarize_sizes.py18CODE
LOWutils/summarize_sizes.py18CODE
LOWutils/summarize_sizes.py18CODE
LOWutils/summarize_sizes.py18CODE
LOWutils/symbolicate-nativecall-stats.py7CODE
LOWutils/symbolicate-nativecall-stats.py7CODE
LOWutils/symbolicate-nativecall-stats.py7CODE
LOWutils/symbolicate-nativecall-stats.py7CODE
LOWutils/updateErrorTest.py7CODE
LOWutils/testsuite/test_run_defs.py6CODE
LOWutils/testsuite/utils.py6CODE
LOWutils/testsuite/utils.py15CODE
LOWutils/testsuite/typing_defs.py6CODE
LOWbenchmarks/bench-runner/output.py6CODE
LOWexternal/llvh/test/TableGen/JSON-check.py4CODE
LOWexternal/llvh/utils/lit/lit.py2CODE
LOWexternal/llvh/utils/lit/lit/ShUtil.py1CODE
LOWexternal/llvh/utils/lit/lit/discovery.py9CODE
LOWexternal/llvh/utils/lit/lit/discovery.py11CODE
LOWexternal/llvh/utils/lit/lit/util.py1CODE
LOWexternal/llvh/utils/lit/lit/__init__.py10CODE
LOWexternal/llvh/utils/lit/lit/main.py9CODE
LOWexternal/llvh/utils/lit/lit/LitTestCase.py1CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py1CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py3CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py6CODE
LOWexternal/llvh/utils/lit/lit/LitConfig.py1CODE
LOWexternal/llvh/utils/lit/lit/LitConfig.py93CODE
LOWexternal/llvh/utils/lit/lit/formats/shtest.py1CODE
LOWexternal/llvh/utils/lit/lit/formats/__init__.py1CODE
LOWexternal/llvh/utils/lit/lit/formats/__init__.py1CODE
LOWexternal/llvh/utils/lit/lit/formats/__init__.py1CODE
LOWexternal/llvh/utils/lit/lit/formats/__init__.py7CODE
LOWexternal/llvh/utils/lit/lit/formats/__init__.py8CODE
2 more matches not shown…
Deep Nesting62 hits · 62 pts
SeverityFileLineSnippetContext
LOWtools/synth/trace_normalize.py97CODE
LOWtools/synth/fix_trace.py28CODE
LOWtools/synth/trace-format-v2tov3.py38CODE
LOWtools/synth/trace-format-v2tov3.py75CODE
LOWtools/secdiff/secdiff.py201CODE
LOWtools/secdiff/secdiff.py108CODE
LOWagent-perf/tools/binary_size_analyzer.py68CODE
LOWagent-perf/tools/js_antipattern_scan.py44CODE
LOWagent-perf/tools/js_antipattern_scan.py279CODE
LOWagent-perf/tools/sh_source_mapper.py185CODE
LOWagent-perf/tools/regalloc_report.py144CODE
LOWagent-perf/tools/type_coverage_analyzer.py41CODE
LOWagent-perf/tools/type_coverage_analyzer.py98CODE
LOWagent-perf/tools/antipattern_scan.py66CODE
LOWagent-perf/tools/antipattern_scan.py216CODE
LOWagent-perf/tools/generated_code_analyzer.py121CODE
LOWagent-perf/tools/generated_code_antipatterns.py49CODE
LOWlldb/HermesValueFormatter.py112CODE
LOWutils/summarize_sizes.py34CODE
LOWutils/genUnicodeTable.py298CODE
LOWutils/genUnicodeTable.py374CODE
LOWutils/genUnicodeTable.py66CODE
LOWutils/bench_with_stats.py221CODE
LOWutils/bench_with_stats.py297CODE
LOWutils/bench_with_stats.py413CODE
LOWutils/chrome_snapshot_parser.py72CODE
LOWutils/updateErrorTest.py145CODE
LOWutils/lit-expect-gen/generate.py174CODE
LOWutils/testsuite/hermes.py466CODE
LOWutils/testsuite/test_run_defs.py60CODE
LOWutils/testsuite/utils.py78CODE
LOWutils/testsuite/utils.py101CODE
LOWutils/testsuite/es_ast.py183CODE
LOWutils/testsuite/es_ast.py245CODE
LOWutils/testsuite/progress.py200CODE
LOWutils/testsuite/skiplist.py66CODE
LOWutils/testsuite/external/_monkeyYaml.py103CODE
LOWutils/testsuite/external/_monkeyYaml.py127CODE
LOWbenchmarks/bench-runner/runner.py21CODE
LOWbenchmarks/bench-runner/stats.py124CODE
LOWbenchmarks/bench-runner/bench-runner.py57CODE
LOWexternal/llvh/utils/lit/lit/ShUtil.py45CODE
LOWexternal/llvh/utils/lit/lit/ShUtil.py104CODE
LOWexternal/llvh/utils/lit/lit/run.py40CODE
LOWexternal/llvh/utils/lit/lit/discovery.py212CODE
LOWexternal/llvh/utils/lit/lit/Test.py104CODE
LOWexternal/llvh/utils/lit/lit/Test.py226CODE
LOWexternal/llvh/utils/lit/lit/ProgressBar.py182CODE
LOWexternal/llvh/utils/lit/lit/main.py101CODE
LOWexternal/llvh/utils/lit/lit/main.py203CODE
LOWexternal/llvh/utils/lit/lit/main.py44CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py182CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py362CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py574CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py671CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py764CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py1054CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py404CODE
LOWexternal/llvh/utils/lit/lit/TestRunner.py1366CODE
LOWexternal/llvh/utils/lit/lit/llvm/config.py14CODE
2 more matches not shown…
Redundant / Tautological Comments29 hits · 47 pts
SeverityFileLineSnippetContext
LOWtools/hermes-parser/js/scripts/build-prettier.sh52# Check if local branch is behind upstream/flow-forkCOMMENT
LOWtools/hermes-parser/js/scripts/verify-prettier-build.sh28# Check if the generated bundle or its compatibility wrapper changedCOMMENT
LOWtools/hermes-parser/js/scripts/build.sh84 # Check if file contains flow annotationCOMMENT
LOWtools/secdiff/secdiff.py165 if row >= max_y: # Check if row has exceeded the window sizeCODE
LOWtools/ffigen/ffigen.py19 # Read the file and look for #define statementsCOMMENT
LOWagent-perf/tools/perf_proxies.sh169# Output resultsCOMMENT
LOWagent-perf/tools/count_instructions.sh83# Check if perf is availableCOMMENT
LOWagent-perf/tools/generated_code_antipatterns.py284 # Check if next non-empty line is not a label, closing brace,COMMENT
LOWtest/SourceMap/translator/sourcemap-translator.sh44 # Check if original and symbolicated traces using input source map match using stacktrace_diff.py.COMMENT
LOWutils/wasm-compile.sh10# Check if exactly one argument is providedCOMMENT
LOWutils/wasm-compile.sh16# Check if HermesSourcePath is setCOMMENT
LOWutils/wasm-compile.sh22# Check if the host build directory is validCOMMENT
LOWutils/wasm-compile.sh29# Check if the wasm build directory is validCOMMENT
LOWutils/wasm-compile.sh36# Check if the file existsCOMMENT
LOWutils/format.sh116 # Check if the file would be modifiedCOMMENT
LOWutils/testsuite/hermes.py159 # Check if the run succeededCOMMENT
LOWutils/testsuite/hermes.py255 # Check if the compilation succeeded.COMMENT
LOWutils/testsuite/cli.py363 # Check if this file should be skipped w.r.t. the test_skiplist flag.COMMENT
LOWutils/testsuite/cli.py447 # Print resultCOMMENT
LOWutils/testsuite/test_run_defs.py176 # Check if we need to skip this test due to unsupported features.COMMENT
LOWutils/testsuite/test_run_defs.py342 # Check if the test file is valid and its expect file can be found.COMMENT
LOWutils/testsuite/es_ast.py263 # Check if Hermes is missing keys.COMMENT
LOWutils/testsuite/es_ast.py271 # Check if Hermes has extra keys.COMMENT
LOWexternal/llvh/utils/lit/lit/discovery.py104 # Check if there is a local configuration file.COMMENT
LOWexternal/llvh/utils/lit/lit/discovery.py151 # Check if the user named a test directly.COMMENT
LOWexternal/llvh/utils/lit/lit/Test.py274 # Check if any of the xfails match an available feature or the target.COMMENT
LOWexternal/llvh/utils/lit/lit/TestRunner.py702 # Open file descriptors in a second pass.COMMENT
LOWexternal/llvh/utils/lit/lit/TestRunner.py727 # Check if we already have an open fd. This can happen if stdout andCOMMENT
LOWexternal/llvh/utils/lit/lit/llvm/config.py83 # Check if we should run long running tests.COMMENT
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMtools/hermes-parser/js/scripts/build.sh86 # Create a new file with .js.flow extensionCOMMENT
MEDIUMtools/hbc-read-trace/test.sh16# Create a workspace and make sure it is cleaned up when we exit.COMMENT
MEDIUMutils/format.sh112 # Create a temporary file for the formatted contentCOMMENT
MEDIUMexternal/icu_decls/license.html290 # This file is derived from the above dictionary, with slight modifications.COMMENT
MEDIUMexternal/llvh/utils/lit/lit/main.py175 # Create a temp directory inside the normal temp directory so that we canCOMMENT
MEDIUMexternal/llvh/utils/lit/lit/main.py350 # Create the user defined parameters.COMMENT
MEDIUMexternal/llvh/utils/lit/lit/main.py368 # Create the global config object.COMMENT
MEDIUMexternal/llvh/utils/lit/lit/TestRunner.py876 # Create a copy of the global environment and modify it for this oneCOMMENT
MEDIUMexternal/llvh/utils/lit/lit/TestRunner.py1589 # Create the output directory if it does not already exist.COMMENT
Excessive Try-Catch Wrapping14 hits · 25 pts
SeverityFileLineSnippetContext
MEDIUMtools/synth/fix_trace.py125 print(f"Error: input file does not exist: {args.input}", file=sys.stderr)CODE
MEDIUMagent-perf/tools/binary_size_analyzer.py274 print("Error: --optimized or --nm-b required", file=sys.stderr)CODE
MEDIUMagent-perf/tools/binary_size_analyzer.py288 print("Error: Could not extract symbols from either binary", file=sys.stderr)CODE
MEDIUMtest/hermes/tagged-template-long.js23 print("Error in string", i, strings[i].trim());CODE
MEDIUMtest/hermes/tagged-template-long.js30 print("Error in arg", i);CODE
MEDIUMtest/hermes/es6-class/es6-class-overflow.js13 print("Error in eval:", e.message);CODE
LOWlldb/HermesValueFormatter.py193 except Exception as e:CODE
MEDIUMutils/bench_with_stats.py574 print("Error: Number of runs must be positive.", file=sys.stderr)CODE
MEDIUMutils/testsuite/utils.py156 print(f"Error: {exe} not found.")CODE
MEDIUMutils/testsuite/utils.py162 print(f"Error: {exe} not found.")CODE
LOWutils/testsuite/es_ast.py321 except Exception:CODE
LOWutils/testsuite/progress.py107 except Exception:CODE
LOWutils/testsuite/progress.py118 except Exception:CODE
LOWexternal/llvh/test/TableGen/JSON-check.py29 except Exception:CODE
Example Usage Blocks14 hits · 21 pts
SeverityFileLineSnippetContext
LOWagent-perf/tools/perf_proxies.sh11# Usage:COMMENT
LOWagent-perf/tools/collect_pmu.sh14# Usage:COMMENT
LOWagent-perf/tools/count_instructions.sh13# Usage:COMMENT
LOWagent-perf/tools/run_benchmarks.sh12# Usage:COMMENT
LOWagent-perf/tools/compiler_stats.sh11# Usage:COMMENT
LOWagent-perf/tools/pass_experiment.sh11# Usage:COMMENT
LOWagent-perf/tools/compilation_profiler.sh14# Usage:COMMENT
LOWagent-perf/tools/binary_size_compare.sh17# Usage:COMMENT
LOWagent-perf/tools/generated_code_report.sh11# Usage:COMMENT
LOWagent-perf/tools/benchmark_compare.sh12# Usage:COMMENT
LOWagent-perf/tools/gc_stats.sh12# Usage:COMMENT
LOWinclude/hermes/Support/JSONEmitter.h33/// Example usage:COMMENT
LOWutils/build-apple-framework.sh10# Usage:COMMENT
LOWlib/VM/JSLib/Array.cpp1454/// Usage example:COMMENT
Fake / Example Data16 hits · 19 pts
SeverityFileLineSnippetContext
LOWtest/debugger/lazy-sourcemap.js14 * for being too short. Lorem ipsum dolor sit amet, consectetur adipiscingCOMMENT
LOWtest/debugger/lazy-sourcemap.js14 * for being too short. Lorem ipsum dolor sit amet, consectetur adipiscingCOMMENT
LOW…ch-runner/resource/test-suites/micros/jsonStringify.js38 name: 'John Doe',CODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp5639 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp5639 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp5641 ImGui::Text("Lorem ipsum dolor sit amet");CODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp5641 ImGui::Text("Lorem ipsum dolor sit amet");CODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp7285 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp7285 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor iCODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp8003 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp8003 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWAPI/jsi/jsi/test/testlib.cpp1840 String str = String::createFromUtf8(rd, "placeholder");CODE
LOW…l/node-api-tests/node-api/test_buffer/test_finalizer.c7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";CODE
LOW…l/node-api-tests/node-api/test_buffer/test_finalizer.c7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";CODE
LOW…rnal/node-api-tests/node-api/test_buffer/test_buffer.c7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";CODE
LOW…rnal/node-api-tests/node-api/test_buffer/test_buffer.c7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/lit.cfg0check whether a string converts to true according to cmake rulesSTRING
HIGHunsupported/juno/lit/lit.cfg0check whether a string converts to true according to cmake rulesSTRING
HIGHexternal/llvh/test/lit.cfg0check whether a string converts to true according to cmake rulesSTRING
Slop Phrases8 hits · 14 pts
SeverityFileLineSnippetContext
LOWtools/shermes/compile.cpp407 // Don't forget to delete the temporary on exit.COMMENT
LOWtools/shermes/compile.cpp452 // Don't forget to delete the temporary on exit.COMMENT
MEDIUMbenchmarks/lib/libgui/cimgui/imgui/imgui_widgets.cpp6444// Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image.COMMENT
LOWbenchmarks/lib/libgui/cimgui/imgui/imgui.cpp720 - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. PreviCODE
LOWlib/VM/JSLib/GlobalObject.cpp264// NOTE: when declaring more global symbols, don't forget to updateCOMMENT
LOWexternal/asmjit/asmjit/src/asmjit/x86/x86assembler.h479//! // Let's just emit 'sub zsp, 0' for now, but don't forget to use LONG form.COMMENT
LOWexternal/asmjit/asmjit/src/asmjit/x86/x86assembler.h495//! a.long_().sub(zsp, stackSize); // Patch the code; don't forget to use LONG form.COMMENT
MEDIUMexternal/llvh/include/llvh/ADT/EquivalenceClasses.h36/// Here is a simple example using integers:COMMENT
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHinclude/hermes/Support/BigIntSupport.h143 // But still possibly truncate the value as requested by the caller.COMMENT
HIGHbenchmarks/lib/libgui/cimgui/imgui/imgui_draw.cpp2363 const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0xCODE
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWbenchmarks/bench-runner/runner.py11logger = logging.getLogger(__name__)CODE
LOWbenchmarks/bench-runner/stats.py11logger = logging.getLogger(__name__)CODE
LOWbenchmarks/bench-runner/bench-runner.py18logger = logging.getLogger(__name__)CODE
LOWexternal/llvh/utils/lit/lit/__init__.py8__all__ = []CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWinclude/hermes/VM/static_h.h536/// TODO: implement a "raw" version of this function returning a raw pointer,COMMENT
LOWexternal/llvh/include/llvh/Support/ScaledNumber.h656 // TODO: implement directly, rather than relying on inverse. Inverse isCOMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMAPI/hermes/extensions/README.md21├── Extensions.h/cpp # Extension installation orchestrationCODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWutils/bench_with_stats.py44CODE