# Analysis warning

**URL:** <https://community.sonarsource.com/t/analysis-warning/91447>\
**Category:** SonarQube Server / Community Build\
**Tags:** coverage\
**Created:** [May 25, 2023, 1:21am UTC](https://community.sonarsource.com/t/analysis-warning/91447 "2023-05-25T01:21:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arturas-front-it](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/arturas-front-it/32/45429_2.png) [@arturas-front-it](https://community.sonarsource.com/u/arturas-front-it)\
**Post date:** [May 25, 2023, 1:21am UTC](https://community.sonarsource.com/t/analysis-warning/91447/1 "2023-05-25T01:21:38Z")

</div>

SonarQube analysis and Quality Gate completed succesfully via bitbucket pipeline, but last analysis shows this warning:

Failed to resolve 2 file path(s) in PHPUnit tests junit.xml report. Nothing is imported related to file(s): /opt/atlassian/pipelines/agent/build/code/tests/Feature/ExampleTest.php;/opt/atlassian/pipelines/agent/build/code/tests/Unit/ExampleTest.php

Whats the problem?

```auto
    - step: &build-test-sonarcloud
        name: SonarQube analysis
        caches:
          - sonar
        script:
          - pipe: sonarsource/sonarcloud-scan:1.4.0
            variables:
              SONAR_TOKEN: ${SONAR_TOKEN}
              EXTRA_ARGS: '
              -Dsonar.projectKey=${SONAR_PROJECT_KEY}
              -Dsonar.projectBaseDir=code
              -Dsonar.exclusions= **/lang/**
              -Dsonar.cpd.exclusions=config/**
              -Dsonar.organizationKey=${SONAR_ORGANIZATION_KEY}
              -Dsonar.php.coverage.reportPaths=storage/coverage/coverage.xml
              -Dsonar.php.tests.reportPath=storage/coverage/junit.xml
              -Dsonar.tests.inclusions=tests/**
              '
    - step: &check-quality-gate-sonarcloud
        name: Check the Quality Gate on SonarCloud
        script:
          - pipe: sonarsource/sonarcloud-quality-gate:0.1.6

```

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [May 26, 2023, 1:57pm UTC](https://community.sonarsource.com/t/analysis-warning/91447/2 "2023-05-26T13:57:45Z")

</div>

The warning message you’re seeing is suggesting that SonarQube is having trouble locating the file paths referenced in your PHPUnit test report. This is typically due to the report file containing file paths which do not correspond to the file paths in your Bitbucket pipeline environment where SonarQube analysis is running.

Do these file paths exist?
