You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2021. It is now read-only.
From time to time there is a situation in pull requests when issues appear outside of diff view and comment cannot be added. It happens because bitbucket allows only adding comments in +/- 10 lines from changes lines.
For instance we have multiple files in pull request with many classes and methods. In this pull request there is a method myMethod() declared in line 50. Author adds few if conditions in line 100 and below. After analysis Sonarqube says The Cyclomatic Complexity of this class is 201 which is greater than 200 authorized.
And comment can't be added because of the diff lines bitbucket limitation.
The same situation can happen with other type of issues like unused imports, consider using constaints instead of duplicating literals, etc
If there are a lot of files, classes and methods in the pull request author is confused and doesn't know where is the problem.
Have you faced this issue before? Are there any plans to handle it?
Thank you
kzaikin, Uranium-92, adamzovits and auriusbendikas