Hi, I would like to suggest a new feature to SonarQube
Our code base is an open source project. In our fork we add new files to it and make some changes on existing files. We would like to analyze only our new files or the files containing our changes with SonarQube. It would be great to have an option to define files to include (similar to “sonar.inclusions”) based on other criteria as filenames and paths. One possible solution would be define a filter based on file contents (e.g. searching for a copyright string).
we don’t use PRs in our workflow. We would like to run the analysis not only for recent changes, but for all changes we ever did. Restricting the file set being tested would speed up the analysis and provide us the metrics (e.g. test coverage) only related to files changed/added by us.