Lines Matching refs:file_period
326 file_period = self.file_periods.get(source.file)
327 if file_period is None:
328 file_period = self.file_periods[source.file] = FilePeriod(source.file)
329 file_period.add_period(period)
335 file_period = self.file_periods[source.file]
336 file_period.add_line_period(source.line, period)
342 file_period = self.file_periods[source.file]
343 file_period.add_function_period(source.function, source.line, period)
359 for file_period in file_periods:
360 f.write('file %s: %s\n' % (file_period.file,
361 self._get_percentage_str(file_period.period)))
362 for file_period in file_periods:
363 f.write('\n\n%s: %s\n' % (file_period.file,
364 self._get_percentage_str(file_period.period)))
366 for func_name in file_period.function_dict.keys():
367 func_start_line, period = file_period.function_dict[func_name]
374 for line in sorted(file_period.line_dict.keys()):
376 line, self._get_percentage_str(file_period.line_dict[line])))
413 def _annotate_file(self, from_path, to_path, file_period, is_java): argument
427 for line in file_period.line_dict.keys():
428 annotates[line] = self._get_percentage_str(file_period.line_dict[line], True)
429 for func_name in file_period.function_dict.keys():
430 func_start_line, period = file_period.function_dict[func_name]
435 annotates[1] = '[file] ' + self._get_percentage_str(file_period.period, True)