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

aspectran / aspectran / #4689
44%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2025 10:25AM UTC
Jobs 1
Files 990
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

22 Oct 2025 10:21AM UTC coverage: 37.082% (-0.02%) from 37.101%
#4689

push

github

topframe
Refactor and Improve MyBatis Integration Module

This commit introduces a series of refactorings and improvements to the `com.aspectran.mybatis` package, enhancing code structure, usability, and documentation.
- **Refactored SqlSessionProvider**: The responsibility for dynamically registering AOP advice has been separated from `SqlSessionProvider`. This logic is now encapsulated in a helper class, `SqlSessionAdviceRegistrar`, which is used internally by `SqlSessionProvider`. This maintains the simple single-bean setup for users (e.g., `SqlSessionAgent`) while improving internal separation of concerns.
- **Reduced Duplication in SqlSessionAgent**: A private helper method has been introduced to eliminate repetitive `if/else` blocks related to the `autoParameters` feature, making the class more concise and maintainable.
- **Comprehensive Javadoc Improvements**: Documentation has been added or significantly improved for all classes in the package, including `SqlSessionProvider`, `SqlSessionAgent`, `SqlSessionFactoryBean`, `SqlMapperAccess`, `SqlSessionAdvice`, and `package-info.java`. This clarifies the role of each class, their configuration options, and how they interact.

15376 of 41465 relevant lines covered (37.08%)

0.37 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.36
-1.23% core/src/main/java/com/aspectran/core/context/asel/TokenizedExpression.java
1
94.12
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/AbstractConnectionPool.java
1
78.57
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/cluster/RedisClusterConnectionPool.java
1
83.33
-1.28% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/DefaultLettuceSessionStoreFactory.java
2
83.33
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/cluster/ClusterLettuceSessionStoreFactory.java
2
83.33
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/primaryreplica/PrimaryReplicaLettuceSessionStoreFactory.java
2
78.95
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/primaryreplica/RedisPrimaryReplicaConnectionPool.java
2
0.0
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/SessionDataSerializationException.java
2
40.75
-0.63% utils/src/main/java/com/aspectran/utils/ConcurrentReferenceHashMap.java
3
93.18
-1.56% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/AbstractLettuceSessionStore.java
3
0.0
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/cluster/ClusterLettuceSessionStoreFactoryBean.java
3
0.0
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/DefaultLettuceSessionStoreFactoryBean.java
3
0.0
0.0% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/primaryreplica/PrimaryReplicaLettuceSessionStoreFactoryBean.java
3
78.57
-4.76% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/RedisConnectionPool.java
6
72.73
-5.05% rss-lettuce/src/main/java/com/aspectran/core/component/session/redis/lettuce/RedisConnectionPoolConfig.java
Jobs
ID Job ID Ran Files Coverage
1 #4689.1 22 Oct 2025 10:25AM UTC 990
37.08
Source Files on build #4689
  • Tree
  • List 990
  • Changed 20
  • Source Changed 18
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c504484c 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