[Bug 499591] [NEW] add threshold capability
matt_hargett
matt at use.net
Tue Dec 22 20:56:34 UTC 2009
Public bug reported:
Binary package hint: pmccabe
As I posted here:
http://lists.parisc-linux.org/pipermail/pmccabe/2009/000007.html
"Attached is a patch that adds an option (-r) for specifying a minimum
complexity threshold for reporting. This makes pmccabe a little easier to
use as a point of failing an automated build.
Example use on the scummvm sources:
[mhargett-755;] ~/src/pmccabe/pmccabe.exe -r50 common/*.cpp
52 52 173 55 321 common/util.cpp(55): fputs
[mhargett-755;] ~/src/pmccabe/pmccabe.exe -F -r100 common/*.cpp
114 114 258 1 632 common/config-manager.cpp
130 131 299 1 666 common/str.cpp
139 139 449 1 817 common/unarj.cpp
212 212 592 1 1456 common/unzip.cpp
[mhargett-755;] ~/src/pmccabe/pmccabe.exe -F -r200 common/*.cpp
212 212 592 1 1456 common/unzip.cpp
[mhargett-755;] ~/src/pmccabe/pmccabe.exe -F -r250 common/*.cpp
[mhargett-755;]
This option allows me to set a threshold in my Makefile, and if pmccabe
outputs anything, the build fails. Since pmccabe runs so fast, this is
something we are doing on every make invocation."
** Affects: pmccabe (Ubuntu)
Importance: Undecided
Status: New
--
add threshold capability
https://bugs.launchpad.net/bugs/499591
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list