Failed scan files

 Failed to resolve 163 file path(s) in PHPUnit coverage coverage.xml report. Nothing is imported related to file(s): E:\Chapters\Local Disk\D drive\DownloadTheme\app\Console\Kernel.php;E:\Chapters\Local Disk\D drive\DownloadTheme\app\Exceptions\Handler.php;E:\Chapters\Local Disk\D drive\DownloadTheme\app\Http\Controllers\Auth\ConfirmPasswordController.php;E:\Chapters\Local Disk\D drive\DownloadTheme\app\Http\Controllers\Auth\ForgotPasswordController.php;E:\Chapters\Local Disk\D drive\DownloadTheme\app\Http\Controllers\Auth\LoginController.php;

how can I do please?

sonar.projectKey=my:sprintone-univer

sonar.sources=app/Http/Controllers/Faculties, app/Http/Controllers/Classrooms,

app/http/controllers/Auth, app/Http/Providers, database/factories, app/RepositoryInterfaces/ClassroomInterface,

app/RepositoryInterfaces/FacultieInterface, resources/views/layouts, resources/views/Pages/Faculties,

resources/views/Pages/My_Classes

sonar.inclusions= app/Http/Requests/StoreFaculties.php, app/Http/Requests/StoreClassrooms.php,

app/Http/Models/Facultie.php, app/Http/Models/Classroom.php, app/User.php,

app/Repository/FacultieRepository.php, app/Repository/ClassroomRepository.php,

resources/lang/ar/auth.php, resources/lang/ar/main_trans.php, resources/lang/ar/messages.php,

resources/lang/ar/My_Classes_trans.php, resources/lang/ar/Faculties_trans.php, resources/lang/ar/validation.php,

resources/lang/ar/passwords.php, resources/lang/en/main_trans.php, resources/lang/en/messages.php,

resources/lang/en/My_Classes_trans.php, resources/lang/en/Faculties_trans.php, resources/lang/en/validation.php,

resources/lang/en/passwords.php, resources/views/dashboard.blade.php, resources/views/empty.blade.php,resources/views/home.blade.php,

database/seeds/FacultieSeeder.php, database/seeds/ClassroomTableSeeder.php,database/migrations/2023_06_28_174323_create_faculties_table.php,

database/migrations/2023_07_02_160448_create_classrooms_table.php, routes/web.php

<?xml version="1.0" encoding="UTF-8"?> src ./app ./database ./resources
</whitelist>

what’s problem in here?

Hi,

This error crops up when the paths in the coverage report don’t match the paths analysis sees.

Also, your sonar.sources value should point to a directory, not a comma-delimited list of files.

 
HTH,
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.