Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git blame view #3135

Closed
csordasmarton opened this issue Jan 13, 2021 · 1 comment · Fixed by #3398
Closed

Git blame view #3135

csordasmarton opened this issue Jan 13, 2021 · 1 comment · Fixed by #3398
Assignees
Labels
CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands GUI 🎨 new feature 👍 New feature request server 🖥️ web 🌍 Related to the web app

Comments

@csordasmarton
Copy link
Contributor

  • CodeChecker will show for each line the date and commit of the last modification of that line. So it will be possible for a developer to check who modified the source line last where a CodeChecker error appears.
  • For each report, CodeChecker will also store the date of the commit which last modified the line of code where the problem is reported. A new filter will be added to CodeChecker Commit date after/before which can be used to list the reports that were added in a specific time interval.
@csordasmarton csordasmarton added GUI 🎨 CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands server 🖥️ web 🌍 Related to the web app labels Jan 13, 2021
@csordasmarton csordasmarton self-assigned this Jan 13, 2021
@csordasmarton csordasmarton added the new feature 👍 New feature request label Jan 13, 2021
@jimis
Copy link
Contributor

jimis commented Feb 5, 2021

For each report, CodeChecker will also store the date of the commit which last modified the line of code where the problem is reported.

+1 for this feature, I've been looking for it.

Just a heads up though, sometimes the report points to a line that was not modified recently. You have to walk up the chain of steps in the report until you find a line recently modified, and that is most likely the one responsible.

For example, a null pointer dereference might happen on a line untouched for years, because the caller function has flawed logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands GUI 🎨 new feature 👍 New feature request server 🖥️ web 🌍 Related to the web app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants