devops-pr-stats icon indicating copy to clipboard operation
devops-pr-stats copied to clipboard

Is this project still under development?

Open cliftonz1 opened this issue 2 years ago • 6 comments

Just curious, it looks like it has not been touched in a while but I think this has a lot of potential.

I personally would love to see the following:

  • Pull request time average per team
  • Average PR size
  • Average number of comments
  • Average number of comments per team

cliftonz1 avatar Mar 14 '22 23:03 cliftonz1

Is this a planned update? I'd love to see these stats as well, especially average PR size.

hblake316 avatar Apr 20 '22 19:04 hblake316

How would you calculate Average PR size? Are you looking for the number of files changed in the PR? or something else?

jeffpriz avatar May 06 '22 18:05 jeffpriz

Maybe something like this:

Files changed: 2 File 1: +20 lines File 2: -10 lines

hblake316 avatar May 06 '22 19:05 hblake316

@jeffpriz Yes, average number of files / lines changed in a PR.

So with the above example: We would have on average 2 files changed and 30 lines changed on average.

This would be able to be filtered by team, where if a person is in more then one team. It counts towards both.

cliftonz1 avatar May 09 '22 12:05 cliftonz1

I feel confident on getting the number of files.. will have to look in to if/how i can get the number of lines .. feels like the api has to provide that but not sure off hand

jeffpriz avatar May 10 '22 12:05 jeffpriz

Great!

hblake316 avatar May 10 '22 20:05 hblake316