New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve code coverage for GUI classes #11514
Labels
Milestone
Comments
@pbludov, we need to enforce current coverage number, to make sure CI will not allow going down. |
pbludov
added a commit
to pbludov/checkstyle
that referenced
this issue
Apr 6, 2022
pbludov
added a commit
to pbludov/checkstyle
that referenced
this issue
Apr 6, 2022
pbludov
added a commit
to pbludov/checkstyle
that referenced
this issue
Apr 6, 2022
romani
pushed a commit
that referenced
this issue
Apr 7, 2022
heyannely
added a commit
to heyannely/checkstyle
that referenced
this issue
May 21, 2023
alimhtsai
added a commit
to alimhtsai/checkstyle
that referenced
this issue
May 21, 2023
…eeTableModelTest
JAZwielich
pushed a commit
to JAZwielich/checkstyle
that referenced
this issue
May 21, 2023
…eeTebleModelAdapter class to increase overall coverage
pymoura
added a commit
to heyannely/checkstyle
that referenced
this issue
May 21, 2023
heyannely
added a commit
to heyannely/checkstyle
that referenced
this issue
May 21, 2023
JAZwielich
pushed a commit
to JAZwielich/checkstyle
that referenced
this issue
May 21, 2023
…eeTebleModelAdapter class to increase overall coverage
pymoura
added a commit
to heyannely/checkstyle
that referenced
this issue
May 21, 2023
heyannely
added a commit
to heyannely/checkstyle
that referenced
this issue
May 21, 2023
alimhtsai
added a commit
to alimhtsai/checkstyle
that referenced
this issue
May 21, 2023
…and update line coverage in pom
romani
pushed a commit
that referenced
this issue
May 21, 2023
…elAdapter class to increase overall coverage
heyannely
added a commit
to heyannely/checkstyle
that referenced
this issue
May 21, 2023
heyannely
added a commit
to heyannely/checkstyle
that referenced
this issue
May 21, 2023
romani
pushed a commit
that referenced
this issue
May 21, 2023
alimhtsai
added a commit
to alimhtsai/checkstyle
that referenced
this issue
May 23, 2023
…and modify into util method
alimhtsai
added a commit
to alimhtsai/checkstyle
that referenced
this issue
May 23, 2023
…hod in ParseTreeTableModelTest
alimhtsai
added a commit
to alimhtsai/checkstyle
that referenced
this issue
May 24, 2023
…eTableModelTest
alimhtsai
added a commit
to alimhtsai/checkstyle
that referenced
this issue
May 24, 2023
romani
pushed a commit
that referenced
this issue
May 25, 2023
One more improvement is merged |
We do not do assignments, just make a comment "I am on it" and start a work. We appreciate your help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current coverage:
The goal is 100% code coverage.
Notes
It is possible to run GUI from IDE and collect the coverage report:
Some code may be unreachable from any user input (mouse, keyboard, changing system properties and so on).
Such code should be considered as "dead" code and should be deleted.
Before deleting any code, make sure that it is not executed in Windows, Mac & Linux.
Please send one PR per class. Use existing GUI tests from the package
com.puppycrawl.tools.checkstyle.gui
for reference.remove exclude:
checkstyle/pom.xml
Lines 834 to 849 in 70946a8
and all further more specific low level coverage, like:
checkstyle/pom.xml
Lines 868 to 882 in 70946a8
The text was updated successfully, but these errors were encountered: