MCPcopy
hub / github.com/RUB-NDS/PRET / fuzzed

Method fuzzed

helper.py:220–232  ·  view source on GitHub ↗
(self, path, cmd, opt)

Source from the content-addressed store, hash-verified

218
219 # show fuzzing results
220 def fuzzed(self, path, cmd, opt):
221 opt1, opt2, opt3 = opt
222 if isinstance(opt1, bool):
223 opt1 = (Back.GREEN + str(opt1) + Back.BLUE + " ")\
224 if opt1 else (Back.RED + str(opt1) + Back.BLUE + " ")
225 if isinstance(opt2, bool):
226 opt2 = (Back.GREEN + str(opt2) + Back.BLUE + " ")\
227 if opt2 else (Back.RED + str(opt2) + Back.BLUE + " ")
228 if isinstance(opt3, bool):
229 opt3 = (Back.GREEN + str(opt3) + Back.BLUE + " ")\
230 if opt3 else (Back.RED + str(opt3) + Back.BLUE + " ")
231 opt = opt1, opt2, opt3
232 self.info("%-35s %-12s %-7s %-7s %-7s" % ((path, cmd) + opt))
233
234 # show captured jobs
235 def joblist(self, xxx_todo_changeme1):

Callers 6

fuzz_pathMethod · 0.80
fuzz_writeMethod · 0.80
fuzz_blindMethod · 0.80
verify_pathMethod · 0.80
verify_writeMethod · 0.80
verify_blindMethod · 0.80

Calls 1

infoMethod · 0.95

Tested by

no test coverage detected