Flyspray - The bug killer!

“If debugging is the process of removing bugs, then programming must be the process of putting them in.” – Edsger Dijkstra

This is the Bug Tracking System for the Flyspray project. This is not a demo! Before opening a new task, please read the guidelines!

Do not issue bugs reports against versions earlier than 0.9.9.6

Security problem? Check the security section.

Tasklist

FS#1577 - bad calculation of "percent complete" at roadmap screen

Attached to Project: Flyspray - The bug killer!
Opened by W-Mark Kubacki (wmark) - Wednesday, 01 July 2009, 19:42 GMT+1
Last edited by Florian Schmitz (Floele) - Tuesday, 07 July 2009, 20:54 GMT+1
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 0.9.9.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Flyspray does badly calculate how much of a milestone is completed.

Reproduce: Given:

  1. 13 open tasks
  2. three open tasks are completed by 30%, 60%, 90%
  3. 14 closed and done tasks
  4. (27 total)

Expected:

  1. either: 52%, for the ratio “closed”/”all tasks”
  2. or: 56%, for the latter plus the partially done but still open tasks

Is:

  1. 14%

Please see the attached patch for a fix.

This task depends upon

Closed by  Florian Schmitz (Floele)
Tuesday, 07 July 2009, 20:54 GMT+1
Reason for closing:  Works for me
Comment by Florian Schmitz (Floele) - Tuesday, 07 July 2009, 20:54 GMT+1

I've tried it, and it actually works fine: "59% of 27 tasks completed. 13 open tasks:" Please give reasons why your caluclation would be more correct than mine, or why it doesn't work in your situation.

Loading...