# Missing paths in code coverage reports

**URL:** <https://travis-ci.community/t/missing-paths-in-code-coverage-reports/4824>\
**Category:** Swift\
**Created:** [August 22, 2019, 9:32am UTC](https://travis-ci.community/t/missing-paths-in-code-coverage-reports/4824 "2019-08-22T09:32:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gringoireDM](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/gringoiredm/32/2576_2.png) [@gringoireDM](https://travis-ci.community/u/gringoireDM)\
**Post date:** [August 22, 2019, 9:32am UTC](https://travis-ci.community/t/missing-paths-in-code-coverage-reports/4824/1 "2019-08-22T09:32:35Z")

</div>

I’m having problems with codecov integration not picking up code coverage for my open source project.

I investigated the issue and downloading the coverage reports I noticed that paths for the files are missing in the report.

```auto
# path=RxEnumKit.framework.coverage.txt
    1| |import RxSwift
    2| |import EnumKit
    3| |
    4| |public extension ObservableType where Element: CaseAccessible {
    5| |    

```

This is what I get, while codecov expects

```auto
# path=RxEnumKit.framework.coverage.txt
/Users/travis/build/gringoireDM/RxEnumKit/ObservableType+CaseAccessible.swift:
    1| |import RxSwift
    2| |import EnumKit
    3| |
    4| |public extension ObservableType where Element: CaseAccessible {
    5| |    

```

This is the only file in the framework for now. I don’t know if this is an important information.

Paths for my test suite reports are reported. as expected (same report)

```auto
# path=RxEnumKitTests.xctest.coverage.txt
/Users/travis/build/gringoireDM/RxEnumKit/RxEnumKitTests/CaptureTests.swift:
    1| |import XCTest
    2| |import RxSwift
    3| |import RxTest
    4| |import EnumKit
    5| |
    6| |@testable import RxEnumKit
    7| |
    8| |final class CaptureTests: XCTestCase {

```

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [August 22, 2019, 12:10pm UTC](https://travis-ci.community/t/missing-paths-in-code-coverage-reports/4824/2 "2019-08-22T12:10:38Z")

</div>

My guess is either a different tool version that uses a different format, or that your local setup passes some additional switch to the tool (e.g. via envvar or a settings file) that instructs it to add a file name even if there’s only one file.

Without seeing the build, can’t say more.
