Open Food Facts
openfoodfacts/openfoodfacts-ios
Generated 2026-08-10T10:25 UTC · CLI v0.4 · static + captured-layout pass · 218 Swift files
Open Food Facts scores 50/C. 5 of 7 checks sit under the 70% bar; the plan below closes them.
Check breakdown
7 checks · weightedAdaptive
w 0.2298% adaptive coverage
ParallelView
w 0.08Parallel View not blocked
Sidebar
w 0.2550% sidebar readiness
Scene
w 0.15scene lifecycle needs work
Adaptive geometry
w 0.1220% fold-state coverage
State
w 0.0830% state preservation
SwiftUI
w 0.100% SwiftUI
Findings
sample · 2 of 3 rows| Severity | Check | Finding | Location |
|---|---|---|---|
| Major | Navigation | NavigationStack without NavigationSplitView: the list/detail panes will not gain a sidebar on the inner display. | app-wide |
| Minor | Fold state | No fold-state or adaptive geometry handling; the app will run via Parallel View without a fold posture opinion. | app-wide |
Remediation roadmap
ordered by effort · total 86hParallel View verification
Capture inner-display layouts and confirm the opt-in holds.
Adaptive navigation
Adopt NavigationSplitView and the sidebar opt-in for the list/detail flows.
Layout + state pass
Resolve hardcoded geometry and add scene restoration.
Port plan
generated by the FoldReady CLI · dry runReady-to-review changes that move this app toward the foldable contract: scene lifecycle, Parallel View opt-in, sidebar navigation. Review each diff, download a patch, or apply them locally with the CLI.
git clone https://github.com/openfoodfacts/openfoodfacts-ios && foldready port openfoodfacts-ios --apply --tiers rClones the repo and runs the safe + review transforms, then re-scores.
Fixed these? Re-run the audit.
The CLI re-scans your source tree and re-scores in minutes — the roadmap above is the exact checklist.