Skip to content
CAI
Software that uses CAICheck a score

adimango/insights-for-instagram

51.9

Adequate · 21 September 2026

853

lines of production code

Swift

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This is an iOS application designed to provide Instagram user insights, specifically calculating and displaying the best day of the week to post. The system aggregates engagement data to generate weekday-based recommendations and manages local storage and data retrieval through a dedicated service layer. The codebase includes comprehensive unit and UI tests to validate media parsing and API interactions, while also enforcing code quality through SwiftLint.

Behavioural changes

Added weekday insights and refactored data layer

The app now displays a 'Best Day to Post' insight on the main screen, calculated by aggregating engagement data per day of the week. This feature is powered by a new \DataService\ that handles all local storage and data retrieval via Realm, replacing the previous \AppDataStore\ and \BaseInteractor\ architecture. The UI includes a new footer view in the storyboard to display the calculated weekday, and the account deletion flow has been updated to use the new service layer.

insights-for-instagram · high confidence

Removed Info.plist from Instagram UI tests

The Info.plist file for the Instagram UI tests has been removed. This file previously contained bundle configuration details such as the bundle identifier and versioning information. Its removal suggests a simplification of the test target's configuration, likely because these settings are now managed elsewhere or are no longer required for the UI tests to function correctly.

insights-for-instagramUITests · high confidence

Removed automatic version number increment in the beta lane

The beta lane no longer automatically increments the version number before building the iOS app. Previously, the lane would increment the version number twice (once explicitly, once implicitly), which has been corrected by removing the redundant \increment\_version\_number\ call.

fastlane · high confidence

Shared Xcode scheme for the app and tests

The Xcode project now includes a shared scheme file that configures build, test, launch, profile, analyze, and archive actions for the main app and its test targets. This ensures consistent build and run configurations across the team and CI environments.

insights-for-instagram.xcodeproj/xcshareddata · medium confidence

Updated project configuration and cleaned up build files

The Xcode project file has been updated to reflect changes in the build system, including the removal of the BaseInteractor and BaseInteractorWorker source files, the addition of new test files (InstagramMediaTests.swift, InstagramMediaCollectionViewCell.swift), and the replacement of the UITests framework with a standard Tests framework. These changes streamline the project structure and remove obsolete components.

insights-for-instagram.xcodeproj · medium confidence

Test coverage

Added and updated unit tests for Instagram media and API

Added a new test file, InstagramMediaTests.swift, which validates the parsing of Instagram media objects from JSON data. Updated existing tests in InstagramAPITests.swift to verify the stubbed API response for user media requests. Updated the test bundle's Info.plist to reflect the new version number 1.0.7.

insights-for-instagramTests · high confidence

Dependencies

Updated iOS dependencies and added SwiftLint

Updated several CocoaPods to newer versions: Kingfisher to 4.0, Moya to 10.0.2, ObjectMapper to 3.1.0, Quick to 1.2.0, and Nimble to 7.0.3. Additionally, SwiftLint was added as a new dependency, and the CocoaPods tooling was updated from 1.3.0 to 1.3.1.

(dependencies) · 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 59 → 52 (-6.7)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (-0.3)
  • Architecture 69 → 69 (+0.0)
  • Maturity 47 → 53 (+5.5)
  • Readiness 50 → 34 (-16.3)
  • Security 100 → 100 (+0.0)

Resolved (7)

  • Coverage not included — suite not readable by the collector
  • Dependency hygiene not measured — no supported dependency manifest was read
  • No exposed public API
  • Test reliability not included
  • complexity unreadable for .swift — churn × complexity hotspots could not be measured
  • early-stage repository — too little history to judge knowledge freshness
  • single-maintainer — knowledge-concentration (bus factor) risk

New (4)

  • Documentation: no usage examples (README.md)
  • Duplicated block (7 lines × 2) (insights-for-instagram/Services/DataService.swift)
  • Low cohesion: InsightsViewController (LCOM4 6) (insights-for-instagram/Insights/InsightsViewController.swift)
  • No ADRs found

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

Survey your own repository

adimango/insights-for-instagram 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 21 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 9583abeac1a5b00160b0a40b4d39886ceda52773 — 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-b84573e22831.