Open csordasmarton opened 3 years ago
This feature would be usefule when one executes diffs between report directories that refer different version of the source code. Typically git is checking out the source code for the two commits into the same directory.
When one executes the following diff command:
CodeChecker diff -b old_report_dir -n new_report_dir --new
codechecker gives an error if the source files referred to by the plist files are newer than the plist files themselves assuming that the contents of the files changed after analysis.
A solution to the above problem would be to copy all source files into the report directory after analysis and only refer to these copies from the plist files.
In some case it would be useful to store the files that are referred to from the plist reports in the report directory.
This way, the report directory would be self contained and movable. So results could even be stored from the source directory after the source code changed.