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

aspectran / aspectran / #5108

01 Apr 2026 02:07AM UTC coverage: 42.07% (+0.008%) from 42.062%
#5108

push

github

topframe
Refine property evaluation and caching in ActivityEnvironment

Introduced selective caching for property evaluation to ensure consistency
while maintaining dynamic behavior where appropriate. Properties are now
cached only when they contain at least one property reference (%{...}),
which explicitly signals an intent to resolve and fix a value within the
environment.

- Implemented thread-safe caching in ActivityEnvironment using
  ConcurrentHashMap with a recursive-safe evaluation pattern.
- Added ItemRule#hasToken(TokenType) to support precise token type detection.
- Renamed ItemRule#hasOnlyFixedValue() to isLiteral() for improved
  semantic clarity.
- Updated Javadoc to reflect the conditional caching behavior and its
  impact on consistency.

6 of 10 new or added lines in 3 files covered. (60.0%)

2 existing lines in 1 file now uncovered.

18007 of 42802 relevant lines covered (42.07%)

0.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/shell/src/main/java/com/aspectran/shell/command/TransletPreProcedure.java


Source Not Available

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