Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
resources/inspectionDescriptions/JmhBenchMethodInvalidSignature.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<html> | ||
<body> | ||
<p>Check that JMH benchmark has a proper structure.</p> | ||
<!-- tooltip end --> | ||
<p> | ||
<ul> | ||
<li><code>@Benchmark</code>, <code>@Setup</code>, <code>@TearDown</code> methods should be public</li> | ||
<li><code>@Setup</code>, <code>@TearDown</code> should be void and not return anything</li> | ||
<li>Benchmark class should have package other than default</li> | ||
<li>Benchmark class should not be final</li> | ||
<li>@State annotation is missing</li> | ||
</ul> | ||
</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters