Skip to content

Merge pull request #9 from crystal-garage/dependabot/github_actions/c… #18

Merge pull request #9 from crystal-garage/dependabot/github_actions/c…

Merge pull request #9 from crystal-garage/dependabot/github_actions/c… #18

GitHub Actions / Ameba failed Oct 20, 2024 in 1s

Crystal Ameba Results

Total files checked: 18
Issues found: 4

Ameba Version: 1.6.3
Crystal Version: 1.14.0

Annotations

Check notice on line 9 in samples/million.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/VariableNames

Var name should be underscore-cased: zip_file, not zipFile
Raw output
> File.open(dest, "w") do |zipFile|
                           ^

Check notice on line 10 in samples/million.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/VariableNames

Var name should be underscore-cased: zip_file, not zipFile
Raw output
> Zip64::Writer.open(zipFile) do |zip|
                     ^

Check notice on line 15 in samples/million.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/VariableNames

Var name should be underscore-cased: total_bytes, not totalBytes
Raw output
> totalBytes = Random.rand(100..max)
  ^

Check notice on line 16 in samples/million.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/VariableNames

Var name should be underscore-cased: total_bytes, not totalBytes
Raw output
> zip.add "file#{i}", Random.new.random_bytes(totalBytes)
                                              ^