适用于.NET的TeamCity静态代码分析工具

时间:2020-12-06 12:51:04

I've been spending a lot of time in TeamCity lately and the duplicates finder and FxCop build runners have been fantastic. I've also got build targets in the projects for StyleCop so violation of these rules is being surfaced and I've integrated NDepend which produces some great metrics.

我最近在TeamCity花了很多时间,而复制查找器和FxCop构建跑步者一直很棒。我在StyleCop的项目中也有构建目标,因此违反了这些规则,我已经集成了NDepend,它产生了一些很好的指标。

What other tools have people successfully integrated with TeamCity? There's plenty around that integrate into the IDE or run locally (as discussed in this question) such as ReSharper, but obviously to run on the build server it needs to be able to execute unattended and produce artifacts that can be surfaced in the build report. What options are out there that I might have missed so far?

人们还有哪些其他工具可以与TeamCity成功集成?有很多东西可以集成到IDE中或在本地运行(如本问题所述),例如ReSharper,但显然要在构建服务器上运行,它需要能够无人值守地执行并生成可以在构建报告中浮出水面的工件。到目前为止我可能错过了什么选择?

2 个解决方案

#1


4  

We are using StatSVN for code statistics especially LoC an Churn report also it generates nice looking statistics.
like this.

我们使用StatSVN进行代码统计,特别是LoC a Churn报告,它还可以生成漂亮的统计数据。喜欢这个。

#2


2  

In case somebody is still interested, I've integrated ConQAT into TeamCity.

如果有人仍然感兴趣,我已将ConQAT整合到TeamCity中。

It has a great (and pretty fast) code clone detector for C# and java and generates an excellent and very visual distribution of code duplicates for the entire code-base. It's actually a very powerful tool, not just useful for code duplicates.

它为C#和java提供了一个非常好的(并且非常快速的)代码克隆检测器,并为整个代码库生成了极好且非常直观的代码重复分发。它实际上是一个非常强大的工具,不仅对代码重复有用。

It can generate interactive graphs such as this one: 适用于.NET的TeamCity静态代码分析工具

它可以生成交互式图形,例如:

I've also recently integrated ReviewBoard, a tool used for code reviewing (similar to Crucible), but in my case integrated through TC build configurations instead of the more common approach of using VCS hooks.

我最近还集成了ReviewBoard,一种用于代码审查的工具(类似于Crucible),但在我的情况下,通过TC构建配置集成,而不是使用VCS钩子的更常见方法。

#1


4  

We are using StatSVN for code statistics especially LoC an Churn report also it generates nice looking statistics.
like this.

我们使用StatSVN进行代码统计,特别是LoC a Churn报告,它还可以生成漂亮的统计数据。喜欢这个。

#2


2  

In case somebody is still interested, I've integrated ConQAT into TeamCity.

如果有人仍然感兴趣,我已将ConQAT整合到TeamCity中。

It has a great (and pretty fast) code clone detector for C# and java and generates an excellent and very visual distribution of code duplicates for the entire code-base. It's actually a very powerful tool, not just useful for code duplicates.

它为C#和java提供了一个非常好的(并且非常快速的)代码克隆检测器,并为整个代码库生成了极好且非常直观的代码重复分发。它实际上是一个非常强大的工具,不仅对代码重复有用。

It can generate interactive graphs such as this one: 适用于.NET的TeamCity静态代码分析工具

它可以生成交互式图形,例如:

I've also recently integrated ReviewBoard, a tool used for code reviewing (similar to Crucible), but in my case integrated through TC build configurations instead of the more common approach of using VCS hooks.

我最近还集成了ReviewBoard,一种用于代码审查的工具(类似于Crucible),但在我的情况下,通过TC构建配置集成,而不是使用VCS钩子的更常见方法。