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

aspectran / aspectran / #5376
45%

Build:
DEFAULT BRANCH: master
Ran 29 Jun 2026 03:57AM UTC
Jobs 1
Files 1050
Run time 2min
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

29 Jun 2026 03:43AM UTC coverage: 44.629% (+0.004%) from 44.625%
#5376

push

github

topframe
Fix dynamic array promotion of VARIABLE parameters and eliminate Getter side effects

Allow VARIABLE type parameters to be automatically promoted (arraylize) when array values are written, regardless of structureFixed. Remove the side-effect in ParameterValue.getValueList() that permanently changed the parameter structure to an array; it now returns a read-only Collections.singletonList() for scalars. Optimize ItemRuleUtils to fetch string value directly for scalar parameters rather than calling getStringList. Add unit tests verifying both dynamic array promotion and side-effect-free retrieval.

VARIABLE 파라미터의 동적 배열 승격 오류 수정 및 Getter 부작용(Side Effect) 제거: structureFixed 설정 여부와 관계없이 VARIABLE 타입 스칼라 파라미터에 배열 값을 기입할 때 자동으로 배열로 승격(arraylize)되도록 개선했습니다. ParameterValue.getValueList() 조회 시 영구적으로 배열 구조로 승격시키던 부작용을 제거하고, 스칼라 값인 경우 읽기 전용 싱글톤 리스트를 반환하도록 수정했습니다. ItemRuleUtils에서 스칼라 파라미터 값을 꺼내올 때 불필요하게 getStringList를 호출하지 않고 단일 값으로 즉시 조회하도록 최적화했습니다. 동적 배열 승격 및 조회 시 부작용 방지를 검증하는 단위 테스트를 추가했습니다.

8 of 21 new or added lines in 3 files covered. (38.1%)

1 existing line in 1 file now uncovered.

19526 of 43752 relevant lines covered (44.63%)

0.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
17.7
-1.35% core/src/main/java/com/aspectran/core/context/rule/ItemRuleUtils.java
1
59.73
0.42% utils/src/main/java/com/aspectran/utils/apon/AbstractParameters.java
1
65.0
0.11% utils/src/main/java/com/aspectran/utils/apon/ParameterValue.java

Coverage Regressions

Lines Coverage ∆ File
1
73.08
1.92% daemon/src/main/java/com/aspectran/daemon/command/AsyncCommandExecutor.java
Jobs
ID Job ID Ran Files Coverage
1 #5376.1 29 Jun 2026 03:57AM UTC 1050
44.63
Source Files on build #5376
  • Tree
  • List 1050
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2509086e 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