casid / jte

Secure and speedy templates for Java and Kotlin.
https://jte.gg
Apache License 2.0
748 stars 56 forks source link

jte Modules #279

Open casid opened 11 months ago

casid commented 11 months ago

Draft for jte Modules.

See discussion in #278

codecov[bot] commented 11 months ago

Codecov Report

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

Comparison is base (254fa8a) 91.09% compared to head (96f2c35) 91.30%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #279 +/- ## ============================================ + Coverage 91.09% 91.30% +0.20% - Complexity 1181 1226 +45 ============================================ Files 75 80 +5 Lines 3100 3220 +120 Branches 479 495 +16 ============================================ + Hits 2824 2940 +116 - Misses 169 171 +2 - Partials 107 109 +2 ``` | [Files](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager) | Coverage Δ | | |---|---|---| | [...va/gg/jte/compiler/kotlin/KotlinCodeGenerator.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlLWtvdGxpbi9zcmMvbWFpbi9qYXZhL2dnL2p0ZS9jb21waWxlci9rb3RsaW4vS290bGluQ29kZUdlbmVyYXRvci5qYXZh) | `97.16% <100.00%> (+<0.01%)` | :arrow_up: | | [...rc/main/java/gg/jte/compiler/TemplateCompiler.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlL3NyYy9tYWluL2phdmEvZ2cvanRlL2NvbXBpbGVyL1RlbXBsYXRlQ29tcGlsZXIuamF2YQ==) | `85.20% <100.00%> (+1.02%)` | :arrow_up: | | [...n/java/gg/jte/compiler/java/JavaCodeGenerator.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlL3NyYy9tYWluL2phdmEvZ2cvanRlL2NvbXBpbGVyL2phdmEvSmF2YUNvZGVHZW5lcmF0b3IuamF2YQ==) | `98.27% <100.00%> (+<0.01%)` | :arrow_up: | | [...e/src/main/java/gg/jte/compiler/module/Module.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlL3NyYy9tYWluL2phdmEvZ2cvanRlL2NvbXBpbGVyL21vZHVsZS9Nb2R1bGUuamF2YQ==) | `100.00% <100.00%> (ø)` | | | [...main/java/gg/jte/compiler/module/ModuleImport.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlL3NyYy9tYWluL2phdmEvZ2cvanRlL2NvbXBpbGVyL21vZHVsZS9Nb2R1bGVJbXBvcnQuamF2YQ==) | `100.00% <100.00%> (ø)` | | | [...c/main/java/gg/jte/compiler/module/ModuleInfo.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlL3NyYy9tYWluL2phdmEvZ2cvanRlL2NvbXBpbGVyL21vZHVsZS9Nb2R1bGVJbmZvLmphdmE=) | `100.00% <100.00%> (ø)` | | | [.../java/gg/jte/compiler/module/ModuleInfoParser.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlL3NyYy9tYWluL2phdmEvZ2cvanRlL2NvbXBpbGVyL21vZHVsZS9Nb2R1bGVJbmZvUGFyc2VyLmphdmE=) | `95.23% <95.23%> (ø)` | | | [...ava/gg/jte/compiler/module/ModuleCodeResolver.java](https://app.codecov.io/gh/casid/jte/pull/279?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager#diff-anRlL3NyYy9tYWluL2phdmEvZ2cvanRlL2NvbXBpbGVyL21vZHVsZS9Nb2R1bGVDb2RlUmVzb2x2ZXIuamF2YQ==) | `66.66% <66.66%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/casid/jte/pull/279/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Hager)

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