Skip to content

Commit

Permalink
Add a measure of incoming/closed defects vs existing open for MEI
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-c committed Oct 13, 2023
1 parent febce44 commit 5bbba11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bugbug/bugzilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,14 @@ def calculate_maintenance_effectiveness_indicator(
else:
wbdtime = math.inf

estimated_start_open_defects = open_defects + closed_defects - opened_defects
incoming = 100 * opened_defects / estimated_start_open_defects
closed = 100 * closed_defects / estimated_start_open_defects

return {
"ME%": mei,
"BDTime": bdtime,
"WBDTime": wbdtime,
"Incoming": incoming,
"Closed": closed,
}

0 comments on commit 5bbba11

Please sign in to comment.