[英]Count lines of code for each user on Visual Studio Team Services
Is there any way to find out how many lines of code each user from Visual Studio Team Services has written?有没有办法找出 Visual Studio Team Services 中的每个用户编写了多少行代码? Just like GITHUB does?就像 GITHUB 一样? (example : 60 commits / 61,834 ++ / 3,943 -- ) (示例:60 次提交 / 61,834 ++ / 3,943 -- )
If this can't be done on Visual Studio Team Services, is there any way to do it on Visual Studio/TFS Power Tools or any other tools?如果这不能在 Visual Studio Team Services 上完成,有没有办法在 Visual Studio/TFS Power Tools 或任何其他工具上做到这一点?
Visual Studio Team Services does not yet have that capability. Visual Studio Team Services 尚不具备该功能。 If you are using TFS, you get access to that info through an Analysis Services Cube that is part of the reporting integration.如果您使用的是 TFS,您可以通过作为报告集成一部分的 Analysis Services Cube 访问该信息。
On Team Services, you should be able to connect your own instance of Sonar Cube to get that information.在 Team Services 上,您应该能够连接您自己的 Sonar Cube 实例以获取该信息。 You would have to run your own Sonar server which you can probably do in Azure.您必须运行自己的 Sonar 服务器,这可能在 Azure 中可以做到。
Azure DevOps y TFS 2018 U2 offers a rest api for GIT and others aspects. Azure DevOps y TFS 2018 U2 为 GIT 和其他方面提供了一个 rest api。
Details: Git Rest Api for Azure DevOps详细信息: 用于 Azure DevOps 的 Git Rest Api
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.