Forums : Feedback Forum

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Suggesting: Test coverage

Hi,

i suggest a addition to the quality of code by measuring test ratios.

testratio = (Lines of Code - Lines of Tests)/Lines of Tests

would give a rouge percentage of test coverage for a project. Of course there has to be some fuzzy code to detect which code could be tests like code in folders with names like test(s|suite){1,0}, lines with asserts, doctests,...

Projects which have a large testsuite usually have a good code base which lesser regression bugs then projects without.

poelzi about 17 years ago
 

Tha would really be great! Any way we are going to see something like this implemented?

Hagen.

Hagen Möbius about 17 years ago
 

Totally nice.

+1

marcospereira about 17 years ago
 

good idea. maybe some regular expression technique

poelzi about 17 years ago