Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Code Statistics Builds
Joshua Krebs
I was wondering what it takes to get some code statistic builds up and running for a product on the Cobalt platform. I'm looking to possibly set a baseline for stats like Complexity, Coverage etc.
What are the tools we are using already and how would one approach getting them configured?
Find more posts tagged with
build
refinitiv-internal
Accepted answers
Ron Burke
To get a coverage build running you will need to submit a CR to the CM team and let them know when you want the coverage build to run. Coverage builds typically run all the integration and unit tests for a module and are usually set up to be run sometime overnight. Info on setting up [code coverage for .NET][1], [code coverage for Java][2].
.NET Cobalt Platform modules should be running Code Analysis as a part of the build. The set of code analysis rules that are being used by new .NET modules can be found [here][3]. There is a document on the [Hub][4] that discusses the [Java Module Guidelines][5] and there will soon be one for .NET as well.
[1]:
http://tfsnpt.int.thomson.com/Sites/Cobalt TFS Central/Team Wiki/Wiki Pages/Code Coverage for .Net Projects.aspx//
[2]:
http://tfsnpt.int.thomson.com/Sites/Cobalt Foldering/Team Wiki/Wiki Pages/Code Coverage - Cobertura.aspx
[3]:
https://thehub.thomsonreuters.com/docs/DOC-24699
[4]:
https://thehub.thomsonreuters.com/welcome
[5]:
https://thehub.thomsonreuters.com/docs/DOC-22774
All comments
Ron Burke
To get a coverage build running you will need to submit a CR to the CM team and let them know when you want the coverage build to run. Coverage builds typically run all the integration and unit tests for a module and are usually set up to be run sometime overnight. Info on setting up [code coverage for .NET][1], [code coverage for Java][2].
.NET Cobalt Platform modules should be running Code Analysis as a part of the build. The set of code analysis rules that are being used by new .NET modules can be found [here][3]. There is a document on the [Hub][4] that discusses the [Java Module Guidelines][5] and there will soon be one for .NET as well.
[1]:
http://tfsnpt.int.thomson.com/Sites/Cobalt TFS Central/Team Wiki/Wiki Pages/Code Coverage for .Net Projects.aspx//
[2]:
http://tfsnpt.int.thomson.com/Sites/Cobalt Foldering/Team Wiki/Wiki Pages/Code Coverage - Cobertura.aspx
[3]:
https://thehub.thomsonreuters.com/docs/DOC-24699
[4]:
https://thehub.thomsonreuters.com/welcome
[5]:
https://thehub.thomsonreuters.com/docs/DOC-22774
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act