)]}'
{
  "commit": "e95aa211efc13971811388bed2cc587605124bca",
  "tree": "85a7b770cfb85319eed11bddad908c5850c3ca2e",
  "parents": [
    "b967797f07f1e4fc4fb264f5c8e5181b1385d9d9"
  ],
  "author": {
    "name": "Reid Baker",
    "email": "1063596+reidbaker@users.noreply.github.com",
    "time": "Wed Jul 01 16:15:27 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jul 01 20:15:27 2026 +0000"
  },
  "message": "[camera_android_camerax][tool] Integrate dart_code_linter for cyclomatic complexity checks (#11999)\n\nEnables cyclomatic complexity enforcement in `camera_android_camerax` by integrating `dart_code_linter: 4.1.5` as a CLI linter check within the repository analysis tooling.\r\nNo issue this is part of the work for project oneshot. \r\n\r\nChangelog/Version not needed changes are to shared tooling and specifically linters enabled for camera_android_camerax. \r\n\r\nFWIW \r\nWe (@camsim99 and myself) initially aimed to enforce **cognitive complexity** using the `dart_cognitive_complexity` package. However, we encountered a dependency conflict that blocked its integration:\r\n- `dart_cognitive_complexity: 2.0.0` requires `analyzer: ^13.0.0`.\r\n- The repository dependencies (specifically `pigeon`) restrict the resolved version of `analyzer` to `\u003c13.0.0` (which resolves to `10.0.1`).\r\n- Upgrading `pigeon` to a published version would not work since no version on pub.dev supports `analyzer: ^13.0.0`.\r\n- Upgrading `pigeon` code felt out of scope for this effort. \r\n- Downgrading to `dart_cognitive_complexity: 1.0.1` is also not possible because it requires `analyzer: \u003c7.0.0` (which conflicts with `pigeon`\u0027s requirement of `\u003e\u003d10.0.0`).\r\n\r\n## Pre-Review Checklist",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7797e87a90fcf40c859288aa24fada32fd1b62ee",
      "old_mode": 33188,
      "old_path": ".repo_tool_config.yaml",
      "new_id": "d522aa8e91a34ba74c036eecf2461528391d8bc6",
      "new_mode": 33188,
      "new_path": ".repo_tool_config.yaml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "38619134b81a581edef16a7a0226837498832f7b",
      "new_mode": 33188,
      "new_path": "packages/camera/camera_android_camerax/analysis_options.yaml"
    },
    {
      "type": "modify",
      "old_id": "257f6fa5d16b176a7acc16bc2f698c58155fffdc",
      "old_mode": 33188,
      "old_path": "packages/camera/camera_android_camerax/pubspec.yaml",
      "new_id": "f7496c077e005682fbc1411f10a1c18c989f8871",
      "new_mode": 33188,
      "new_path": "packages/camera/camera_android_camerax/pubspec.yaml"
    },
    {
      "type": "modify",
      "old_id": "c0c5b53c1a83f45d93b5f35dbbb45fc603bb1a69",
      "old_mode": 33188,
      "old_path": "script/configs/custom_analysis.yaml",
      "new_id": "b4539c78a0e16034e1a4162b43c2a6149d86fa1a",
      "new_mode": 33188,
      "new_path": "script/configs/custom_analysis.yaml"
    },
    {
      "type": "modify",
      "old_id": "3538e3ed5c2165ae57ae7934bb9f0aae1b83e541",
      "old_mode": 33188,
      "old_path": "script/tool/lib/src/analyze_command.dart",
      "new_id": "9db7abd6fb5de55f03730b078aba3ef6c8de4ef3",
      "new_mode": 33188,
      "new_path": "script/tool/lib/src/analyze_command.dart"
    },
    {
      "type": "modify",
      "old_id": "c4f5664ec0da0578ab63cdee35361a33b5e332a3",
      "old_mode": 33188,
      "old_path": "script/tool/test/analyze_command_test.dart",
      "new_id": "57124c2ebaa51499b1cc0003d4d78973333187d9",
      "new_mode": 33188,
      "new_path": "script/tool/test/analyze_command_test.dart"
    }
  ]
}
