@staticmethod<EOL><INDENT>def get_arcs(analysis):<DEDENT>
if not analysis.has_arcs():<EOL><INDENT>return None<EOL><DEDENT>branch_lines = analysis.branch_lines()<EOL>branches = []<EOL>for l1, l2 in analysis.arcs_executed():<EOL><INDENT>if l1 in branch_lines:<EOL><INDENT>branches.extend((l1, <NUM_LIT:0>, abs(l2), <NUM_LIT:1>))<EOL><DEDENT><DEDENT>for l1, l2 in analysis.arcs_missing():<EOL><INDENT>if l1 in branch_lines:<EOL><INDENT>branches.extend((l1, <NUM_LIT:0>, abs(l2), <NUM_LIT:0>))<EOL><DEDENT><DEDENT>return branches<EOL>
Hit stats for each branch.

Returns a flat list where every four values represent a branch:
1. line-number
2. block-number (not used)
3. branch-number
4. hits (we only get 1/0 from coverage.py)