mcarleio / konvert

This kotlin compiler plugin is using KSP API and generates kotlin code to map one class to another
https://mcarleio.github.io/konvert/
Apache License 2.0
93 stars 8 forks source link

feat(#28): allow multiple parameters in functions of a `@Konverter` annotated interface #31

Closed mcarleio closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (a81fe53) 84.16% compared to head (54ce043) 84.16%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #31 +/- ## ========================================== - Coverage 84.16% 84.16% -0.01% ========================================== Files 67 67 Lines 2236 2298 +62 Branches 293 306 +13 ========================================== + Hits 1882 1934 +52 - Misses 184 186 +2 - Partials 170 178 +8 ``` | [Files](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel) | Coverage Δ | | |---|---|---| | [...src/main/kotlin/io/mcarle/konvert/api/Konverter.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-YW5ub3RhdGlvbnMvc3JjL21haW4va290bGluL2lvL21jYXJsZS9rb252ZXJ0L2FwaS9Lb252ZXJ0ZXIua3Q=) | `54.16% <ø> (ø)` | | | [...io/mcarle/konvert/processor/codegen/CodeBuilder.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3IvY29kZWdlbi9Db2RlQnVpbGRlci5rdA==) | `89.74% <100.00%> (+0.26%)` | :arrow_up: | | [.../mcarle/konvert/processor/codegen/CodeGenerator.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3IvY29kZWdlbi9Db2RlR2VuZXJhdG9yLmt0) | `82.08% <100.00%> (ø)` | | | [...nvert/processor/codegen/PropertyMappingResolver.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3IvY29kZWdlbi9Qcm9wZXJ0eU1hcHBpbmdSZXNvbHZlci5rdA==) | `92.30% <100.00%> (+2.11%)` | :arrow_up: | | [...io/mcarle/konvert/processor/konvert/KonvertData.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3Iva29udmVydC9Lb252ZXJ0RGF0YS5rdA==) | `88.23% <100.00%> (+0.35%)` | :arrow_up: | | [.../processor/konvertfrom/KonvertFromCodeGenerator.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3Iva29udmVydGZyb20vS29udmVydEZyb21Db2RlR2VuZXJhdG9yLmt0) | `100.00% <100.00%> (ø)` | | | [...vert/processor/konvertto/KonvertToCodeGenerator.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3Iva29udmVydHRvL0tvbnZlcnRUb0NvZGVHZW5lcmF0b3Iua3Q=) | `100.00% <100.00%> (ø)` | | | [...onvert/processor/konvert/KonverterCodeGenerator.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3Iva29udmVydC9Lb252ZXJ0ZXJDb2RlR2VuZXJhdG9yLmt0) | `96.42% <86.36%> (-2.08%)` | :arrow_down: | | [...onvert/processor/konvert/KonverterDataCollector.kt](https://app.codecov.io/gh/mcarleio/konvert/pull/31?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Marcel#diff-cHJvY2Vzc29yL3NyYy9tYWluL2tvdGxpbi9pby9tY2FybGUva29udmVydC9wcm9jZXNzb3Iva29udmVydC9Lb252ZXJ0ZXJEYXRhQ29sbGVjdG9yLmt0) | `69.33% <67.64%> (+0.58%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.