It won't be used by programmers but would by QC/QA types to check and see if
the code is being used or is just a bunch of fluff. One good example would
be if your company is using outsourcing to do your programming and the
outsource is getting paid on the amount of code they produce, instead of the
correct way of getting paid on the quality of their code. You can check to
see if all paths through the code are being used or not.

Jerry Banker

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug
Sent: Friday, November 27, 2009 10:47 AM
To: 'U2 Users List'
Subject: Re: [U2] Code Coverage Project

Dan,

Although I missed code coverage in programming school, I'm not sure how much
UniBasic
programmers would or could use code coverage. That being said, why not take
an existing
program that is fully developed and change the syntax to handle basic
syntax.  This way
you do not have to develop the entire infastracture to run this tool.

My suggestion is there are several open source plug-in for Eclipse that can
be modified
to handle code coverage.  There are several examples like jcoverage or gcov
that could
be used for this type of project.

Regards,
Doug
www.u2logic.com
"Native U2 drivers for PHP"



-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Thursday, November 26, 2009 2:35 PM
To: U2 Users List
Subject: [U2] Code Coverage Project

Hi all,

 

For those that are interested, I have setup a project on SourceForge for a
Statement Level Code Coverage Tool for UniBasic. It is based on the
prototype for a similar tool we now use at my current employer.

 

Although this version is incomplete, it still enables statement level
coverage for multiple programs/subroutine with html output. The "parser"
(I really shouldn't use that term) is still quite primitive in this version
and may not work with how some programs are coded.

 

http://sourceforge.net/projects/ucov/

 

For a screen shot of the output and a short post about it, visit:
http://u2tech.wordpress.com/

 

Regards,

Dan

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to