A JavaScript engine optimized for running React Native.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/hvm-bench/arrayUnshift.js | 18 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringSplit.js | 22 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayReduceRight.js | 26 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringPadStart.js | 19 | print('done'); | CODE |
| HIGH | tools/hvm-bench/regExpReplace.js | 27 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arraySome.js | 41 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayReverse.js | 22 | print('done'); | CODE |
| HIGH | tools/hvm-bench/largeArrayWrite.js | 40 | print(run(10000)); | CODE |
| HIGH | tools/hvm-bench/arrayFilter.js | 31 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringEndsWith.js | 20 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayWrite.js | 38 | print(run(1000000)); | CODE |
| HIGH | tools/hvm-bench/arraySlice.js | 21 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayFill.js | 22 | print('done'); | CODE |
| HIGH | tools/hvm-bench/allocObjLit.js | 31 | print(allocNTimes(100)); | CODE |
| HIGH | tools/hvm-bench/allocNewArray.js | 57 | print(allocNTimes(500)); | CODE |
| HIGH | tools/hvm-bench/arrayFindIndex.js | 41 | print('done'); | CODE |
| HIGH | tools/hvm-bench/simpleSum.js | 24 | print(doSumNTimes(10000)); | CODE |
| HIGH | tools/hvm-bench/stringFromCharCode.js | 16 | print('done'); | CODE |
| HIGH | tools/hvm-bench/regExpSearch.js | 21 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayCopyWithin.js | 22 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringMatch.js | 24 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayEvery.js | 41 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringPadEnd.js | 19 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arraySplice.js | 22 | print('done'); | CODE |
| HIGH | tools/hvm-bench/allocNewObj.js | 57 | print(allocNTimes(500)); | CODE |
| HIGH | tools/hvm-bench/wb-perf.js | 44 | print(wbPerf(200)); | CODE |
| HIGH | tools/hvm-bench/regExpFlags.js | 18 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringStartsWith.js | 20 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayMap.js | 31 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayShift.js | 22 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayIndexOf.js | 28 | print('done, sum =', sum); | CODE |
| HIGH | tools/hvm-bench/stringLastIndexOf.js | 25 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringSearch.js | 24 | print('done'); | CODE |
| HIGH | tools/hvm-bench/allocArray.js | 57 | print(allocNTimes(500)); | CODE |
| HIGH | tools/hvm-bench/arrayIncludes.js | 24 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringSlice.js | 21 | print('done'); | CODE |
| HIGH | tools/hvm-bench/regExpSplit.js | 21 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayReduce.js | 26 | print('done'); | CODE |
| HIGH | tools/hvm-bench/propAccess.js | 38 | print(access16NTimes(10000000)); | CODE |
| HIGH | tools/hvm-bench/arrayFind.js | 41 | print('done'); | CODE |
| HIGH | tools/hvm-bench/allocObj.js | 59 | print(allocNTimes(500)); | CODE |
| HIGH | tools/hvm-bench/regExpMatch.js | 20 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayFrom.js | 46 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringReplace.js | 25 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringIncludes.js | 24 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringIndexOf.js | 25 | print('done'); | CODE |
| HIGH | tools/hvm-bench/arrayLastIndexOf.js | 28 | print('done, sum =', sum); | CODE |
| HIGH | tools/hvm-bench/arrayRead.js | 38 | print(run(1000000)); | CODE |
| HIGH | tools/hvm-bench/largeArrayRead.js | 46 | print(run(10000)); | CODE |
| HIGH | tools/hvm-bench/arrayPop.js | 21 | print('done'); | CODE |
| HIGH | tools/hvm-bench/regExpToString.js | 19 | print('done'); | CODE |
| HIGH | tools/hvm-bench/stringCharAt.js | 21 | print('done'); | CODE |
| HIGH | agent-perf/benchmarks/micro/array_operations.js | 120 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| HIGH | agent-perf/benchmarks/micro/control_flow.js | 124 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| HIGH | agent-perf/benchmarks/micro/object_creation.js | 99 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| HIGH | agent-perf/benchmarks/micro/arithmetic.js | 101 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| HIGH | agent-perf/benchmarks/micro/string_operations.js | 99 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| HIGH | agent-perf/benchmarks/micro/property_access.js | 93 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| HIGH | agent-perf/benchmarks/micro/typed_operations.js | 110 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| HIGH | agent-perf/benchmarks/micro/function_calls.js | 109 | print("RESULT: " + name + " " + opsPerSec + " ops/sec"); | CODE |
| 8467 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 601 | COMMENT | |
| LOW | tools/dependency-extractor/emdependency-extractor.cpp | 21 | #include "hermes/Support/Algorithms.h" | COMMENT |
| LOW | tools/dependency-extractor/emdependency-extractor.cpp | 41 | extern "C" { | COMMENT |
| LOW | tools/hermes-parser/hermes-parser-wasm.cpp | 1 | /* | COMMENT |
| LOW | …/hermes-parser/src/utils/mutateESTreeASTForPrettier.js | 61 | // https://github.com/prettier/prettier/issues/11793 | COMMENT |
| LOW | …mes-eslint/src/scope-manager/referencer/TypeVisitor.js | 401 | } | COMMENT |
| LOW | …/hermes-parser/js/hermes-transform/src/detachedNode.js | 81 | config: DetachConfig = {}, | COMMENT |
| LOW | …rser/js/hermes-transform/src/transform/transformAST.js | 101 | })(); | COMMENT |
| LOW | …rc/transform/comments/prettier/language-js/comments.js | 161 | // else { ... } | COMMENT |
| LOW | tools/hbc-attribute/hbc-attribute.cpp | 1 | /* | COMMENT |
| LOW | tools/hbc-attribute/hbc-attribute.cpp | 21 | #include "hermes/BCGen/LiteralBufferBuilder.h" | COMMENT |
| LOW | tools/napi-runner/napi-runner.cpp | 1 | /** | COMMENT |
| LOW | tools/emhermesc/emhermesc.cpp | 21 | #include "hermes/SourceMap/SourceMapParser.h" | COMMENT |
| LOW | tools/emhermesc/emhermesc.cpp | 41 | /// result must be freed with \c hermesCompileResult_free(). | COMMENT |
| LOW | tools/hcdp/hcdp.cpp | 21 | #include <iostream> | COMMENT |
| LOW | tools/synth/synth.cpp | 1 | /* | COMMENT |
| LOW | tools/synth/fix_trace.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/hbcdump/hbcdump.cpp | 1 | /* | COMMENT |
| LOW | tools/test-runner/Executor.cpp | 1 | /* | COMMENT |
| LOW | tools/test-runner/Executor.cpp | 21 | COMMENT | |
| LOW | tools/test-runner/Executor.cpp | 101 | sigemptyset(&sa.sa_mask); | COMMENT |
| LOW | tools/test-runner/Skiplist.h | 81 | std::vector<SkipCategory> categories_; | COMMENT |
| LOW | tools/test-runner/Executor.h | 101 | /// Compile JS source to bytecode in-memory. | COMMENT |
| LOW | tools/test-runner/Executor.h | 141 | bool disableHandleSan = false); | COMMENT |
| LOW | tools/test-runner/main.cpp | 1 | /* | COMMENT |
| LOW | tools/test-runner/main.cpp | 21 | #include "llvh/Support/raw_ostream.h" | COMMENT |
| LOW | tools/test-runner/HarnessCache.h | 81 | COMMENT | |
| LOW | tools/hbc-deltaprep/hbc-deltaprep.cpp | 41 | COMMENT | |
| LOW | tools/hdb/hdb.cpp | 21 | #include <jsi/jsi.h> | COMMENT |
| LOW | tools/hermes/hermes.cpp | 1 | /* | COMMENT |
| LOW | tools/hermes/hermes.cpp | 241 | llvh::InitLLVM initLLVM(argc, argv); | COMMENT |
| LOW | tools/hermes/repl.cpp | 1 | /* | COMMENT |
| LOW | tools/hermes/repl.cpp | 21 | #include "hermes/Support/OSCompat.h" | COMMENT |
| LOW | tools/shermes/OutputStream.h | 21 | /// Replaces the stream with an open stream to a temporary file | COMMENT |
| LOW | tools/shermes/ParseJSFile.cpp | 41 | /// The AST context. | COMMENT |
| LOW | tools/shermes/CMakeLists.txt | 61 | # then used to build the VM for the target system. | COMMENT |
| LOW | tools/shermes/ConsoleBindings.cpp | 1 | /* | COMMENT |
| LOW | tools/shermes/ParseJSFile.h | 41 | COMMENT | |
| LOW | tools/shermes/shermes.cpp | 1 | /* | COMMENT |
| LOW | tools/shermes/shermes.cpp | 21 | #include "hermes/Parser/JSParser.h" | COMMENT |
| LOW | tools/shermes/shermes.cpp | 541 | } | COMMENT |
| LOW | tools/hvm/hvm.cpp | 1 | /* | COMMENT |
| LOW | tools/fuzzers/fuzzilli/fuzzilli.cpp | 21 | using facebook::jsi::String; | COMMENT |
| LOW | tools/fuzzers/fuzzilli/profile/Profile.swift | 1 | // Copyright 2019 Google LLC | COMMENT |
| LOW | tools/hvm-bench/interp-dispatch-bench.cpp | 1 | /* | COMMENT |
| LOW | tools/hvm-bench/interp-dispatch-bench.cpp | 21 | /// d-cache size (it only uses a few registers), exceptions, heap allocation and | COMMENT |
| LOW | agent-perf/tools/perf_proxies.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/collect_pmu.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/count_instructions.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/run_benchmarks.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/compiler_stats.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/pass_experiment.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/compilation_profiler.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/binary_size_compare.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/generated_code_report.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/benchmark_compare.sh | 1 | #!/bin/bash | COMMENT |
| LOW | agent-perf/tools/gc_stats.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/BCGen/HBC/string_kinds.js | 21 | // CHECK-NEXT: i3[ASCII, {{.*}}] #{{.*}}: defineProperty | COMMENT |
| LOW | test/BCGen/HBC/store_to_env.js | 21 | print(myObj); | COMMENT |
| LOW | test/BCGen/HBC/store_to_env.js | 41 | // CHECK-NEXT: Shape table count: 0 | COMMENT |
| 10220 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 122 | Y=Box2D.Collision.b2SimplexCache;Box2D.inherit(G,Box2D.Collision.Shapes.b2Shape);G.prototype.__super=Box2D.Collision.Sha | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 127 | y.prototype.__super=Box2D.Collision.Shapes.b2Shape.prototype;y.b2EdgeShape=function(){Box2D.Collision.Shapes.b2Shape.b2S | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 135 | y.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.js | 296 | I.prototype.__super=Box2D.Dynamics.Contacts.b2Contact.prototype;I.b2EdgeAndCircleContact=function(){Box2D.Dynamics.Conta | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 297 | this.m_fixtureB.GetShape()instanceof F?this.m_fixtureB.GetShape():null,o.m_xf)};I.prototype.b2CollideEdgeAndCircle=funct | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 298 | Box2D.Dynamics.Contacts.b2Contact.prototype;Y.b2PolyAndCircleContact=function(){Box2D.Dynamics.Contacts.b2Contact.b2Cont | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 299 | K?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.js | 301 | function(){Box2D.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)};z.Create=function(){return new z};z.Destro | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 308 | w.prototype.__super=Box2D.Dynamics.Controllers.b2Controller.prototype;w.b2BuoyancyController=function(){Box2D.Dynamics.C | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 311 | A.b2ConstantAccelController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.A | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 312 | function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.F=new K(0,0)};U.prototype.Ste | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 315 | Q.b2GravityController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.G=1;thi | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 317 | Box2D.Dynamics.Controllers.b2Controller.prototype;V.b2TensorDampingController=function(){Box2D.Dynamics.Controllers.b2Co | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 321 | Box2D.inherit(U,Box2D.Dynamics.Joints.b2Joint);U.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;U.b2DistanceJ | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 330 | l.m_sweep.a+=l.m_invI*(n*c-a*q);h.SynchronizeTransform();l.SynchronizeTransform();return y.Abs(d)<F.b2_linearSlop};Box2D | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 331 | this.frequencyHz=0};p.prototype.Initialize=function(d,h,l,j){this.bodyA=d;this.bodyB=h;this.localAnchorA.SetV(this.bodyA | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 339 | Q.prototype.__super=Box2D.Dynamics.Joints.b2JointDef.prototype;Q.b2FrictionJointDef=function(){Box2D.Dynamics.Joints.b2J | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 340 | Box2D.inherit(V,Box2D.Dynamics.Joints.b2Joint);V.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;V.b2GearJoint | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 350 | h.SynchronizeTransform();return 0<F.b2_linearSlop};Box2D.inherit(M,Box2D.Dynamics.Joints.b2JointDef);M.prototype.__super | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 357 | k.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;k.b2LineJoint=function(){Box2D.Dynamics.Joints.b2Joint.b2Joi | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 377 | F.b2_linearSlop&&f<=F.b2_angularSlop};Box2D.inherit(z,Box2D.Dynamics.Joints.b2JointDef);z.prototype.__super=Box2D.Dynami | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 378 | 0;this.enableMotor=false;this.motorSpeed=this.maxMotorForce=0};z.prototype.Initialize=function(d,h,l,j){this.bodyA=d;thi | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 385 | a;this.m_impulse.y+=o;d=d.dt*this.m_maxForce;this.m_impulse.LengthSquared()>d*d&&this.m_impulse.Multiply(d/this.m_impuls | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 386 | arguments);this.target=new w};D.prototype.b2MouseJointDef=function(){this.__super.b2JointDef.call(this);this.type=I.e_mo | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 447 | a-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.js | 449 | this.bodyA.GetAngle()};Box2D.inherit(aa,Box2D.Dynamics.Joints.b2Joint);aa.prototype.__super=Box2D.Dynamics.Joints.b2Join | CODE |
| CRITICAL⚡ | …arks/bench-runner/resource/test-suites/octane/box2d.js | 457 | j.m_sweep.a+=g*(n*m.y-a*m.x+m.z);l.SynchronizeTransform();j.SynchronizeTransform();return r<=F.b2_linearSlop&&s<=F.b2_an | CODE |
| CRITICAL | …arks/bench-runner/resource/test-suites/octane/box2d.js | 269 | aa=Box2D.Collision.b2ContactID,Z=Box2D.Collision.b2Manifold,d=Box2D.Collision.b2TimeOfImpact,h=Box2D.Collision.b2TOIInpu | CODE |
| CRITICAL | …arks/bench-runner/resource/test-suites/octane/box2d.js | 408 | O.prototype.__super=Box2D.Dynamics.Joints.b2JointDef.prototype;O.b2PrismaticJointDef=function(){Box2D.Dynamics.Joints.b2 | CODE |
| CRITICAL | …arks/bench-runner/resource/test-suites/octane/box2d.js | 409 | 0};O.prototype.Initialize=function(d,h,l,j){this.bodyA=d;this.bodyB=h;this.localAnchorA=this.bodyA.GetLocalPoint(l);this | CODE |
| CRITICAL | …arks/bench-runner/resource/test-suites/octane/box2d.js | 428 | function(){Box2D.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments);this.groundAnchorA=new w;this.groundAnchorB | CODE |
| CRITICAL | …arks/bench-runner/resource/test-suites/octane/box2d.js | 430 | N.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;N.b2RevoluteJoint=function(){Box2D.Dynamics.Joints.b2Joint.b | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 513 | Y=Box2D.Collision.b2SimplexCache;Box2D.inherit(G,Box2D.Collision.Shapes.b2Shape);G.prototype.__super=Box2D.Collision.Sha | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 518 | y.prototype.__super=Box2D.Collision.Shapes.b2Shape.prototype;y.b2EdgeShape=function(){Box2D.Collision.Shapes.b2Shape.b2S | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 526 | y.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.js | 687 | I.prototype.__super=Box2D.Dynamics.Contacts.b2Contact.prototype;I.b2EdgeAndCircleContact=function(){Box2D.Dynamics.Conta | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 688 | this.m_fixtureB.GetShape()instanceof F?this.m_fixtureB.GetShape():null,o.m_xf)};I.prototype.b2CollideEdgeAndCircle=funct | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 689 | Box2D.Dynamics.Contacts.b2Contact.prototype;Y.b2PolyAndCircleContact=function(){Box2D.Dynamics.Contacts.b2Contact.b2Cont | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 690 | K?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.js | 692 | function(){Box2D.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)};z.Create=function(){return new z};z.Destro | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 699 | w.prototype.__super=Box2D.Dynamics.Controllers.b2Controller.prototype;w.b2BuoyancyController=function(){Box2D.Dynamics.C | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 702 | A.b2ConstantAccelController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.A | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 703 | function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.F=new K(0,0)};U.prototype.Ste | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 706 | Q.b2GravityController=function(){Box2D.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments);this.G=1;thi | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 708 | Box2D.Dynamics.Controllers.b2Controller.prototype;V.b2TensorDampingController=function(){Box2D.Dynamics.Controllers.b2Co | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 712 | Box2D.inherit(U,Box2D.Dynamics.Joints.b2Joint);U.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;U.b2DistanceJ | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 721 | l.m_sweep.a+=l.m_invI*(n*c-a*q);h.SynchronizeTransform();l.SynchronizeTransform();return y.Abs(d)<F.b2_linearSlop};Box2D | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 722 | this.frequencyHz=0};p.prototype.Initialize=function(d,h,l,j){this.bodyA=d;this.bodyB=h;this.localAnchorA.SetV(this.bodyA | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 730 | Q.prototype.__super=Box2D.Dynamics.Joints.b2JointDef.prototype;Q.b2FrictionJointDef=function(){Box2D.Dynamics.Joints.b2J | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 731 | Box2D.inherit(V,Box2D.Dynamics.Joints.b2Joint);V.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;V.b2GearJoint | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 741 | h.SynchronizeTransform();return 0<F.b2_linearSlop};Box2D.inherit(M,Box2D.Dynamics.Joints.b2JointDef);M.prototype.__super | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 748 | k.prototype.__super=Box2D.Dynamics.Joints.b2Joint.prototype;k.b2LineJoint=function(){Box2D.Dynamics.Joints.b2Joint.b2Joi | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 768 | F.b2_linearSlop&&f<=F.b2_angularSlop};Box2D.inherit(z,Box2D.Dynamics.Joints.b2JointDef);z.prototype.__super=Box2D.Dynami | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 769 | 0;this.enableMotor=false;this.motorSpeed=this.maxMotorForce=0};z.prototype.Initialize=function(d,h,l,j){this.bodyA=d;thi | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 776 | a;this.m_impulse.y+=o;d=d.dt*this.m_maxForce;this.m_impulse.LengthSquared()>d*d&&this.m_impulse.Multiply(d/this.m_impuls | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 777 | arguments);this.target=new w};D.prototype.b2MouseJointDef=function(){this.__super.b2JointDef.call(this);this.type=I.e_mo | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 838 | a-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.js | 840 | this.bodyA.GetAngle()};Box2D.inherit(aa,Box2D.Dynamics.Joints.b2Joint);aa.prototype.__super=Box2D.Dynamics.Joints.b2Join | CODE |
| CRITICAL⚡ | benchmarks/octane/box2d.js | 848 | j.m_sweep.a+=g*(n*m.y-a*m.x+m.z);l.SynchronizeTransform();j.SynchronizeTransform();return r<=F.b2_linearSlop&&s<=F.b2_an | CODE |
| CRITICAL | benchmarks/octane/box2d.js | 660 | aa=Box2D.Collision.b2ContactID,Z=Box2D.Collision.b2Manifold,d=Box2D.Collision.b2TimeOfImpact,h=Box2D.Collision.b2TOIInpu | CODE |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 110 | function deserializeFunctionLikeLast() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 113 | function deserializeStatementFirst() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 116 | function deserializeMatchStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 124 | function deserializeLoopStatementFirst() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 127 | function deserializeWhileStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 135 | function deserializeDoWhileStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 143 | function deserializeForInStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 152 | function deserializeForOfStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 172 | function deserializeLoopStatementLast() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 175 | function deserializeDebuggerStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 178 | function deserializeEmptyStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 181 | function deserializeBlockStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 197 | function deserializeBreakStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 204 | function deserializeContinueStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 211 | function deserializeThrowStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 218 | function deserializeReturnStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 233 | function deserializeSwitchStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 241 | function deserializeLabeledStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 249 | function deserializeExpressionStatement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 317 | function deserializeThisExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 323 | function deserializeSequenceExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 330 | function deserializeObjectExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 337 | function deserializeArrayExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 362 | function deserializeYieldExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 370 | function deserializeAwaitExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 377 | function deserializeImportExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 385 | function deserializeCallExpressionLikeFirst() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 390 | function deserializeCallExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 400 | function deserializeOptionalCallExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 411 | function deserializeCallExpressionLikeLast() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 416 | function deserializeAssignmentExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 425 | function deserializeUnaryExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 434 | function deserializeUpdateExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 443 | function deserializeMemberExpressionLikeFirst() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 448 | function deserializeMemberExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 457 | function deserializeOptionalMemberExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 467 | function deserializeMemberExpressionLikeLast() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 472 | function deserializeLogicalExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 481 | function deserializeConditionalExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 490 | function deserializeBinaryExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 554 | function deserializeVariableDeclarator() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 562 | function deserializeVariableDeclaration() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 570 | function deserializeTemplateLiteral() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 578 | function deserializeTaggedTemplateExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 586 | function deserializeTemplateElement() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 701 | function deserializeImportDeclaration() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 711 | function deserializeImportSpecifier() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 720 | function deserializeImportDefaultSpecifier() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 727 | function deserializeImportNamespaceSpecifier() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 734 | function deserializeImportAttribute() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 742 | function deserializeExportNamedDeclaration() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 752 | function deserializeExportSpecifier() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 760 | function deserializeExportNamespaceSpecifier() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 767 | function deserializeExportDefaultDeclaration() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 774 | function deserializeExportAllDeclaration() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 821 | function deserializeMatchStatementCase() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 830 | function deserializeMatchExpression() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 838 | function deserializeMatchExpressionCase() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 847 | function deserializeMatchPatternFirst() { | CODE |
| LOW⚡ | …/js/hermes-parser/src/HermesParserNodeDeserializers.js | 850 | function deserializeMatchWildcardPattern() { | CODE |
| 614 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | utils/bench_with_stats.py | 189 | # Check for non-positive factors (would make geometric mean undefined) | COMMENT |
| HIGH⚡ | utils/testsuite/preprocess.py | 197 | if (type_opt !== undefined) { | CODE |
| HIGH⚡ | utils/testsuite/preprocess.py | 205 | if (arguments.length > 1 && type_opt === undefined) { | CODE |
| HIGH⚡ | utils/testsuite/preprocess.py | 205 | if (arguments.length > 1 && type_opt === undefined) { | CODE |
| HIGH⚡ | utils/testsuite/preprocess.py | 208 | if (type_opt !== undefined && typeof type_opt !== 'function') { | CODE |
| HIGH⚡ | utils/testsuite/preprocess.py | 215 | assertException(e, type_opt, undefined); | CODE |
| HIGH⚡ | utils/testsuite/preprocess.py | 219 | if (type_opt !== undefined && type_opt.name !== undefined) | CODE |
| HIGH⚡ | utils/testsuite/preprocess.py | 219 | if (type_opt !== undefined && type_opt.name !== undefined) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 162 | self.assertTrue(BooleanExpression.evaluate('true || true', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 163 | self.assertTrue(BooleanExpression.evaluate('true || false', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 164 | self.assertTrue(BooleanExpression.evaluate('false || true', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 165 | self.assertFalse(BooleanExpression.evaluate('false || false', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 167 | self.assertTrue(BooleanExpression.evaluate('true && true', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 168 | self.assertFalse(BooleanExpression.evaluate('true && false', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 169 | self.assertFalse(BooleanExpression.evaluate('false && true', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 170 | self.assertFalse(BooleanExpression.evaluate('false && false', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 178 | self.assertTrue(BooleanExpression.evaluate('false && false || true', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 178 | self.assertTrue(BooleanExpression.evaluate('false && false || true', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 179 | self.assertTrue(BooleanExpression.evaluate('(false && false) || true', {})) | CODE |
| HIGH⚡ | external/llvh/utils/lit/lit/BooleanExpression.py | 180 | self.assertFalse(BooleanExpression.evaluate('false && (false || true)', {})) | CODE |
| HIGH | external/llvh/utils/lit/lit/BooleanExpression.py | 235 | self.checkException("(((true && true) || true)", | CODE |
| HIGH | external/llvh/utils/lit/lit/BooleanExpression.py | 238 | "in expression: '(((true && true) || true)'") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | doc/icu_license.txt | 300 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/icu_license.txt | 328 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/icu_license.txt | 338 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/icu_license.txt | 368 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 24 | # =================== | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 37 | # ============================== | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 69 | # ================================ | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 84 | # ================================= | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 127 | # ============================================ | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 152 | # ================ | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 165 | # ================== | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 234 | # ========================= | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 381 | # ======================= | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 390 | # =============== | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 563 | # ================ | COMMENT |
| MEDIUM | external/asmjit/asmjit/CMakeLists.txt | 577 | # ================ | COMMENT |
| MEDIUM | external/icu_decls/license.html | 291 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | external/icu_decls/license.html | 314 | # -------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 17 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 19 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 23 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 26 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 31 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 33 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 36 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 38 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 41 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 43 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 46 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 48 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 51 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 53 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 57 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 61 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 64 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 69 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 72 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 76 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 79 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 81 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 87 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 89 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 92 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | external/node-api-tests/hermes/hermes-skip-list.txt | 94 | # ========================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/test-runner/Executor.cpp | 906 | // Step 1: Compile with shermes. | COMMENT |
| LOW | tools/test-runner/Executor.cpp | 955 | // Step 2: Run the compiled binary. | COMMENT |
| LOW⚡ | tools/test-runner/Executor.h | 146 | /// Step 1: Compile JS source to a native binary using shermes. | COMMENT |
| LOW⚡ | tools/test-runner/Executor.h | 147 | /// Step 2: Run the native binary and evaluate the result. | COMMENT |
| LOW | agent-perf/README.md | 661 | # Step 1: A/B binary size across Octane | COMMENT |
| LOW | agent-perf/README.md | 665 | # Step 2: Symbol-level drill-down on a specific benchmark | COMMENT |
| LOW⚡ | agent-perf/README.md | 706 | # Step 1: Collect PMU counters | COMMENT |
| LOW⚡ | agent-perf/README.md | 709 | # Step 2: Check for anomalies | COMMENT |
| LOW⚡ | agent-perf/README.md | 712 | # Step 3: Profile with perf | COMMENT |
| LOW⚡ | agent-perf/README.md | 716 | # Step 4: Parse profile and find hot runtime functions | COMMENT |
| LOW⚡ | agent-perf/README.md | 720 | # Step 5: Annotate source with hotspots | COMMENT |
| LOW | include/hermes/BCGen/HBC/HBC.h | 178 | /// NOTE: This function is exposed here for convenience, because there's no | COMMENT |
| LOW | include/hermes/Sema/FlowContext.h | 366 | /// NOTE: This function isn't to be used on type aliases, which can have | COMMENT |
| LOW | include/hermes/Support/UTF16Stream.h | 20 | /// NOTE: This class is NOT GC-aware. Don't pass in data from GC-managed objects | COMMENT |
| LOW | .claude/skills/binary-size-analysis/SKILL.md | 69 | ### Step 0: Verify Git Repository and Tools | COMMENT |
| LOW | .claude/skills/binary-size-analysis/SKILL.md | 93 | ### Step 1: Categorize Commits | COMMENT |
| LOW | .claude/skills/binary-size-analysis/SKILL.md | 159 | ### Step 2: Build and Measure | COMMENT |
| LOW | .claude/skills/binary-size-analysis/SKILL.md | 285 | ### Step 3: Generate Summary | COMMENT |
| LOW | .claude/skills/binary-size-analysis/SKILL.md | 299 | ### Step 4: Restore Branch | COMMENT |
| LOW⚡ | .claude/skills/non-interactive-git-rebase/SKILL.md | 101 | # Step 1: Prepare todo with 'edit' on commits to reword | COMMENT |
| LOW⚡ | .claude/skills/non-interactive-git-rebase/SKILL.md | 103 | # Step 2: At each stop, amend the message non-interactively: | COMMENT |
| LOW⚡ | .claude/skills/non-interactive-git-rebase/SKILL.md | 108 | # Step 3: Continue to the next stop | COMMENT |
| LOW⚡ | .claude/skills/non-interactive-git-rebase/SKILL.md | 127 | # Step 1: Prepare todo with 'edit' on the target commit | COMMENT |
| LOW⚡ | .claude/skills/non-interactive-git-rebase/SKILL.md | 131 | # Step 2: Rebase stops at the target commit. Split it: | COMMENT |
| LOW⚡ | .claude/skills/non-interactive-git-rebase/SKILL.md | 134 | # Step 3: Selectively stage and commit pieces. | COMMENT |
| LOW⚡ | .claude/skills/non-interactive-git-rebase/SKILL.md | 143 | # Step 4: Continue the rebase | COMMENT |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui.cpp | 2899 | // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element h | COMMENT |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui.cpp | 2916 | // Step 1: Let the clipper infer height from first range | COMMENT |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui.cpp | 14814 | // Step 0: stack query | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 14 | ### Step 1: Profile — Identify Hot Functions | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 32 | ### Step 2: Map — Trace Hot Code Back to Source | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 46 | ### Step 3: Categorize — Where Is the Bottleneck? | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 58 | ### Step 4: PMU — Check Hardware Bottlenecks | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 76 | ### Step 5: Generated Code — Analyze C Code Quality | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 101 | ### Step 6: Runtime — Profile Runtime Library Usage | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 118 | ### Step 7: Compiler — Check Pass Effectiveness | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 133 | ### Step 8: Type Analysis — Check Typed Mode Potential | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 149 | ### Step 9: Anti-Patterns — Scan for Known Issues | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 159 | ### Step 10: Fix — Implement the Optimization | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 171 | ### Step 11: Validate — Measure the Impact | COMMENT |
| LOW | .llms/skills/sh_perf_investigation.md | 195 | ### Step 12: Submit — Create the Diff | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 138 | // Step 2: NewPromiseCapability(C). Throws synchronously if C is | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 216 | // Step 2: NewPromiseCapability(C). | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 305 | // Step 2: NewPromiseCapability(C). | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 335 | // Step 2: NewPromiseCapability(C). | COMMENT |
| LOW | lib/IRGen/ESTreeIRGen-expr.cpp | 3385 | // Step 1: get the template object. | COMMENT |
| LOW | lib/IRGen/ESTreeIRGen-expr.cpp | 3425 | // Step 2: call the tag function, passing the template object followed by a | COMMENT |
| LOW | lib/VM/JSLib/HermesBuiltin.cpp | 1061 | // Step 6: Define the "name" property with | COMMENT |
| LOW | lib/VM/JSLib/Base64Util.cpp | 274 | // Step 3: If maxLength is 0, return immediately. | COMMENT |
| LOW | API/hermes/extensions/contrib/README.md | 20 | ### Step 1: Create the JavaScript File | COMMENT |
| LOW | API/hermes/extensions/contrib/README.md | 39 | ### Step 2: Create the C++ Header | COMMENT |
| LOW | API/hermes/extensions/contrib/README.md | 67 | ### Step 3: Create the C++ Implementation | COMMENT |
| LOW | API/hermes/extensions/contrib/README.md | 109 | ### Step 4: Update Build and Registration | COMMENT |
| LOW | API/hermes/extensions/contrib/README.md | 138 | ### Step 5: Add Tests | COMMENT |
| LOW | doc/plans/ir-type/progress.md | 33 | ### Step 11: Port util binding | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3623 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3659 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3717 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3820 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3859 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/SourceMap/thrower.js | 18 | // Duplicate some functions to ensure we are robust against function dedup. | COMMENT |
| MEDIUM | test/hermes/error-prepare-stack-trace-uncaught-3.js | 13 | // Duplicate some functions to ensure we are robust against function dedup. | COMMENT |
| MEDIUM | include/hermes/VM/Runtime.h | 1633 | /// do not really want a stack-traces node. This means we can leverage our | COMMENT |
| MEDIUM | include/hermes/VM/Runtime.h | 2221 | // allows us to leverage our whole test-suite to find missing cases of | COMMENT |
| MEDIUM | include/hermes/VM/Runtime.h | 2240 | // allows us to leverage our whole test-suite to find missing cases of | COMMENT |
| MEDIUM | include/hermes/VM/Runtime.h | 2258 | // allows us to leverage our whole test-suite to find missing cases of | COMMENT |
| MEDIUM | unsupported/juno/crates/juno/src/gen_js.rs | 3804 | // Definitely cool. | COMMENT |
| MEDIUM | utils/testsuite/hermes.py | 142 | # Check async test result regardless of exit code. The $DONE harness | COMMENT |
| LOW | utils/testsuite/cli.py | 41 | # simply set it to the directory of current file as a fallback (it's unclear | COMMENT |
| MEDIUM | lib/BCGen/HBC/BCProvider.cpp | 213 | // function so we can leverage BytecodeFileFields template types. | COMMENT |
| MEDIUM | lib/InternalJavaScript/20-MathPrototypeSumPrecise.js | 37 | // https://www-2.cs.cmu.edu/afs/cs/project/quake/public/papers/robust-arithmetic.ps | COMMENT |
| MEDIUM | …tl/java/com/facebook/hermes/intl/LocaleIdentifier.java | 658 | // Essentially, we ended up with slightly more complicated and less space efficient (due to | COMMENT |
| MEDIUM | …m/Intl/java/com/facebook/hermes/intl/NumberFormat.java | 183 | // TODO :: Make it more robust. | COMMENT |
| MEDIUM | …/com/facebook/hermes/intl/PlatformCollatorAndroid.java | 74 | // TODO: setCaseLevel method is not available. Essentially, the "CASE" sensitivity won't | COMMENT |
| MEDIUM | lib/Sema/SemResolve.cpp | 89 | // the leave() function. Essentially, innermost BinaryExpressionNode is | COMMENT |
| MEDIUM | lib/VM/Interpreter.cpp | 406 | // This allows us to leverage our whole test-suite to find missing cases | COMMENT |
| MEDIUM | lib/VM/HiddenClass.cpp | 413 | // robust). T31555339. | COMMENT |
| MEDIUM | lib/AST2JS/AST2JS.cpp | 1150 | // Definitely cool. | COMMENT |
| MEDIUM | API/hermes/TraceInterpreter.cpp | 462 | // structures in each rep, for a more robust time metric. | COMMENT |
| MEDIUM | API/hermes/TraceInterpreter.cpp | 1291 | // Essentially the same implementation as CallFromNative, except | COMMENT |
| MEDIUM | external/dragonbox/dragonbox/dragonbox.h | 1438 | // Without the bound on n_max (which compilers these days never leverage), the | COMMENT |
| MEDIUM | external/dragonbox/dragonbox/dragonbox.h | 1448 | // Without the bound on n_max (which compilers these days never leverage), the | COMMENT |
| MEDIUM | external/dragonbox/dragonbox/dragonbox.h | 1461 | // Without the bound on n_max (which compilers these days never leverage), the | COMMENT |
| MEDIUM | external/asmjit/asmjit/src/asmjit/core/emitter.h | 134 | //! often. To make the experience of using AsmJit seamless it offers validation features that can be controlled | COMMENT |
| LOW | external/icu_decls/unicode/platform.h | 60 | * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PRED | COMMENT |
| MEDIUM | external/llvh/include/llvh/ADT/Hashing.h | 624 | /// behavior in the presence of integral promotions. Essentially, | COMMENT |
| MEDIUM | external/llvh/include/llvh/IR/DerivedUser.h | 26 | /// loophole that allows classes outside of lib/IR to extend User to leverage | COMMENT |
| MEDIUM | external/llvh/include/llvh/IR/ValueMap.h | 274 | Copy.Map->Map.erase(Copy); // Definitely destroys *this. | CODE |
| MEDIUM | external/llvh/include/llvh/IR/ValueMap.h | 296 | Copy.Map->Map.erase(I); // Definitely destroys *this. | CODE |
| MEDIUM | external/llvh/include/llvh/Support/Compiler.h | 541 | /// However, this doesn't make any attempt to leverage the fancier techniques | COMMENT |
| MEDIUM | external/llvh/include/llvh/Support/MathExtras.h | 651 | /// Essentially, it is a floor operation across the domain of powers of two. | COMMENT |
| MEDIUM | external/llvh/include/llvh/Support/MathExtras.h | 658 | /// Essentially, it is a ceil operation across the domain of powers of two. | COMMENT |
| MEDIUM | external/llvh/include/llvh/Support/FormatVariadic.h | 72 | // Essentially, we are converting a std::tuple<Derived<Ts...>> to a | COMMENT |
| MEDIUM | …s/unittest/googletest/include/gtest/gtest-death-test.h | 146 | // This implementation is *not* meant to be as highly tuned or robust | COMMENT |
| MEDIUM | …s/unittest/googletest/include/gtest/gtest-death-test.h | 218 | // In practice, this can be used to test functions that utilize the | COMMENT |
| LOW | external/llvh/utils/lit/lit/ShUtil.py | 222 | # If this is an argument, just add it to the current command. | COMMENT |
| MEDIUM | .circleci/config.yml | 49 | # TODO(zhaogang): test with --shermes flag as well once we address the harness | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/test-runner/Executor.cpp | 906 | // Step 1: Compile with shermes. | COMMENT |
| LOW | tools/test-runner/Executor.cpp | 955 | // Step 2: Run the compiled binary. | COMMENT |
| LOW⚡ | tools/test-runner/Executor.h | 146 | /// Step 1: Compile JS source to a native binary using shermes. | COMMENT |
| LOW⚡ | tools/test-runner/Executor.h | 147 | /// Step 2: Run the native binary and evaluate the result. | COMMENT |
| LOW | unsupported/juno/crates/juno/src/sema/resolver.rs | 356 | // Determine the target statement. We need to check if it directly encloses | COMMENT |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui.cpp | 2899 | // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element h | COMMENT |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui.cpp | 2916 | // Step 1: Let the clipper infer height from first range | COMMENT |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui.cpp | 14814 | // Step 0: stack query | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 138 | // Step 2: NewPromiseCapability(C). Throws synchronously if C is | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 216 | // Step 2: NewPromiseCapability(C). | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 305 | // Step 2: NewPromiseCapability(C). | COMMENT |
| LOW | lib/InternalJavaScript/01-Promise.js | 335 | // Step 2: NewPromiseCapability(C). | COMMENT |
| LOW | lib/IRGen/ESTreeIRGen-expr.cpp | 3385 | // Step 1: get the template object. | COMMENT |
| LOW | lib/IRGen/ESTreeIRGen-expr.cpp | 3425 | // Step 2: call the tag function, passing the template object followed by a | COMMENT |
| LOW | lib/Sema/SemanticResolver.cpp | 640 | // Determine the target statement. We need to check if it directly encloses | COMMENT |
| LOW | lib/VM/JSLib/HermesBuiltin.cpp | 1061 | // Step 6: Define the "name" property with | COMMENT |
| LOW | lib/VM/JSLib/Base64Util.cpp | 274 | // Step 3: If maxLength is 0, return immediately. | COMMENT |
| LOW | lib/VM/JIT/arm64/JitEmitter.cpp | 1444 | // If the function has a prohibitInvoke flag, we need to check if it has been | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3623 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3659 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3717 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3820 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3859 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3916 | // Step 3: Find the significand with the smaller divisor. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3964 | // Step 1: Schubfach multiplier calculation. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 3990 | // Step 2: Try larger divisor; remove trailing zeros if necessary. | COMMENT |
| LOW | external/dragonbox/dragonbox/dragonbox.h | 4024 | // Step 3: Find the significand with the small divisor. | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 649 | // Step 1: Word[0] >>= 4 ; 0x0ABBCCDD | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 650 | // Step 2: Word[0] |= 0x10000000 ; 0x1ABBCCDD | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 651 | // Step 3: Word[1] >>= 4 ; 0x0EEFF001 | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 652 | // Step 4: Word[1] |= 0x50000000 ; 0x5EEFF001 | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 653 | // Step 5: Word[2] >>= 4 ; 0x02334455 | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 699 | // Step 1: Word[2] <<= 4 ; 0x23344550 | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 700 | // Step 2: Word[2] |= 0x0000000E ; 0x2334455E | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 701 | // Step 3: Word[1] <<= 4 ; 0xEFF00110 | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 702 | // Step 4: Word[1] |= 0x0000000A ; 0xEFF0011A | COMMENT |
| LOW⚡ | external/llvh/include/llvh/ADT/BitVector.h | 703 | // Step 5: Word[0] <<= 4 ; 0xABBCCDD0 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/hbc-attribute/accumulate.py | 7 | CODE | |
| LOW | tools/hbc-attribute/accumulate.py | 7 | CODE | |
| LOW | tools/hbc-attribute/accumulate.py | 7 | CODE | |
| LOW | tools/hbc-attribute/accumulate.py | 7 | CODE | |
| LOW | tools/hbc-read-trace/trace.py | 7 | CODE | |
| LOW | tools/hbc-read-trace/trace.py | 7 | CODE | |
| LOW | tools/hbc-read-trace/trace.py | 7 | CODE | |
| LOW | tools/hbc-read-trace/trace.py | 7 | CODE | |
| LOW | tools/hbc-read-trace/hbc_sections.py | 6 | CODE | |
| LOW | tools/hbc-read-trace/hbc_sections.py | 6 | CODE | |
| LOW | tools/hbc-read-trace/hbc_sections.py | 6 | CODE | |
| LOW | tools/hbc-read-trace/hbc_sections.py | 6 | CODE | |
| LOW | tools/hvm-bench/interp-dispatch.py | 6 | CODE | |
| LOW | tools/hvm-bench/interp-dispatch.py | 6 | CODE | |
| LOW | tools/hvm-bench/interp-dispatch.py | 6 | CODE | |
| LOW | tools/hvm-bench/interp-dispatch.py | 6 | CODE | |
| LOW | tools/ffigen/ffigen.py | 7 | CODE | |
| LOW | lldb/HermesValueFormatter.py | 9 | CODE | |
| LOW | lldb/HermesValueFormatter.py | 9 | CODE | |
| LOW | lldb/HermesValueFormatter.py | 9 | CODE | |
| LOW | lldb/HermesValueFormatter.py | 9 | CODE | |
| LOW | lldb/HermesValueFormatter.py | 14 | CODE | |
| LOW | lldb/Stack.py | 12 | CODE | |
| LOW | lldb/Stack.py | 12 | CODE | |
| LOW | lldb/Stack.py | 12 | CODE | |
| LOW | lldb/Stack.py | 12 | CODE | |
| LOW | utils/summarize_sizes.py | 18 | CODE | |
| LOW | utils/summarize_sizes.py | 18 | CODE | |
| LOW | utils/summarize_sizes.py | 18 | CODE | |
| LOW | utils/summarize_sizes.py | 18 | CODE | |
| LOW | utils/symbolicate-nativecall-stats.py | 7 | CODE | |
| LOW | utils/symbolicate-nativecall-stats.py | 7 | CODE | |
| LOW | utils/symbolicate-nativecall-stats.py | 7 | CODE | |
| LOW | utils/symbolicate-nativecall-stats.py | 7 | CODE | |
| LOW | utils/updateErrorTest.py | 7 | CODE | |
| LOW | utils/testsuite/test_run_defs.py | 6 | CODE | |
| LOW | utils/testsuite/utils.py | 6 | CODE | |
| LOW | utils/testsuite/utils.py | 15 | CODE | |
| LOW | utils/testsuite/typing_defs.py | 6 | CODE | |
| LOW | benchmarks/bench-runner/output.py | 6 | CODE | |
| LOW | external/llvh/test/TableGen/JSON-check.py | 4 | CODE | |
| LOW | external/llvh/utils/lit/lit.py | 2 | CODE | |
| LOW | external/llvh/utils/lit/lit/ShUtil.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/discovery.py | 9 | CODE | |
| LOW | external/llvh/utils/lit/lit/discovery.py | 11 | CODE | |
| LOW | external/llvh/utils/lit/lit/util.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/__init__.py | 10 | CODE | |
| LOW | external/llvh/utils/lit/lit/main.py | 9 | CODE | |
| LOW | external/llvh/utils/lit/lit/LitTestCase.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 3 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 6 | CODE | |
| LOW | external/llvh/utils/lit/lit/LitConfig.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/LitConfig.py | 93 | CODE | |
| LOW | external/llvh/utils/lit/lit/formats/shtest.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/formats/__init__.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/formats/__init__.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/formats/__init__.py | 1 | CODE | |
| LOW | external/llvh/utils/lit/lit/formats/__init__.py | 7 | CODE | |
| LOW | external/llvh/utils/lit/lit/formats/__init__.py | 8 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/synth/trace_normalize.py | 97 | CODE | |
| LOW | tools/synth/fix_trace.py | 28 | CODE | |
| LOW | tools/synth/trace-format-v2tov3.py | 38 | CODE | |
| LOW | tools/synth/trace-format-v2tov3.py | 75 | CODE | |
| LOW | tools/secdiff/secdiff.py | 201 | CODE | |
| LOW | tools/secdiff/secdiff.py | 108 | CODE | |
| LOW | agent-perf/tools/binary_size_analyzer.py | 68 | CODE | |
| LOW | agent-perf/tools/js_antipattern_scan.py | 44 | CODE | |
| LOW | agent-perf/tools/js_antipattern_scan.py | 279 | CODE | |
| LOW | agent-perf/tools/sh_source_mapper.py | 185 | CODE | |
| LOW | agent-perf/tools/regalloc_report.py | 144 | CODE | |
| LOW | agent-perf/tools/type_coverage_analyzer.py | 41 | CODE | |
| LOW | agent-perf/tools/type_coverage_analyzer.py | 98 | CODE | |
| LOW | agent-perf/tools/antipattern_scan.py | 66 | CODE | |
| LOW | agent-perf/tools/antipattern_scan.py | 216 | CODE | |
| LOW | agent-perf/tools/generated_code_analyzer.py | 121 | CODE | |
| LOW | agent-perf/tools/generated_code_antipatterns.py | 49 | CODE | |
| LOW | lldb/HermesValueFormatter.py | 112 | CODE | |
| LOW | utils/summarize_sizes.py | 34 | CODE | |
| LOW | utils/genUnicodeTable.py | 298 | CODE | |
| LOW | utils/genUnicodeTable.py | 374 | CODE | |
| LOW | utils/genUnicodeTable.py | 66 | CODE | |
| LOW | utils/bench_with_stats.py | 221 | CODE | |
| LOW | utils/bench_with_stats.py | 297 | CODE | |
| LOW | utils/bench_with_stats.py | 413 | CODE | |
| LOW | utils/chrome_snapshot_parser.py | 72 | CODE | |
| LOW | utils/updateErrorTest.py | 145 | CODE | |
| LOW | utils/lit-expect-gen/generate.py | 174 | CODE | |
| LOW | utils/testsuite/hermes.py | 466 | CODE | |
| LOW | utils/testsuite/test_run_defs.py | 60 | CODE | |
| LOW | utils/testsuite/utils.py | 78 | CODE | |
| LOW | utils/testsuite/utils.py | 101 | CODE | |
| LOW | utils/testsuite/es_ast.py | 183 | CODE | |
| LOW | utils/testsuite/es_ast.py | 245 | CODE | |
| LOW | utils/testsuite/progress.py | 200 | CODE | |
| LOW | utils/testsuite/skiplist.py | 66 | CODE | |
| LOW | utils/testsuite/external/_monkeyYaml.py | 103 | CODE | |
| LOW | utils/testsuite/external/_monkeyYaml.py | 127 | CODE | |
| LOW | benchmarks/bench-runner/runner.py | 21 | CODE | |
| LOW | benchmarks/bench-runner/stats.py | 124 | CODE | |
| LOW | benchmarks/bench-runner/bench-runner.py | 57 | CODE | |
| LOW | external/llvh/utils/lit/lit/ShUtil.py | 45 | CODE | |
| LOW | external/llvh/utils/lit/lit/ShUtil.py | 104 | CODE | |
| LOW | external/llvh/utils/lit/lit/run.py | 40 | CODE | |
| LOW | external/llvh/utils/lit/lit/discovery.py | 212 | CODE | |
| LOW | external/llvh/utils/lit/lit/Test.py | 104 | CODE | |
| LOW | external/llvh/utils/lit/lit/Test.py | 226 | CODE | |
| LOW | external/llvh/utils/lit/lit/ProgressBar.py | 182 | CODE | |
| LOW | external/llvh/utils/lit/lit/main.py | 101 | CODE | |
| LOW | external/llvh/utils/lit/lit/main.py | 203 | CODE | |
| LOW | external/llvh/utils/lit/lit/main.py | 44 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 182 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 362 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 574 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 671 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 764 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 1054 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 404 | CODE | |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 1366 | CODE | |
| LOW | external/llvh/utils/lit/lit/llvm/config.py | 14 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/hermes-parser/js/scripts/build-prettier.sh | 52 | # Check if local branch is behind upstream/flow-fork | COMMENT |
| LOW | tools/hermes-parser/js/scripts/verify-prettier-build.sh | 28 | # Check if the generated bundle or its compatibility wrapper changed | COMMENT |
| LOW | tools/hermes-parser/js/scripts/build.sh | 84 | # Check if file contains flow annotation | COMMENT |
| LOW | tools/secdiff/secdiff.py | 165 | if row >= max_y: # Check if row has exceeded the window size | CODE |
| LOW | tools/ffigen/ffigen.py | 19 | # Read the file and look for #define statements | COMMENT |
| LOW | agent-perf/tools/perf_proxies.sh | 169 | # Output results | COMMENT |
| LOW | agent-perf/tools/count_instructions.sh | 83 | # Check if perf is available | COMMENT |
| LOW | agent-perf/tools/generated_code_antipatterns.py | 284 | # Check if next non-empty line is not a label, closing brace, | COMMENT |
| LOW | test/SourceMap/translator/sourcemap-translator.sh | 44 | # Check if original and symbolicated traces using input source map match using stacktrace_diff.py. | COMMENT |
| LOW⚡ | utils/wasm-compile.sh | 10 | # Check if exactly one argument is provided | COMMENT |
| LOW⚡ | utils/wasm-compile.sh | 16 | # Check if HermesSourcePath is set | COMMENT |
| LOW⚡ | utils/wasm-compile.sh | 22 | # Check if the host build directory is valid | COMMENT |
| LOW⚡ | utils/wasm-compile.sh | 29 | # Check if the wasm build directory is valid | COMMENT |
| LOW⚡ | utils/wasm-compile.sh | 36 | # Check if the file exists | COMMENT |
| LOW | utils/format.sh | 116 | # Check if the file would be modified | COMMENT |
| LOW | utils/testsuite/hermes.py | 159 | # Check if the run succeeded | COMMENT |
| LOW | utils/testsuite/hermes.py | 255 | # Check if the compilation succeeded. | COMMENT |
| LOW | utils/testsuite/cli.py | 363 | # Check if this file should be skipped w.r.t. the test_skiplist flag. | COMMENT |
| LOW | utils/testsuite/cli.py | 447 | # Print result | COMMENT |
| LOW | utils/testsuite/test_run_defs.py | 176 | # Check if we need to skip this test due to unsupported features. | COMMENT |
| LOW | utils/testsuite/test_run_defs.py | 342 | # Check if the test file is valid and its expect file can be found. | COMMENT |
| LOW | utils/testsuite/es_ast.py | 263 | # Check if Hermes is missing keys. | COMMENT |
| LOW | utils/testsuite/es_ast.py | 271 | # Check if Hermes has extra keys. | COMMENT |
| LOW | external/llvh/utils/lit/lit/discovery.py | 104 | # Check if there is a local configuration file. | COMMENT |
| LOW | external/llvh/utils/lit/lit/discovery.py | 151 | # Check if the user named a test directly. | COMMENT |
| LOW | external/llvh/utils/lit/lit/Test.py | 274 | # Check if any of the xfails match an available feature or the target. | COMMENT |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 702 | # Open file descriptors in a second pass. | COMMENT |
| LOW | external/llvh/utils/lit/lit/TestRunner.py | 727 | # Check if we already have an open fd. This can happen if stdout and | COMMENT |
| LOW | external/llvh/utils/lit/lit/llvm/config.py | 83 | # Check if we should run long running tests. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/hermes-parser/js/scripts/build.sh | 86 | # Create a new file with .js.flow extension | COMMENT |
| MEDIUM | tools/hbc-read-trace/test.sh | 16 | # Create a workspace and make sure it is cleaned up when we exit. | COMMENT |
| MEDIUM | utils/format.sh | 112 | # Create a temporary file for the formatted content | COMMENT |
| MEDIUM | external/icu_decls/license.html | 290 | # This file is derived from the above dictionary, with slight modifications. | COMMENT |
| MEDIUM | external/llvh/utils/lit/lit/main.py | 175 | # Create a temp directory inside the normal temp directory so that we can | COMMENT |
| MEDIUM | external/llvh/utils/lit/lit/main.py | 350 | # Create the user defined parameters. | COMMENT |
| MEDIUM | external/llvh/utils/lit/lit/main.py | 368 | # Create the global config object. | COMMENT |
| MEDIUM | external/llvh/utils/lit/lit/TestRunner.py | 876 | # Create a copy of the global environment and modify it for this one | COMMENT |
| MEDIUM | external/llvh/utils/lit/lit/TestRunner.py | 1589 | # Create the output directory if it does not already exist. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/synth/fix_trace.py | 125 | print(f"Error: input file does not exist: {args.input}", file=sys.stderr) | CODE |
| MEDIUM | agent-perf/tools/binary_size_analyzer.py | 274 | print("Error: --optimized or --nm-b required", file=sys.stderr) | CODE |
| MEDIUM | agent-perf/tools/binary_size_analyzer.py | 288 | print("Error: Could not extract symbols from either binary", file=sys.stderr) | CODE |
| MEDIUM⚡ | test/hermes/tagged-template-long.js | 23 | print("Error in string", i, strings[i].trim()); | CODE |
| MEDIUM⚡ | test/hermes/tagged-template-long.js | 30 | print("Error in arg", i); | CODE |
| MEDIUM | test/hermes/es6-class/es6-class-overflow.js | 13 | print("Error in eval:", e.message); | CODE |
| LOW | lldb/HermesValueFormatter.py | 193 | except Exception as e: | CODE |
| MEDIUM | utils/bench_with_stats.py | 574 | print("Error: Number of runs must be positive.", file=sys.stderr) | CODE |
| MEDIUM | utils/testsuite/utils.py | 156 | print(f"Error: {exe} not found.") | CODE |
| MEDIUM | utils/testsuite/utils.py | 162 | print(f"Error: {exe} not found.") | CODE |
| LOW | utils/testsuite/es_ast.py | 321 | except Exception: | CODE |
| LOW | utils/testsuite/progress.py | 107 | except Exception: | CODE |
| LOW | utils/testsuite/progress.py | 118 | except Exception: | CODE |
| LOW | external/llvh/test/TableGen/JSON-check.py | 29 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent-perf/tools/perf_proxies.sh | 11 | # Usage: | COMMENT |
| LOW | agent-perf/tools/collect_pmu.sh | 14 | # Usage: | COMMENT |
| LOW | agent-perf/tools/count_instructions.sh | 13 | # Usage: | COMMENT |
| LOW | agent-perf/tools/run_benchmarks.sh | 12 | # Usage: | COMMENT |
| LOW | agent-perf/tools/compiler_stats.sh | 11 | # Usage: | COMMENT |
| LOW | agent-perf/tools/pass_experiment.sh | 11 | # Usage: | COMMENT |
| LOW | agent-perf/tools/compilation_profiler.sh | 14 | # Usage: | COMMENT |
| LOW | agent-perf/tools/binary_size_compare.sh | 17 | # Usage: | COMMENT |
| LOW | agent-perf/tools/generated_code_report.sh | 11 | # Usage: | COMMENT |
| LOW | agent-perf/tools/benchmark_compare.sh | 12 | # Usage: | COMMENT |
| LOW | agent-perf/tools/gc_stats.sh | 12 | # Usage: | COMMENT |
| LOW | include/hermes/Support/JSONEmitter.h | 33 | /// Example usage: | COMMENT |
| LOW | utils/build-apple-framework.sh | 10 | # Usage: | COMMENT |
| LOW | lib/VM/JSLib/Array.cpp | 1454 | /// Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/debugger/lazy-sourcemap.js | 14 | * for being too short. Lorem ipsum dolor sit amet, consectetur adipiscing | COMMENT |
| LOW | test/debugger/lazy-sourcemap.js | 14 | * for being too short. Lorem ipsum dolor sit amet, consectetur adipiscing | COMMENT |
| LOW | …ch-runner/resource/test-suites/micros/jsonStringify.js | 38 | name: 'John Doe', | CODE |
| LOW⚡ | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 5639 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 5639 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 5641 | ImGui::Text("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 5641 | ImGui::Text("Lorem ipsum dolor sit amet"); | CODE |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 7285 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 7285 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 8003 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui_demo.cpp | 8003 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | API/jsi/jsi/test/testlib.cpp | 1840 | String str = String::createFromUtf8(rd, "placeholder"); | CODE |
| LOW | …l/node-api-tests/node-api/test_buffer/test_finalizer.c | 7 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; | CODE |
| LOW | …l/node-api-tests/node-api/test_buffer/test_finalizer.c | 7 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; | CODE |
| LOW | …rnal/node-api-tests/node-api/test_buffer/test_buffer.c | 7 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; | CODE |
| LOW | …rnal/node-api-tests/node-api/test_buffer/test_buffer.c | 7 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/lit.cfg | 0 | check whether a string converts to true according to cmake rules | STRING |
| HIGH | unsupported/juno/lit/lit.cfg | 0 | check whether a string converts to true according to cmake rules | STRING |
| HIGH | external/llvh/test/lit.cfg | 0 | check whether a string converts to true according to cmake rules | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/shermes/compile.cpp | 407 | // Don't forget to delete the temporary on exit. | COMMENT |
| LOW | tools/shermes/compile.cpp | 452 | // Don't forget to delete the temporary on exit. | COMMENT |
| MEDIUM | benchmarks/lib/libgui/cimgui/imgui/imgui_widgets.cpp | 6444 | // Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image. | COMMENT |
| LOW | benchmarks/lib/libgui/cimgui/imgui/imgui.cpp | 720 | - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previ | CODE |
| LOW | lib/VM/JSLib/GlobalObject.cpp | 264 | // NOTE: when declaring more global symbols, don't forget to update | COMMENT |
| LOW | external/asmjit/asmjit/src/asmjit/x86/x86assembler.h | 479 | //! // Let's just emit 'sub zsp, 0' for now, but don't forget to use LONG form. | COMMENT |
| LOW | external/asmjit/asmjit/src/asmjit/x86/x86assembler.h | 495 | //! a.long_().sub(zsp, stackSize); // Patch the code; don't forget to use LONG form. | COMMENT |
| MEDIUM | external/llvh/include/llvh/ADT/EquivalenceClasses.h | 36 | /// Here is a simple example using integers: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | include/hermes/Support/BigIntSupport.h | 143 | // But still possibly truncate the value as requested by the caller. | COMMENT |
| HIGH | benchmarks/lib/libgui/cimgui/imgui/imgui_draw.cpp | 2363 | const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0x | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarks/bench-runner/runner.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarks/bench-runner/stats.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarks/bench-runner/bench-runner.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | external/llvh/utils/lit/lit/__init__.py | 8 | __all__ = [] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/hermes/VM/static_h.h | 536 | /// TODO: implement a "raw" version of this function returning a raw pointer, | COMMENT |
| LOW | external/llvh/include/llvh/Support/ScaledNumber.h | 656 | // TODO: implement directly, rather than relying on inverse. Inverse is | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | API/hermes/extensions/README.md | 21 | ├── Extensions.h/cpp # Extension installation orchestration | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/bench_with_stats.py | 44 | CODE |