--- a/eric6/DataViews/PyCoverageDialog.py Sat Apr 10 17:54:58 2021 +0200 +++ b/eric6/DataViews/PyCoverageDialog.py Sat Apr 10 18:31:17 2021 +0200 @@ -211,8 +211,8 @@ self.__createResultItem( file, str(n), str(m), pc, readableEx, readable) - total_statements = total_statements + n - total_executed = total_executed + m + total_statements += n + total_executed += m except CoverageException: total_exceptions += 1