scripts/delta: output bugfixes/day

This commit is contained in:
Daniel Stenberg 2024-09-06 08:47:06 +02:00
parent 2f040ac618
commit 8d6db8cd8b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -140,9 +140,9 @@ close(F);
# Produce the summary
print "== Since $start $taggednice ==\n";
my $days = $elapsed / 3600 / 24;
printf "Elapsed time: %.1f days (total %d)\n",
$elapsed / 3600 / 24,
$total / 3600 / 24;
$days, $total / 3600 / 24;
printf "Commits: %d (total %d)\n",
$commits, $acommits;
printf "Commit authors: %d, %d new (total %d)\n",
@ -156,7 +156,8 @@ printf "New curl_easy_setopt() options: %d (total %d)\n",
printf "New command line options: %d (total %d)\n",
$noptions, $aoptions;
printf "Changes logged: %d\n", $numchanges;
printf "Bugfixes logged: %d\n", $numbugfixes;
printf "Bugfixes logged: %d (%.2f per day)\n",
$numbugfixes, $numbugfixes / $days;
printf "Added files: %d (total %d)\n",
$creates, $afiles;
printf "Deleted files: %d (delta: %d)\n", $deletes,