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

aspectran / aspectran / #4773
44%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2025 03:42PM UTC
Jobs 1
Files 928
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

13 Nov 2025 03:39PM UTC coverage: 43.054% (+0.2%) from 42.879%
#4773

push

github

topframe
feat: Introduce AponParser for efficient dynamic APON parsing

This commit introduces a new `AponParser` class designed for efficient and intuitive parsing of APON documents, particularly for dynamic data structures and multi-dimensional arrays.

- **Structure-based Parsing:** Implements a recursive, structure-based parsing mechanism that directly builds nested `List` objects for arrays, offering improved performance and clarity over `AponReader` for these scenarios.
- **Comprehensive Scalar Handling:** Supports parsing of various scalar types including strings (quoted/unquoted, escaped), numbers (int, long, double), booleans, and nulls.
- **Text Block Support:** Adds functionality to correctly parse multi-line text blocks defined within `()`.
- **Empty Structure Handling:** Properly parses empty object blocks `{}` and empty arrays `[]`.
- **Robust Error Handling:** Includes detailed error reporting for unclosed structures, invalid line formats, and malformed escape sequences.
- **Dedicated Test Suite:** Accompanied by `AponParserTest.java` with comprehensive test cases verifying all new functionalities.

95 of 142 new or added lines in 1 file covered. (66.9%)

173 existing lines in 3 files now uncovered.

16361 of 38001 relevant lines covered (43.05%)

0.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
47
66.9
utils/src/main/java/com/aspectran/utils/apon/AponParser.java

Uncovered Existing Lines

Lines Coverage ∆ File
6
0.0
0.0% utils/src/main/java/com/aspectran/utils/apon/ValueTypeMismatchException.java
62
78.9
1.98% utils/src/main/java/com/aspectran/utils/apon/AponReader.java
105
49.15
-5.23% utils/src/main/java/com/aspectran/utils/apon/ParameterValue.java
Jobs
ID Job ID Ran Files Coverage
1 #4773.1 13 Nov 2025 03:42PM UTC 928
43.05
Source Files on build #4773
  • Tree
  • List 928
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b6fd8b6b 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