Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush-1234 committed Jan 6, 2024
1 parent ca7bb38 commit 9d59db4
Show file tree
Hide file tree
Showing 36 changed files with 807 additions and 781 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
}

/**
* Setter to control whether we should apply the check to public members.
* Setter to control if check should apply to public members.
*
* @param applyTo new value of the property.
*/
Expand All @@ -122,7 +122,7 @@
<span class="fc" id="L122"> }</span>

/**
* Setter to control whether we should apply the check to protected members.
* Setter to control if check should apply to protected members.
*
* @param applyTo new value of the property.
*/
Expand All @@ -131,7 +131,7 @@
<span class="fc" id="L131"> }</span>

/**
* Setter to control whether we should apply the check to package-private members.
* Setter to control if check should apply to package-private members.
*
* @param applyTo new value of the property.
*/
Expand All @@ -140,7 +140,7 @@
<span class="fc" id="L140"> }</span>

/**
* Setter to control whether we should apply the check to private members.
* Setter to control if check should apply to private members.
*
* @param applyTo new value of the property.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@
* &lt;/p&gt;
* &lt;ul&gt;
* &lt;li&gt;
* Property {@code applyToPackage} - Controls whether to apply the check to package-private member.
* Property {@code applyToPackage} - Control if check should apply to package-private members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code applyToPrivate} - Controls whether to apply the check to private member.
* Property {@code applyToPrivate} - Control if check should apply to private members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code applyToProtected} - Controls whether to apply the check to protected member.
* Property {@code applyToProtected} - Control if check should apply to protected members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code applyToPublic} - Controls whether to apply the check to public member.
* Property {@code applyToPublic} - Control if check should apply to public members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code format} - Specifies valid identifiers.
* Property {@code format} - Sets the pattern to match valid identifiers.
* Type is {@code java.util.regex.Pattern}.
* Default value is {@code &quot;^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$&quot;}.
* &lt;/li&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* &lt;/p&gt;
* &lt;ul&gt;
* &lt;li&gt;
* Property {@code format} - Specifies valid identifiers.
* Property {@code format} - Sets the pattern to match valid identifiers.
* Type is {@code java.util.regex.Pattern}.
* Default value is {@code &quot;(?i)^(?!(record|yield|var|permits|sealed|_)$).+$&quot;}.
* &lt;/li&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* &lt;/p&gt;
* &lt;ul&gt;
* &lt;li&gt;
* Property {@code format} - Specifies valid identifiers.
* Property {@code format} - Sets the pattern to match valid identifiers.
* Type is {@code java.util.regex.Pattern}.
* Default value is {@code &quot;^[A-Z]$&quot;}.
* &lt;/li&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* &lt;/p&gt;
* &lt;ul&gt;
* &lt;li&gt;
* Property {@code format} - Specifies valid identifiers.
* Property {@code format} - Sets the pattern to match valid identifiers.
* Type is {@code java.util.regex.Pattern}.
* Default value is {@code &quot;^[a-z][a-zA-Z0-9]*$&quot;}.
* &lt;/li&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* &lt;/p&gt;
* &lt;ul&gt;
* &lt;li&gt;
* Property {@code format} - Specifies valid identifiers.
* Property {@code format} - Sets the pattern to match valid identifiers.
* Type is {@code java.util.regex.Pattern}.
* Default value is {@code &quot;^[a-z][a-zA-Z0-9]*$&quot;}.
* &lt;/li&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* Default value is {@code false}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code format} - Specifies valid identifiers.
* Property {@code format} - Sets the pattern to match valid identifiers.
* Type is {@code java.util.regex.Pattern}.
* Default value is {@code &quot;^[a-z][a-zA-Z0-9]*$&quot;}.
* &lt;/li&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@
* &lt;/p&gt;
* &lt;ul&gt;
* &lt;li&gt;
* Property {@code applyToPackage} - Controls whether to apply the check to package-private member.
* Property {@code applyToPackage} - Control if check should apply to package-private members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code applyToPrivate} - Controls whether to apply the check to private member.
* Property {@code applyToPrivate} - Control if check should apply to private members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code applyToProtected} - Controls whether to apply the check to protected member.
* Property {@code applyToProtected} - Control if check should apply to protected members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code applyToPublic} - Controls whether to apply the check to public member.
* Property {@code applyToPublic} - Control if check should apply to public members.
* Type is {@code boolean}.
* Default value is {@code true}.
* &lt;/li&gt;
* &lt;li&gt;
* Property {@code format} - Specifies valid identifiers.
* Property {@code format} - Sets the pattern to match valid identifiers.
* Type is {@code java.util.regex.Pattern}.
* Default value is {@code &quot;^[a-z][a-zA-Z0-9]*$&quot;}.
* &lt;/li&gt;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>MethodNameCheck</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">checkstyle</a> &gt; <a href="index.html" class="el_package">com.puppycrawl.tools.checkstyle.checks.naming</a> &gt; <span class="el_class">MethodNameCheck</span></div><h1>MethodNameCheck</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 62</td><td class="ctr2">100%</td><td class="bar">0 of 8</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">10</td><td class="ctr1">0</td><td class="ctr2">19</td><td class="ctr1">0</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a5"><a href="MethodNameCheck.java.html#L140" class="el_method">visitToken(DetailAST)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="41" alt="41"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="8" alt="8"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">5</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">12</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="MethodNameCheck.java.html#L135" class="el_method">getRequiredTokens()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="20" height="10" title="7" alt="7"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a href="MethodNameCheck.java.html#L120" class="el_method">MethodNameCheck()</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="4" alt="4"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">2</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a4"><a href="MethodNameCheck.java.html#L181" class="el_method">setAllowClassName(boolean)</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="4" alt="4"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="MethodNameCheck.java.html#L125" class="el_method">getDefaultTokens()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="8" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a0"><a href="MethodNameCheck.java.html#L130" class="el_method">getAcceptableTokens()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="8" height="10" title="3" alt="3"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.11.202310140853</span></div></body></html>
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>MethodNameCheck</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">checkstyle</a> &gt; <a href="index.html" class="el_package">com.puppycrawl.tools.checkstyle.checks.naming</a> &gt; <span class="el_class">MethodNameCheck</span></div><h1>MethodNameCheck</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 62</td><td class="ctr2">100%</td><td class="bar">0 of 8</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">10</td><td class="ctr1">0</td><td class="ctr2">19</td><td class="ctr1">0</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a5"><a href="MethodNameCheck.java.html#L128" class="el_method">visitToken(DetailAST)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="41" alt="41"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="8" alt="8"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">5</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">12</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="MethodNameCheck.java.html#L123" class="el_method">getRequiredTokens()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="20" height="10" title="7" alt="7"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a href="MethodNameCheck.java.html#L108" class="el_method">MethodNameCheck()</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="4" alt="4"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">2</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a4"><a href="MethodNameCheck.java.html#L163" class="el_method">setAllowClassName(boolean)</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="4" alt="4"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="MethodNameCheck.java.html#L113" class="el_method">getDefaultTokens()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="8" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a0"><a href="MethodNameCheck.java.html#L118" class="el_method">getAcceptableTokens()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="8" height="10" title="3" alt="3"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.11.202310140853</span></div></body></html>
Loading

0 comments on commit 9d59db4

Please sign in to comment.