Koihik / LuaFormatter

Code formatter for Lua
Apache License 2.0
708 stars 86 forks source link

refactor: split FormatVisitor #264

Closed Koihik closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Base: 93.78% // Head: 94.81% // Increases project coverage by +1.03% :tada:

Coverage data is based on head (1beee64) compared to base (e4929c1). Patch coverage: 97.15% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #264 +/- ## ========================================== + Coverage 93.78% 94.81% +1.03% ========================================== Files 6 19 +13 Lines 1641 1544 -97 ========================================== - Hits 1539 1464 -75 + Misses 102 80 -22 ``` | [Impacted Files](https://codecov.io/gh/Koihik/LuaFormatter/pull/264?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik) | Coverage Δ | | |---|---|---| | [src/lua-format.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL2x1YS1mb3JtYXQuY3Bw) | `97.56% <ø> (ø)` | | | [src/visitor/FormatVisitor.h](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvRm9ybWF0VmlzaXRvci5o) | `100.00% <ø> (ø)` | | | [src/visitor/var\_decl.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvdmFyX2RlY2wuY3Bw) | `89.58% <89.58%> (ø)` | | | [src/visitor/var.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvdmFyLmNwcA==) | `94.00% <94.00%> (ø)` | | | [src/visitor/FormatVisitor.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvRm9ybWF0VmlzaXRvci5jcHA=) | `95.58% <95.58%> (ø)` | | | [src/visitor/name\_and\_args.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvbmFtZV9hbmRfYXJncy5jcHA=) | `96.55% <96.55%> (ø)` | | | [src/visitor/function.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvZnVuY3Rpb24uY3Bw) | `97.43% <97.43%> (ø)` | | | [src/visitor/table.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvdGFibGUuY3Bw) | `98.01% <98.01%> (ø)` | | | [src/visitor/exp.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvZXhwLmNwcA==) | `99.37% <99.37%> (ø)` | | | [src/visitor/args.cpp](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik#diff-c3JjL3Zpc2l0b3IvYXJncy5jcHA=) | `100.00% <100.00%> (ø)` | | | ... and [6 more](https://codecov.io/gh/Koihik/LuaFormatter/pull/264/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Koihik)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.