Skip to content

resolves #68 show uncovered time also as "rounded" in activity report #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

barclay-reg
Copy link
Collaborator

  • refactored ReportController and ReportPanel

    • grouped reported times visually
    • rounded the uncovered duration
    • introduced non-effective duration to sum up break and uncovered
  • add roundedDuration to ReportingItem and Report

    • added DurationRounder to all constructors, that internally use it to create an instance of SummingReportGenerator
  • fixed DurationRounder to avoid division-by-zero

  • added dependency to mockito-kotlin, to use anyOrNull()

* refactored `ReportController` and `ReportPanel`
  * grouped reported times visually
  * rounded the uncovered duration
  * introduced non-effective duration to sum up break and uncovered

* add roundedDuration to `ReportingItem` and `Report`
  * added `DurationRounder` to all constructors, that internally use it to create an instance of `SummingReportGenerator`
* fixed `DurationRounder` to avoid division-by-zero
* added dependency to mockito-kotlin, to use `anyOrNull()`
@barclay-reg barclay-reg merged commit 5530797 into dev Feb 17, 2024
@barclay-reg barclay-reg deleted the 68-activity-report-show-uncovered-time-also-as-rounded branch February 29, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Activity Report: show uncovered time also as "rounded"
2 participants