Skip to content

Coverage doesn't parse correctly if the lcov file contains an absolute file path on Windows #5797

Closed

Description

@DanTup

While testing enabling coverage for Dart, I noticed that the lcov files can sometimes have absolute file paths:

SF:D:\Dev\Test Projects\coverage_testing\dart_package_1\lib\dart_package_1.dart

And because we split on : and then check for 2 fields, this fails. We need to only split on the first :.

Activity

  1. added this to the v3.124.0 milestone on Nov 13, 2025
  2. added
    in testingRelates to test execution of Dart/Flutter tests for end users
    in dartRelates to running Dart programs
    on Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in dartRelates to running Dart programsin flutterRelates to running Flutter appsin testingRelates to test execution of Dart/Flutter tests for end usersis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions