Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 포스트 통계 조회 기능 구현 #106

Merged
merged 11 commits into from
Nov 28, 2023
Merged

feat: 포스트 통계 조회 기능 구현 #106

merged 11 commits into from
Nov 28, 2023

Conversation

shin-mallang
Copy link
Member

@shin-mallang shin-mallang linked an issue Nov 28, 2023 that may be closed by this pull request
17 tasks
@shin-mallang shin-mallang self-assigned this Nov 28, 2023
Copy link

github-actions bot commented Nov 28, 2023

Test Results

533 tests  +17   533 ✔️ +17   30s ⏱️ +2s
206 suites +  5       0 💤 ±  0 
206 files   +  5       0 ±  0 

Results for commit c009202. ± Comparison against base commit 1e3a977.

This pull request removes 4 and adds 21 tests. Note that renamed tests count towards both.
com.mallang.statistics.job.BlogVisitStatisticJobTest ‑ 이미 존재하는 통계에 대해서는 개수가 증가한다
com.mallang.statistics.job.BlogVisitStatisticJobTest ‑ 집계되지 않은 모든 조회 이력을 가져와 블로그별로 그리고 일자별로 개수를 집계한다
com.mallang.statistics.job.PostViewStatisticJobTest ‑ 이미 존재하는 통계에 대해서는 개수가 증가한다
com.mallang.statistics.job.PostViewStatisticJobTest ‑ 집계되지 않은 모든 조회 이력을 가져와 포스트별로 그리고 일자별로 개수를 집계한다
com.mallang.acceptance.statistics.StatisticManageAcceptanceTest$포스트_통계_조회_API ‑ 자신의 포스트가 아닌 경우 볼 수 없다
com.mallang.acceptance.statistics.StatisticManageAcceptanceTest$포스트_통계_조회_API ‑ 포스트 통계 조회
com.mallang.statistics.api.query.dao.PostViewStatisticDaoTest ‑ 날짜가 잘못 들어온 경우
com.mallang.statistics.api.query.dao.PostViewStatisticDaoTest ‑ 연간 조회수 통계를 구한다
com.mallang.statistics.api.query.dao.PostViewStatisticDaoTest ‑ 월간 조회수 통계를 구한다
com.mallang.statistics.api.query.dao.PostViewStatisticDaoTest ‑ 일간 조회수 통계를 구한다
com.mallang.statistics.api.query.dao.PostViewStatisticDaoTest ‑ 조회 통계가 하나도 없는 경우
com.mallang.statistics.api.query.dao.PostViewStatisticDaoTest ‑ 주간 조회수 통계를 구한다
com.mallang.statistics.api.query.support.StatisticConditionConverterTest ‑ 조회타입이 연간인 경우 조회 마지막 날은 이번년의 마지막 요일이다
com.mallang.statistics.api.query.support.StatisticConditionConverterTest ‑ 조회타입이 연간인 경우 조회 시작일은 입력된 마지막일을 포함한 년의 시작일에서 (조회 개수 - 1)만큼의 전 년의 시작일이다
…

♻️ This comment has been updated with latest results.

Copy link

sonarqubecloud bot commented Nov 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@shin-mallang shin-mallang merged commit 6db1b6c into main Nov 28, 2023
5 checks passed
shin-mallang added a commit that referenced this pull request Dec 10, 2023
* [#93] feat: 날짜 변환기 구현

* [#101] fix: 포스트 통계에서 블로그를 반영하지 않고 post id만 반영하여 잘못 집계되던 오류 수정

* [#93] feat: 글 조회수 조회 DAO 작성

* [#93] refactor: PostViewStatisticDao 성능향상

* [#93] fix: 통계 조회 개수에 따른 조회 시작일 구하는 로직 오류 수정

* [#93] test: polishing

* [#93] feat: 포스트 통계 조회 API 작성

* [#93] test: polishing

* [#93] refactor: 패키지 구조 수정

* [#101] fix: 필요없는 필드 제거

* [#93] chore: 패키지 구조 변경에 따른 Jacoco exclude 경로 변경

(cherry picked from commit 6db1b6c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🚀 feature] 글 조회수 통계 조회 기능을 구현한다
1 participant