DataViews/PyCoverageDialog.py

changeset 3032
927a2f8b3669
parent 3021
801289962f4e
child 3060
5883ce99ee12
child 3071
83d066710d60
equal deleted inserted replaced
3031:ed2eaa573ca5 3032:927a2f8b3669
193 return 193 return
194 194
195 try: 195 try:
196 statements, excluded, missing, readable = \ 196 statements, excluded, missing, readable = \
197 cover.analysis2(file)[1:] 197 cover.analysis2(file)[1:]
198 readableEx = (excluded and self.__format_lines(excluded) 198 readableEx = (excluded and self.__format_lines(excluded)
199 or '') 199 or '')
200 n = len(statements) 200 n = len(statements)
201 m = n - len(missing) 201 m = n - len(missing)
202 if n > 0: 202 if n > 0:
203 pc = 100.0 * m / n 203 pc = 100.0 * m / n

eric ide

mercurial