• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MohamedGamil / MapX / 26710850983
88%

Build:
DEFAULT BRANCH: develop
Ran 31 May 2026 11:08AM UTC
Jobs 1
Files 24
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 May 2026 10:54AM UTC coverage: 80.508% (+0.1%) from 80.389%
26710850983

push

github

MohamedGamil
feat: improve Dart dependency resolution with pubspec-aware package resolution

- Add discoverDartPackages() to Scanner: walks workspace for pubspec.yaml
  files, extracts 'name:' field, builds packageName → lib/ path map.
  Enables monorepo cross-package imports (e.g. package:core_pkg/model.dart
  → packages/core/lib/model.dart).

- Enhance resolveImportPath for Dart:
  · package: URIs now check dartPackageMap first (monorepo), then fall back
    to stripping package name + prepending lib/ (same-project).
  · Dart source files use a dedicated fast-path that resolves ALL non-scheme
    imports (including bare paths from part directives) relative to the
    source directory. Avoids trying .js/.ts/.vue/index.* candidates.

- Update queries/dart/references.scm: part_directive now captured as
  ref.target_part/ref.type_part, part_of_directive as
  ref.target_part_of/ref.type_part_of (previously both used ref.type_import).

- Add part/part_of to generic-wasm-parser mapRefType (mapped to 'import').

- Enhance RoleClassifier.getImportsSignal for Dart/Flutter libraries:
  flutter_bloc/bloc/riverpod/provider → state role,
  flutter/material/cupertino/widgets → components role,
  sqflite/hive/drift/isar → data role.

- Add tests/dart-resolution.test.ts: 25 tests covering dart: stdlib,
  package: URIs (basic + monorepo), discoverDartPackages, relative imports,
  part directives, and JS/TS non-regression.

- Mark 'Poor support for Dart dependency resolution' as resolved in
  specs/KNOWN_ISSUES.md.

2903 of 3976 branches covered (73.01%)

Branch coverage included in aggregate %.

33 of 36 new or added lines in 2 files covered. (91.67%)

4899 of 5715 relevant lines covered (85.72%)

11.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.57
-1.8% src/core/role-classifier.ts
Jobs
ID Job ID Ran Files Coverage
1 26710850983.1 31 May 2026 11:08AM UTC 24
80.51
GitHub Action Run
Source Files on build 26710850983
  • Tree
  • List 24
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26710850983
  • 9562c9cd on github
  • Prev Build on develop (#26710072042)
  • Next Build on develop (#26714863446)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc