Skip to main content

calculate_quality_scores

Function calculate_quality_scores 

Source
pub fn calculate_quality_scores(
    events: &[&GitEvent],
    get_files: impl Fn(&str) -> Option<Vec<String>>,
    coupling: &ChangeCouplingAnalysis,
) -> CommitQualityAnalysis
Expand description

Quality Scoreを計算

計算式:

  • メッセージ品質: 30%
  • サイズ適切性: 25%
  • テスト包含: 25%
  • 原子性: 20%