TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Manual code review and static code analysis tools

8 点作者 mfocaraccio超过 10 年前
Hi! Do you use any manual code review and/or static code analysis tools? Thoughts? If yes, which are the biggest pain points you have?

4 条评论

andersonvieira超过 10 年前
Where I work we use SonarQube [1] for static code analysis. You can customize specific rule profiles for different projects and in the site they say it&#x27;s available for many programming languages [2]. We only use it for Java so I don&#x27;t know how good is the support for the other languages listed.<p>My experience with these tools is that they are a great way to see how the code evolves during a project, help you keep it clean in maintenance mode, and may even teach you a couple of things about good coding practices. Just don&#x27;t let it fall into the hands of management. They will love all those metrics and graphs, and soon enough you will have goals and performance reviews based on it.<p>[1] <a href="http://www.sonarqube.org" rel="nofollow">http:&#x2F;&#x2F;www.sonarqube.org</a><p>[2] <a href="http://docs.sonarqube.org/display/SONAR/Plugin+Library" rel="nofollow">http:&#x2F;&#x2F;docs.sonarqube.org&#x2F;display&#x2F;SONAR&#x2F;Plugin+Library</a>
fundamental超过 10 年前
So far I haven&#x27;t used much manual code review, but I do use static code analysis to find possible bugs once in a while.<p>Up until recently a big pain point for me was finding code which could block within a time constrained function (aka realtime safety). There weren&#x27;t any tools out there, so I ended up making one with llvm named stoat[1] (originally static function property verification, sfpv). It&#x27;s hard to say if this tool would really have wider usefulness as it essentially is just checking function attributes on the transitive closure of the callgraph, but it works for me.<p>[1] <a href="https://github.com/fundamental/stoat" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fundamental&#x2F;stoat</a>
nicogevers超过 10 年前
Mostly we use github. Using pull requests is a great way to being able to review code commits.
评论 #8951639 未加载
alltakendamned超过 10 年前
I use Source Insight for code reviews.