Lines Matching refs:file_period
446 file_period = self.file_periods.get(source.file)
447 if file_period is None:
448 file_period = self.file_periods[source.file] = FilePeriod(source.file)
449 file_period.add_period(period)
455 file_period = self.file_periods[source.file]
456 file_period.add_line_period(source.line, period)
462 file_period = self.file_periods[source.file]
463 file_period.add_function_period(source.function, source.line, period)
479 for file_period in file_periods:
480 f.write('file %s: %s\n' % (file_period.file,
481 self._get_percentage_str(file_period.period)))
482 for file_period in file_periods:
483 f.write('\n\n%s: %s\n' % (file_period.file,
484 self._get_percentage_str(file_period.period)))
486 for func_name in file_period.function_dict.keys():
487 func_start_line, period = file_period.function_dict[func_name]
495 for line in sorted(file_period.line_dict.keys()):
497 line, self._get_percentage_str(file_period.line_dict[line])))
573 def _annotate_file(self, from_path, to_path, file_period, is_java): argument
587 for line in file_period.line_dict.keys():
588 annotates[line] = self._get_percentage_str(file_period.line_dict[line], True)
589 for func_name in file_period.function_dict.keys():
590 func_start_line, period = file_period.function_dict[func_name]
595 annotates[1] = '[file] ' + self._get_percentage_str(file_period.period, True)