When the --file parameter is referred with an absolute path, but the compilation database contains the file as a relative path to the directory member e.g. tests/FLP37-C-A.c in this example the file is not recognized.
CodeChecker analyze --output /local/workspace/sei_cert_test_suite/.codechecker/reports /local/workspace/sei_cert_test_suite/cpp/compile_commands.json --file /local/workspace/sei_cert_test_suite/cpp/tests/FLP37-C-A.c --analyzers clang-tidy clangsa -e cert
[INFO 2024-04-17 14:31] - No analysis is required.
There were no compilation commands in the provided compilation database or all of them were skipped.
>>> Process 'CodeChecker analyze' exited with code 0
When the --file parameter is referred with an absolute path, but the compilation database contains the file as a relative path to the directory member e.g.
tests/FLP37-C-A.c
in this example the file is not recognized.Reproduction: Compilation db: