Quantcast

LibreOffice code coverage

classic Classic list List threaded Threaded
5 messages Options
bfo bfo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

LibreOffice code coverage

Hi.
Today I stumbled upon Thunderbird code coverage report (http://people.mozilla.org/~jcranmer2/c-ccov/).
Did anyone make such report for LibreOffice codebase?
Best regards.
Michael Stahl-2 Michael Stahl-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: LibreOffice code coverage

On 11/07/12 17:58, bfo wrote:
> Hi.
> Today I stumbled upon Thunderbird code coverage report
> (http://people.mozilla.org/~jcranmer2/c-ccov/).
> Did anyone make such report for LibreOffice codebase?

no, unfortunately we don't know how the unit test coverage ranks exactly
on a scale from "far too low" to "infinitesimal" :-/

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
julien2412 julien2412
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: LibreOffice code coverage

In reply to this post by bfo
There's a tracker about coverage, see https://bugs.freedesktop.org/show_bug.cgi?id=38840

For the moment, no one seemed to be on it (perhaps I'm wrong).

About lcov, I read that it was a frontend to gcov (see http://gcc.gnu.org/onlinedocs/gcc/Gcov.html) (added a comment on the tracker about this).
It seems quite easy to use for a simple file. Now I don't know how much time one's must invest for a project like LO.

Julien.
bfo bfo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: LibreOffice code coverage

julien2412 wrote
There's a tracker about coverage, see https://bugs.freedesktop.org/show_bug.cgi?id=38840
For the moment, no one seemed to be on it (perhaps I'm wrong).
Hi.
What a discovery! I have found some scripts already in the codebase http://opengrok.libreoffice.org/xref/core/sal/qa/helper/gcov/. Maybe someone with Linux build environment could check that out and try to generate some stats.
Best regards.
bfo bfo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: LibreOffice code coverage

In reply to this post by Michael Stahl-2
Michael Stahl-2 wrote
> Did anyone make such report for LibreOffice codebase?
no, unfortunately we don't know how the unit test coverage ranks exactly
on a scale from "far too low" to "infinitesimal" :-/
Hi.
Thanks to work of John Smith such report is available at http://dev-builds.libreoffice.org/lcov_reports/.
Any comments?
Best regards.
Loading...