https://github.com/acme/example-saas · 2026-08-18
This codebase scores better than 38% of repositories we've audited.
A four-month-old AI-assisted codebase with working core flows but heavy duplication, no automated tests, and several dependency risks. Shippable today, fragile tomorrow: most incidents will come from the checkout and auth modules, where copies of the same logic have already drifted apart.
Languages: TS 41,200 loc · TSX 15,300 loc · JS 6,900 loc · CSS 3,050 loc · JSON 2,000 loc
| Largest files | Lines |
|---|---|
| src/services/PaymentService.ts | 2,412 |
| src/screens/Checkout.tsx | 1,876 |
| src/api/handlers.ts | 1,544 |
| src/state/store.ts | 1,102 |
| src/utils/helpers.ts | 987 |
Last commit: 2026-06-28
| Change hotspots (last 200 commits) | Changes | Lines |
|---|---|---|
| src/services/PaymentService.ts | 41 | 2,412 |
| src/screens/Checkout.tsx | 28 | 1,876 |
| src/api/handlers.ts | 19 | 1,544 |
2 contributor(s) in the last 200 commits — top contributor authored 94% of them.
| # | Step | Why | Effort |
|---|---|---|---|
| 1 | Rotate the committed secrets and move them to env vars | They are exposed to anyone with repo access, today | S |
| 2 | Add smoke tests around checkout and webhooks | Highest-cost regressions with zero safety net | M |
| 3 | Extract the duplicated price calculation into one service | Two copies already disagree — this is a live billing bug | M |
| 4 | Set up CI running the new tests plus secret scanning | Locks in the gains from the first three steps | S |
Scores and findings are derived from automated static analysis at generation time. Reply to your report email to discuss any finding with an engineer.