Skip to content

refactor: Refactor PsiClassHelper utilities#606

Merged
tangcent merged 1 commit intomasterfrom
chore/merge_easy-yapi
Jun 22, 2025
Merged

refactor: Refactor PsiClassHelper utilities#606
tangcent merged 1 commit intomasterfrom
chore/merge_easy-yapi

Conversation

@tangcent
Copy link
Copy Markdown
Owner

The changes centralize PsiClass-related utilities and improve code organization while maintaining functionality

The changes centralize PsiClass-related utilities and improve code organization while maintaining functionality
@github-actions github-actions bot added the type: enhancement New feature or request label Jun 22, 2025
@github-actions
Copy link
Copy Markdown
Contributor

📦 Plugin has been packaged for this PR. You can download easy-api-2.4.1.212.0.zip from the GitHub Actions workflow run by clicking on the "Artifacts" dropdown.

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 22, 2025

Codecov Report

Attention: Patch coverage is 56.62651% with 36 lines in your changes missing coverage. Please review.

Project coverage is 53.984%. Comparing base (877cc45) to head (ddb7faa).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...com/itangcent/idea/psi/ContextualPsiClassHelper.kt 68.750% 7 Missing and 3 partials ⚠️
...com/itangcent/idea/psi/CustomizedPsiClassHelper.kt 57.895% 6 Missing and 2 partials ⚠️
...com/itangcent/idea/plugin/rule/ScriptRuleParser.kt 0.000% 6 Missing ⚠️
.../idea/plugin/api/infer/DefaultMethodInferHelper.kt 33.333% 2 Missing and 2 partials ⚠️
.../export/feign/RequestLineRequestMappingResolver.kt 0.000% 2 Missing ⚠️
...gcent/idea/plugin/api/infer/AIMethodInferHelper.kt 0.000% 2 Missing ⚠️
...dea/plugin/api/cache/CachedRequestClassExporter.kt 0.000% 0 Missing and 1 partial ⚠️
...t/idea/plugin/api/dashboard/ApiDashboardService.kt 0.000% 1 Missing ⚠️
...pi/export/generic/GenericMethodDocClassExporter.kt 0.000% 1 Missing ⚠️
...idea/plugin/api/export/http/HttpClientFormatter.kt 0.000% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##              master      #606       +/-   ##
===============================================
+ Coverage     53.866%   53.984%   +0.118%     
- Complexity      2365      2369        +4     
===============================================
  Files            259       259               
  Lines          14668     14697       +29     
  Branches        3248      3247        -1     
===============================================
+ Hits            7901      7934       +33     
+ Misses          5320      5318        -2     
+ Partials        1447      1445        -2     
Flag Coverage Δ
unittests 53.984% <56.627%> (+0.118%) ⬆️

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

Files with missing lines Coverage Δ
...om/itangcent/idea/plugin/api/cache/FileApiCache.kt 50.485% <ø> (ø)
...dea/plugin/api/export/core/RequestClassExporter.kt 59.660% <100.000%> (ø)
...gcent/idea/plugin/api/export/suv/SuvApiExporter.kt 0.000% <ø> (ø)
...angcent/idea/plugin/rule/FieldPatternRuleParser.kt 79.032% <ø> (ø)
...n/com/itangcent/idea/plugin/rule/SuvRuleContext.kt 65.625% <100.000%> (+1.109%) ⬆️
...n/com/itangcent/idea/psi/PsiClassHelperProvider.kt 100.000% <100.000%> (ø)
...m/itangcent/intellij/context/AutoClearSupporter.kt 38.462% <ø> (ø)
.../kotlin/com/itangcent/spi/SpiSingleBeanProvider.kt 60.000% <100.000%> (ø)
...main/kotlin/com/itangcent/suv/http/OkHttpClient.kt 74.803% <ø> (ø)
...dea/plugin/api/cache/CachedRequestClassExporter.kt 48.148% <0.000%> (ø)
... and 9 more

... and 3 files with indirect coverage changes


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 877cc45...ddb7faa. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tangcent tangcent merged commit cd26f04 into master Jun 22, 2025
23 of 25 checks passed
@tangcent tangcent deleted the chore/merge_easy-yapi branch June 22, 2025 23:57
@github-actions github-actions bot mentioned this pull request Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant