Repository navigation
by the numbers
Data collected on 2026-10-27 at 63f5f129573d6ad969e50c8db769e728489e835b, the main revision for release 4.1.1. The plugin has 45 implementation files and 25 test files; its reachable history contains 285 commits. These measurements describe source and history, not runtime performance or test coverage.
See architecture and repository lore for the behavior behind the counts.
Inventory uses git ls-tree -r --name-only HEAD, and contents use git show HEAD:<path>. Counts describe committed files, not this uncommitted documentation refresh.
- Exclude the 34 existing files under
droid-wiki/from the source inventory. - Exclude tracked generated output:
coverage/lcov.infoandexample/macos/Flutter/GeneratedPluginRegistrant.swift. - Implementation means
.dartunderlib/and.swiftunderios/ormacos/, excludingPackage.swiftmanifests and native/Tests/directories. Mirrored native helpers count separately; marker sources count. - Tests mean
.dartundertest/and.swiftunder native/Tests/. - Remaining
example/files form the demo category, including scaffolding. - Outside the demo, Markdown and
LICENSEare documentation; Python/shell are tooling; PNG/SVG are assets; remaining files are configuration/build metadata. - Lines are physical lines, including comments and blanks, computed with
len(blob.splitlines()). Only Dart, Swift, Python, shell, and podspec extensions enter the language table.
| Category | Files |
|---|---|
| Plugin implementation | 45 |
| Tests | 25 |
| Demo, including scaffolding | 82 |
| Configuration/build metadata outside demo | 28 |
| Documentation/legal outside demo and wiki | 28 |
| Development tooling | 2 |
| Development-skill assets | 2 |
| Measured total | 212 |
| Excluded tracked generated output | 2 |
| Existing wiki pages and metadata | 34 |
| Complete tracked tree | 248 |
The implementation comprises 15 Dart files and 30 Swift files. Tests comprise five Dart files and 20 Foundation XCTest files (lib/, test/, ios/icloud_storage_plus/Sources/, macos/icloud_storage_plus/Sources/).
| Language | Files | Implementation | Tests | Demo | Build manifests | Tooling | Total |
|---|---|---|---|---|---|---|---|
| Swift | 58 | 10,481 | 6,023 | 52 | 160 | 0 | 16,716 |
| Dart | 29 | 3,142 | 4,113 | 945 | 0 | 0 | 8,200 |
| Python | 1 | 0 | 0 | 0 | 0 | 452 | 452 |
| Ruby/podspec | 2 | 0 | 0 | 0 | 84 | 0 | 84 |
| Shell | 1 | 0 | 0 | 0 | 0 | 51 | 51 |
| Total | 91 | 13,623 | 10,136 | 997 | 244 | 503 | 25,503 |
xychart-beta horizontal
title "Physical lines in tracked code and manifests"
x-axis ["Swift", "Dart", "Python", "Ruby", "Shell"]
y-axis "Physical lines" 0 --> 17000
bar [16716, 8200, 452, 84, 51]
The test-to-implementation physical-line ratio is 0.74. It is not a coverage percentage or proof of live iCloud behavior. See Testing.
| Surface | Count | Evidence |
|---|---|---|
| Publishable Dart plugin | 1 |
pubspec.yaml, version 4.1.1 |
| Nonpublishable example package | 1 |
example/pubspec.yaml, local path dependency |
| Apple implementations | 2 | iOS and macOS registrations in pubspec.yaml
|
| SwiftPM manifests | 4 | Production and nested Foundation harness manifests on both platforms |
| CocoaPods specifications | 2 |
ios/icloud_storage_plus.podspec, macos/icloud_storage_plus.podspec
|
The nested harnesses are not extra pub packages. Dependencies lists the three external Dart runtime dependencies and two root development dependencies.
| Implementation directory | Files | Physical lines | Mean lines/file |
|---|---|---|---|
lib/ direct children |
3 | 2,199 | 733.0 |
lib/models/ |
9 | 650 | 72.2 |
lib/src/ |
3 | 293 | 97.7 |
ios/icloud_storage_plus/Sources/icloud_storage_plus/ |
3 | 3,461 | 1,153.7 |
ios/icloud_storage_plus/Sources/icloud_storage_plus_foundation/ direct implementation children |
12 | 1,723 | 143.6 |
macos/icloud_storage_plus/Sources/icloud_storage_plus/ |
3 | 3,578 | 1,192.7 |
macos/icloud_storage_plus/Sources/icloud_storage_plus_foundation/ direct implementation children |
12 | 1,719 | 143.2 |
The largest implementation files are macos/icloud_storage_plus/Sources/icloud_storage_plus/macOSICloudStoragePlugin.swift at 2,871 lines and ios/icloud_storage_plus/Sources/icloud_storage_plus/iOSICloudStoragePlugin.swift at 2,837 lines. File length is a navigation aid, not cyclomatic complexity.
A lexical scan of internal Dart import directives finds 37 distinct directed edges among 15 implementation files. Relative imports and package:icloud_storage_plus/ resolve into lib/; external imports and exports are excluded. A depth-first search without repeated vertices finds a longest chain of six files, five edges:
lib/icloud_storage.dartlib/icloud_storage_platform_interface.dartlib/icloud_storage_method_channel.dartlib/models/container_item.dartlib/models/icloud_file.dartlib/src/native_payload.dart
The platform interface and default channel implementation import each other. For that reason, unrestricted walks have no finite maximum; this metric counts only simple paths.
lib/icloud_storage.dart and its nine explicit model exports expose 21 named top-level types: 18 classes and three enums. The count excludes private declarations, constructors, fields, inherited members, imported-but-not-exported types, and enum values.
The facade declares 24 public static asynchronous methods, including the four 4.1.0 additions: readInPlaceBytesMany, createDirectory, moveIntoContainer, and moveOutOfContainer (lib/icloud_storage.dart). See File access.
Enumerating git log HEAD yields 285 reachable commits, including merges. The history begins on 2021-03-04; the latest recorded author date is 2026-10-26. Month grouping uses each commit's recorded author date and offset, not unrelated branch tips.
| Month in 2026 | Commits |
|---|---|
| January | 56 |
| February | 63 |
| March | 17 |
| April | 36 |
| May | 12 |
| June | 13 |
| July | 2 |
| August | 1 |
| September | 1 |
| October through the 27th | 14 |
xychart-beta horizontal
title "Recent reachable commits by author month"
x-axis ["2026-05", "2026-06", "2026-07", "2026-08", "2026-09", "2026-10"]
y-axis "Commits" 0 --> 15
bar [12, 13, 2, 1, 1, 14]
The inclusive window from 2026-07-30 through 2026-10-27 contains 16 commits. For each selected commit, git diff-tree --root --no-commit-id --name-only -r -m identifies touched paths; paths are deduplicated within each commit. The table includes still-tracked files, excluding wiki and generated coverage output.
| File | Touching commits |
|---|---|
CHANGELOG.md |
5 |
AGENTS.md |
4 |
.github/workflows/droid-wiki-refresh.yml |
4 |
.release-please-manifest.json |
3 |
ios/icloud_storage_plus/Sources/icloud_storage_plus/iOSICloudStoragePlugin.swift |
3 |
macos/icloud_storage_plus/Sources/icloud_storage_plus/macOSICloudStoragePlugin.swift |
3 |
README.md |
3 |
.github/workflows/factory-review.yml |
3 |
The window includes October's release and native I/O changes as well as automation. Churn is not evidence of defects or performance.
A case-insensitive literal [bot] match in author name/email or a Co-authored-by: trailer identifies 24 of 285 commits, 8.42%.
| Attribution route | Commits |
|---|---|
| Bot author | 15 |
| Bot coauthor | 9 |
| Both | 0 |
| Union | 24 |
The fields come from git log HEAD --format='%H%x1f%an%x1f%ae%x1f%B%x1e'; each commit counts once. This is a lower bound on explicitly attributed bot/AI-assisted work, not an AI detector. Uncredited assistance is invisible, and a generic bot marker does not prove AI use. No individual contributor metrics are included.
These counts do not measure executable lines, test coverage, live iCloud behavior, installed dependency versions, or individual productivity. Product tests and runtime benchmarks were not run to collect them. Continue with repository lore for dated changes or Maintainers for source-history contacts.