Lines Matching full:excluded
104 def __init__(self, statements, excluded, suite_spots): argument
107 self.excluded = excluded
178 # Returns a bool, whether the line is included or excluded.
184 # If we're inside an excluded suite, record that this line was
185 # excluded.
187 self.excluded[lineno] = 1
189 # If this line is excluded, or suite_spots maps this line to
190 # another line that is exlcuded, then we're excluded.
191 elif self.excluded.has_key(lineno) or \
193 self.excluded.has_key(self.suite_spots[lineno][1]):
218 # first line are excluded, then we exclude the else.
223 self.doSuite(None, suite, exclude=self.excluded.has_key(l))
578 # in the source code, (3) a list of lines of excluded statements,
694 excluded = {}
701 excluded[i+1] = 1
714 visitor = StatementFindingAstVisitor(statements, excluded, suite_spots)
719 excluded_lines = excluded.keys()
763 filename, statements, excluded, line_map = self.analyze_morf(morf)
775 return (filename, statements, excluded, missing,
879 filename, statements, excluded, missing, _ = self.analysis2(morf)
880 self.annotate_file(filename, statements, excluded, missing, directory)
887 def annotate_file(self, filename, statements, excluded, missing, directory=None): argument
924 elif lineno in excluded:
1034 # - Lines can be excluded from consideration, even entire suites of lines.
1064 # 2006-08-25 NMB "#pragma: nocover" is excluded by default.