Repository Analysis

greensock/GSAP

GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web

0.7 Likely human-written View on GitHub
0.7
Adjusted Score
0.7
Raw Score
100%
Time Factor
2026-04-13
Last Push
25,062
Stars
JavaScript
Language
54,652
Lines of Code
103
Files
25
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 9LOW 16

Pattern Findings

25 matches across 4 categories. Click a row to expand file-level details.

AI Slop Vocabulary9 hits · 21 pts
SeverityFileLineSnippet
MEDIUMesm/ScrollTrigger.js2557 // iOS bug: it'll show the address bar but NOT fire the window "resize" event until the animation is done but we
MEDIUMesm/ScrollTrigger.js2685 // smaller file size way to leverage in ScrollSmoother and Observer
MEDIUMesm/gsap-core.js428 timeline._zTime = -_tinyNum; // helps ensure that the next render() will be forced (crossingStart = true in render()
MEDIUMesm/gsap-core.js695 //n:1 is just to indicate v was a number; we leverage that later to set v according to the length we get. If a num
MEDIUMsrc/ScrollTrigger.js1693 if (_fixIOSBug && tween.vars.scrollY >= maxY || currentScroll >= maxY-1) { // iOS bug: it'll show the address bar bu
MEDIUMsrc/ScrollTrigger.js1773ScrollTrigger.core = { // smaller file size way to leverage in ScrollSmoother and Observer
MEDIUMsrc/gsap-core.js284 timeline._zTime = -_tinyNum; // helps ensure that the next render() will be forced (crossingStart = true in render())
MEDIUMsrc/gsap-core.js456 let vars = _isObject(v) ? v : {each:v}, //n:1 is just to indicate v was a number; we leverage that later to set v acco
MEDIUMsrc/SplitText.ts490 if (anim) { // if the user returned an animation in the onSplit, we record the totalTime() here and revert() it and
Over-Commented Block9 hits · 9 pts
SeverityFileLineSnippet
LOWtypes/scroll-smoother.d.ts241 *
LOWtypes/scroll-smoother.d.ts261 // sections(targets: gsap.DOMTarget, vars?: ScrollSmoother.SectionVars | null): ScrollTrigger[];
LOWtypes/index.d.ts1// Type definitions for gsap 3
LOWtypes/index.d.ts21/// <reference path="gsap-plugins.d.ts"/>
LOWesm/utils/matrix.js81// let a = [],
LOWsrc/MotionPathPlugin.js41 // feed in an array of quadratic bezier points like [{x: 0, y: 0}, ...] and it'll convert it to cubic bezier
LOWsrc/Flip.js1041 }
LOWsrc/utils/matrix.js61 // _forceDisplay = e => {
LOWsrc/utils/matrix.js321// export function getMatrix(element) {
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippet
LOWesm/ScrollSmoother.js231 adjustEffectRelatedTriggers = function adjustEffectRelatedTriggers(st, triggers, partial) {
LOWesm/utils/paths.js1103export function segmentToDistributedPoints(segment, totalPoints) {
LOWesm/utils/paths.js1373function getClosestProgressOnBezier(iterations, px, py, start, end, slices, x0, y0, x1, y1, x2, y2, x3, y3) {
LOWsrc/utils/paths.js905export function segmentToDistributedPoints(segment, totalPoints) {
LOWsrc/utils/paths.js1108function getClosestProgressOnBezier(iterations, px, py, start, end, slices, x0, y0, x1, y1, x2, y2, x3, y3) {
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWesm/ScrollToPlugin.js215 //note: iOS has a bug that throws off the scroll by several pixels, so we need to check if it's within 7 pixels of
LOWsrc/ScrollToPlugin.js139 //note: iOS has a bug that throws off the scroll by several pixels, so we need to check if it's within 7 pixels of th