Skip to content
CAI
Software that uses CAICheck a score

Finb/Bark

52.0

Weak · 14 November 2026

13.4k

lines of production code

Swift

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add iOS widget for displaying recent messages with group filtering

A new iOS widget extension has been added, allowing users to view recent messages directly from the home screen. The widget supports configuration to filter messages by specific groups (or show all), and displays message details including title, subtitle, body, and relative timestamps. It uses AppIntents for configuration and shares data via an application group container.

Widget · high confidence

Initial CI/CD automation setup for iOS builds

This change introduces the initial Fastlane configuration to automate iOS builds and TestFlight uploads. It defines the app identifier (me.fin.bark), team details, and Match settings for certificate management via a private Git repository. The Fastfile includes a 'beta' lane that handles version incrementing, builds the app, uploads it to TestFlight, and sends a notification via the Bark API upon completion.

fastlane · high confidence

Initial project scaffolding with documentation and tooling

The repository has been initialized with core documentation files (README, AGENTS.md, CLAUDE.md, LICENSE) and a Python script to analyze unused localization keys. A .gitignore update also excludes buildServer.json from version control.

(repo-wide) · high confidence

Message list supports grouping and collapsible sections

The message list now allows users to view messages grouped by source. Users can tap a group header to collapse or expand the section, and a 'View All' button is provided to see the full history for a specific group. This change introduces new view components for group headers, item cells, and skeleton loading states to support this organized, collapsible layout.

View/MessageList · high confidence

Support for multiple servers and widget history snapshots

The app now supports managing multiple notification servers, allowing users to add, remove, and switch between different server configurations via the new ServerManager. Additionally, a new widget history feature has been introduced, enabling widgets to display recent messages by persisting snapshots to a shared container, with support for filtering by group and limiting message length.

Common · high confidence

Support sending push notifications via Shortcuts with advanced options

Users can now send push notifications directly through the Shortcuts app using new App Intents. This adds support for specifying the target server address, custom title and body (with URL decoding), critical alert levels, ringtone volume, custom sounds, notification grouping, and time-to-live (TTL) parameters. The implementation includes dynamic options providers for selecting from configured servers and available notification sounds, ensuring a seamless integration with the app's existing settings.

Bark/Intents · high confidence

Behavioural changes

1 commit (0 fixes) modifying Bark, NotificationContentExtension

A change to existing behaviour in Bark, NotificationContentExtension — 1 commit, 3 files: “Add a 10 minute option to the group mute action (\#382)” (refs \#382). Also in this area: Fixes case mismatch in NotificationContentExtension directory path.

NotificationContentExtension · medium confidence · unverified

3 commits (0 fixes) modifying Sounds

A change to existing behaviour in Sounds — 3 commits, 32 files: “设置推送铃声”; “添加 静音 通知铃声 close: \#55”; “统一铃声音量大小, 缩减音频文件大小” (refs \#55).

Sounds · medium confidence · unverified

4 commits (0 fixes) modifying BarkWatch

A change to existing behaviour in BarkWatch — 4 commits, 11 files: “修复watchOS 下相同 ID 推送保存逻辑”; “修复 watchOS 收到相同 ID 的推送时,消息列表不及时更新为新内容的问题。”; “watchOS 新增复制 key 到 iPhone 功能”; and 1 more.

BarkWatch · medium confidence · unverified

Added IDE workspace check configuration

The project now includes an IDEWorkspaceChecks.plist file to manage Xcode workspace settings, specifically enabling the Mac 32-bit warning check. This ensures consistent workspace configuration across development environments.

Bark.xcworkspace · high confidence

App architecture overhaul: Realm migration, new navigation, and deep linking support

The Bark app has undergone a significant structural update. The database backend has migrated from a shared App Group container to the main app's document directory using Realm, including an automatic migration path for existing users. The user interface has been rebuilt from a single view controller to a tab-based navigation system (BarkTabBarController) with iPad split-view support, replacing the legacy Main.storyboard. Additionally, the app now supports deep linking via the 'bark://' URL scheme and integrates SwiftyStoreKit for in-app purchases, while updating the launch screen to use modern named colors.

Bark · high confidence

App navigation and tab state persistence restored

The app now remembers and restores the last active tab (Service, History, or Settings) when reopened, ensuring users return to their previous context. This is implemented via a new \StateRestoringTabBarContr\ that saves the selected index to settings and restores it on launch. Additionally, the iPad split-view layout now correctly synchronizes the selected page between the primary section list and the secondary content view when the interface collapses or expands.

Controller · high confidence

Message model refactored with new fields and encryption support

The Message model has been significantly refactored to support new features and improved data handling. It now includes \subtitle\, \bodyType\ (supporting markdown), \group\, and \expireDate\ fields, while removing the deprecated \isDeleted\ flag and iCloud sync integration. A new \MessageItemModel\ handles UI presentation, including markdown parsing and relative/exact date formatting. Additionally, the \Algorithm\ and \AESCryptoModel\ structs have been added to provide robust AES encryption (CBC, ECB, GCM modes) for push notifications, and \MessageDeleteTimeRange\ introduces granular time-based message filtering options.

Model · high confidence

Notification processing is refactored into a modular processor pipeline

The notification handling logic in the service extension has been restructured from a monolithic implementation into a chain of distinct, single-responsibility processors (Archive, AutoCopy, Badge, Call, Ciphertext, Icon, Image, Level, Markdown, and Mute). This change introduces specific new capabilities: encrypted push notifications now support custom IV parameters for decryption; call-style notifications are extended to 30 seconds using shared audio files; markdown content in push bodies is automatically parsed into plain text; and push archives can now be configured to auto-delete based on a TTL (time-to-live) parameter. Additionally, the system now supports automatic content copying to the clipboard and custom notification icons via Intents.

NotificationServiceExtension/Processor · high confidence

Notification processing refactored to use async processors and Darwin notifications

The notification service has been refactored to use an asynchronous, processor-based pipeline (handling ciphertext, markdown, badges, auto-copy, etc.) instead of synchronous inline logic, improving reliability and timeout handling. It now sends a Darwin notification to the main app upon processing completion and supports custom notification icons via Info.plist configuration.

NotificationServiceExtension · high confidence

Redesigned home screen with new UI components and notification permission status

The home screen has been visually refreshed with a new glassmorphism aesthetic, introducing dedicated cards for documentation, usage examples, and settings. A new HomePermissionCard now displays the status of notification and critical alert permissions, guiding users to settings if access is denied. The example card features a segmented control for switching between GET, POST, and JSON request types, alongside a HomeSplitButton that allows users to copy either the server address or the API key. Existing interaction issues, such as unresponsive flat buttons, have been resolved, and the split button's separator line has been made more prominent.

View/Home · high confidence

Redesigned settings interface with MVVM and new UI components

The settings interface has been completely rebuilt using a MVVM architecture, introducing a suite of new view components including \BaseTableViewCell\ for data binding, \DropBoxView\ for dropdown selections, \BorderTextField\ for input fields, and \GlassView\ for modern visual effects. This refactor adds specific UI capabilities such as a donation cell with in-app purchase integration, a sound upload cell, and a server list cell that displays connection status. The update also improves usability by allowing tap gestures on text views to trigger cell selection and ensures the app's font size automatically follows the system's accessibility settings.

View · high confidence

Support for multiple server configurations and API endpoint updates

The networking layer now supports connecting to multiple servers via a new ServerManager, allowing the application to dynamically switch between different base URLs rather than relying on a single hardcoded address. Additionally, the device registration API endpoint has been updated to accept an explicit address parameter, and internal network request handling has been refactored to use modern Swift syntax and improved error propagation.

Common/Moya · high confidence

Xcode project upgraded to version 54 with new build schemes

The project file has been upgraded from object version 48 to 54, reflecting a migration to a newer Xcode project format. Additionally, dedicated build schemes have been added for the main app, the NotificationServiceExtension, and the NotificationContentExtension, ensuring that each target is correctly configured for building, testing, and launching within the IDE.

Bark.xcodeproj · high confidence

Test coverage

Added unit tests for message deletion time ranges

Added new test cases in the BarkTests target to verify the correctness of the MessageDeleteTimeRange enum, ensuring that time intervals for options such as last hour, today, yesterday, last month, and all time are calculated accurately.

BarkTests · high confidence

Dependencies

Major dependency overhaul and iOS 15 minimum deployment target

The project has significantly updated its third-party dependencies, upgrading core libraries such as Alamofire (4.6.0 to 5.10.2), Moya (11.0.0 to 15.0.0), and the entire RxSwift ecosystem (4.x to 6.x). New dependencies including SnapKit, Material, RealmSwift, CryptoSwift, and IQKeyboardManagerSwift have been added, while older pods like KVOController, DeviceKit, and FDFullscreenPopGesture have been removed. Additionally, the minimum iOS deployment target has been raised from iOS 9 to iOS 15, and the build configuration has switched from \use\_frameworks!\ to \use\_modular\_headers!\.

(dependencies) · high confidence

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

Score

  • CAI 57 → 52 (-4.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 80 → 73 (-6.7)
  • Architecture 90 → 98 (+8.2)
  • Maturity 59 → 59 (+0.0)
  • Readiness 39 → 30 (-9.6)
  • Security 74 → 81 (+7.3)
  • Domain Modelling 100 → 88 (-12.5)
  • Performance 100 → 100 (+0.0)

Resolved (9)

  • Duplicated block (13 lines × 2) (Widget/Widget.swift)
  • Duplicated block (8 lines × 2) (View/BKButton.swift)
  • Duplicated block (9 lines × 2) (Widget/Widget.swift)
  • No ADRs found
  • No SBOM
  • No artifact signing
  • No build provenance
  • Projects may be oversized for their cohesion
  • Unpinned build actions

New (19)

  • Duplicated block (13 lines × 2) (BarkWatch/NotificationService/NotificationPipeline.swift)
  • Duplicated block (13 lines × 2) (Widget/Widget.swift)
  • Duplicated block (5 lines × 2) (BarkWatch/App/PhoneSyncManager.swift)
  • Duplicated block (8 lines × 2) (View/BKButton.swift)
  • Edited copy of a member (10 corresponding lines) (View/ArchiveSettingCell.swift)
  • Edited copy of a member (13 corresponding lines) (Common/MarkdownParser.swift)
  • Edited copy of a member (14 corresponding lines) (Controller/MessageSettingsViewController.swift)
  • Edited copy of a member (15 corresponding lines) (Controller/ServerListViewController.swift)
  • Edited copy of a member (18 corresponding lines) (Common/Moya/Observable+Extension.swift)
  • Edited copy of a member (19 corresponding lines) (View/MessageList/MessageGroupMoreView.swift)
  • Edited copy of a member (33 corresponding lines) (BarkWatch/Common/WatchImageCache.swift)
  • Edited copy of a member (43 corresponding lines) (Widget/Widget.swift)
  • Edited copy of a member (6 corresponding lines) (BarkWatch/Common/WatchImageCache.swift)
  • Edited copy of a member (7 corresponding lines) (View/DonateCell.swift)
  • Edited copy of a member (72 corresponding lines) (BarkWatch/NotificationService/NotificationPipeline.swift)
  • Low cohesion: WatchSyncManager (LCOM4 4) (Common/WatchSyncManager.swift)
  • No ADRs found (Bark.xcodeproj/project.pbxproj)
  • No assertions (empty test): example (BarkWatch/Tests/BarkWatchTests.swift)
  • Test project verifies nothing: Tests (BarkWatch/Tests/BarkWatchTests.swift)

Changes since last survey

  • 13 commits — 13 feature/other, 0 fixes

By area

  • BarkWatch/Common — 3 commits
  • Bark/Localizable.xcstrings — 2 commits
  • BarkWatch/View — 2 commits
  • (root) — 1 commit
  • Bark.xcodeproj/project.pbxproj — 1 commit
  • Bark/AppDelegate.swift — 1 commit
  • BarkWatch/NotificationService — 1 commit
  • NotificationServiceExtension/Info.plist — 1 commit
  • NotificationServiceExtension/Processor — 1 commit

Notable commits

  • change: Add Italian (it) localization
  • change: Add soundUrl parameter: play a notification sound downloaded from a URL (#380)
  • change: Add a 10 minute option to the group mute action (#382)
  • change: BarkWatch 添加图片共享缓存
  • change: NotificationServiceExtension 允许 http 请求
  • change: docs: add Japanese README
  • change: watchOS 新增复制 key 到 iPhone 功能
  • change: watchOS 添加 icon 支持。
  • change: watchOS客户端 (#375)
  • change: 优化文案
  • change: 修复 watchOS markdown 推送显示
  • change: 修复 watchOS 收到相同 ID 的推送时,消息列表不及时更新为新内容的问题。
  • change: 修复watchOS 下相同 ID 推送保存逻辑

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

Survey your own repository

Finb/Bark 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 14 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 a5c1cf5e0ff273c04d252d71c78b58f149e7c274 — 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.65+preprod-e1a3b69fc8ee.