e8ff75961f
proto_tree_add_text() calls and compare that to the number of proto_tree_add_<something else>() calls and complain if more than 50% of the calls are add_text()'s. proto_tree_add_text() calls whose returned proto_item is used are not counted as hanging a subtree off a text item is an appropriate use for text items. I chose 50% because even at that level there are many dissectors with "too many" proto_tree_add_text()'s. The function to do all of this is commented out for now for the same reason plus the fact that it's pretty slow. svn path=/trunk/; revision=40930 |
||
---|---|---|
.. | ||
lemon | ||
pidl | ||
tpg | ||
asn2wrs.py | ||
checkAPIs.pl | ||
checkfiltername.pl | ||
checkhf.pl | ||
colorfilters2js.pl | ||
compare-abis.sh | ||
dfilter-test.py | ||
extract_asn1_from_spec.pl | ||
fix-encoding-args.pl | ||
fixhf.pl | ||
ftsanity.py | ||
fuzz-test.sh | ||
git-compare-abis.sh | ||
html2text.py | ||
idl2wrs | ||
indexcap.py | ||
lex.py | ||
list_protos_in_cap.sh | ||
make-dissector-reg | ||
make-dissector-reg.py | ||
make-manuf | ||
make-services.pl | ||
make-sminmpec.pl | ||
make-tap-reg.py | ||
make-tapreg-dotc | ||
Makefile.am | ||
Makefile.nmake | ||
msnchat | ||
native-nmake.cmd | ||
ncp2222.py | ||
netscreen2dump.py | ||
pkt-from-core.py | ||
process-x11-fields.pl | ||
process-x11-xcb.pl | ||
randpkt-test.sh | ||
rdps.py | ||
runlex.sh | ||
setuid-root.pl.in | ||
svnadd | ||
test-fuzzed-cap.sh | ||
textify.sh | ||
valgrind-wireshark.sh | ||
win-setup.sh | ||
win32-setup.sh | ||
win64-setup.sh | ||
wireshark_be.py | ||
wireshark_gen.py | ||
WiresharkXML.py | ||
ws-coding-style.cfg | ||
yacc.py |