• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aspectran / aspectran / #5152
44%

Build:
DEFAULT BRANCH: master
Ran 11 Apr 2026 01:18PM UTC
Jobs 1
Files 1045
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Apr 2026 01:09PM UTC coverage: 43.143% (+0.01%) from 43.129%
#5152

push

github

topframe
fix(utils/apon): prevent unassigned array parameters from being emitted as empty arrays

Updated `AponWriter` to check if an array-type parameter has been explicitly
assigned a value before serialization. Previously, unassigned array parameters
(like `methods` and `headers` in `JoinpointParameters`) were incorrectly
emitted as empty arrays `[]` because they were internally initialized with
empty lists during the `arraylize()` process.

Key changes:
- Modified `AponWriter.writeParameters` to incorporate `parameter.isAssigned()`
  checks for all array-type parameters (PARAMETERS, TEXT, and general types).
- Added unit tests in `AponWriterTest` to verify that unassigned array
  parameters are omitted (or written as null) while explicitly assigned
  empty arrays are correctly preserved as `[]`.

9 of 12 new or added lines in 1 file covered. (75.0%)

18633 of 43189 relevant lines covered (43.14%)

0.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
80.58
-0.18% utils/src/main/java/com/aspectran/utils/apon/AponWriter.java
Jobs
ID Job ID Ran Files Coverage
1 #5152.1 11 Apr 2026 01:18PM UTC 1045
43.14
Source Files on build #5152
  • Tree
  • List 1045
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 90e46da2 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc