Skip to content
CAI
Software that uses CAICheck a score

rubensousa/GravitySnapHelper

50.0

Weak · 16 November 2026

1.2k

lines of production code

Java

with Kotlin

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

11 commits (0 fixes) modifying app/src

A change to existing behaviour in app/src — 11 commits, 4 files: “Update sample to Kotlin”; “Increase max fling in sample”; “Update sample with decoration used as padding”; and 7 more.

app/src · medium confidence · unverified

11 commits (1 fix) modifying gradle

A change to existing behaviour in gradle — 11 commits (1 fix), 2 files: “Update sample to Kotlin”; “Update dependencies”; “Initial commit”; and 5 more.

gradle · medium confidence · unverified

16 commits (1 fix) modifying app/src/main/java

A change to existing behaviour in app/src/main/java — 16 commits (1 fix), 7 files: “Update sample to Kotlin”; “Migrate to androidX”; “Initial commit”; and 13 more.

app/src/main/java · medium confidence · unverified

2 commits (0 fixes) modifying app

A change to existing behaviour in app — 2 commits, 2 files: “Initial commit”; “Upgrade deps and improve outside contributor support”.

app · medium confidence · unverified

35 commits (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 35 commits, 6 files: “Update README”; “Update README.md”; “Bump to 1.3”; and 24 more.

(repo-wide) · low confidence · unverified

41 commits (8 fixes) modifying gravitysnaphelper/src/main/java

A change to existing behaviour in gravitysnaphelper/src/main/java — 41 commits (8 fixs), 3 files: “Allow snapping to padding through GravitySnapHelper.setSnapToPadding and GravityPagerSnapHelper.setSnapToPadding”; “Publish to jcenter”; “Fix getCurrentSnappedPosition not working correctly when the SnapHelper hasn't snapped at least once and use own smooth scroller in smoothScrollToPosition”; and 37 more (refs \#2, \#7).

gravitysnaphelper/src/main/java · medium confidence · unverified

Dependencies

41 commits updating dependencies (9 manifests)

A dependency / build maintenance change in (dependencies) — 41 commits (2 fixs), 9 files: “Add new publishing plugin and github action”; “Bump to 1.3”; “Update sample to Kotlin”; and 33 more (refs \#17).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 50.0.

Lenses

  • Code Health 68.7
  • Architecture 97.9
  • Maturity 38.4
  • Readiness 38.2
  • Security 100.0

Changes since last survey

  • 165 commits — 147 feature/other, 18 fixes

By area

  • (root) — 50 commits
  • gravitysnaphelper/src — 50 commits
  • app/src — 34 commits
  • (repo) — 18 commits
  • .github/workflows — 4 commits
  • app/build.gradle — 2 commits
  • screens/snap_final.gif — 2 commits
  • GravitySnapHelper/src — 1 commit
  • gradle/wrapper — 1 commit
  • gravitysnaphelper/build.gradle — 1 commit
  • screens/center_snap.mp4 — 1 commit
  • screens/snap_final.webm — 1 commit

Notable commits

  • fix: Copied private methods from LinearSnapHelper to fix issue #2 properly
  • fix: Fix GravitySnapHelper not reporting snap events for edge items sometimes
  • fix: Fix dev workflow not being trigger
  • fix: Fix distance not being calculated properly for end snap
  • fix: Fix getCurrentSnappedPosition not working correctly when the SnapHelper hasn't snapped at least once and use own smooth scroller in smoothScrollToPosition.
  • fix: Fix issue #2
  • fix: Fix item not being snapped with reverse layout
  • fix: Fix publishing plugins
  • fix: Fix snap end in RTL
  • fix: Fix snap listener not reporting values for vertical snaps correctly
  • fix: Fix snap start in RTL
  • fix: Fix snapping issues when RecyclerView had padding
  • fix: Fix snapping when visible width is less than half and we're at the end or start
  • fix: Fix startOfList and endOfList flags in RTL
  • fix: Fix vertical mode not opening
  • fix: Merge branch 'master' of https://github.com/rubensousa/RecyclerViewSnap into fix-crash-gravitysnaprecyclerview
  • fix: Merge pull request #76 from rubensousa/fix-crash-gravitysnaprecyclerview
  • fix: Set min sdk to 9 - fix #17
  • change: Add GravityPagerSnapHelper
  • change: Add GravitySnapRecyclerView - A RecyclerView that uses GravitySnapHelper by default
  • …and 145 more

Architecture

  • 0 containers · 1 bounded contexts · 0 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

rubensousa/GravitySnapHelper was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 16 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 01a438a9ca90041641fa50b01edad407cc022d2e — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.83+preprod-a489942cf94b.