Add coverage details human vs. total
This commit is contained in:
parent
d768c81dc3
commit
e213a9f5f7
@ -1973,14 +1973,17 @@ sub show_stats
|
||||
$human,
|
||||
$auto,
|
||||
$missing,
|
||||
sprintf("%.1f%%", ($human + $auto) * 100 / $total_keys)
|
||||
sprintf("%5.1f%% / %5.1f%%",
|
||||
$human * 100 / $total_keys,
|
||||
($human + $auto) * 100 / $total_keys)
|
||||
];
|
||||
}
|
||||
|
||||
# Display results
|
||||
if (@rows) {
|
||||
my $table = Term::Table->new(
|
||||
header => ['Language', 'Human', 'Machine', 'Missing', 'Coverage'],
|
||||
header => ['Language', 'Human', 'Machine', 'Missing',
|
||||
'Coverage (Human vs. Total)'],
|
||||
rows => \@rows,
|
||||
style => 'box',
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user