コード例 #1
0
ファイル: submodule_count.py プロジェクト: Yelp/git-code-debt
 def get_metrics_info(self):
     return [MetricInfo.from_class(type(self))]
コード例 #2
0
ファイル: curse.py プロジェクト: soumyadsanyal/git-code-debt
 def get_metrics_info(self) -> List[MetricInfo]:
     metric_names = [f'TotalCurseWords_{tag}' for tag in ALL_TAGS]
     metric_names.append('TotalCurseWords')
     return [MetricInfo(metric_name) for metric_name in metric_names]