ANNOUNCE: gnocchi 0.33 "complexity analyser" released

GNOCCHI - A COMPLEXITY ANALYSER FOR C++ Gnocchi calculates cyclomatic and the NPATH complexity measures. USES boost.graph boost.program_options boost.filesystem DESCRIPTION It reads the coverage information produced by GCC and determines the complexity of all functions. If code is compiled with -fprofile-arcs or -ftest-coverage (depending on compiler version) GCC creates a .gcno file for every object file. It now considers C++ exceptions as part of the output. mccabe=5(+4) means the complexity is 5 + 4 = 9 if exceptions are considered. example: gcc -fprofile-arcs -ftest-coverage -c test_input.c ./gnocchi --threshold 4 test_input.gcno outputs: test_input.c:118: mccabe=5 npath=5 test_input.c:89: mccabe=5(+4) npath=16(+15) test_input.c:67: mccabe=9 npath=80 you can the latest release here: http://gnocchi.sf.net http://sourceforge.net/projects/gnocchi Eddy

What does this have to do with boost development? Shouldn't this be on the Boost-Users list, if at all? Chris On 6/25/07, Eddy Pronk <epronk@muftor.com> wrote:
GNOCCHI - A COMPLEXITY ANALYSER FOR C++
Gnocchi calculates cyclomatic and the NPATH complexity measures.
USES
boost.graph boost.program_options boost.filesystem
DESCRIPTION
It reads the coverage information produced by GCC and determines the complexity of all functions. If code is compiled with -fprofile-arcs or -ftest-coverage (depending on compiler version) GCC creates a .gcno file for every object file.
It now considers C++ exceptions as part of the output.
mccabe=5(+4) means the complexity is 5 + 4 = 9 if exceptions are considered.
example: gcc -fprofile-arcs -ftest-coverage -c test_input.c ./gnocchi --threshold 4 test_input.gcno
outputs: test_input.c:118: mccabe=5 npath=5 test_input.c:89: mccabe=5(+4) npath=16(+15) test_input.c:67: mccabe=9 npath=80
you can the latest release here:
http://gnocchi.sf.net http://sourceforge.net/projects/gnocchi
Eddy
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Chris Weed wrote:
What does this have to do with boost development? Shouldn't this be on the Boost-Users list, if at all? Chris
not much, however : "If you have an application or library that's using Boost and would like to be listed here, please post the following information to the main Boost developer mailing list:" http://www.boost.org/doc/html/who_s_using_boost_/submit.html Eddy

I stand corrected. I shouldn't email before I have a cup of coffee. Chris On 6/25/07, Eddy Pronk <epronk@muftor.com> wrote:
Chris Weed wrote:
What does this have to do with boost development? Shouldn't this be on the Boost-Users list, if at all? Chris
not much, however :
"If you have an application or library that's using Boost and would like to be listed here, please post the following information to the main Boost developer mailing list:"
http://www.boost.org/doc/html/who_s_using_boost_/submit.html
Eddy
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Chris Weed
-
Eddy Pronk