Repository Analysis

alpinejs/alpine

A rugged, minimal framework for composing JavaScript behavior in your markup.

1.6 Likely human-written View on GitHub
1.6
Adjusted Score
1.6
Raw Score
100%
Time Factor
2026-05-29
Last Push
31,628
Stars
HTML
Language
69,220
Lines of Code
295
Files
50
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 20LOW 30

Pattern Findings

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

Decorative Section Separators20 hits · 81 pts
SeverityFileLineSnippet
MEDIUMscripts/setup.sh4# ── Install deps ─────────────────────────────────────────────────────────────
MEDIUMscripts/worktree.sh4# ── Resolve the repo root from this script's location ────────────────────────
MEDIUMscripts/worktree.sh7# ── Usage ────────────────────────────────────────────────────────────────────
MEDIUMscripts/worktree.sh26# ── Check if it already exists ───────────────────────────────────────────────
MEDIUMscripts/worktree.sh34# ── Fetch & create ───────────────────────────────────────────────────────────
MEDIUMscripts/worktree.sh41# ── Install deps ─────────────────────────────────────────────────────────────
MEDIUMscripts/worktree.sh47# ── Done ─────────────────────────────────────────────────────────────────────
MEDIUMscripts/cleanup-worktree.sh4# ── Resolve the repo root from this script's location ────────────────────────
MEDIUMscripts/cleanup-worktree.sh7# ── Usage ────────────────────────────────────────────────────────────────────
MEDIUMscripts/cleanup-worktree.sh23# ── Validate ─────────────────────────────────────────────────────────────────
MEDIUMscripts/cleanup-worktree.sh29# ── Remove ───────────────────────────────────────────────────────────────────
MEDIUMscripts/cleanup-worktree.sh33# ── Prune any stale worktree references ──────────────────────────────────────
MEDIUM.github/workflows/release.yml32 # ── Normalize version ──────────────────────────────────────────
MEDIUM.github/workflows/release.yml45 # ── Verify tag doesn't already exist ───────────────────────────
MEDIUM.github/workflows/release.yml53 # ── Install dependencies ───────────────────────────────────────
MEDIUM.github/workflows/release.yml56 # ── Bump versions ──────────────────────────────────────────────
MEDIUM.github/workflows/release.yml60 # ── Commit and push version bumps ──────────────────────────────
MEDIUM.github/workflows/release.yml69 # ── Build ──────────────────────────────────────────────────────
MEDIUM.github/workflows/release.yml72 # ── Create GitHub release ──────────────────────────────────────
MEDIUM.github/workflows/release.yml82 # ── Publish all packages to npm ────────────────────────────────
Hyper-Verbose Identifiers18 hits · 18 pts
SeverityFileLineSnippet
LOWtests/cypress/integration/error-handling.spec.js18export function assertConsoleInterceptorHadErrorWithCorrectElement() {
LOWpackages/sort/src/index.js65function getConfigurationOverrides(el, modifiers, evaluate)
LOWpackages/sort/src/index.js162function keepElementsWithinMorphMarkers(el) {
LOWpackages/morph/src/morph.js545function monkeyPatchDomSetAttributeToAllowAtSymbols() {
LOWpackages/morph/src/old_morph.js85 function differentElementNamesTypesOrKeys(from, to) {
LOWpackages/alpinejs/src/mutation.js106export function flushAndStopDeferringMutations() {
LOWpackages/alpinejs/src/clone.js75function dontRegisterReactiveSideEffects(callback) {
LOWpackages/alpinejs/src/evaluator.js7export function dontAutoEvaluateFunctions(callback) {
LOWpackages/alpinejs/src/evaluator.js57export function generateEvaluatorFromFunction(dataStack, func) {
LOWpackages/alpinejs/src/evaluator.js74function generateFunctionFromString(expression, el) {
LOWpackages/alpinejs/src/evaluator.js116function generateEvaluatorFromString(dataStack, expression, el) {
LOWpackages/alpinejs/src/directives/x-data.js62function shouldSkipRegisteringDataDuringClone(el) {
LOWpackages/alpinejs/src/directives/index.js29function warnMissingPluginDirective(name, directiveName, slug) {
LOWpackages/alpinejs/src/directives/x-transition.js18function registerTransitionsFromClassString(el, classString, stage) {
LOWpackages/alpinejs/src/directives/x-transition.js33function registerTransitionsFromHelper(el, modifiers, stage) {
LOWpackages/alpinejs/src/directives/x-for.js170function getIterationScopeVariables(iteratorNames, item, index, items) {
LOWpackages/alpinejs/src/utils/on.js134function isListeningForASpecificKeyThatHasntBeenPressed(e, modifiers) {
LOWpackages/alpinejs/src/utils/bind.js178function attributeShouldntBePreservedIfFalsy(name) {
Fake / Example Data7 hits · 7 pts
SeverityFileLineSnippet
LOWtests/cypress/integration/plugins/ui/combobox.spec.js408 <article>lorem ipsum</article>
LOWtests/cypress/integration/plugins/ui/combobox.spec.js499 <article>lorem ipsum</article>
LOWtests/cypress/integration/plugins/ui/combobox.spec.js1278 <article>lorem ipsum</article>
LOWtests/cypress/integration/plugins/ui/combobox.spec.js1408 <article>lorem ipsum</article>
LOWpackages/docs/src/en/plugins/collapse.md75 Reprehenderit eu excepteur ullamco esse cillum reprehenderit exercitation labore non. Dolore dolore ea dolor
LOWpackages/docs/src/en/plugins/collapse.md105 Reprehenderit eu excepteur ullamco esse cillum reprehenderit exercitation labore non. Dolore dolore ea dolor
LOWpackages/docs/src/en/plugins/collapse.md134 Reprehenderit eu excepteur ullamco esse cillum reprehenderit exercitation labore non. Dolore dolore ea dolor
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippet
LOWtests/cypress/plugins/index.js1/// <reference types="cypress" />
LOWtests/cypress/integration/plugins/ui/dialog.spec.js201// Skipping these two tests as anything focus related seems to be flaky
LOWtests/cypress/support/index.js1// ***********************************************************
LOWtests/cypress/support/commands.js1// ***********************************************
LOWtests/cypress/support/commands.js21// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })