Skip to content
CAI
Software that uses CAICheck a score

CosmicMind/Material

44.8

Weak · 27 September 2026

17.9k

lines of production code

Swift

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added Motion submodule and updated Swift version

The project now includes the Motion animation library as a Git submodule located at Sources/Frameworks/Motion, enabling the framework's animation and transition capabilities. Additionally, the .swift-version file was added to specify Swift 5.0 as the target language version.

(repo-wide) · high confidence

Added Motion submodule for animation support

The project now includes the Motion library as a Git submodule under Sources/Frameworks/Motion, enabling access to its animation and transition capabilities.

Sources/Frameworks · high confidence

Added Xcode scheme configuration for the Material framework

The project now includes a new Xcode scheme file (Material.xcscheme) that defines build, test, launch, and archive configurations for the Material framework. This ensures that developers can build, test, and run the framework and its associated iOS tests directly from Xcode's scheme menu, streamlining the development and debugging workflow.

Material.xcodeproj/xcshareddata · high confidence

Added Xcode workspace configuration for source control

The project now includes a new Xcode workspace file (contents.xcworkspacedata) and a source control blueprint (Material.xcscmblueprint). This configures the workspace to reference the local project and sets up Git remote repositories for 'Material' and 'Motion', enabling integrated source control management within Xcode.

Material.xcodeproj/project.xcworkspace · high confidence

Adds new UI components and animation utilities to the iOS source

The iOS source directory now includes several new files that introduce UI components and animation helpers. New UI elements include the BottomNavigationController for tab-based navigation, a Bar container for header layouts, and a suite of button types (Button, FABButton, FlatButton, IconButton, CheckButton, RadioButton) with support for icon layers and pulse animations. Additionally, new animation utilities (PulseAnimation, SpringAnimation) and an Application helper struct for accessing shared state and device orientation are added to the codebase.

Sources/iOS · high confidence

Removals

Removal of deprecated and unused components

The following source files have been removed from the library: Capture.swift, CapturePreview.swift, FabButton.swift, FlatButton.swift, RaisedButton.swift, Text.swift, TextStorage.swift, and TextView.swift. This eliminates the AV Foundation-based camera capture implementation, the custom button styles (Flat, Raised, FAB) with their associated pulse animations, and the text processing utilities (Text, TextStorage, TextView).

Source · high confidence

Removed FocusKit Xcode project configuration

The Xcode project file (project.pbxproj) for the FocusKit framework and its associated tests has been deleted from the repository. This removes the legacy build configuration and project structure for the iOS/macOS application.

FocusKit.xcodeproj · high confidence

Behavioural changes

Updated Xcode project configuration for the Material framework

The Xcode project file (project.pbxproj) has been updated to include a comprehensive list of source and header files for the Material framework. This change ensures that all relevant Swift files, such as those for the ChipBar, Card, Toolbar, and various controllers, are correctly registered in the build system, which is essential for the framework to compile and function correctly.

Material.xcodeproj · high confidence

Updated license and added iOS font resources

The project license was updated to the MIT License, and the Info.plist was moved to the Sources directory. Additionally, the Info.plist was updated to use dynamic build settings for the bundle identifier and marketing version, and a new UIAppFonts key was added to include Roboto font files (Thin, Light, Regular, Medium, and Bold) for use in the application.

Sources · high confidence

Test coverage

Removed obsolete test files

The test suite for FocusKit has been cleaned up by removing the FocusKitTests.swift file and the associated Info.plist configuration, which were no longer required for the project's testing infrastructure.

Tests · high confidence

Dependencies

Updated Material framework to version 3.1.8 with Swift 5.0 support

The Material framework has been updated to version 3.1.8, introducing support for Swift 5.0. The CocoaPods specification now enforces an iOS 8.0 deployment target and includes resource bundles for icons and fonts. The framework now depends on the Motion library at version 3.1.1 (via Swift Package Manager and CocoaPods). Additionally, the separate FocusKit podspec has been removed.

(dependencies) · medium 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 42 → 45 (+2.4)
  • Rubric changed (rubric-2026.08.15 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 96 (-4.4)
  • Architecture 93 (new)
  • Maturity 51 → 40 (-11.6)
  • Readiness 17 → 24 (+7.7)
  • Security 80 → 80 (+0.0)

Resolved (4)

  • Dimension evaluation failed
  • No exposed public API
  • Secret: generic-api-key (Material.xcodeproj/project.xcworkspace/xcshareddata/Material.xcscmblueprint)
  • Secret: generic-api-key (Material.xcodeproj/project.xcworkspace/xcshareddata/Material.xcscmblueprint)

New (66)

  • Bar.layoutSubviews (cognitive 16) (Sources/iOS/Bar/Bar.swift)
  • BottomNavigationController.handleTransitionPan (cognitive 29) (Sources/iOS/BottomTabBar/BottomNavigationController.swift)
  • Change coupling: CollectionViewCell.swift ↔ TableViewCell.swift (Sources/iOS/Collection/CollectionViewCell.swift)
  • Change coupling: Layer.swift ↔ View.swift (Sources/iOS/Layer/Layer.swift)
  • Change coupling: TableViewCell.swift ↔ PulseView.swift (Sources/iOS/Table/TableViewCell.swift)
  • Change coupling: TextField.swift ↔ TextView.swift (Sources/iOS/Text/TextField.swift)
  • Change-coupling hub: Button.swift → CollectionReusableView.swift, CollectionViewCell.swift, Layer.swift, TableViewCell.swift, TextView.swift, PulseView.swift, View.swift (Sources/iOS/Button/Button.swift)
  • Change-coupling hub: CollectionReusableView.swift → CollectionViewCell.swift, TableViewCell.swift, PulseView.swift (Sources/iOS/Collection/CollectionReusableView.swift)
  • Dependency hygiene PARTLY measured — SwiftPM pinning read, dependency currency NOT established
  • Dormant codebase
  • Duplicated block (10 lines × 2) (Sources/iOS/Card/Card.swift)
  • Duplicated block (10 lines × 2) (Sources/iOS/Chip/ChipBar.swift)
  • Duplicated block (10 lines × 3) (Sources/iOS/Animation/SpringAnimation.swift)
  • Duplicated block (11 lines × 2) (Sources/iOS/Text/Editor.swift)
  • Duplicated block (11 lines × 3) (Sources/iOS/Card/Card.swift)
  • Duplicated block (12 lines × 2) (Sources/iOS/NavigationDrawer/NavigationDrawerController.swift)
  • Duplicated block (13 lines × 2) (Sources/iOS/Animation/SpringAnimation.swift)
  • Duplicated block (13 lines × 2) (Sources/iOS/Bar/Bar.swift)
  • Duplicated block (14 lines × 2) (Sources/iOS/NavigationDrawer/NavigationDrawerController.swift)
  • Duplicated block (14 lines × 2) (Sources/iOS/NavigationDrawer/NavigationDrawerController.swift)
  • …and 46 more

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

Survey your own repository

CosmicMind/Material 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 27 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 ea59f7c4d72a4c3a3694042b05d4276e2ffd4e26 — 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-d00c643c3f66.