AI Slop Code RIsk Monitor

facebook/hermes

A JavaScript engine optimized for running React Native.

32.2 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for facebook/hermes, a JavaScript project with 11,364 GitHub stars. SynthScan examined 1,952,161 lines of code across 11998 source files, recording 20344 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 32.2 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

32.2
Adjusted Signal
32.2
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
11.4K
Stars
JavaScript
Language
2.0M
Lines of Code
12.0K
Files
20.3K
Pattern Hits
2026-10-12
Scan Date
0.74
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 24.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 73.5/100 · HIGH

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

Agent Over-Engineering Ratio 2.2/100 · LOW

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

PR Review Velocity Impact 81.2/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 65HIGH 8816MEDIUM 99LOW 11364

Directory Score Breakdown

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

Pattern Findings

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

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

Cross-Language Confusion (JS/TS)8775 hits · 50795 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
8715 more matches not shown…
Over-Commented Block10391 hits · 9672 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.cpp741 if (elapsed >= std::chrono::seconds(config.timeoutSeconds)) {COMMENT
LOWtools/test-runner/Executor.cpp1081 std::atomic<size_t> completedCount{0};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 // Normalize the arg vector.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.txt81# Namespace added to avoid clashing the imported binary with the target binary.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
10331 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
CRITICAL⚡benchmarks/octane/box2d.js513Y=Box2D.Collision.b2SimplexCache;Box2D.inherit(G,Box2D.Collision.Shapes.b2Shape);G.prototype.__super=Box2D.Collision.ShaCODE
CRITICAL⚡benchmarks/octane/box2d.js518y.prototype.__super=Box2D.Collision.Shapes.b2Shape.prototype;y.b2EdgeShape=function(){Box2D.Collision.Shapes.b2Shape.b2SCODE
CRITICAL⚡benchmarks/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
CRITICAL⚡benchmarks/octane/box2d.js687I.prototype.__super=Box2D.Dynamics.Contacts.b2Contact.prototype;I.b2EdgeAndCircleContact=function(){Box2D.Dynamics.ContaCODE
CRITICAL⚡benchmarks/octane/box2d.js688this.m_fixtureB.GetShape()instanceof F?this.m_fixtureB.GetShape():null,o.m_xf)};I.prototype.b2CollideEdgeAndCircle=functCODE
CRITICAL⚡benchmarks/octane/box2d.js689Box2D.Dynamics.Contacts.b2Contact.prototype;Y.b2PolyAndCircleContact=function(){Box2D.Dynamics.Contacts.b2Contact.b2ContCODE
CRITICAL⚡benchmarks/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
CRITICAL⚡benchmarks/octane/box2d.js692function(){Box2D.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)};z.Create=function(){return new z};z.DestroCODE
CRITICAL⚡benchmarks/octane/box2d.js699w.prototype.__super=Box2D.Dynamics.Controllers.b2Controller.prototype;w.b2BuoyancyController=function(){Box2D.Dynamics.CCODE
CRITICAL⚡benchmarks/octane/box2d.js702A.b2ConstantAccelController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.ACODE
CRITICAL⚡benchmarks/octane/box2d.js703function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.F=new K(0,0)};U.prototype.SteCODE
CRITICAL⚡benchmarks/octane/box2d.js706Q.b2GravityController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.G=1;thiCODE
CRITICAL⚡benchmarks/octane/box2d.js708Box2D.Dynamics.Controllers.b2Controller.prototype;V.b2TensorDampingController=function(){Box2D.Dynamics.Controllers.b2CoCODE
CRITICAL⚡benchmarks/octane/box2d.js712Box2D.inherit(U,Box2D.Dynamics.Joints.b2Joint);U.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;U.b2DistanceJCODE
CRITICAL⚡benchmarks/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
CRITICAL⚡benchmarks/octane/box2d.js722this.frequencyHz=0};p.prototype.Initialize=function(d,h,l,j){this.bodyA=d;this.bodyB=h;this.localAnchorA.SetV(this.bodyACODE
CRITICAL⚡benchmarks/octane/box2d.js730Q.prototype.__super=Box2D.Dynamics.Joints.b2JointDef.prototype;Q.b2FrictionJointDef=function(){Box2D.Dynamics.Joints.b2JCODE
CRITICAL⚡benchmarks/octane/box2d.js731Box2D.inherit(V,Box2D.Dynamics.Joints.b2Joint);V.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;V.b2GearJointCODE
CRITICAL⚡benchmarks/octane/box2d.js741h.SynchronizeTransform();return 0<F.b2_linearSlop};Box2D.inherit(M,Box2D.Dynamics.Joints.b2JointDef);M.prototype.__superCODE
CRITICAL⚡benchmarks/octane/box2d.js748k.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;k.b2LineJoint=function(){Box2D.Dynamics.Joints.b2Joint.b2JoiCODE
CRITICAL⚡benchmarks/octane/box2d.js768F.b2_linearSlop&&f<=F.b2_angularSlop};Box2D.inherit(z,Box2D.Dynamics.Joints.b2JointDef);z.prototype.__super=Box2D.DynamiCODE
CRITICAL⚡benchmarks/octane/box2d.js7690;this.enableMotor=false;this.motorSpeed=this.maxMotorForce=0};z.prototype.Initialize=function(d,h,l,j){this.bodyA=d;thiCODE
CRITICAL⚡benchmarks/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
CRITICAL⚡benchmarks/octane/box2d.js777arguments);this.target=new w};D.prototype.b2MouseJointDef=function(){this.__super.b2JointDef.call(this);this.type=I.e_moCODE
CRITICAL⚡benchmarks/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
CRITICAL⚡benchmarks/octane/box2d.js840this.bodyA.GetAngle()};Box2D.inherit(aa,Box2D.Dynamics.Joints.b2Joint);aa.prototype.__super=Box2D.Dynamics.Joints.b2JoinCODE
CRITICAL⚡benchmarks/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 Identifiers655 hits · 591 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
595 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
HIGH⚡utils/testsuite/preprocess.py197 if (type_opt !== undefined) {CODE
HIGH⚡utils/testsuite/preprocess.py205 if (arguments.length > 1 && type_opt === undefined) {CODE
HIGH⚡utils/testsuite/preprocess.py205 if (arguments.length > 1 && type_opt === undefined) {CODE
HIGH⚡utils/testsuite/preprocess.py208 if (type_opt !== undefined && typeof type_opt !== 'function') {CODE
HIGH⚡utils/testsuite/preprocess.py215 assertException(e, type_opt, undefined);CODE
HIGH⚡utils/testsuite/preprocess.py219 if (type_opt !== undefined && type_opt.name !== undefined)CODE
HIGH⚡utils/testsuite/preprocess.py219 if (type_opt !== undefined && type_opt.name !== undefined)CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py162 self.assertTrue(BooleanExpression.evaluate('true || true', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py163 self.assertTrue(BooleanExpression.evaluate('true || false', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py164 self.assertTrue(BooleanExpression.evaluate('false || true', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py165 self.assertFalse(BooleanExpression.evaluate('false || false', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py167 self.assertTrue(BooleanExpression.evaluate('true && true', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py168 self.assertFalse(BooleanExpression.evaluate('true && false', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py169 self.assertFalse(BooleanExpression.evaluate('false && true', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py170 self.assertFalse(BooleanExpression.evaluate('false && false', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py178 self.assertTrue(BooleanExpression.evaluate('false && false || true', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py178 self.assertTrue(BooleanExpression.evaluate('false && false || true', {}))CODE
HIGH⚡external/llvh/utils/lit/lit/BooleanExpression.py179 self.assertTrue(BooleanExpression.evaluate('(false && false) || true', {}))CODE
HIGH⚡external/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
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt17# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt19# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt23# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt26# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt31# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt33# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt36# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt38# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt41# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt43# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt46# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt48# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt51# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt53# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt57# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt61# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt64# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt69# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt72# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt76# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt79# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt81# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt87# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt89# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt92# =========================================================================COMMENT
MEDIUM⚡external/node-api-tests/hermes/hermes-skip-list.txt94# =========================================================================COMMENT
Structural Annotation Overuse77 hits · 133 pts
SeverityFileLineSnippetContext
LOWtools/test-runner/Executor.cpp920 // Step 1: Compile with shermes.COMMENT
LOWtools/test-runner/Executor.cpp969 // Step 2: Run the compiled binary.COMMENT
LOW⚡tools/test-runner/Executor.h146/// Step 1: Compile JS source to a native binary using shermes.COMMENT
LOW⚡tools/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
LOW⚡agent-perf/README.md706# Step 1: Collect PMU countersCOMMENT
LOW⚡agent-perf/README.md709# Step 2: Check for anomaliesCOMMENT
LOW⚡agent-perf/README.md712# Step 3: Profile with perfCOMMENT
LOW⚡agent-perf/README.md716# Step 4: Parse profile and find hot runtime functionsCOMMENT
LOW⚡agent-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.cpp3412 // Step 1: get the template object.COMMENT
LOWlib/IRGen/ESTreeIRGen-expr.cpp3452 // 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.h1652 /// do not really want a stack-traces node. This means we can leverage ourCOMMENT
MEDIUMinclude/hermes/VM/Runtime.h2240 // allows us to leverage our whole test-suite to find missing cases ofCOMMENT
MEDIUMinclude/hermes/VM/Runtime.h2259 // allows us to leverage our whole test-suite to find missing cases ofCOMMENT
MEDIUMinclude/hermes/VM/Runtime.h2277 // 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.cpp1151 // 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.h542/// 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
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHagent-perf/tools/binary_size_analyzer.py83except (subprocess.TimeoutExpired, FileNotFoundError):CODE
HIGHagent-perf/tools/js_antipattern_scan.py292except OSError:CODE
HIGHagent-perf/tools/antipattern_scan.py232except OSError:CODE
HIGHagent-perf/tools/antipattern_scan.py248except (OSError, json.JSONDecodeError, KeyError):CODE
HIGHutils/chrome_snapshot_parser.py178except StopIteration:CODE
HIGHutils/testsuite/external/_monkeyYaml.py109except ValueError:CODE
HIGHutils/testsuite/external/_monkeyYaml.py114except ValueError:CODE
HIGHexternal/llvh/utils/lit/lit/util.py452except psutil.NoSuchProcess:CODE
HIGHexternal/llvh/utils/lit/lit/util.py449except psutil.NoSuchProcess:CODE
HIGHexternal/llvh/utils/lit/lit/Test.py116except NameError:CODE
HIGHexternal/llvh/utils/lit/lit/main.py505except:CODE
HIGHexternal/llvh/utils/lit/lit/main.py199except:CODE
HIGHexternal/llvh/utils/lit/lit/TestRunner.py1046except OSError:CODE
HIGHexternal/llvh/utils/lit/lit/llvm/config.py140except ValueError:CODE
Verbosity Indicators37 hits · 64 pts
SeverityFileLineSnippetContext
LOWtools/test-runner/Executor.cpp920 // Step 1: Compile with shermes.COMMENT
LOWtools/test-runner/Executor.cpp969 // Step 2: Run the compiled binary.COMMENT
LOW⚡tools/test-runner/Executor.h146/// Step 1: Compile JS source to a native binary using shermes.COMMENT
LOW⚡tools/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.cpp3412 // Step 1: get the template object.COMMENT
LOWlib/IRGen/ESTreeIRGen-expr.cpp3452 // 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.cpp342 // 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
LOW⚡external/llvh/include/llvh/ADT/BitVector.h649 // Step 1: Word[0] >>= 4 ; 0x0ABBCCDDCOMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h650 // Step 2: Word[0] |= 0x10000000 ; 0x1ABBCCDDCOMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h651 // Step 3: Word[1] >>= 4 ; 0x0EEFF001COMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h652 // Step 4: Word[1] |= 0x50000000 ; 0x5EEFF001COMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h653 // Step 5: Word[2] >>= 4 ; 0x02334455COMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h699 // Step 1: Word[2] <<= 4 ; 0x23344550COMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h700 // Step 2: Word[2] |= 0x0000000E ; 0x2334455ECOMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h701 // Step 3: Word[1] <<= 4 ; 0xEFF00110COMMENT
LOW⚡external/llvh/include/llvh/ADT/BitVector.h702 // Step 4: Word[1] |= 0x0000000A ; 0xEFF0011ACOMMENT
LOW⚡external/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.sh83 # 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
LOW⚡utils/wasm-compile.sh10# Check if exactly one argument is providedCOMMENT
LOW⚡utils/wasm-compile.sh16# Check if HermesSourcePath is setCOMMENT
LOW⚡utils/wasm-compile.sh22# Check if the host build directory is validCOMMENT
LOW⚡utils/wasm-compile.sh29# Check if the wasm build directory is validCOMMENT
LOW⚡utils/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.sh85 # 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
MEDIUM⚡test/hermes/tagged-template-long.js23 print("Error in string", i, strings[i].trim());CODE
MEDIUM⚡test/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
LOW⚡benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp5639 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOW⚡benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp5639 ImGui::TextWrapped("Lorem ipsum dolor sit amet");CODE
LOW⚡benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp5641 ImGui::Text("Lorem ipsum dolor sit amet");CODE
LOW⚡benchmarks/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.cpp1896 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.cpp409 // Don't forget to delete the temporary on exit.COMMENT
LOWtools/shermes/compile.cpp454 // 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.cpp277// 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