Details
Recommendation type: Uncovered code blocks
...
Filter category: Uncovered code blocks
Description
This type of recommendations helps you identify blocks of code that is not covered. By default, UTA detects 5 or more subsequent lines of uncovered code.
Example
Code Block |
---|
@Test public void testTryThis1() throws Throwable { ExampleServlet THIS = new ExampleServlet(); try { THIS.tryThis((ServletContext)null); } catch (NullPointerException npe) { // expected return; } fail(); } |
...