Lines Matching full:branches
25 # TODO use explode_asserts to avoid counting assert branches?
180 'calls', 'hits', 'funcs', 'lines', 'branches'])):
182 _fields = ['calls', 'hits', 'funcs', 'lines', 'branches']
183 _sort = ['funcs', 'lines', 'branches', 'hits', 'calls']
186 'funcs': Frac, 'lines': Frac, 'branches': Frac}
190 calls=0, hits=0, funcs=0, lines=0, branches=0): argument
192 Int(calls), Int(hits), Frac(funcs), Frac(lines), Frac(branches))
200 self.branches + other.branches)
294 for branch in line['branches']),
295 len(line['branches']))))
509 branches=False, argument
511 # if neither branches/lines specified, color both
512 if annotate and not lines and not branches:
513 lines, branches = True, True
527 or (branches and r.branches.a < r.branches.b)):
569 ', %s branches' % (r.branches,)
570 if int(r.branches.b) else '')
575 elif branches and r.branches.a < r.branches.b:
677 or args.get('branches')):
686 else ['lines', 'branches'] if not hits
696 r.branches.a < r.branches.b for r in results):
794 '-B', '--branches',
796 help="Show uncovered branches.")
817 '-E', '--error-on-branches',
819 help="Error if any branches are not covered.")