Show average reviews per day
Show average reviews per day across all reviewers as well as across the core review teams. Change-Id: I73cb6359d4f256c097c555b9b79d375042877cb7
This commit is contained in:
parent
10cc472d0f
commit
07007bfdf1
@ -237,12 +237,16 @@ def main(argv=None):
|
||||
writer(reviewer_data, file_obj)
|
||||
file_obj.write('\nTotal reviews: %d (%.1f/day)\n' % (total,
|
||||
float(total) / options.days))
|
||||
file_obj.write('Total reviewers: %d\n' % len(reviewers))
|
||||
file_obj.write('Total reviewers: %d (avg %.1f reviews/day)\n' % (
|
||||
len(reviewers),
|
||||
float(total) / options.days / len(reviewers)))
|
||||
file_obj.write('Total reviews by core team: %d (%.1f/day)\n' % (
|
||||
core_total, float(core_total) / options.days))
|
||||
core_team_size = sum([len(project['core-team'])
|
||||
for project in projects])
|
||||
file_obj.write('Core team size: %d\n' % core_team_size)
|
||||
file_obj.write('Core team size: %d (avg %.1f reviews/day)\n' % (
|
||||
core_team_size,
|
||||
float(core_total) / options.days / core_team_size))
|
||||
file_obj.write(
|
||||
'New patch sets in the last %d days: %d (%.1f/day)\n'
|
||||
% (options.days, patches_created,
|
||||
|
Loading…
Reference in New Issue
Block a user