<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_report(self, specification_name, report):
 """ Adds a given report with the given specification_name as key to the reports list and computes the number of success, failures and errors Args: specification_name: string representing the specification (with ".spec") report: The """

        self._reports[specification_name] = report

        self._total = self._total + report.testsRun
        self._failures = self._failures + len(report.failures)
        self._errors = self._errors + len(report.errors)
        self._success = self._total - self._failures - self._errors