Deploying to gh-pages from @ cd18c6a000 🚀

This commit is contained in:
veelenga 2021-04-18 06:42:29 +00:00
parent 8b14685ad7
commit b143fb0a6d
104 changed files with 2691 additions and 622 deletions

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -683,63 +688,63 @@ config.files <span class="o">=</span> file_paths
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba.cr#L23" target="_blank">
ameba.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/glob_utils.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/glob_utils.cr#L1" target="_blank">
ameba/glob_utils.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L1" target="_blank">
ameba/inline_comments.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L1" target="_blank">
ameba/issue.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L1" target="_blank">
ameba/reportable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/runner.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/runner.cr#L1" target="_blank">
ameba/runner.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L1" target="_blank">
ameba/severity.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L1" target="_blank">
ameba/source.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/tokenizer.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/tokenizer.cr#L3" target="_blank">
ameba/tokenizer.cr
</a>
@ -836,7 +841,7 @@ Can be configured via <code>config</code> parameter.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba.cr#L37" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -657,112 +662,112 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L1" target="_blank">
ameba/ast/branch.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L3" target="_blank">
ameba/ast/branchable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L3" target="_blank">
ameba/ast/flow_expression.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L3" target="_blank">
ameba/ast/scope.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L1" target="_blank">
ameba/ast/variabling/argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L4" target="_blank">
ameba/ast/variabling/assignment.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L1" target="_blank">
ameba/ast/variabling/ivariable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/reference.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/reference.cr#L3" target="_blank">
ameba/ast/variabling/reference.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L1" target="_blank">
ameba/ast/variabling/variable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/base_visitor.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/base_visitor.cr#L4" target="_blank">
ameba/ast/visitors/base_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/counting_visitor.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/counting_visitor.cr#L1" target="_blank">
ameba/ast/visitors/counting_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/flow_expression_visitor.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/flow_expression_visitor.cr#L4" target="_blank">
ameba/ast/visitors/flow_expression_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L3" target="_blank">
ameba/ast/visitors/node_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L1" target="_blank">
ameba/ast/visitors/redundant_control_expression_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/scope_visitor.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/scope_visitor.cr#L3" target="_blank">
ameba/ast/visitors/scope_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L1" target="_blank">
ameba/ast/visitors/top_level_nodes_visitor.cr
</a>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -669,7 +674,7 @@ Holds the reference to the variable, thus to scope.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L15" target="_blank">
ameba/ast/variabling/argument.cr
</a>
@ -829,7 +834,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L31" target="_blank">View source</a>]
</div>
</div>
@ -859,7 +864,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -875,7 +880,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -896,7 +901,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -912,7 +917,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -928,7 +933,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -949,7 +954,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -970,7 +975,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -986,7 +991,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1002,7 +1007,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1023,7 +1028,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/argument.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/argument.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -660,7 +665,7 @@ Holds the assign node and the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L7" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L7" target="_blank">
ameba/ast/variabling/assignment.cr
</a>
@ -863,7 +868,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L31" target="_blank">View source</a>]
</div>
</div>
@ -898,7 +903,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -914,7 +919,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -930,7 +935,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -954,7 +959,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -970,7 +975,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -986,7 +991,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1007,7 +1012,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1031,7 +1036,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L50" target="_blank">View source</a>]
</div>
</div>
@ -1047,7 +1052,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1063,7 +1068,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1079,7 +1084,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1100,7 +1105,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1121,7 +1126,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L65" target="_blank">View source</a>]
</div>
</div>
@ -1137,7 +1142,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1153,7 +1158,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1187,7 +1192,7 @@ i.e.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L97" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L97" target="_blank">View source</a>]
</div>
</div>
@ -1208,7 +1213,7 @@ i.e.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/assignment.cr#L14" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/assignment.cr#L14" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -677,7 +682,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/base_visitor.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/base_visitor.cr#L6" target="_blank">
ameba/ast/visitors/base_visitor.cr
</a>
@ -796,7 +801,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/base_visitor.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/base_visitor.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -832,7 +837,7 @@ Returns true meaning all child nodes will be traversed.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/base_visitor.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/base_visitor.cr#L24" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -668,7 +673,7 @@ For example, the branchable if statement contains 3 branches:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L15" target="_blank">
ameba/ast/branch.cr
</a>
@ -861,7 +866,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -896,7 +901,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L65" target="_blank">View source</a>]
</div>
</div>
@ -919,7 +924,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L56" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L56" target="_blank">View source</a>]
</div>
</div>
@ -970,7 +975,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -986,7 +991,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1038,7 +1043,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1054,7 +1059,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1070,7 +1075,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1091,7 +1096,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -1112,7 +1117,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1128,7 +1133,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1144,7 +1149,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -681,7 +686,7 @@ are branchables.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L15" target="_blank">
ameba/ast/branchable.cr
</a>
@ -893,7 +898,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -923,7 +928,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -939,7 +944,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -955,7 +960,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -971,7 +976,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -987,7 +992,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1008,7 +1013,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1029,7 +1034,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1050,7 +1055,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1066,7 +1071,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1082,7 +1087,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -659,7 +664,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/counting_visitor.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/counting_visitor.cr#L3" target="_blank">
ameba/ast/visitors/counting_visitor.cr
</a>
@ -805,7 +810,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/counting_visitor.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/counting_visitor.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -840,7 +845,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/counting_visitor.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/counting_visitor.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -856,7 +861,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/counting_visitor.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/counting_visitor.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -872,7 +877,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/counting_visitor.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/counting_visitor.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -684,7 +689,7 @@ a parent node, which allows easily search through the related statement
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L18" target="_blank">
ameba/ast/flow_expression.cr
</a>
@ -891,7 +896,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -921,7 +926,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -937,7 +942,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -958,7 +963,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -974,7 +979,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -990,7 +995,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1011,7 +1016,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1027,7 +1032,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1043,7 +1048,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1072,7 +1077,7 @@ For example:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/flow_expression.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/flow_expression.cr#L50" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -673,7 +678,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/flow_expression_visitor.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/flow_expression_visitor.cr#L6" target="_blank">
ameba/ast/visitors/flow_expression_visitor.cr
</a>
@ -853,7 +858,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/flow_expression_visitor.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/flow_expression_visitor.cr#L12" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -648,7 +653,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L2" target="_blank">
ameba/ast/variabling/ivariable.cr
</a>
@ -786,7 +791,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -816,7 +821,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -832,7 +837,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -848,7 +853,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -864,7 +869,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -880,7 +885,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
</div>
</div>
@ -896,7 +901,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
</div>
</div>
@ -912,7 +917,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L3" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L3" target="_blank">View source</a>]
</div>
</div>
@ -928,7 +933,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -944,7 +949,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -662,7 +667,7 @@ to be inspected by rules.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L39" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L39" target="_blank">
ameba/ast/visitors/node_visitor.cr
</a>
@ -966,7 +971,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1002,7 +1007,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1024,7 +1029,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1046,7 +1051,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1068,7 +1073,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1090,7 +1095,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1112,7 +1117,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1134,7 +1139,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1156,7 +1161,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1178,7 +1183,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1200,7 +1205,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1222,7 +1227,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1244,7 +1249,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1266,7 +1271,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1288,7 +1293,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1310,7 +1315,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1332,7 +1337,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1354,7 +1359,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1376,7 +1381,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1398,7 +1403,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1420,7 +1425,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1442,7 +1447,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1464,7 +1469,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1486,7 +1491,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1508,7 +1513,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1524,7 +1529,7 @@ Returns true meaning that child nodes will be traversed as well.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/node_visitor.cr#L56" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/node_visitor.cr#L56" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -661,7 +666,7 @@ is reached.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L5" target="_blank">
ameba/ast/visitors/redundant_control_expression_visitor.cr
</a>
@ -775,7 +780,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L15" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L15" target="_blank">View source</a>]
</div>
</div>
@ -810,7 +815,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -831,7 +836,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L7" target="_blank">View source</a>]
</div>
</div>
@ -852,7 +857,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L10" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -661,7 +666,7 @@ the variable from its reference.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/reference.cr#L7" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/reference.cr#L7" target="_blank">
ameba/ast/variabling/reference.cr
</a>
@ -874,7 +879,7 @@ the variable from its reference.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -890,7 +895,7 @@ the variable from its reference.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -660,7 +665,7 @@ This is where the local variables belong to.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L6" target="_blank">
ameba/ast/scope.cr
</a>
@ -960,7 +965,7 @@ This is where the local variables belong to.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1021,7 +1026,7 @@ scope.add_argument(arg_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L59" target="_blank">View source</a>]
</div>
</div>
@ -1045,7 +1050,7 @@ scope.add_ivariable(ivar_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1069,7 +1074,7 @@ scope.add_variable(var_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1090,7 +1095,7 @@ scope.add_variable(var_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L155" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L155" target="_blank">View source</a>]
</div>
</div>
@ -1111,7 +1116,7 @@ scope.add_variable(var_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L14" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L14" target="_blank">View source</a>]
</div>
</div>
@ -1135,7 +1140,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L90" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L90" target="_blank">View source</a>]
</div>
</div>
@ -1156,7 +1161,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L119" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L119" target="_blank">View source</a>]
</div>
</div>
@ -1178,7 +1183,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L96" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L96" target="_blank">View source</a>]
</div>
</div>
@ -1199,7 +1204,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L145" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L145" target="_blank">View source</a>]
</div>
</div>
@ -1215,7 +1220,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1231,7 +1236,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1253,7 +1258,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L174" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L174" target="_blank">View source</a>]
</div>
</div>
@ -1277,7 +1282,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L80" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L80" target="_blank">View source</a>]
</div>
</div>
@ -1321,7 +1326,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L114" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L114" target="_blank">View source</a>]
</div>
</div>
@ -1342,7 +1347,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1363,7 +1368,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -1379,7 +1384,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1395,7 +1400,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1416,7 +1421,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1437,7 +1442,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1458,7 +1463,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1480,7 +1485,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L137" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L137" target="_blank">View source</a>]
</div>
</div>
@ -1505,7 +1510,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L107" target="_blank">View source</a>]
</div>
</div>
@ -1521,7 +1526,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1537,7 +1542,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1558,7 +1563,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L150" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L150" target="_blank">View source</a>]
</div>
</div>
@ -1580,7 +1585,7 @@ type definition, for example a class.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L126" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L126" target="_blank">View source</a>]
</div>
</div>
@ -1601,7 +1606,7 @@ type definition, for example a class.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/scope.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/scope.cr#L8" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -659,7 +664,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/scope_visitor.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/scope_visitor.cr#L5" target="_blank">
ameba/ast/visitors/scope_visitor.cr
</a>
@ -802,7 +807,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/scope_visitor.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/scope_visitor.cr#L12" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -660,7 +665,7 @@ can characterize the source (i.e. require statements, modules etc.)</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L4" target="_blank">
ameba/ast/visitors/top_level_nodes_visitor.cr
</a>
@ -789,7 +794,7 @@ can characterize the source (i.e. require statements, modules etc.)</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -819,7 +824,7 @@ can characterize the source (i.e. require statements, modules etc.)</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -840,7 +845,7 @@ can characterize the source (i.e. require statements, modules etc.)</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -862,7 +867,7 @@ Returns false meaning all child nodes will not be traversed.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L24" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -689,7 +694,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L2" target="_blank">
ameba/ast/util.cr
</a>
@ -810,7 +815,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L140" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L140" target="_blank">View source</a>]
</div>
</div>
@ -831,7 +836,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L134" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L134" target="_blank">View source</a>]
</div>
</div>
@ -854,7 +859,7 @@ or special call node that interrupts execution (i.e. raise, exit, abort).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L62" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L62" target="_blank">View source</a>]
</div>
</div>
@ -895,7 +900,7 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L100" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L100" target="_blank">View source</a>]
</div>
</div>
@ -916,7 +921,7 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L4" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L4" target="_blank">View source</a>]
</div>
</div>
@ -937,7 +942,7 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L146" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L146" target="_blank">View source</a>]
</div>
</div>
@ -960,7 +965,7 @@ to determine and cut a piece of source of the node.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -981,7 +986,7 @@ to determine and cut a piece of source of the node.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/util.cr#L128" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/util.cr#L128" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -674,7 +679,7 @@ Holds the var node and variable assigments.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L4" target="_blank">
ameba/ast/variabling/variable.cr
</a>
@ -928,7 +933,7 @@ Holds the var node and variable assigments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -969,7 +974,7 @@ variable.assignment.size <span class="c"># =&gt; 2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -990,7 +995,7 @@ variable.assignment.size <span class="c"># =&gt; 2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1011,7 +1016,7 @@ variable.assignment.size <span class="c"># =&gt; 2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -1042,7 +1047,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L111" target="_blank">View source</a>]
</div>
</div>
@ -1063,7 +1068,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L158" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L158" target="_blank">View source</a>]
</div>
</div>
@ -1079,7 +1084,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1095,7 +1100,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1117,7 +1122,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L151" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L151" target="_blank">View source</a>]
</div>
</div>
@ -1138,7 +1143,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L145" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L145" target="_blank">View source</a>]
</div>
</div>
@ -1154,7 +1159,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1170,7 +1175,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1186,7 +1191,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1202,7 +1207,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1223,7 +1228,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L12" target="_blank">View source</a>]
</div>
</div>
@ -1247,7 +1252,7 @@ variable.reference(var_node, some_scope)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1272,7 +1277,7 @@ variable.reference_assignments!</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L84" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L84" target="_blank">View source</a>]
</div>
</div>
@ -1297,7 +1302,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -1318,7 +1323,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L9" target="_blank">View source</a>]
</div>
</div>
@ -1339,7 +1344,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L15" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L15" target="_blank">View source</a>]
</div>
</div>
@ -1360,7 +1365,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L34" target="_blank">View source</a>]
</div>
</div>
@ -1382,7 +1387,7 @@ false otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L133" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L133" target="_blank">View source</a>]
</div>
</div>
@ -1398,7 +1403,7 @@ false otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1414,7 +1419,7 @@ false otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1436,7 +1441,7 @@ false if not.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/ast/variabling/variable.cr#L122" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/ast/variabling/variable.cr#L122" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -680,7 +685,7 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L15" target="_blank">
ameba/config.cr
</a>
@ -920,7 +925,7 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L86" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L86" target="_blank">View source</a>]
</div>
</div>
@ -943,7 +948,7 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L78" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L78" target="_blank">View source</a>]
</div>
</div>
@ -980,7 +985,7 @@ config.excluded <span class="o">=</span> [<span class="s">&quot;spec&quot;</span
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1005,7 +1010,7 @@ config.excluded <span class="o">=</span> [<span class="s">&quot;spec&quot;</span
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1031,7 +1036,7 @@ config.formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L113" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L113" target="_blank">View source</a>]
</div>
</div>
@ -1055,7 +1060,7 @@ config.formatter <span class="o">=</span> <span class="n">:progress</span></code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L123" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L123" target="_blank">View source</a>]
</div>
</div>
@ -1081,7 +1086,7 @@ config.formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L113" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L113" target="_blank">View source</a>]
</div>
</div>
@ -1108,7 +1113,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1135,7 +1140,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1151,7 +1156,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L34" target="_blank">View source</a>]
</div>
</div>
@ -1167,7 +1172,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1183,7 +1188,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1210,7 +1215,7 @@ config.sources <span class="c"># =&gt; list of sources pointing to files found b
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L99" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L99" target="_blank">View source</a>]
</div>
</div>
@ -1234,7 +1239,7 @@ config.update_rule <span class="s">&quot;MyRuleName&quot;</span>, enabled: <span
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L137" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L137" target="_blank">View source</a>]
</div>
</div>
@ -1262,7 +1267,7 @@ config.update_rules <span class="s">%w(Rule1 Rule2)</span>, enabled: <span class
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/config.cr#L158" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/config.cr#L158" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -657,56 +662,56 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L4" target="_blank">
ameba/formatter/base_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/disabled_formatter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/disabled_formatter.cr#L1" target="_blank">
ameba/formatter/disabled_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/dot_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/dot_formatter.cr#L3" target="_blank">
ameba/formatter/dot_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/explain_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/explain_formatter.cr#L3" target="_blank">
ameba/formatter/explain_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/flycheck_formatter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/flycheck_formatter.cr#L1" target="_blank">
ameba/formatter/flycheck_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/json_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/json_formatter.cr#L3" target="_blank">
ameba/formatter/json_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/todo_formatter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/todo_formatter.cr#L1" target="_blank">
ameba/formatter/todo_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/util.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/util.cr#L1" target="_blank">
ameba/formatter/util.cr
</a>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -681,7 +686,7 @@ callbacks in <code><a href="../../Ameba/Runner.html#run-instance-method">Ameba::
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L8" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L8" target="_blank">
ameba/formatter/base_formatter.cr
</a>
@ -814,7 +819,7 @@ callbacks in <code><a href="../../Ameba/Runner.html#run-instance-method">Ameba::
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -844,7 +849,7 @@ callbacks in <code><a href="../../Ameba/Runner.html#run-instance-method">Ameba::
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -866,7 +871,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -887,7 +892,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -909,7 +914,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -931,7 +936,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -953,7 +958,7 @@ A list of sources to inspect is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/base_formatter.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/base_formatter.cr#L18" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -659,7 +664,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/disabled_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/disabled_formatter.cr#L3" target="_blank">
ameba/formatter/disabled_formatter.cr
</a>
@ -809,7 +814,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/disabled_formatter.cr#L4" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/disabled_formatter.cr#L4" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -688,7 +693,7 @@ It is similar to Crystal's dot formatter for specs.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/dot_formatter.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/dot_formatter.cr#L6" target="_blank">
ameba/formatter/dot_formatter.cr
</a>
@ -881,7 +886,7 @@ It is similar to Crystal's dot formatter for specs.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/dot_formatter.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/dot_formatter.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -902,7 +907,7 @@ It is similar to Crystal's dot formatter for specs.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/dot_formatter.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/dot_formatter.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -923,7 +928,7 @@ It is similar to Crystal's dot formatter for specs.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/dot_formatter.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/dot_formatter.cr#L13" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -674,7 +679,7 @@ a specific location.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/explain_formatter.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/explain_formatter.cr#L6" target="_blank">
ameba/formatter/explain_formatter.cr
</a>
@ -854,7 +859,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/explain_formatter.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/explain_formatter.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -889,7 +894,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/explain_formatter.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/explain_formatter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -905,7 +910,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/explain_formatter.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/explain_formatter.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -921,7 +926,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/explain_formatter.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/explain_formatter.cr#L12" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -648,7 +653,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/flycheck_formatter.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/flycheck_formatter.cr#L2" target="_blank">
ameba/formatter/flycheck_formatter.cr
</a>
@ -798,7 +803,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/flycheck_formatter.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/flycheck_formatter.cr#L5" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -717,7 +722,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/json_formatter.cr#L66" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/json_formatter.cr#L66" target="_blank">
ameba/formatter/json_formatter.cr
</a>
@ -884,7 +889,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/json_formatter.cr#L67" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/json_formatter.cr#L67" target="_blank">View source</a>]
</div>
</div>
@ -924,7 +929,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/json_formatter.cr#L87" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/json_formatter.cr#L87" target="_blank">View source</a>]
</div>
</div>
@ -950,7 +955,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/json_formatter.cr#L75" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/json_formatter.cr#L75" target="_blank">View source</a>]
</div>
</div>
@ -976,7 +981,7 @@ A list of sources to inspect is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/json_formatter.cr#L71" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/json_formatter.cr#L71" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -661,7 +666,7 @@ or excludes failed sources from these rules.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/todo_formatter.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/todo_formatter.cr#L5" target="_blank">
ameba/formatter/todo_formatter.cr
</a>
@ -877,7 +882,7 @@ or excludes failed sources from these rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/todo_formatter.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/todo_formatter.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -916,7 +921,7 @@ or excludes failed sources from these rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/todo_formatter.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/todo_formatter.cr#L9" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -662,7 +667,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/util.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/util.cr#L2" target="_blank">
ameba/formatter/util.cr
</a>
@ -742,7 +747,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/util.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/util.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -758,7 +763,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/util.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/util.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -774,7 +779,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/util.cr#L3" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/util.cr#L3" target="_blank">View source</a>]
</div>
</div>
@ -790,7 +795,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/formatter/util.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/formatter/util.cr#L7" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -671,7 +676,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/glob_utils.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/glob_utils.cr#L3" target="_blank">
ameba/glob_utils.cr
</a>
@ -752,7 +757,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/glob_utils.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/glob_utils.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -776,7 +781,7 @@ Globs can have wildcards or be rejected:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/glob_utils.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/glob_utils.cr#L10" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -671,7 +676,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L3" target="_blank">
ameba/inline_comments.cr
</a>
@ -776,7 +781,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L78" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L78" target="_blank">View source</a>]
</div>
</div>
@ -819,7 +824,7 @@ false otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -851,7 +856,7 @@ parse_inline_directive(line) <span class="c"># =&gt; nil</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L67" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L67" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -657,7 +662,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L7" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L7" target="_blank">
ameba/inline_comments.cr
</a>
@ -791,7 +796,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -807,7 +812,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/inline_comments.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/inline_comments.cr#L9" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -659,7 +664,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L3" target="_blank">
ameba/issue.cr
</a>
@ -822,7 +827,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -852,7 +857,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -868,7 +873,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -884,7 +889,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -900,7 +905,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -921,7 +926,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -942,7 +947,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -963,7 +968,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L19" target="_blank">View source</a>]
</div>
</div>
@ -984,7 +989,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1005,7 +1010,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1021,7 +1026,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,7 +651,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L4" target="_blank">
ameba/issue.cr
</a>
@ -780,7 +785,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -796,7 +801,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/issue.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/issue.cr#L5" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -671,7 +676,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L3" target="_blank">
ameba/reportable.cr
</a>
@ -785,7 +790,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -806,7 +811,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -827,7 +832,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -848,7 +853,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -869,7 +874,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -890,7 +895,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -911,7 +916,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/reportable.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/reportable.cr#L46" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,7 +651,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L1" target="_blank">
ameba/rule/base.cr
</a>
@ -742,7 +747,7 @@ behave differently than usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L190" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L200" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -745,21 +750,7 @@ that are tested by this rule, it should add an issue.</p>
<li class="other-type"><a href="../../Ameba/Rule/Metrics/CyclomaticComplexity.html">Ameba::Rule::Metrics::CyclomaticComplexity</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/AnyAfterFilter.html">Ameba::Rule::Performance::AnyAfterFilter</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/AnyInsteadOfEmpty.html">Ameba::Rule::Performance::AnyInsteadOfEmpty</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">Ameba::Rule::Performance::ChainedCallWithNoBang</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/CompactAfterMap.html">Ameba::Rule::Performance::CompactAfterMap</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/FirstLastAfterFilter.html">Ameba::Rule::Performance::FirstLastAfterFilter</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/FlattenAfterMap.html">Ameba::Rule::Performance::FlattenAfterMap</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/MapInsteadOfBlock.html">Ameba::Rule::Performance::MapInsteadOfBlock</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/SizeAfterFilter.html">Ameba::Rule::Performance::SizeAfterFilter</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li>
<li class="other-type"><a href="../../Ameba/Rule/Style/ConstantNames.html">Ameba::Rule::Style::ConstantNames</a></li>
@ -808,7 +799,7 @@ that are tested by this rule, it should add an issue.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L29" target="_blank">
ameba/rule/base.cr
</a>
@ -1009,7 +1000,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L151" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L161" target="_blank">View source</a>]
</div>
</div>
@ -1046,7 +1037,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
</div>
</div>
@ -1071,7 +1062,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1096,7 +1087,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
</div>
</div>
@ -1123,7 +1114,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
</div>
</div>
@ -1156,7 +1147,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
</div>
</div>
@ -1184,7 +1175,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
</div>
</div>
@ -1208,7 +1199,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
</div>
</div>
@ -1224,7 +1215,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1249,7 +1240,7 @@ Must be overriten for other type of rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1277,7 +1268,7 @@ Must be overriten for other type of rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,21 +651,21 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
ameba/rule/layout/line_length.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -681,7 +686,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
ameba/rule/layout/line_length.cr
</a>
@ -973,7 +978,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1143,7 +1148,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -680,7 +685,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
@ -966,7 +971,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1108,7 +1113,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -680,7 +685,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>
@ -961,7 +966,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1103,7 +1108,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,182 +651,182 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowing_local_outer_var.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowing_local_outer_var.cr#L1" target="_blank">
ameba/rule/lint/shadowing_local_outer_var.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
ameba/rule/lint/syntax.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -688,7 +693,7 @@ to disable a rule that even doesn't exist:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
@ -987,7 +992,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1129,7 +1134,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -690,7 +695,7 @@ or negating the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
@ -986,7 +991,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1128,7 +1133,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/comparison_to_boolean.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/comparison_to_boolean.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -683,7 +688,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
@ -967,7 +972,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -1109,7 +1114,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -684,7 +689,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
@ -969,7 +974,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -1111,7 +1116,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -706,7 +711,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
@ -1013,7 +1018,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1155,7 +1160,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -698,7 +703,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
@ -1059,7 +1064,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1201,7 +1206,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_expression.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_expression.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1217,7 +1222,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_expression.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_expression.cr#L48" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -708,7 +713,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
@ -1079,7 +1084,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1221,7 +1226,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1237,7 +1242,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1253,7 +1258,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/empty_loop.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/empty_loop.cr#L59" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -688,7 +693,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
@ -977,7 +982,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1119,7 +1124,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -693,7 +698,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
@ -1054,7 +1059,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1084,7 +1089,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
</div>
</div>
@ -1212,7 +1217,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1228,7 +1233,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_condition.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_condition.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1244,7 +1249,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_condition.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_condition.cr#L44" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -688,7 +693,7 @@ that contain a literal value instead of a variable or function.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
@ -1029,7 +1034,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1171,7 +1176,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -692,7 +697,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
@ -1005,7 +1010,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1203,7 +1208,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -691,7 +696,7 @@ rand(<span class="n">2</span>)</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
@ -983,7 +988,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1125,7 +1130,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -691,7 +696,7 @@ which is redundant.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
@ -1035,7 +1040,7 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1177,7 +1182,7 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -696,7 +701,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
@ -974,7 +979,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_index.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1116,7 +1121,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_index.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_index.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -696,7 +701,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
@ -993,7 +998,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1135,7 +1140,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -704,7 +709,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
@ -1014,7 +1019,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1156,7 +1161,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1172,7 +1177,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -702,7 +707,7 @@ exception is rescued.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
@ -1005,7 +1010,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1147,7 +1152,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -699,7 +704,7 @@ for block or proc arguments.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowing_local_outer_var.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowing_local_outer_var.cr#L33" target="_blank">
ameba/rule/lint/shadowing_local_outer_var.cr
</a>
@ -1009,7 +1014,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowing_local_outer_var.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowing_local_outer_var.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1151,7 +1156,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowing_local_outer_var.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowing_local_outer_var.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1167,7 +1172,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowing_local_outer_var.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowing_local_outer_var.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1183,7 +1188,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shadowing_local_outer_var.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shadowing_local_outer_var.cr#L41" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -718,7 +723,7 @@ the second one.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
@ -1042,7 +1047,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1184,7 +1189,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
</div>
</div>
@ -1200,7 +1205,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -713,7 +718,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
@ -1037,7 +1042,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1179,7 +1184,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
</div>
</div>
@ -1195,7 +1200,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -689,7 +694,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
ameba/rule/lint/syntax.cr
</a>
@ -960,7 +965,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1102,7 +1107,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -693,7 +698,7 @@ have any effect, the snippet should be written as the following:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
@ -987,7 +992,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1129,7 +1134,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -708,7 +713,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
@ -1074,7 +1079,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1216,7 +1221,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
</div>
</div>
@ -1232,7 +1237,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -694,7 +699,7 @@ For example, this is considered invalid:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
@ -1034,7 +1039,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1260,7 +1265,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1276,7 +1281,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1292,7 +1297,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
</div>
</div>
@ -1308,7 +1313,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -694,7 +699,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
@ -994,7 +999,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1136,7 +1141,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1152,7 +1157,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -699,7 +704,7 @@ where it is guaranteed to always return the same result.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>
@ -999,7 +1004,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1141,7 +1146,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,7 +651,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -681,7 +686,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>
@ -973,7 +978,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1143,7 +1148,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/metrics/cyclomatic_complexity.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/metrics/cyclomatic_complexity.cr#L19" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,56 +651,63 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_after_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_instead_of_empty.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/chained_call_with_no_bang.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/base.cr#L3" target="_blank">
ameba/rule/performance/base.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/compact_after_map.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/first_last_after_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/flatten_after_map.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/map_instead_of_block.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/size_after_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/AnyAfterFilter.html">Ameba::Rule::Performance::AnyAfterFilter</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/AnyAfterFilter.html">Ameba::Rule::Performance::AnyAfterFilter</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -693,7 +698,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_after_filter.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
@ -741,6 +746,8 @@
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of <code>any?</code> calls that follow filters.</p></div>
</li>
<li class="entry-summary">
@ -841,6 +848,54 @@
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -962,6 +1017,29 @@
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of <code>any?</code> calls that follow filters.</p>
<p>For example, this is considered invalid:</p>
<pre><code class="language-crystal">[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].<span class="k">select</span> { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">2</span> }.any?
[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].reject { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;=</span> <span class="n">2</span> }.any?</code></pre>
<p>And it should be written as this:</p>
<pre><code class="language-crystal">[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].any? { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">2</span> }
[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].any? { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&lt;</span> <span class="n">2</span> }</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/AnyAfterFilter:
Enabled: true
FilterNames:
- select
- reject</code></pre>
</div>
<br/>
<div>
@ -1002,7 +1080,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_after_filter.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1172,7 +1250,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_after_filter.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/AnyInsteadOfEmpty.html">Ameba::Rule::Performance::AnyInsteadOfEmpty</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/AnyInsteadOfEmpty.html">Ameba::Rule::Performance::AnyInsteadOfEmpty</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -694,7 +699,7 @@ one value present.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_instead_of_empty.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
@ -742,6 +747,8 @@ one value present.</p>
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of arg-less <code>Enumerable#any?</code> calls.</p></div>
</li>
<li class="entry-summary">
@ -832,6 +839,54 @@ one value present.</p>
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -953,6 +1008,30 @@ one value present.</p>
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of arg-less <code>Enumerable#any?</code> calls.</p>
<p>Using <code>Enumerable#any?</code> instead of <code>Enumerable#empty?</code> might lead to an
unexpected results (like <code>[nil, false].any? # => false</code>). In some cases
it also might be less efficient, since it iterates until the block will
return a <em>truthy</em> value, instead of just checking if there's at least
one value present.</p>
<p>For example, this is considered invalid:</p>
<pre><code class="language-crystal">[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].any?</code></pre>
<p>And it should be written as this:</p>
<pre><code class="language-crystal"><span class="o">!</span>[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].empty?</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/AnyInsteadOfEmpty:
Enabled: true</code></pre>
</div>
<br/>
<div>
@ -994,7 +1073,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_instead_of_empty.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1136,7 +1215,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/any_instead_of_empty.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/any_instead_of_empty.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -0,0 +1,985 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.36.1">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
<link href="../../../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../../js/doc.js"></script>
<meta name="repository-name" content="ameba">
<title>Ameba::Rule::Performance::Base - ameba master</title>
<script type="text/javascript">
CrystalDocs.base_path = "../../../";
</script>
</head>
<body>
<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="project-summary">
<h1 class="project-name">
<a href="../../../index.html">
ameba
</a>
</h1>
<span class="project-version">
master
</span>
</div>
</div>
<div class="search-results hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="ameba/Ameba" data-name="ameba">
<a href="../../../Ameba.html">Ameba</a>
<ul>
<li class="parent " data-id="ameba/Ameba/AST" data-name="ameba::ast">
<a href="../../../Ameba/AST.html">AST</a>
<ul>
<li class=" " data-id="ameba/Ameba/AST/Argument" data-name="ameba::ast::argument">
<a href="../../../Ameba/AST/Argument.html">Argument</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/Assignment" data-name="ameba::ast::assignment">
<a href="../../../Ameba/AST/Assignment.html">Assignment</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/BaseVisitor" data-name="ameba::ast::basevisitor">
<a href="../../../Ameba/AST/BaseVisitor.html">BaseVisitor</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/Branch" data-name="ameba::ast::branch">
<a href="../../../Ameba/AST/Branch.html">Branch</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/Branchable" data-name="ameba::ast::branchable">
<a href="../../../Ameba/AST/Branchable.html">Branchable</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/CountingVisitor" data-name="ameba::ast::countingvisitor">
<a href="../../../Ameba/AST/CountingVisitor.html">CountingVisitor</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/FlowExpression" data-name="ameba::ast::flowexpression">
<a href="../../../Ameba/AST/FlowExpression.html">FlowExpression</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/FlowExpressionVisitor" data-name="ameba::ast::flowexpressionvisitor">
<a href="../../../Ameba/AST/FlowExpressionVisitor.html">FlowExpressionVisitor</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/InstanceVariable" data-name="ameba::ast::instancevariable">
<a href="../../../Ameba/AST/InstanceVariable.html">InstanceVariable</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/NodeVisitor" data-name="ameba::ast::nodevisitor">
<a href="../../../Ameba/AST/NodeVisitor.html">NodeVisitor</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/RedundantControlExpressionVisitor" data-name="ameba::ast::redundantcontrolexpressionvisitor">
<a href="../../../Ameba/AST/RedundantControlExpressionVisitor.html">RedundantControlExpressionVisitor</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/Reference" data-name="ameba::ast::reference">
<a href="../../../Ameba/AST/Reference.html">Reference</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/Scope" data-name="ameba::ast::scope">
<a href="../../../Ameba/AST/Scope.html">Scope</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/ScopeVisitor" data-name="ameba::ast::scopevisitor">
<a href="../../../Ameba/AST/ScopeVisitor.html">ScopeVisitor</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/TopLevelNodesVisitor" data-name="ameba::ast::toplevelnodesvisitor">
<a href="../../../Ameba/AST/TopLevelNodesVisitor.html">TopLevelNodesVisitor</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/Util" data-name="ameba::ast::util">
<a href="../../../Ameba/AST/Util.html">Util</a>
</li>
<li class=" " data-id="ameba/Ameba/AST/Variable" data-name="ameba::ast::variable">
<a href="../../../Ameba/AST/Variable.html">Variable</a>
</li>
</ul>
</li>
<li class=" " data-id="ameba/Ameba/Config" data-name="ameba::config">
<a href="../../../Ameba/Config.html">Config</a>
</li>
<li class="parent " data-id="ameba/Ameba/Formatter" data-name="ameba::formatter">
<a href="../../../Ameba/Formatter.html">Formatter</a>
<ul>
<li class=" " data-id="ameba/Ameba/Formatter/BaseFormatter" data-name="ameba::formatter::baseformatter">
<a href="../../../Ameba/Formatter/BaseFormatter.html">BaseFormatter</a>
</li>
<li class=" " data-id="ameba/Ameba/Formatter/DisabledFormatter" data-name="ameba::formatter::disabledformatter">
<a href="../../../Ameba/Formatter/DisabledFormatter.html">DisabledFormatter</a>
</li>
<li class=" " data-id="ameba/Ameba/Formatter/DotFormatter" data-name="ameba::formatter::dotformatter">
<a href="../../../Ameba/Formatter/DotFormatter.html">DotFormatter</a>
</li>
<li class=" " data-id="ameba/Ameba/Formatter/ExplainFormatter" data-name="ameba::formatter::explainformatter">
<a href="../../../Ameba/Formatter/ExplainFormatter.html">ExplainFormatter</a>
</li>
<li class=" " data-id="ameba/Ameba/Formatter/FlycheckFormatter" data-name="ameba::formatter::flycheckformatter">
<a href="../../../Ameba/Formatter/FlycheckFormatter.html">FlycheckFormatter</a>
</li>
<li class=" " data-id="ameba/Ameba/Formatter/JSONFormatter" data-name="ameba::formatter::jsonformatter">
<a href="../../../Ameba/Formatter/JSONFormatter.html">JSONFormatter</a>
</li>
<li class=" " data-id="ameba/Ameba/Formatter/TODOFormatter" data-name="ameba::formatter::todoformatter">
<a href="../../../Ameba/Formatter/TODOFormatter.html">TODOFormatter</a>
</li>
<li class=" " data-id="ameba/Ameba/Formatter/Util" data-name="ameba::formatter::util">
<a href="../../../Ameba/Formatter/Util.html">Util</a>
</li>
</ul>
</li>
<li class=" " data-id="ameba/Ameba/GlobUtils" data-name="ameba::globutils">
<a href="../../../Ameba/GlobUtils.html">GlobUtils</a>
</li>
<li class="parent " data-id="ameba/Ameba/InlineComments" data-name="ameba::inlinecomments">
<a href="../../../Ameba/InlineComments.html">InlineComments</a>
<ul>
<li class=" " data-id="ameba/Ameba/InlineComments/Action" data-name="ameba::inlinecomments::action">
<a href="../../../Ameba/InlineComments/Action.html">Action</a>
</li>
</ul>
</li>
<li class="parent " data-id="ameba/Ameba/Issue" data-name="ameba::issue">
<a href="../../../Ameba/Issue.html">Issue</a>
<ul>
<li class=" " data-id="ameba/Ameba/Issue/Status" data-name="ameba::issue::status">
<a href="../../../Ameba/Issue/Status.html">Status</a>
</li>
</ul>
</li>
<li class=" " data-id="ameba/Ameba/Reportable" data-name="ameba::reportable">
<a href="../../../Ameba/Reportable.html">Reportable</a>
</li>
<li class="parent open current" data-id="ameba/Ameba/Rule" data-name="ameba::rule">
<a href="../../../Ameba/Rule.html">Rule</a>
<ul>
<li class=" " data-id="ameba/Ameba/Rule/Base" data-name="ameba::rule::base">
<a href="../../../Ameba/Rule/Base.html">Base</a>
</li>
<li class="parent " data-id="ameba/Ameba/Rule/Layout" data-name="ameba::rule::layout">
<a href="../../../Ameba/Rule/Layout.html">Layout</a>
<ul>
<li class=" " data-id="ameba/Ameba/Rule/Layout/LineLength" data-name="ameba::rule::layout::linelength">
<a href="../../../Ameba/Rule/Layout/LineLength.html">LineLength</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Layout/TrailingBlankLines" data-name="ameba::rule::layout::trailingblanklines">
<a href="../../../Ameba/Rule/Layout/TrailingBlankLines.html">TrailingBlankLines</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Layout/TrailingWhitespace" data-name="ameba::rule::layout::trailingwhitespace">
<a href="../../../Ameba/Rule/Layout/TrailingWhitespace.html">TrailingWhitespace</a>
</li>
</ul>
</li>
<li class="parent " data-id="ameba/Ameba/Rule/Lint" data-name="ameba::rule::lint">
<a href="../../../Ameba/Rule/Lint.html">Lint</a>
<ul>
<li class=" " data-id="ameba/Ameba/Rule/Lint/BadDirective" data-name="ameba::rule::lint::baddirective">
<a href="../../../Ameba/Rule/Lint/BadDirective.html">BadDirective</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/ComparisonToBoolean" data-name="ameba::rule::lint::comparisontoboolean">
<a href="../../../Ameba/Rule/Lint/ComparisonToBoolean.html">ComparisonToBoolean</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/DebuggerStatement" data-name="ameba::rule::lint::debuggerstatement">
<a href="../../../Ameba/Rule/Lint/DebuggerStatement.html">DebuggerStatement</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/DuplicatedRequire" data-name="ameba::rule::lint::duplicatedrequire">
<a href="../../../Ameba/Rule/Lint/DuplicatedRequire.html">DuplicatedRequire</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/EmptyEnsure" data-name="ameba::rule::lint::emptyensure">
<a href="../../../Ameba/Rule/Lint/EmptyEnsure.html">EmptyEnsure</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/EmptyExpression" data-name="ameba::rule::lint::emptyexpression">
<a href="../../../Ameba/Rule/Lint/EmptyExpression.html">EmptyExpression</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/EmptyLoop" data-name="ameba::rule::lint::emptyloop">
<a href="../../../Ameba/Rule/Lint/EmptyLoop.html">EmptyLoop</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/HashDuplicatedKey" data-name="ameba::rule::lint::hashduplicatedkey">
<a href="../../../Ameba/Rule/Lint/HashDuplicatedKey.html">HashDuplicatedKey</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/LiteralInCondition" data-name="ameba::rule::lint::literalincondition">
<a href="../../../Ameba/Rule/Lint/LiteralInCondition.html">LiteralInCondition</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/LiteralInInterpolation" data-name="ameba::rule::lint::literalininterpolation">
<a href="../../../Ameba/Rule/Lint/LiteralInInterpolation.html">LiteralInInterpolation</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/PercentArrays" data-name="ameba::rule::lint::percentarrays">
<a href="../../../Ameba/Rule/Lint/PercentArrays.html">PercentArrays</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/RandZero" data-name="ameba::rule::lint::randzero">
<a href="../../../Ameba/Rule/Lint/RandZero.html">RandZero</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/RedundantStringCoercion" data-name="ameba::rule::lint::redundantstringcoercion">
<a href="../../../Ameba/Rule/Lint/RedundantStringCoercion.html">RedundantStringCoercion</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/RedundantWithIndex" data-name="ameba::rule::lint::redundantwithindex">
<a href="../../../Ameba/Rule/Lint/RedundantWithIndex.html">RedundantWithIndex</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/RedundantWithObject" data-name="ameba::rule::lint::redundantwithobject">
<a href="../../../Ameba/Rule/Lint/RedundantWithObject.html">RedundantWithObject</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/ShadowedArgument" data-name="ameba::rule::lint::shadowedargument">
<a href="../../../Ameba/Rule/Lint/ShadowedArgument.html">ShadowedArgument</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/ShadowedException" data-name="ameba::rule::lint::shadowedexception">
<a href="../../../Ameba/Rule/Lint/ShadowedException.html">ShadowedException</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/ShadowingOuterLocalVar" data-name="ameba::rule::lint::shadowingouterlocalvar">
<a href="../../../Ameba/Rule/Lint/ShadowingOuterLocalVar.html">ShadowingOuterLocalVar</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/SharedVarInFiber" data-name="ameba::rule::lint::sharedvarinfiber">
<a href="../../../Ameba/Rule/Lint/SharedVarInFiber.html">SharedVarInFiber</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/SpecFocus" data-name="ameba::rule::lint::specfocus">
<a href="../../../Ameba/Rule/Lint/SpecFocus.html">SpecFocus</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/Syntax" data-name="ameba::rule::lint::syntax">
<a href="../../../Ameba/Rule/Lint/Syntax.html">Syntax</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/UnneededDisableDirective" data-name="ameba::rule::lint::unneededdisabledirective">
<a href="../../../Ameba/Rule/Lint/UnneededDisableDirective.html">UnneededDisableDirective</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/UnreachableCode" data-name="ameba::rule::lint::unreachablecode">
<a href="../../../Ameba/Rule/Lint/UnreachableCode.html">UnreachableCode</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/UnusedArgument" data-name="ameba::rule::lint::unusedargument">
<a href="../../../Ameba/Rule/Lint/UnusedArgument.html">UnusedArgument</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/UselessAssign" data-name="ameba::rule::lint::uselessassign">
<a href="../../../Ameba/Rule/Lint/UselessAssign.html">UselessAssign</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Lint/UselessConditionInWhen" data-name="ameba::rule::lint::uselessconditioninwhen">
<a href="../../../Ameba/Rule/Lint/UselessConditionInWhen.html">UselessConditionInWhen</a>
</li>
</ul>
</li>
<li class="parent " data-id="ameba/Ameba/Rule/Metrics" data-name="ameba::rule::metrics">
<a href="../../../Ameba/Rule/Metrics.html">Metrics</a>
<ul>
<li class=" " data-id="ameba/Ameba/Rule/Metrics/CyclomaticComplexity" data-name="ameba::rule::metrics::cyclomaticcomplexity">
<a href="../../../Ameba/Rule/Metrics/CyclomaticComplexity.html">CyclomaticComplexity</a>
</li>
</ul>
</li>
<li class="parent open current" data-id="ameba/Ameba/Rule/Performance" data-name="ameba::rule::performance">
<a href="../../../Ameba/Rule/Performance.html">Performance</a>
<ul>
<li class=" " data-id="ameba/Ameba/Rule/Performance/AnyAfterFilter" data-name="ameba::rule::performance::anyafterfilter">
<a href="../../../Ameba/Rule/Performance/AnyAfterFilter.html">AnyAfterFilter</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/AnyInsteadOfEmpty" data-name="ameba::rule::performance::anyinsteadofempty">
<a href="../../../Ameba/Rule/Performance/AnyInsteadOfEmpty.html">AnyInsteadOfEmpty</a>
</li>
<li class=" current" data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/CompactAfterMap" data-name="ameba::rule::performance::compactaftermap">
<a href="../../../Ameba/Rule/Performance/CompactAfterMap.html">CompactAfterMap</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/FirstLastAfterFilter" data-name="ameba::rule::performance::firstlastafterfilter">
<a href="../../../Ameba/Rule/Performance/FirstLastAfterFilter.html">FirstLastAfterFilter</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/FlattenAfterMap" data-name="ameba::rule::performance::flattenaftermap">
<a href="../../../Ameba/Rule/Performance/FlattenAfterMap.html">FlattenAfterMap</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/MapInsteadOfBlock" data-name="ameba::rule::performance::mapinsteadofblock">
<a href="../../../Ameba/Rule/Performance/MapInsteadOfBlock.html">MapInsteadOfBlock</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/SizeAfterFilter" data-name="ameba::rule::performance::sizeafterfilter">
<a href="../../../Ameba/Rule/Performance/SizeAfterFilter.html">SizeAfterFilter</a>
</li>
</ul>
</li>
<li class="parent " data-id="ameba/Ameba/Rule/Style" data-name="ameba::rule::style">
<a href="../../../Ameba/Rule/Style.html">Style</a>
<ul>
<li class=" " data-id="ameba/Ameba/Rule/Style/ConstantNames" data-name="ameba::rule::style::constantnames">
<a href="../../../Ameba/Rule/Style/ConstantNames.html">ConstantNames</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/IsAFilter" data-name="ameba::rule::style::isafilter">
<a href="../../../Ameba/Rule/Style/IsAFilter.html">IsAFilter</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/IsANil" data-name="ameba::rule::style::isanil">
<a href="../../../Ameba/Rule/Style/IsANil.html">IsANil</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/LargeNumbers" data-name="ameba::rule::style::largenumbers">
<a href="../../../Ameba/Rule/Style/LargeNumbers.html">LargeNumbers</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/MethodNames" data-name="ameba::rule::style::methodnames">
<a href="../../../Ameba/Rule/Style/MethodNames.html">MethodNames</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/NegatedConditionsInUnless" data-name="ameba::rule::style::negatedconditionsinunless">
<a href="../../../Ameba/Rule/Style/NegatedConditionsInUnless.html">NegatedConditionsInUnless</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/PredicateName" data-name="ameba::rule::style::predicatename">
<a href="../../../Ameba/Rule/Style/PredicateName.html">PredicateName</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantBegin" data-name="ameba::rule::style::redundantbegin">
<a href="../../../Ameba/Rule/Style/RedundantBegin.html">RedundantBegin</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantNext" data-name="ameba::rule::style::redundantnext">
<a href="../../../Ameba/Rule/Style/RedundantNext.html">RedundantNext</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/RedundantReturn" data-name="ameba::rule::style::redundantreturn">
<a href="../../../Ameba/Rule/Style/RedundantReturn.html">RedundantReturn</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/TypeNames" data-name="ameba::rule::style::typenames">
<a href="../../../Ameba/Rule/Style/TypeNames.html">TypeNames</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/UnlessElse" data-name="ameba::rule::style::unlesselse">
<a href="../../../Ameba/Rule/Style/UnlessElse.html">UnlessElse</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/VariableNames" data-name="ameba::rule::style::variablenames">
<a href="../../../Ameba/Rule/Style/VariableNames.html">VariableNames</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/VerboseBlock" data-name="ameba::rule::style::verboseblock">
<a href="../../../Ameba/Rule/Style/VerboseBlock.html">VerboseBlock</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Style/WhileTrue" data-name="ameba::rule::style::whiletrue">
<a href="../../../Ameba/Rule/Style/WhileTrue.html">WhileTrue</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="ameba/Ameba/Runner" data-name="ameba::runner">
<a href="../../../Ameba/Runner.html">Runner</a>
</li>
<li class=" " data-id="ameba/Ameba/Severity" data-name="ameba::severity">
<a href="../../../Ameba/Severity.html">Severity</a>
</li>
<li class=" " data-id="ameba/Ameba/SeverityYamlConverter" data-name="ameba::severityyamlconverter">
<a href="../../../Ameba/SeverityYamlConverter.html">SeverityYamlConverter</a>
</li>
<li class=" " data-id="ameba/Ameba/Source" data-name="ameba::source">
<a href="../../../Ameba/Source.html">Source</a>
</li>
<li class=" " data-id="ameba/Ameba/Tokenizer" data-name="ameba::tokenizer">
<a href="../../../Ameba/Tokenizer.html">Tokenizer</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">abstract class</span> Ameba::Rule::Performance::Base
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>
<a id="overview" class="anchor" href="#overview">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Overview
</h2>
<p>A general base class for performance rules.</p>
<h2>
<a id="included-modules" class="anchor" href="#included-modules">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Included Modules
</h2>
<ul class="other-types-list">
<li class="other-type">YAML::Serializable</li>
<li class="other-type">YAML::Serializable::Strict</li>
</ul>
<h2>
<a id="direct-known-subclasses" class="anchor" href="#direct-known-subclasses">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Direct Known Subclasses
</h2>
<ul class="other-types-list">
<li class="other-type"><a href="../../../Ameba/Rule/Performance/AnyAfterFilter.html">Ameba::Rule::Performance::AnyAfterFilter</a></li>
<li class="other-type"><a href="../../../Ameba/Rule/Performance/AnyInsteadOfEmpty.html">Ameba::Rule::Performance::AnyInsteadOfEmpty</a></li>
<li class="other-type"><a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">Ameba::Rule::Performance::ChainedCallWithNoBang</a></li>
<li class="other-type"><a href="../../../Ameba/Rule/Performance/CompactAfterMap.html">Ameba::Rule::Performance::CompactAfterMap</a></li>
<li class="other-type"><a href="../../../Ameba/Rule/Performance/FirstLastAfterFilter.html">Ameba::Rule::Performance::FirstLastAfterFilter</a></li>
<li class="other-type"><a href="../../../Ameba/Rule/Performance/FlattenAfterMap.html">Ameba::Rule::Performance::FlattenAfterMap</a></li>
<li class="other-type"><a href="../../../Ameba/Rule/Performance/MapInsteadOfBlock.html">Ameba::Rule::Performance::MapInsteadOfBlock</a></li>
<li class="other-type"><a href="../../../Ameba/Rule/Performance/SizeAfterFilter.html">Ameba::Rule::Performance::SizeAfterFilter</a></li>
</ul>
<h2>
<a id="defined-in" class="anchor" href="#defined-in">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Defined in:
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/base.cr#L5" target="_blank">
ameba/rule/performance/base.cr
</a>
<br/>
<h2>
<a id="constructors" class="anchor" href="#constructors">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Constructors
</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
</li>
<li class="entry-summary">
<a href="#new(config=nil)-class-method" class="signature"><strong>.new</strong>(config = <span class="n">nil</span>)</a>
<div class="summary"><p>A general base class for performance rules.</p></div>
</li>
</ul>
<h2>
<a id="instance-method-summary" class="anchor" href="#instance-method-summary">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Instance Method Summary
</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#catch(source:Source)-instance-method" class="signature"><strong>#catch</strong>(source : Source)</a>
<div class="summary"><p>A convenient addition to <code>#test</code> method that does the same but returns a passed in <code>source</code> as an addition.</p></div>
</li>
</ul>
<div class="methods-inherited">
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#==(other)-instance-method" class="tooltip">
<span>==(other)</span>
==</a>,
<a href="../../../Ameba/Rule/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>,
<a href="../../../Ameba/Rule/Base.html#excluded?(source)-instance-method" class="tooltip">
<span>excluded?(source)</span>
excluded?</a>,
<a href="../../../Ameba/Rule/Base.html#group-instance-method" class="tooltip">
<span>group</span>
group</a>,
<a href="../../../Ameba/Rule/Base.html#hash-instance-method" class="tooltip">
<span>hash</span>
hash</a>,
<a href="../../../Ameba/Rule/Base.html#name-instance-method" class="tooltip">
<span>name</span>
name</a>,
<a href="../../../Ameba/Rule/Base.html#special?-instance-method" class="tooltip">
<span>special?</span>
special?</a>,
<a href="../../../Ameba/Rule/Base.html#test(source:Source,node:Crystal::ASTNode,*opts)-instance-method" class="tooltip">
<span>test(source : Source, node : Crystal::ASTNode, *opts)<br/>test(source : Source)</span>
test</a>
<h3>Class methods inherited from class <code><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></code></h3>
<a href="../../../Ameba/Rule/Base.html#parsed_doc-class-method" class="tooltip">
<span>parsed_doc</span>
parsed_doc</a>
</div>
<h2>
<a id="constructor-detail" class="anchor" href="#constructor-detail">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Constructor Detail
</h2>
<div class="entry-detail" id="new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">
<div class="signature">
def self.<strong>new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<br/>
<div>
</div>
</div>
<div class="entry-detail" id="new(config=nil)-class-method">
<div class="signature">
def self.<strong>new</strong>(config = <span class="n">nil</span>)
<a class="method-permalink" href="#new(config=nil)-class-method">#</a>
</div>
<div class="doc">
<p>A general base class for performance rules.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
</div>
</div>
<h2>
<a id="instance-method-detail" class="anchor" href="#instance-method-detail">
<svg class="octicon-link" aria-hidden="true">
<use href="#octicon-link"/>
</svg>
</a>
Instance Method Detail
</h2>
<div class="entry-detail" id="catch(source:Source)-instance-method">
<div class="signature">
def <strong>catch</strong>(source : <a href="../../../Ameba/Source.html">Source</a>)
<a class="method-permalink" href="#catch(source:Source)-instance-method">#</a>
</div>
<div class="doc">
<div class="doc-inherited">
Description copied from class <a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a>
</div>
<p>A convenient addition to <code>#test</code> method that does the same
but returns a passed in <code>source</code> as an addition.</p>
<pre><code class="language-crystal">source <span class="o">=</span> <span class="t">MyRule</span>.<span class="k">new</span>.catch(source)
source.valid?</code></pre>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" current" data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">Ameba::Rule::Performance::ChainedCallWithNoBang</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">Ameba::Rule::Performance::ChainedCallWithNoBang</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -703,7 +708,7 @@ chars <span class="o">=</span> names
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/chained_call_with_no_bang.cr#L37" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
@ -755,6 +760,8 @@ chars <span class="o">=</span> names
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of chained calls not utilizing the bang method variants.</p></div>
</li>
<li class="entry-summary">
@ -860,6 +867,54 @@ chars <span class="o">=</span> names
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -981,6 +1036,39 @@ chars <span class="o">=</span> names
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of chained calls not utilizing
the bang method variants.</p>
<p>For example, this is considered inefficient:</p>
<pre><code class="language-crystal">names <span class="o">=</span> <span class="s">%w[Alice Bob]</span>
chars <span class="o">=</span> names
.flat_map(<span class="o">&amp;</span>.chars)
.uniq
.sort</code></pre>
<p>And can be written as this:</p>
<pre><code class="language-crystal">names <span class="o">=</span> <span class="s">%w[Alice Bob]</span>
chars <span class="o">=</span> names
.flat_map(<span class="o">&amp;</span>.chars)
.uniq!
.sort!</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/ChainedCallWithNoBang:
Enabled: true
CallNames:
- uniq
- sort
- sort_by
- shuffle
- reverse</code></pre>
</div>
<br/>
<div>
@ -1031,7 +1119,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/chained_call_with_no_bang.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1201,7 +1289,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/chained_call_with_no_bang.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/chained_call_with_no_bang.cr#L68" target="_blank">View source</a>]
</div>
</div>
@ -1217,7 +1305,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/chained_call_with_no_bang.cr#L57" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/chained_call_with_no_bang.cr#L59" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/CompactAfterMap.html">Ameba::Rule::Performance::CompactAfterMap</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/CompactAfterMap.html">Ameba::Rule::Performance::CompactAfterMap</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -688,7 +693,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/compact_after_map.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
@ -741,6 +746,8 @@
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of <code>compact</code> calls that follow <code>map</code>.</p></div>
</li>
<li class="entry-summary">
@ -836,6 +843,54 @@
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -957,6 +1012,24 @@
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of <code>compact</code> calls that follow <code>map</code>.</p>
<p>For example, this is considered inefficient:</p>
<pre><code class="language-crystal"><span class="s">%w[Alice Bob]</span>.map(<span class="o">&amp;</span>.match(<span class="s">/^A./</span>)).compact</code></pre>
<p>And can be written as this:</p>
<pre><code class="language-crystal"><span class="s">%w[Alice Bob]</span>.compact_map(<span class="o">&amp;</span>.match(<span class="s">/^A./</span>))</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/CompactAfterMap:
Enabled: true</code></pre>
</div>
<br/>
<div>
@ -992,7 +1065,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/compact_after_map.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1134,7 +1207,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/compact_after_map.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1150,7 +1223,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/compact_after_map.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/FirstLastAfterFilter.html">Ameba::Rule::Performance::FirstLastAfterFilter</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/FirstLastAfterFilter.html">Ameba::Rule::Performance::FirstLastAfterFilter</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -692,7 +697,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/first_last_after_filter.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
@ -745,6 +750,8 @@
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of <code>first/last/first?/last?</code> calls that follow filters.</p></div>
</li>
<li class="entry-summary">
@ -850,6 +857,54 @@
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -971,6 +1026,28 @@
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of <code>first/last/first?/last?</code> calls that follow filters.</p>
<p>For example, this is considered inefficient:</p>
<pre><code class="language-crystal">[<span class="n">-1</span>, <span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].<span class="k">select</span> { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">0</span> }.first?
[<span class="n">-1</span>, <span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].<span class="k">select</span> { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">0</span> }.last?</code></pre>
<p>And can be written as this:</p>
<pre><code class="language-crystal">[<span class="n">-1</span>, <span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].find { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">0</span> }
[<span class="n">-1</span>, <span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].reverse_each.find { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">0</span> }</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/FirstLastAfterFilter
Enabled: true
FilterNames:
- select</code></pre>
</div>
<br/>
<div>
@ -1010,7 +1087,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/first_last_after_filter.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1180,7 +1257,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/first_last_after_filter.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1196,7 +1273,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/first_last_after_filter.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/FlattenAfterMap.html">Ameba::Rule::Performance::FlattenAfterMap</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/FlattenAfterMap.html">Ameba::Rule::Performance::FlattenAfterMap</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -688,7 +693,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/flatten_after_map.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
@ -741,6 +746,8 @@
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of <code>flatten</code> calls that follow <code>map</code>.</p></div>
</li>
<li class="entry-summary">
@ -836,6 +843,54 @@
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -957,6 +1012,24 @@
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of <code>flatten</code> calls that follow <code>map</code>.</p>
<p>For example, this is considered inefficient:</p>
<pre><code class="language-crystal"><span class="s">%w[Alice Bob]</span>.map(<span class="o">&amp;</span>.chars).flatten</code></pre>
<p>And can be written as this:</p>
<pre><code class="language-crystal"><span class="s">%w[Alice Bob]</span>.flat_map(<span class="o">&amp;</span>.chars)</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/FlattenAfterMap:
Enabled: true</code></pre>
</div>
<br/>
<div>
@ -992,7 +1065,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/flatten_after_map.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1134,7 +1207,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/flatten_after_map.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1150,7 +1223,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/flatten_after_map.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/MapInsteadOfBlock.html">Ameba::Rule::Performance::MapInsteadOfBlock</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/MapInsteadOfBlock.html">Ameba::Rule::Performance::MapInsteadOfBlock</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -689,7 +694,7 @@ that follow <code>map</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/map_instead_of_block.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
@ -742,6 +747,8 @@ that follow <code>map</code>.</p>
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of <code>sum/product</code> calls that follow <code>map</code>.</p></div>
</li>
<li class="entry-summary">
@ -837,6 +844,54 @@ that follow <code>map</code>.</p>
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -958,6 +1013,25 @@ that follow <code>map</code>.</p>
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of <code>sum/product</code> calls
that follow <code>map</code>.</p>
<p>For example, this is considered inefficient:</p>
<pre><code class="language-crystal">(<span class="n">1</span>..<span class="n">3</span>).map(<span class="o">&amp;</span>.<span class="o">*</span>(<span class="n">2</span>)).sum</code></pre>
<p>And can be written as this:</p>
<pre><code class="language-crystal">(<span class="n">1</span>..<span class="n">3</span>).sum(<span class="o">&amp;</span>.<span class="o">*</span>(<span class="n">2</span>))</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/MapInsteadOfBlock:
Enabled: true</code></pre>
</div>
<br/>
<div>
@ -994,7 +1068,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/map_instead_of_block.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1136,7 +1210,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/map_instead_of_block.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1152,7 +1226,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/map_instead_of_block.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -620,7 +625,7 @@
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/SizeAfterFilter.html">Ameba::Rule::Performance::SizeAfterFilter</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Ameba/Rule/Performance/SizeAfterFilter.html">Ameba::Rule::Performance::SizeAfterFilter</a></li><li class="superclass"><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></li><li class="superclass"><a href="../../../Ameba/Rule/Base.html">Ameba::Rule::Base</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
@ -699,7 +704,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/size_after_filter.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>
@ -747,6 +752,8 @@
<li class="entry-summary">
<a href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="signature"><strong>.new</strong>(ctx : YAML::ParseContext, node : YAML::Nodes::Node)</a>
<div class="summary"><p>This rule is used to identify usage of <code>size</code> calls that follow filter.</p></div>
</li>
<li class="entry-summary">
@ -852,6 +859,54 @@
<h3>Instance methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#catch(source:Source)-instance-method" class="tooltip">
<span>catch(source : Source)</span>
catch</a>
<h3>Constructor methods inherited from class <code><a href="../../../Ameba/Rule/Performance/Base.html">Ameba::Rule::Performance::Base</a></code></h3>
<a href="../../../Ameba/Rule/Performance/Base.html#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method" class="tooltip">
<span>new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)<br/>new(config = <span class="n">nil</span>)</span>
new</a>
@ -973,6 +1028,35 @@
<a class="method-permalink" href="#new(ctx:YAML::ParseContext,node:YAML::Nodes::Node)-class-method">#</a>
</div>
<div class="doc">
<p>This rule is used to identify usage of <code>size</code> calls that follow filter.</p>
<p>For example, this is considered invalid:</p>
<pre><code class="language-crystal">[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].<span class="k">select</span> { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">2</span> }.size
[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].reject { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&lt;</span> <span class="n">2</span> }.size
[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].<span class="k">select</span>(<span class="o">&amp;</span>.<span class="o">&lt;</span> <span class="n">2</span>).size
[<span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].<span class="k">select</span>(<span class="o">&amp;</span>.zero?).size
[<span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].reject(<span class="o">&amp;</span>.zero?).size</code></pre>
<p>And it should be written as this:</p>
<pre><code class="language-crystal">[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].count { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;</span> <span class="n">2</span> }
[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].count { <span class="o">|</span>e<span class="o">|</span> e <span class="o">&gt;=</span> <span class="n">2</span> }
[<span class="n">1</span>, <span class="n">2</span>, <span class="n">3</span>].count(<span class="o">&amp;</span>.<span class="o">&lt;</span> <span class="n">2</span>)
[<span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].count(<span class="o">&amp;</span>.zero?)
[<span class="n">0</span>, <span class="n">1</span>, <span class="n">2</span>].count(<span class="o">&amp;</span>.<span class="o">!=</span> <span class="n">0</span>)</code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal">Performance/SizeAfterFilter:
Enabled: true
FilterNames:
- select
- reject</code></pre>
</div>
<br/>
<div>
@ -1019,7 +1103,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/size_after_filter.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1189,7 +1273,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/size_after_filter.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
</div>
</div>
@ -1205,7 +1289,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/performance/size_after_filter.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,105 +651,105 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
ameba/rule/style/constant_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/method_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/method_names.cr#L1" target="_blank">
ameba/rule/style/method_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
ameba/rule/style/redundant_next.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
ameba/rule/style/redundant_return.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L1" target="_blank">
ameba/rule/style/type_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
ameba/rule/style/unless_else.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
ameba/rule/style/variable_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
ameba/rule/style/verbose_block.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/while_true.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/while_true.cr#L1" target="_blank">
ameba/rule/style/while_true.cr
</a>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -690,7 +695,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
ameba/rule/style/constant_names.cr
</a>
@ -981,7 +986,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1123,7 +1128,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -707,7 +712,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
@ -1030,7 +1035,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1200,7 +1205,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_filter.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_filter.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1216,7 +1221,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_filter.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_filter.cr#L49" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -688,7 +693,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
@ -982,7 +987,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1124,7 +1129,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/is_a_nil.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/is_a_nil.cr#L30" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -695,7 +700,7 @@ large numbers more easily.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
@ -1001,7 +1006,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1171,7 +1176,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -706,7 +711,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/method_names.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/method_names.cr#L40" target="_blank">
ameba/rule/style/method_names.cr
</a>
@ -1013,7 +1018,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1155,7 +1160,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/method_names.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/method_names.cr#L47" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -695,7 +700,7 @@ that is executed if a negated condition is NOT met.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
@ -991,7 +996,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1133,7 +1138,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -697,7 +702,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
@ -995,7 +1000,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/predicate_name.cr#L31" target="_blank">View source</a>]
</div>
</div>
@ -1137,7 +1142,7 @@ start with the prefix <code>has_</code> or the prefix <code>is_</code>. Ignores
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/predicate_name.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/predicate_name.cr#L39" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -722,7 +727,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
@ -1097,7 +1102,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1239,7 +1244,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -761,7 +766,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">
ameba/rule/style/redundant_next.cr
</a>
@ -1148,7 +1153,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_next.cr#L99" target="_blank">View source</a>]
</div>
</div>
@ -1346,7 +1351,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_next.cr#L113" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_next.cr#L113" target="_blank">View source</a>]
</div>
</div>
@ -1362,7 +1367,7 @@ without arguments. Sometimes such statements are used to yild the <code>nil</cod
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_next.cr#L109" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_next.cr#L109" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -758,7 +763,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">
ameba/rule/style/redundant_return.cr
</a>
@ -1142,7 +1147,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_return.cr#L96" target="_blank">View source</a>]
</div>
</div>
@ -1340,7 +1345,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_return.cr#L110" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_return.cr#L110" target="_blank">View source</a>]
</div>
</div>
@ -1356,7 +1361,7 @@ without arguments. Sometimes such returns are used to return the <code>nil</code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/redundant_return.cr#L106" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/redundant_return.cr#L106" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -720,7 +725,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L54" target="_blank">
ameba/rule/style/type_names.cr
</a>
@ -1061,7 +1066,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1203,7 +1208,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L69" target="_blank">View source</a>]
</div>
</div>
@ -1219,7 +1224,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L73" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L73" target="_blank">View source</a>]
</div>
</div>
@ -1235,7 +1240,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L77" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L77" target="_blank">View source</a>]
</div>
</div>
@ -1251,7 +1256,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L81" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L81" target="_blank">View source</a>]
</div>
</div>
@ -1267,7 +1272,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/type_names.cr#L85" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/type_names.cr#L85" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -709,7 +714,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/unless_else.cr#L45" target="_blank">
ameba/rule/style/unless_else.cr
</a>
@ -1019,7 +1024,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/unless_else.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -1161,7 +1166,7 @@ an <code>if</code>, so the previous invalid example would become this:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/unless_else.cr#L52" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -691,7 +696,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/variable_names.cr#L25" target="_blank">
ameba/rule/style/variable_names.cr
</a>
@ -993,7 +998,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/variable_names.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1135,7 +1140,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/variable_names.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1151,7 +1156,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/variable_names.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1167,7 +1172,7 @@ wrong_Name <span class="o">=</span> <span class="n">2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/variable_names.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/variable_names.cr#L46" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -696,7 +701,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">
ameba/rule/style/verbose_block.cr
</a>
@ -1068,7 +1073,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/verbose_block.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1406,7 +1411,7 @@ argument as a receiver, that can be collapsed into a short form.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/verbose_block.cr#L189" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/verbose_block.cr#L189" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../../../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../../../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -694,7 +699,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/while_true.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/while_true.cr#L28" target="_blank">
ameba/rule/style/while_true.cr
</a>
@ -989,7 +994,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/while_true.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1131,7 +1136,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/rule/style/while_true.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -666,7 +671,7 @@ runner.run.success? <span class="c"># =&gt; true or false</span></code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/runner.cr#L13" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/runner.cr#L13" target="_blank">
ameba/runner.cr
</a>
@ -800,7 +805,7 @@ config.formatter <span class="o">=</span> formatter
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/runner.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/runner.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -842,7 +847,7 @@ runner.explain({file: file, line: l, column: c})</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/runner.cr#L113" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/runner.cr#L113" target="_blank">View source</a>]
</div>
</div>
@ -871,7 +876,7 @@ runner.run <span class="c"># =&gt; returns runner again</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/runner.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/runner.cr#L66" target="_blank">View source</a>]
</div>
</div>
@ -892,7 +897,7 @@ runner.run <span class="c"># =&gt; returns runner again</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/runner.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/runner.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -918,7 +923,7 @@ runner.success? <span class="c"># =&gt; true or false</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/runner.cr#L125" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/runner.cr#L125" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -646,7 +651,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L2" target="_blank">
ameba/severity.cr
</a>
@ -822,7 +827,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -850,7 +855,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -866,7 +871,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L3" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L3" target="_blank">View source</a>]
</div>
</div>
@ -889,7 +894,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L12" target="_blank">View source</a>]
</div>
</div>
@ -905,7 +910,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L4" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L4" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -659,7 +664,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L34" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L34" target="_blank">
ameba/severity.cr
</a>
@ -747,7 +752,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -763,7 +768,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/severity.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/severity.cr#L48" target="_blank">View source</a>]
</div>
</div>

View file

@ -451,6 +451,11 @@
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/Base" data-name="ameba::rule::performance::base">
<a href="../Ameba/Rule/Performance/Base.html">Base</a>
</li>
<li class=" " data-id="ameba/Ameba/Rule/Performance/ChainedCallWithNoBang" data-name="ameba::rule::performance::chainedcallwithnobang">
<a href="../Ameba/Rule/Performance/ChainedCallWithNoBang.html">ChainedCallWithNoBang</a>
@ -676,7 +681,7 @@ Has path, lines of code and issues reported by rules.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L4" target="_blank">
ameba/source.cr
</a>
@ -886,7 +891,7 @@ Has path, lines of code and issues reported by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -924,7 +929,7 @@ source.ast</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L45" target="_blank">View source</a>]
</div>
</div>
@ -945,7 +950,7 @@ source.ast</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L12" target="_blank">View source</a>]
</div>
</div>
@ -961,7 +966,7 @@ source.ast</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -989,7 +994,7 @@ source.lines <span class="c"># =&gt; [&quot;a = 1&quot;, &quot;b = 2&quot;]</spa
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1010,7 +1015,7 @@ source.lines <span class="c"># =&gt; [&quot;a = 1&quot;, &quot;b = 2&quot;]</spa
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L62" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L62" target="_blank">View source</a>]
</div>
</div>
@ -1031,7 +1036,7 @@ source.lines <span class="c"># =&gt; [&quot;a = 1&quot;, &quot;b = 2&quot;]</spa
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L9" target="_blank">View source</a>]
</div>
</div>
@ -1052,7 +1057,7 @@ source.lines <span class="c"># =&gt; [&quot;a = 1&quot;, &quot;b = 2&quot;]</spa
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7c586eb9/src/ameba/source.cr#L57" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/cd18c6a0/src/ameba/source.cr#L57" target="_blank">View source</a>]
</div>
</div>

Some files were not shown because too many files have changed in this diff Show more