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

loveapple / web-crawler / 61

01 Sep 2025 12:07AM UTC coverage: 71.2% (-26.5%) from 97.674%
61

push

circleci

loveapple-page
add deepseek key define

29 of 99 new or added lines in 4 files covered. (29.29%)

178 of 250 relevant lines covered (71.2%)

0.71 hits per line

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

20.0
/src/main/java/com/happinesea/webcrawler/interceptor/PostContentsInterceptor.java
1
package com.happinesea.webcrawler.interceptor;
2

3
import org.aspectj.lang.ProceedingJoinPoint;
4
import org.aspectj.lang.annotation.Around;
5
import org.aspectj.lang.annotation.Aspect;
6
import org.springframework.context.annotation.Configuration;
7

8
import lombok.extern.slf4j.Slf4j;
9

10
@Slf4j
1✔
11
@Aspect
12
@Configuration
13
public class PostContentsInterceptor {
1✔
14
        
15
        
16
        @Around("execution(* com.example.repository.ContentsPostRepositoryImpl.postContents(..))")
17
    public Object aroundPostContents(ProceedingJoinPoint joinPoint) throws Throwable {
NEW
18
        Object[] args = joinPoint.getArgs();
×
NEW
19
        log.info(">>> Before postContents: args={}", args);
×
20

21
        try {
NEW
22
            Object result = joinPoint.proceed();
×
NEW
23
            log.info("<<< After postContents: result={}", result);
×
NEW
24
            return result;
×
NEW
25
        } catch (Exception e) {
×
NEW
26
            log.error("!!! Exception in postContents", e);
×
NEW
27
            throw e; // 例外をそのまま投げる or ラップして投げる
×
28
        }
29
    }
30
}
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