Live data from Hacker News

Ask HN: What are the best tools for code reviews?

news.ycombinator.com

11–20 of 55 posts

Re: Ask HN: What are the best tools for code reviews?

#13
post #6

I'd really like a code review tool that is code aware. That is, it treats the diff as code instead of plain text. I'd like to be able to figure out where a method is called from, go to definition and so on. Basically the same stuff I can do in my editor, but without having to clone the branch.

In a similar vein, I'd love to try a code review tool that's smart enough to recognize that I've moved a function from location A to location B, and can show me diffs for that function against its last known state in its previous location, and ideally would keep track of changes at the function level, rather than (or in addition to?) the file level.

Not sure how feasible that is to implement transparently though. Seems to me at minimum it'd have to require developers to add some kind of annotation to the function to include a globally unique identifier (though I'd honestly be willing to put up with that in exchange for the benefits).

Re: Ask HN: What are the best tools for code reviews?

#16
https://gitmate.io - Gitmate is made by a friend of mine and it's pretty good. It uses coala [1] underneath (coala is a unified static code analysis tool that supports 100+ languages; I'm a maintainer, so shoot me any questions you might have about coala).

Gitmate is much more than just static code analysis and review suggestions. It supports automatic issue triaging, rebases, labeling, identifying human reviewers, and so on.

Here's an example code review: https://i.imgur.com/JO0nXL7.png

(Here's an example if there are 10+ reviews: https://i.imgur.com/VlQA9iS.png)

[1] https://coala.io/

Re: Ask HN: What are the best tools for code reviews?

#17

My favorite tool is a Microsoft internal tool called CodeFlow. If you don't want to work for them just to have a great code review experience, I recommend https://reviewable.io . Very nice!

Isn't CodeFlow similar to the code review functionality that's now integrated in Visual Studio?

Re: Ask HN: What are the best tools for code reviews?

#19
post #6

I'd really like a code review tool that is code aware. That is, it treats the diff as code instead of plain text. I'd like to be able to figure out where a method is called from, go to definition and so on. Basically the same stuff I can do in my editor, but without having to clone the branch.

Here you go poor fella https://www.jetbrains.com/upsource/

Re: Ask HN: What are the best tools for code reviews?

#20
post #6

I'd really like a code review tool that is code aware. That is, it treats the diff as code instead of plain text. I'd like to be able to figure out where a method is called from, go to definition and so on. Basically the same stuff I can do in my editor, but without having to clone the branch.

I believe Upsource ( https://www.jetbrains.com/upsource/ ) and Sourcegraph ( https://about.sourcegraph.com/ ) are both code-aware in that sense.
Post reply on HN