MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / do_man_page

Function do_man_page

tools/MT-Unsafe.py:131–143  ·  view source on GitHub ↗

Wrap man_search(), with logging.

(manpage)

Source from the content-addressed store, hash-verified

129
130
131def do_man_page(manpage):
132 """Wrap man_search(), with logging."""
133 dprint(1, 'do_man_page(%s)' % (manpage))
134 man_search(manpage)
135 if unsafe_types:
136 dprint(1, '%d new types in %s' % (len(unsafe_types), manpage))
137 else:
138 dprint(1, 'No new types in %s' % (manpage))
139
140 if unsafe_apis:
141 dprint(1, '%d unsafe_apis in %s' % (len(unsafe_apis), manpage))
142 else:
143 dprint(1, 'No new apis in %s' % (manpage))
144
145
146def do_man_dir(directory):

Callers 1

do_man_dirFunction · 0.85

Calls 2

dprintFunction · 0.85
man_searchFunction · 0.85

Tested by

no test coverage detected