- """Return a dict mapping line numbers to number of exits from that line."""
+ """Get a mapping from line numbers to count of exits from that line.
+ Excluded lines are excluded.
+ excluded_lines = self.first_lines(self.excluded)
for l1,l2 in self.arcs():
+ if l1 in excluded_lines:
if l1 not in exit_counts: