Skip to content
CAI
Software that uses CAICheck a score

openfoodfacts/openfoodfacts-dart

60.4

Adequate · 17 November 2026

19.3k

lines of production code

Dart

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

11 commits (4 fixes) modifying lib/src/model/parameter

A change to existing behaviour in lib/src/model/parameter — 11 commits (4 fixs), 14 files: “fix: 617 - user related queries now support api v3 (\#666)”; “chore: dart 3.8, copyright 2026, pub points score (\#1175)”; “fix: back to max pub.dev score! (\#1197)”; and 8 more (refs \#666, \#1175, \#1197, \#822, \#821, …).

lib/src/model/parameter · medium confidence · unverified

126 commits (29 fixes) modifying lib/model

A change to existing behaviour in lib/model — 126 commits (29 fixs), 19 files: “fix: tweak handling of status codes based on PR feedback”; “issue/\#201 - more robust casting for language related json methods”; “feature/\#204 - Refactor all the @deprecated with an explicit message”; and 121 more (refs \#108, \#474, \#311, \#540, \#254, …).

lib/model · medium confidence · unverified

15 commits (5 fixes) modifying lib/interface

A change to existing behaviour in lib/interface — 15 commits (5 fixs), 1 file: “fix/\#90 - matching the coding rules in order to get a better pub.dev score”; “Fix null safety related analysis errors”; “Migrate to null safety using "dart migrate"”; and 12 more (refs \#213, \#252).

lib/interface · medium confidence · unverified

199 commits (40 fixes) modifying lib

A change to existing behaviour in lib — 199 commits (40 fixs), 1 file: “fix: tweak handling of status codes based on PR feedback”; “feat: 995 - support of the new "product type" filter for "get product" (\#1004)”; “Update openfoodfacts.dart”; and 193 more (refs \#1004, \#1253, \#348, \#372, \#420, …).

lib · medium confidence · unverified

3 commits (1 fix) modifying lib/src/model/nutrition

A change to existing behaviour in lib/src/model/nutrition — 3 commits (1 fix), 4 files: “feat: no nutrition data on packaging flag (API 3.5) (\#1301)”; “feat: 1254 - support API 3.5 and its new nutrition methods (\#1257)”; “fix: new nutrition fine-tuning (\#1291)” (refs \#1301, \#1257, \#1291).

lib/src/model/nutrition · medium confidence · unverified

31 commits (2 fixes) modifying example

A change to existing behaviour in example — 31 commits (2 fixs), 1 file: “fix/\#90 - matching the coding rules in order to get a better pub.dev score”; “user is optional for GET-requests”; “- Changing the ingredients language handler - Adding a full user journey to add ingredients from image - Updating README.md”; and 26 more (refs \#495, \#496, \#1052, \#1243, \#696, …).

example · medium confidence · unverified

34 commits (8 fixes) modifying lib/src/prices

A change to existing behaviour in lib/src/prices — 34 commits (8 fixs), 55 files: “feat: upgrade for create and upgrade price objects and methods (\#1189)”; “fix: latest country/currency updates (\#1312)”; “fix: 1045 - OSM fields now nullable and discountType for Price (\#1046)”; and 31 more (refs \#1189, \#1312, \#1046, \#1065, \#1175, …).

lib/src/prices · medium confidence · unverified

A change to existing behaviour in lib/src/search — 4 commits, 7 files: “feat: 620 - autocomplete for all taxonomy names and fuzziness levels (\#835)”; “chore: dart 3.8, copyright 2026, pub points score (\#1175)”; “feat: 620 - Elastic Search autocomplete for categories (\#834)”; and 1 more (refs \#835, \#1175, \#834, \#851).

lib/src/search · medium confidence · unverified

54 commits (16 fixes) modifying lib/utils

A change to existing behaviour in lib/utils — 54 commits (16 fixs), 1 file: “fix/\#90 - matching the coding rules in order to get a better pub.dev score”; “fix: send user credentials in POST requests, fixes \#420 (\#421)”; “user is optional for GET-requests”; and 48 more (refs \#420, \#421, \#542, \#590, \#370, …).

lib/utils · medium confidence · unverified

82 commits (23 fixes) modifying lib/src

A change to existing behaviour in lib/src — 82 commits (23 fixs), 12 files: “fix: If \product -\> images\ is \null\, \getProductImageIds\shouldn't crash (\#857)”; “feat: 995 - support of the new "product type" filter for "get product" (\#1004)”; “feat: upgrade for create and upgrade price objects and methods (\#1189)”; and 79 more (refs \#857, \#1004, \#1189, \#1253, \#835, …).

lib/src · medium confidence · unverified

85 commits (17 fixes) modifying lib/src/model

A change to existing behaviour in lib/src/model — 85 commits (17 fixs), 124 files: “fix: issue with JSON conversion of packagings data (\#762)”; “feat: 995 - support of the new "product type" filter for "get product" (\#1004)”; “fix: typo for mono and poly unsaturated fat tags (\#732)”; and 82 more (refs \#762, \#1004, \#732, \#1312, \#1247, …).

lib/src/model · medium confidence · unverified

A change to existing behaviour in lib/src/personalized\_search — 9 commits, 7 files: “feat: 1252 - API 3.4 support (\#1253)”; “chore: dart 3.8, copyright 2026, pub points score (\#1175)”; “feat: Updated preferences api url to v3.4 - M4 (\#1181)”; and 6 more (refs \#1253, \#1175, \#1181, \#822, \#1185, …).

_lib/src/personalized\search · medium confidence · unverified

96 commits (25 fixes) modifying lib/src/utils

A change to existing behaviour in lib/src/utils — 96 commits (25 fixs), 35 files: “fix: issue with JSON conversion of packagings data (\#762)”; “feat: 995 - support of the new "product type" filter for "get product" (\#1004)”; “feat: Add iso3Code field to OpenFoodFactsCountry enum per \#1067 (\#1068)”; and 93 more (refs \#762, \#1004, \#1067, \#1068, \#1253, …).

lib/src/utils · medium confidence · unverified

Test coverage

221 commits adding/updating tests in test

Test coverage in test — 221 commits (58 fixs), 52 files: “fix: If \product -\> images\ is \null\, \getProductImageIds\shouldn't crash (\#857)”; “feat: 995 - support of the new "product type" filter for "get product" (\#1004)”; “feat: upgrade for create and upgrade price objects and methods (\#1189)”; and 217 more (refs \#857, \#1004, \#1189, \#835, \#858, …).

test · high confidence · unverified

Dependencies

242 commits updating dependencies (3 manifests)

A dependency / build maintenance change in (dependencies) — 242 commits (31 fixs), 3 files: “Prepare release of 1.0.0-beta”; “fix: issue with JSON conversion of packagings data (\#762)”; “chore(deps): bump build\_runner from 2.11.1 to 2.12.1 (\#1206)”; and 234 more (refs \#762, \#1206, \#1081, \#1083, \#1235, …).

(dependencies) · medium confidence · unverified

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

Baseline

  • First survey — no prior run to compare against. CAI 60.4.

Lenses

  • Code Health 71.0
  • Architecture 99.0
  • Maturity 53.7
  • Readiness 63.9
  • Security 57.4
  • Performance 100.0

Changes since last survey

  • 300 commits — 247 feature/other, 53 fixes

By area

  • lib/src — 132 commits
  • (root) — 92 commits
  • .github/workflows — 54 commits
  • .github/labeler.yml — 10 commits
  • .github/ISSUE_TEMPLATE — 2 commits
  • test/api_get_product_test.dart — 2 commits
  • test/api_get_save_product_test.dart — 2 commits
  • lib/openfoodfacts.dart — 1 commit
  • test/api_folksonomy_test.dart — 1 commit
  • test/api_get_robotoff_test.dart — 1 commit
  • test/api_get_taxonomy_packaging_recycling_server_test.dart — 1 commit
  • test/api_not_food_get_product_test.dart — 1 commit
  • test/api_ocr_ingredients_test.dart — 1 commit

Notable commits

  • fix: Fix a too-restrictive condition (#916)
  • fix: Potential fix for code scanning alert no. 27: Workflow does not contain permissions (#1279)
  • fix: Potential fix for code scanning alert no. 3: Workflow does not contain permissions (#1276)
  • fix: Potential fix for code scanning alert no. 42: Workflow does not contain permissions (#1274)
  • fix: Potential fix for code scanning alert no. 43: Workflow does not contain permissions (#1280)
  • fix: Potential fix for code scanning alert no. 6: Workflow does not contain permissions (#1275)
  • fix: chore: fixed 1033 and a minor test bug (#1037)
  • fix: chore: fixed open beauty test (#850)
  • fix: fix: 1007 - no more lint warnings (#1008)
  • fix: fix: 1038 - feedback for incorrect packaging numbers (#1074)
  • fix: fix: 1045 - OSM fields now nullable and discountType for Price (#1046)
  • fix: fix: 1089 - removed FROM from http header - for web only (#1145)
  • fix: fix: 1099 - additional test for "folksonomy get product tag": "not found" (#1102)
  • fix: fix: 1109 - unit test on TEST env, not PROD anymore (#1220)
  • fix: fix: 1128 - minor changes to price tests (#1131)
  • fix: fix: 1217 - clean error when incorrect credentials (#1219)
  • fix: fix: 1239 - throws attemps to set/crop image as OTHER (#1240)
  • fix: fix: 5 topics (#846)
  • fix: fix: 816 - use localized versions of productName and ingredientsText (#817)
  • fix: fix: 829 - no more crash if the user name is not ASCII/ISO-8859-1 (#830)
  • …and 280 more

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

Survey your own repository

openfoodfacts/openfoodfacts-dart 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 17 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 9b06e95785d7d08d6d75e9c30fbcbe16b6704688 — 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.85+preprod-eba6548ac50f.