Skip to content

579 coverage decimal precision#593

Merged
dbenn merged 2 commits into
masterfrom
579-coverage-decimal-precision
May 6, 2026
Merged

579 coverage decimal precision#593
dbenn merged 2 commits into
masterfrom
579-coverage-decimal-precision

Conversation

@dbenn
Copy link
Copy Markdown
Collaborator

@dbenn dbenn commented May 6, 2026

No description provided.

dbenn and others added 2 commits May 5, 2026 00:02
Add three JUnit 3 test classes for the untested table models in
ui.model.list that import javax.swing (GUI bucket):

- PeriodAnalysisDataTableModelTest: column metadata, formatted value
  access, getPeriodValueInRow, getFrequencyValueInRow,
  getDataPointFromRow, setData
- WWZDataTableModelTest: 7-column WWZ coordinate types, formatted
  value access per coordinate, getDataPointFromRow, empty model
- AbstractSyntheticObservationTableModelTest: exercises the abstract
  base via its four real concrete subclasses (RawDataMean, PhasePlotMean,
  RawDataModel, PhasePlotModel) — column metadata, value access,
  observation storage, row-index mapping, reverse lookup, listener
  update, canBeRemoved, phase-model row doubling

All tests are headless-safe (no Mediator, no display).

Co-authored-by: Cursor <cursoragent@cursor.com>
Integer rounding in percent_int() caused small coverage gains to
appear as no change on the dashboard (e.g. 4.3% -> 5.1% both showed
as 4%). Switch gui_* and all_* outputs to percent() (one decimal place)
so any test addition is immediately visible.

Non-GUI headline figures retain integer precision for badge stability.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dbenn dbenn self-assigned this May 6, 2026
@dbenn dbenn added documentation Improvements or additions to documentation verification Unit tests, static analysis, and other forms of verification and QA labels May 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Plugin Unit Tests

All tests passed (Java 17)

Metric Value
Tests 1
Passed 1
Failures 0
Errors 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

VStar Unit Tests

All tests passed (Java 17)

Metric Value
Tests 879
Passed 879
Failures 0
Errors 0

@dbenn dbenn merged commit 49ebbda into master May 6, 2026
20 checks passed
@dbenn dbenn deleted the 579-coverage-decimal-precision branch May 6, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation verification Unit tests, static analysis, and other forms of verification and QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant