Skip to content
CAI
Software that uses CAICheck a score

sergio11/threads_swiftui

47.1

Weak · 20 September 2026

5.5k

lines of production code

Swift

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Threads is a mobile application built on a domain-driven architecture that manages user profiles and social threads. It leverages Firebase for backend services, including authentication, Firestore for data persistence, and Storage for images. The system provides core user flows such as signing in, viewing a feed, exploring content, and creating new threads.

Features

Initial project setup with Firebase backend and core data models

The Threads application has been initialized with a complete data layer backed by Firebase, including authentication, Firestore for threads and user profiles, and Storage for images. This change introduces the core data models (DTOs), data source protocols and their Firestore implementations, a dependency injection container wiring these components, and essential UI assets such as the app logo, launch screen, and color palette.

Threads · high confidence

Behavioural changes

App architecture refactored to use Firebase and domain-driven structure

The project has been restructured from a basic single-view setup into a full application with a domain-driven architecture. This includes the integration of Firebase (Auth, Firestore, Storage) for backend services, the addition of a complete set of UI screens (Home, Feed, Explore, Profile, Sign In/Up, Create Thread), and the implementation of a layered codebase featuring ViewModels, Use Cases, Repositories, Data Sources, and DTOs to manage user and thread data.

Threads.xcodeproj · high confidence

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

How this codebase got here

Score

  • CAI 48 → 47 (-0.5)
  • Rubric changed (rubric-2026.08.17 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 99 (-1.1)
  • Architecture 100 → 94 (-6.2)
  • Maturity 48 → 50 (+1.7)
  • Readiness 15 → 15 (+0.0)
  • Security 100 → 100 (+0.0)
  • Domain Modelling 100 → 100 (+0.0)

Resolved (4)

  • Dependency hygiene not measured — no supported dependency manifest was read
  • No exposed public API
  • complexity unreadable for .swift — churn × complexity hotspots could not be measured
  • single-maintainer — knowledge-concentration (bus factor) risk

New (10)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)
  • Duplicated block (10 lines × 2) (Threads/ViewModel/ConnectionsViewModel.swift)
  • Duplicated block (14 lines × 2) (Threads/View/ForgotPassword/ForgotPasswordView.swift)
  • Duplicated block (16 lines × 2) (Threads/View/Connections/ConnectionsView.swift)
  • Duplicated block (20–21 lines × 2) (Threads/View/ForgotPassword/ForgotPasswordView.swift)
  • Duplicated block (5 lines × 2) (Threads/View/Core/Components/NotificationCell.swift)
  • Duplicated block (7 lines × 2) (Threads/View/UserProfile/Components/ProfileHeaderView.swift)
  • Duplicated block (8 lines × 2) (Threads/ViewModel/ConnectionsViewModel.swift)
  • NotificationsRepositoryImpl.fetchUserNotifications (cognitive 18) (Threads/Repositories/Impl/NotificationRepositoryImpl.swift)

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

Survey your own repository

sergio11/threads_swiftui 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 20 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9458c6b0d23711014ddc57d7e4f6092d8634d352 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-28e75b8e3254.