Skip to content

feat: Add Support for Meta-Spring Controller Annotations#1187

Merged
tangcent merged 1 commit intomasterfrom
feature/spring-annotation
Feb 16, 2025
Merged

feat: Add Support for Meta-Spring Controller Annotations#1187
tangcent merged 1 commit intomasterfrom
feature/spring-annotation

Conversation

@tangcent
Copy link
Owner

close #1186

@codecov
Copy link

codecov bot commented Feb 15, 2025

Codecov Report

Attention: Patch coverage is 47.61905% with 11 lines in your changes missing coverage. Please review.

Project coverage is 63.006%. Comparing base (d0f9fc7) to head (6e8e0d8).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...spring/CustomSpringControllerAnnotationResolver.kt 50.000% 2 Missing and 3 partials ⚠️
.../export/spring/SimpleSpringRequestClassExporter.kt 0.000% 1 Missing and 1 partial ⚠️
...in/api/export/spring/SpringRequestClassExporter.kt 0.000% 0 Missing and 2 partials ⚠️
...ring/StandardSpringControllerAnnotationResolver.kt 50.000% 0 Missing and 1 partial ⚠️
...tangcent/idea/plugin/rule/StandardJdkRuleParser.kt 0.000% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##              master     #1187       +/-   ##
===============================================
+ Coverage     62.989%   63.006%   +0.016%     
- Complexity      2394      2405       +11     
===============================================
  Files            255       258        +3     
  Lines          13288     13302       +14     
  Branches        3045      3049        +4     
===============================================
+ Hits            8370      8381       +11     
+ Misses          3312      3311        -1     
- Partials        1606      1610        +4     
Flag Coverage Δ
unittests 63.006% <47.619%> (+0.016%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...xport/spring/CustomSpringRequestMappingResolver.kt 69.231% <ø> (+7.692%) ⬆️
...pring/DefaultSpringControllerAnnotationResolver.kt 100.000% <100.000%> (ø)
...port/spring/DefaultSpringRequestMappingResolver.kt 70.588% <ø> (+17.647%) ⬆️
...t/idea/plugin/api/export/spring/SpringClassName.kt 96.667% <ø> (ø)
...port/spring/StarandSpringRequestMappingResolver.kt 78.947% <ø> (ø)
...ring/StandardSpringControllerAnnotationResolver.kt 50.000% <50.000%> (ø)
...tangcent/idea/plugin/rule/StandardJdkRuleParser.kt 64.886% <0.000%> (ø)
.../export/spring/SimpleSpringRequestClassExporter.kt 52.632% <0.000%> (-3.779%) ⬇️
...in/api/export/spring/SpringRequestClassExporter.kt 33.571% <0.000%> (-0.592%) ⬇️
...spring/CustomSpringControllerAnnotationResolver.kt 50.000% <50.000%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0f9fc7...6e8e0d8. Read the comment docs.

@tangcent tangcent force-pushed the feature/spring-annotation branch from d0f52ef to a89e604 Compare February 16, 2025 07:38
@tangcent tangcent force-pushed the feature/spring-annotation branch from a89e604 to 6e8e0d8 Compare February 16, 2025 07:43
@tangcent tangcent merged commit 39f8331 into master Feb 16, 2025
10 checks passed
@tangcent tangcent deleted the feature/spring-annotation branch February 16, 2025 09:47
@tangcent tangcent mentioned this pull request Feb 18, 2025
@tangcent tangcent mentioned this pull request Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 不能扫描继承自RestController的注解

1 participant