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

MohamedGamil / MapX / 26710072042
88%

Build:
DEFAULT BRANCH: develop
Ran 31 May 2026 10:30AM 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:23AM UTC coverage: 80.389% (+6.4%) from 73.968%
26710072042

push

github

MohamedGamil
fix: correct Flutter detector content guards, auto_route path inference, and role classifier precedence

- FlutterDetector.extractRoutes/extractHooks: changed content guards
  from checking file content for 'dart'/'.dart' to checking filePath
  ends with '.dart'. The old guards caused false negatives for Dart
  files without imports or without the word 'dart' in their content.

- auto_route path inference: fixed replace callback parameter order.
  The (c, i) parameters mapped to (match, captureGroup1) not
  (match, offset). Since captureGroup1 is always a string,
  'i > 0' evaluated to NaN > 0 = false, so no hyphens were ever
  inserted between PascalCase words (e.g. UserProfileScreen produced
  '/userprofile' instead of '/user-profile').

- role-classifier getNamingSignal: removed dead 'Controller' branch
  from the state-management else-if chain. Due to operator precedence
  (&& binds tighter than ||), the PascalCase check only applied to
  Controller — which was unreachable anyway since Controller already
  matches on line 277 for the 'api' role.

- Updated flutter-detector tests with stronger assertions and 3 new
  test cases covering the fixed behavior.

2869 of 3935 branches covered (72.91%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

8 existing lines in 2 files now uncovered.

4862 of 5682 relevant lines covered (85.57%)

11.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
77.51
-0.95% src/core/scanner.ts
1
98.37
51.7% src/core/role-classifier.ts
Jobs
ID Job ID Ran Files Coverage
1 26710072042.1 31 May 2026 10:30AM UTC 24
80.39
GitHub Action Run
Source Files on build 26710072042
  • Tree
  • List 24
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26710072042
  • 75f20880 on github
  • Prev Build on develop (#26701870512)
  • Next Build on develop (#26710850983)
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