Skip to content

Instantly share code, notes, and snippets.

@colindean
Created March 8, 2014 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colindean/9430852 to your computer and use it in GitHub Desktop.
Save colindean/9430852 to your computer and use it in GitHub Desktop.
Results of running Rubocop on Homebrew as of rev cfc7042
This file has been truncated, but you can view the full file.
Inspecting 2924 files
WCCC.C.C.WWCWCCWCWCWWCCCCCCCCCCWCCCWCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCWCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCWCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWWCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCWCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCWCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWWCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCWCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWCCWCWCCCCCCWCCWWWCWWCCCCCWCCCCCCWCWCCCWWCCWCCCCCWWCW.CCCCCC.WCCCCCWCCCCWCWCWCWCWCCCCCWCWCCCCCWCWWCCCCCCCCWWCCCCCCCCCCCWCCCCWCCCCCCCCCCCCCCCCCWCCCCCCCCCCCCCCCCCWCWCCCCCCCCCCCCCCCCW
Offences:
Library/brew.rb:4:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
std_trap = trap("INT") { exit! 130 } # no backtrace thanks
^^^^^
Library/brew.rb:14:77: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.dirname.parent.join("Library/Homebrew").to_s
^^^^^^^^^^^^^^^^^^
Library/brew.rb:14:80: C: Line is too long. [100/79]
HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.dirname.parent.join("Library/Homebrew").to_s
^^^^^^^^^^^^^^^^^^^^^
Library/brew.rb:15:1: C: Prefer $LOAD_PATH over $:.
$:.unshift(HOMEBREW_LIBRARY_PATH + '/vendor')
^^
Library/brew.rb:16:1: C: Prefer $LOAD_PATH over $:.
$:.unshift(HOMEBREW_LIBRARY_PATH)
^^
Library/brew.rb:37:80: C: Line is too long. [95/79]
if OS.mac? && `xcode-select -print-path 2>/dev/null`.chomp == '/' && MacOS.version < :mavericks
^^^^^^^^^^^^^^^^
Library/brew.rb:50:27: C: Indent when as deep as case.
case HOMEBREW_PREFIX.to_s when '/', '/usr'
^^^^
Library/brew.rb:54:12: C: Use && instead of and.
if OS.mac? and MacOS.version < "10.5"
^^^
Library/brew.rb:54:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if OS.mac? and MacOS.version < "10.5"
^^^^^^
Library/brew.rb:63:1: C: Avoid using rescue in its modifier form.
Dir.getwd rescue abort "The current working directory doesn't exist, cannot proceed."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/brew.rb:63:80: C: Line is too long. [85/79]
Dir.getwd rescue abort "The current working directory doesn't exist, cannot proceed."
^^^^^^
Library/brew.rb:65:1: C: Extra blank line detected.
Library/brew.rb:66:14: C: Use def with parentheses when there are parameters.
def require? path
^^^^
Library/brew.rb:69:5: C: Annotation keywords should be all upper case, followed by a colon and a space, then a note describing the problem.
# HACK :( because we should raise on syntax errors but
^^^^^^
Library/brew.rb:75:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
trap("INT", std_trap) # restore default CTRL-C handler
^^^^^
Library/brew.rb:77:13: C: Space inside { missing.
aliases = {'ls' => 'list',
^
Library/brew.rb:90:33: C: Avoid comma after the last item of a hash.
'-c1' => '--config',
^
Library/brew.rb:99:26: C: Use && instead of and.
if Process.uid.zero? and not File.stat(HOMEBREW_BREW_FILE).uid.zero?
^^^
Library/brew.rb:99:30: C: Use ! instead of not.
if Process.uid.zero? and not File.stat(HOMEBREW_BREW_FILE).uid.zero?
^^^
Library/brew.rb:100:7: C: Use `fail` instead of `raise` to signal exceptions.
raise "Cowardly refusing to `sudo brew #{cmd}`\n#{SUDO_BAD_ERRMSG}"
^^^^^
Library/brew.rb:106:34: C: Surrounding space missing for operator '/'.
if require? HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"/cmd
^
Library/brew.rb:106:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if require? HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"/cmd
^^^^^^^^^^^^^^^^^^^^^^
Library/brew.rb:106:57: C: Surrounding space missing for operator '/'.
if require? HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"/cmd
^
Library/brew.rb:121:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "This command requires a formula argument"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/brew.rb:123:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "This command requires a keg argument"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/brew.rb:125:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
onoe "Invalid usage"
^^^^^^^^^^^^^^^
Library/brew.rb:128:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "Kernel.exit" if ARGV.verbose?
^^^^^^^^^^^^^
Library/brew.rb:129:3: C: Use `fail` instead of `raise` to signal exceptions.
raise
^^^^^
Library/brew.rb:137:3: C: Use `fail` instead of `raise` to signal exceptions.
raise if e.message.empty?
^^^^^
Library/brew.rb:141:1: W: Avoid rescuing the Exception class.
rescue Exception => e
^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-aspell-dictionaries.rb:5:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
dict_url = "http://ftpmirror.gnu.org/aspell/dict"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-aspell-dictionaries.rb:6:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
dict_mirror = "http://ftp.gnu.org/gnu/aspell/dict"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-aspell-dictionaries.rb:12:14: C: Use %r only for regular expressions matching more than 1 '/' character.
break if %r{^</table} === line
^^^^^^^^^^^^
Library/Contributions/cmd/brew-aspell-dictionaries.rb:12:27: C: Avoid the use of the case equality operator(===).
break if %r{^</table} === line
^^^
Library/Contributions/cmd/brew-aspell-dictionaries.rb:13:31: C: Avoid the use of the case equality operator(===).
next unless /^<tr><td><a/ === line
^^^
Library/Contributions/cmd/brew-aspell-dictionaries.rb:17:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
lang.gsub!("-", "_")
^^^
Library/Contributions/cmd/brew-aspell-dictionaries.rb:17:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
lang.gsub!("-", "_")
^^^
Library/Contributions/cmd/brew-beer.rb:106:1: C: Extra blank line detected.
Library/Contributions/cmd/brew-beer.rb:131:1: C: Extra blank line detected.
Library/Contributions/cmd/brew-bundle.rb:3:1: C: Method has too many lines. [17/10]
def usage
^^^
Library/Contributions/cmd/brew-bundle.rb:45:1: C: Use `fail` instead of `raise` to signal exceptions.
raise "Cannot find Brewfile#{error}" unless File.exist? path
^^^^^
Library/Contributions/cmd/brew-bundle.rb:53:33: C: Surrounding space missing for operator '+'.
odie "Command failed: L#{index+1}:#{brew_cmd}" unless system brew_cmd
^
Library/Contributions/cmd/brew-gist-logs.rb:5:1: C: Cyclomatic complexity for gist_logs is too high. [7/6]
def gist_logs f
^^^
Library/Contributions/cmd/brew-gist-logs.rb:5:1: C: Method has too many lines. [16/10]
def gist_logs f
^^^
Library/Contributions/cmd/brew-gist-logs.rb:5:15: C: Use def with parentheses when there are parameters.
def gist_logs f
^
Library/Contributions/cmd/brew-gist-logs.rb:8:80: C: Line is too long. [86/79]
puts 'You need to create an API token: https://github.com/settings/applications'
^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:23:80: C: Line is too long. [84/79]
url = new_issue(repo, "#{f.name} failed to build on #{MACOS_FULL_VERSION}", url)
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:29:15: C: Use def with parentheses when there are parameters.
def load_logs name
^^^^
Library/Contributions/cmd/brew-gist-logs.rb:31:23: C: Surrounding space missing for operator '/'.
dir = (HOMEBREW_LOGS/name)
^
Library/Contributions/cmd/brew-gist-logs.rb:33:32: C: Space inside { missing.
logs[file.basename.to_s] = {:content => file.read}
^
Library/Contributions/cmd/brew-gist-logs.rb:33:33: C: Use the new Ruby 1.9 hash syntax.
logs[file.basename.to_s] = {:content => file.read}
^^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:33:54: C: Space inside } missing.
logs[file.basename.to_s] = {:content => file.read}
^
Library/Contributions/cmd/brew-gist-logs.rb:35:3: C: Use `fail` instead of `raise` to signal exceptions.
raise 'No logs.' if logs.empty?
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:39:19: C: Use def with parentheses when there are parameters.
def append_config files
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:40:25: C: Space inside { missing.
files['config.out'] = {:content => `brew --config 2>&1`}
^
Library/Contributions/cmd/brew-gist-logs.rb:40:26: C: Use the new Ruby 1.9 hash syntax.
files['config.out'] = {:content => `brew --config 2>&1`}
^^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:40:58: C: Space inside } missing.
files['config.out'] = {:content => `brew --config 2>&1`}
^
Library/Contributions/cmd/brew-gist-logs.rb:43:19: C: Use def with parentheses when there are parameters.
def append_doctor files
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:44:25: C: Space inside { missing.
files['doctor.out'] = {:content => `brew doctor 2>&1`}
^
Library/Contributions/cmd/brew-gist-logs.rb:44:26: C: Use the new Ruby 1.9 hash syntax.
files['doctor.out'] = {:content => `brew doctor 2>&1`}
^^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:44:56: C: Space inside } missing.
files['doctor.out'] = {:content => `brew doctor 2>&1`}
^
Library/Contributions/cmd/brew-gist-logs.rb:47:17: C: Use def with parentheses when there are parameters.
def create_gist files
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:48:17: C: Redundant curly braces around a hash parameter.
post('gists', {'public' => true, 'files' => files})['html_url']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:48:17: C: Space inside { missing.
post('gists', {'public' => true, 'files' => files})['html_url']
^
Library/Contributions/cmd/brew-gist-logs.rb:48:52: C: Space inside } missing.
post('gists', {'public' => true, 'files' => files})['html_url']
^
Library/Contributions/cmd/brew-gist-logs.rb:51:15: C: Use def with parentheses when there are parameters.
def new_issue repo, title, body
^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:52:32: C: Redundant curly braces around a hash parameter.
post("repos/#{repo}/issues", {'title' => title, 'body' => body})['html_url']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:52:32: C: Space inside { missing.
post("repos/#{repo}/issues", {'title' => title, 'body' => body})['html_url']
^
Library/Contributions/cmd/brew-gist-logs.rb:52:65: C: Space inside } missing.
post("repos/#{repo}/issues", {'title' => title, 'body' => body})['html_url']
^
Library/Contributions/cmd/brew-gist-logs.rb:55:1: C: Method has too many lines. [11/10]
def http
^^^
Library/Contributions/cmd/brew-gist-logs.rb:59:29: C: Use || instead of or.
if p.class == URI::HTTP or p.class == URI::HTTPS
^^
Library/Contributions/cmd/brew-gist-logs.rb:60:80: C: Line is too long. [83/79]
@http = Net::HTTP.new(uri.host, uri.port, p.host, p.port, p.user, p.password)
^^^^
Library/Contributions/cmd/brew-gist-logs.rb:69:10: C: Use def with parentheses when there are parameters.
def post path, data
^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:78:3: C: Use `fail` instead of `raise` to signal exceptions.
raise HTTP_Error, response if response.code != '201'
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:82:1: C: Missing top-level class documentation comment.
class HTTP_Error < RuntimeError
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:82:7: C: Use CamelCase for classes and modules.
class HTTP_Error < RuntimeError
^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:83:18: C: Use def with parentheses when there are parameters.
def initialize response
^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:88:15: C: Use def with parentheses when there are parameters.
def repo_name f
^
Library/Contributions/cmd/brew-gist-logs.rb:92:5: C: Use `fail` instead of `raise` to signal exceptions.
raise 'Unable to determine formula repository.'
^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:94:6: C: Avoid the use of Perl-style backrefs.
"#{$1}/#{$2}"
^^
Library/Contributions/cmd/brew-gist-logs.rb:94:12: C: Avoid the use of Perl-style backrefs.
"#{$1}/#{$2}"
^^
Library/Contributions/cmd/brew-gist-logs.rb:98:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "usage: brew gist-logs [options] <formula>"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-gist-logs.rb:100:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "options: --config, --doctor, --new-issue"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "utils/json"
^^^^^^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:3:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
GitHub.open("https://api.github.com/search/repositories?q=homebrew+in:name&sort=stars&per_page=100") do |json|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:3:80: C: Line is too long. [110/79]
GitHub.open("https://api.github.com/search/repositories?q=homebrew+in:name&sort=stars&per_page=100") do |json|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:4:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
json["items"].each do |repo|
^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:5:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if repo["name"] =~ /^homebrew-(\S+)$/
^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:6:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
user = repo["owner"]["login"]
^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:6:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
user = repo["owner"]["login"]
^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:7:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
user = user.downcase if user == "Homebrew"
^^^^^^^^^^
Library/Contributions/cmd/brew-ls-taps.rb:8:23: C: Avoid the use of Perl-style backrefs.
puts "#{user}/#{$1}"
^^
Library/Contributions/cmd/brew-pull.rb:7:9: C: Use def with parentheses when there are parameters.
def tap arg
^^^
Library/Contributions/cmd/brew-pull.rb:8:21: C: Use %r only for regular expressions matching more than 1 '/' character.
match = arg.match(%r[homebrew-(\w+)/])
^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-pull.rb:13:80: C: Line is too long. [92/79]
onoe 'This command requires at least one argument containing a URL or pull request number'
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-pull.rb:16:1: C: Favor modifier if usage when you have a single-line body. Another good alternative is the usage of control flow &&/||.
if ARGV[0] == '--rebase'
^^
Library/Contributions/cmd/brew-pull.rb:33:15: W: Assignment in condition - you probably meant to use ==.
if tap_name = tap(url)
^
Library/Contributions/cmd/brew-pull.rb:35:34: C: Surrounding space missing for operator '/'.
tap_dir = HOMEBREW_REPOSITORY/"Library/Taps/#{user}-#{tap_name}"
^
Library/Contributions/cmd/brew-pull.rb:36:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "brew", "tap", "#{user}/#{tap_name}" unless tap_dir.exist?
^^^^^^
Library/Contributions/cmd/brew-pull.rb:36:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "brew", "tap", "#{user}/#{tap_name}" unless tap_dir.exist?
^^^^^
Library/Contributions/cmd/brew-pull.rb:45:5: C: Use `fail` instead of `raise` to signal exceptions.
raise 'No pull request detected!' unless issue
^^^^^
Library/Contributions/cmd/brew-pull.rb:46:80: C: Line is too long. [89/79]
url = "https://github.com/BrewTestBot/homebrew/compare/homebrew:master...pr-#{issue}"
^^^^^^^^^^
Library/Contributions/cmd/brew-pull.rb:64:42: C: Use || instead of or.
if ARGV.include? '--ignore-whitespace' or ARGV.include? '--clean'
^^
Library/Contributions/cmd/brew-pull.rb:73:13: W: Useless assignment to variable - e
rescue => e
^
Library/Contributions/cmd/brew-pull.rb:83:42: C: Use %r only for regular expressions matching more than 1 '/' character.
if (status =~ /A|M/) && (filename =~ %r{Formula/.+\.rb$}) || tap(url)
^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-pull.rb:101:80: C: Line is too long. [82/79]
onoe 'Can only bump one changed formula' unless changed_formulae.length == 1
^^^
Library/Contributions/cmd/brew-pull.rb:119:31: W: Shadowing outer local variable - f
changed_formulae.each do |f|
^
Library/Contributions/cmd/brew-readall.rb:10:3: W: Avoid rescuing the Exception class.
rescue Exception => e
^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-server:3:80: C: Line is too long. [81/79]
## brew server: Run a local webserver for browsing available and installed brews.
^^
Library/Contributions/cmd/brew-server:4:80: C: Line is too long. [92/79]
# Note: this external command is ruby, but set up as a shell script, so that it gets exec'd.
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-server:7:1: C: Prefer $LOAD_PATH over $:.
$:.unshift(ENV['HOMEBREW_LIBRARY_PATH'])
^^
Library/Contributions/cmd/brew-server:25:21: C: Use def with parentheses when there are parameters.
def link_to_formula name
^^^^
Library/Contributions/cmd/brew-server:29:1: C: Method has too many lines. [16/10]
def css_style; <<-CSS
^^^
Library/Contributions/cmd/brew-server:52:80: C: Line is too long. [99/79]
<button class="btn btn-medium" type="submit"><i class="icon-search"></i>&nbsp;Search</button>
^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-server:58:1: C: Method has too many lines. [22/10]
def html_page(title)
^^^
Library/Contributions/cmd/brew-server:70:80: C: Line is too long. [97/79]
<p id="subtitle" class="lead"><strong>The missing package manager for OS X</strong></p>
^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-server:88:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
html_page("Homebrew Menu") do |s|
^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-server:94:80: C: Line is too long. [128/79]
<div class="span12"><p id="installed"><a class="btn btn-primary" href="/installed">Show installed packages</a></p></div>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-server:115:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
html_page("Results") do |s|
^^^^^^^^^
Library/Contributions/cmd/brew-server:169:1: C: Inconsistent indentation detected.
unless f.deps.empty?
^^
Library/Contributions/cmd/brew-server:179:80: C: Line is too long. [85/79]
used_by = Formula.select { |ff| ff.deps.include?(f) }.map(&:name).flatten.uniq.sort
^^^^^^
Library/Contributions/cmd/brew-server:198:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
html_page("Installed Formulae") do |s|
^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-server:214:80: C: Line is too long. [86/79]
puts "View our tasting menu at http://localhost:4567/\nUse \"Control-C\" to exit.\n\n"
^^^^^^^
Library/Contributions/cmd/brew-services.rb:57:80: C: Line is too long. [110/79]
# { :url => "https://gist.github.com/raw/534777/63c4698872aaef11fe6e6c0c5514f35fd1b1687b/nginx.plist.xml" }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:94:5: C: Avoid single-line method definitions.
def bin; "brew services" end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:94:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
def bin; "brew services" end
^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:97:5: C: Avoid single-line method definitions.
def launchctl; which("launchctl") end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:97:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
def launchctl; which("launchctl") end
^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:100:5: C: Avoid single-line method definitions.
def root?; Process.uid == 0 end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:103:5: C: Avoid single-line method definitions.
def user; @user ||= %x{/usr/bin/stat -f '%Su' #{HOMEBREW_CELLAR} 2>/dev/null}.chomp || %x{/usr/bin/whoami}.chomp end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:103:80: C: Line is too long. [120/79]
def user; @user ||= %x{/usr/bin/stat -f '%Su' #{HOMEBREW_CELLAR} 2>/dev/null}.chomp || %x{/usr/bin/whoami}.chomp end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:106:5: C: Avoid single-line method definitions.
def boot_path; Pathname.new("/Library/LaunchDaemons") end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:106:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
def boot_path; Pathname.new("/Library/LaunchDaemons") end
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:109:5: C: Avoid single-line method definitions.
def user_path; Pathname.new(ENV['HOME'] + '/Library/LaunchAgents') end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:112:5: C: Avoid single-line method definitions.
def path; root? ? boot_path : user_path end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:115:5: C: Avoid single-line method definitions.
def running; %x{#{launchctl} list | grep homebrew.mxcl}.chomp.split("\n").map { |svc| $1 if svc =~ /(homebrew\.mxcl\..+)\z/ }.compact end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:115:80: C: Line is too long. [141/79]
def running; %x{#{launchctl} list | grep homebrew.mxcl}.chomp.split("\n").map { |svc| $1 if svc =~ /(homebrew\.mxcl\..+)\z/ }.compact end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:115:91: C: Avoid the use of Perl-style backrefs.
def running; %x{#{launchctl} list | grep homebrew.mxcl}.chomp.split("\n").map { |svc| $1 if svc =~ /(homebrew\.mxcl\..+)\z/ }.compact end
^^
Library/Contributions/cmd/brew-services.rb:119:80: C: Line is too long. [120/79]
abort("Runtime error: homebrew is required, please start via `#{bin} ...`") unless defined?(HOMEBREW_LIBRARY_PATH)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:121:7: C: Redundant `self` detected.
self.send(:extend, ::FileUtils)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:126:5: C: Avoid single-line method definitions.
def service; @service ||= Service.new(Formula.factory(Formula.canonical_name(@formula))) if @formula end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:126:80: C: Line is too long. [108/79]
def service; @service ||= Service.new(Formula.factory(Formula.canonical_name(@formula))) if @formula end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:130:5: C: Method has too many lines. [17/10]
def usage(code = 0)
^^^
Library/Contributions/cmd/brew-services.rb:133:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "Small wrapper around `launchctl` for supported formulae, commands available:"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:133:80: C: Line is too long. [89/79]
puts "Small wrapper around `launchctl` for supported formulae, commands available:"
^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:134:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts " cleanup Get rid of stale services and unused plists"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:136:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts " restart Gracefully restart selected service"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:137:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts " start Start selected service"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:138:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts " stop Stop selected service"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:140:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "Options, sudo and paths:"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:151:5: C: Cyclomatic complexity for run! is too high. [14/6]
def run!
^^^
Library/Contributions/cmd/brew-services.rb:151:5: C: Method has too many lines. [15/10]
def run!
^^^
Library/Contributions/cmd/brew-services.rb:153:80: C: Line is too long. [101/79]
usage if ARGV.empty? || ARGV.include?('help') || ARGV.include?('--help') || ARGV.include?('-h')
^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:156:75: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
@args = ARGV.reject { |arg| arg[0] == 45 }.map { |arg| arg.include?("/") ? arg : arg.downcase } # 45.chr == '-'
^^^
Library/Contributions/cmd/brew-services.rb:156:80: C: Line is too long. [117/79]
@args = ARGV.reject { |arg| arg[0] == 45 }.map { |arg| arg.include?("/") ? arg : arg.downcase } # 45.chr == '-'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:162:9: C: Indent when as deep as case.
when 'cleanup', 'clean', 'cl', 'rm' then cleanup
^^^^
Library/Contributions/cmd/brew-services.rb:163:9: C: Indent when as deep as case.
when 'list', 'ls' then list
^^^^
Library/Contributions/cmd/brew-services.rb:164:9: C: Indent when as deep as case.
when 'restart', 'relaunch', 'reload', 'r' then check and restart
^^^^
Library/Contributions/cmd/brew-services.rb:164:62: C: Use && instead of and.
when 'restart', 'relaunch', 'reload', 'r' then check and restart
^^^
Library/Contributions/cmd/brew-services.rb:165:9: C: Indent when as deep as case.
when 'start', 'launch', 'load', 's', 'l' then check and start
^^^^
Library/Contributions/cmd/brew-services.rb:165:61: C: Use && instead of and.
when 'start', 'launch', 'load', 's', 'l' then check and start
^^^
Library/Contributions/cmd/brew-services.rb:166:9: C: Indent when as deep as case.
when 'stop', 'unload', 'terminate', 'term', 't', 'u' then check and stop
^^^^
Library/Contributions/cmd/brew-services.rb:166:73: C: Use && instead of and.
when 'stop', 'unload', 'terminate', 'term', 't', 'u' then check and stop
^^^
Library/Contributions/cmd/brew-services.rb:166:80: C: Line is too long. [80/79]
when 'stop', 'unload', 'terminate', 'term', 't', 'u' then check and stop
^
Library/Contributions/cmd/brew-services.rb:175:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
odie("Formula missing, please provide a formula name") unless service
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:179:80: C: Line is too long. [88/79]
# List all running services with PID and status and path to plist file, if available
^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:180:5: C: Cyclomatic complexity for list is too high. [8/6]
def list
^^^
Library/Contributions/cmd/brew-services.rb:181:63: C: Favor sprintf over String#%.
opoo("No %s services controlled by `#{bin}` running..." % [root? ? 'root' : 'user-space']) and return if running.empty?
^
Library/Contributions/cmd/brew-services.rb:181:80: C: Line is too long. [125/79]
opoo("No %s services controlled by `#{bin}` running..." % [root? ? 'root' : 'user-space']) and return if running.empty?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:181:98: C: Use && instead of and.
opoo("No %s services controlled by `#{bin}` running..." % [root? ? 'root' : 'user-space']) and return if running.empty?
^^^
Library/Contributions/cmd/brew-services.rb:183:16: W: Assignment in condition - you probably meant to use ==.
if svc = Service.from(label)
^
Library/Contributions/cmd/brew-services.rb:184:80: C: Line is too long. [80/79]
status = !svc.dest.file? ? "#{Tty.red}stale " : "#{Tty.white}started"
^
Library/Contributions/cmd/brew-services.rb:185:50: C: Favor sprintf over String#%.
puts "%-10.10s %s#{Tty.reset} %7s %s" % [svc.name, status, svc.pid ? svc.pid.to_s : '-', svc.dest.file? ? svc.dest : label]
^
Library/Contributions/cmd/brew-services.rb:185:80: C: Line is too long. [134/79]
puts "%-10.10s %s#{Tty.reset} %7s %s" % [svc.name, status, svc.pid ? svc.pid.to_s : '-', svc.dest.file? ? svc.dest : label]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:187:70: C: Favor sprintf over String#%.
puts "%-10.10s #{Tty.red}unknown#{Tty.reset} %7s #{label}" % ["?", "-"]
^
Library/Contributions/cmd/brew-services.rb:187:73: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "%-10.10s #{Tty.red}unknown#{Tty.reset} %7s #{label}" % ["?", "-"]
^^^
Library/Contributions/cmd/brew-services.rb:187:78: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "%-10.10s #{Tty.red}unknown#{Tty.reset} %7s #{label}" % ["?", "-"]
^^^
Library/Contributions/cmd/brew-services.rb:187:80: C: Line is too long. [81/79]
puts "%-10.10s #{Tty.red}unknown#{Tty.reset} %7s #{label}" % ["?", "-"]
^^
Library/Contributions/cmd/brew-services.rb:193:5: C: Method has too many lines. [20/10]
def cleanup
^^^
Library/Contributions/cmd/brew-services.rb:198:16: W: Assignment in condition - you probably meant to use ==.
if svc = Service.from(label)
^
Library/Contributions/cmd/brew-services.rb:199:11: C: Favor unless (or control flow or) over if for negative conditions.
if !svc.dest.file?
^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:200:80: C: Line is too long. [90/79]
puts "%-15.15s #{Tty.white}stale#{Tty.reset} => killing service..." % svc.name
^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:200:81: C: Favor sprintf over String#%.
puts "%-15.15s #{Tty.white}stale#{Tty.reset} => killing service..." % svc.name
^
Library/Contributions/cmd/brew-services.rb:218:80: C: Line is too long. [99/79]
puts "All #{root? ? 'root' : 'user-space'} services OK, nothing cleaned..." if cleaned.empty?
^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:228:5: C: Cyclomatic complexity for start is too high. [9/6]
def start
^^^
Library/Contributions/cmd/brew-services.rb:228:5: C: Method has too many lines. [20/10]
def start
^^^
Library/Contributions/cmd/brew-services.rb:229:80: C: Line is too long. [111/79]
odie "Service `#{service.name}` already started, use `#{bin} restart #{service.name}`" if service.loaded?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:234:28: C: Use the new Ruby 1.9 hash syntax.
custom_plist = { :url => custom_plist }
^^^^^^^
Library/Contributions/cmd/brew-services.rb:242:80: C: Line is too long. [143/79]
odie "Formula `#{service.name}` not installed, #startup_plist not implemented or no plist file found" if !custom_plist && !service.plist?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:254:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system launchctl, "load", "-w", service.dest.to_s
^^^^^^
Library/Contributions/cmd/brew-services.rb:254:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system launchctl, "load", "-w", service.dest.to_s
^^^^
Library/Contributions/cmd/brew-services.rb:255:7: C: Prefer $CHILD_STATUS from the English library over $?.
$?.to_i != 0 ? odie("Failed to start `#{service.name}`") : ohai("Successfully started `#{service.name}` (label: #{service.label})")
^^
Library/Contributions/cmd/brew-services.rb:255:80: C: Line is too long. [137/79]
$?.to_i != 0 ? odie("Failed to start `#{service.name}`") : ohai("Successfully started `#{service.name}` (label: #{service.label})")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:259:5: C: Method has too many lines. [13/10]
def stop
^^^
Library/Contributions/cmd/brew-services.rb:261:80: C: Line is too long. [88/79]
rm service.dest if service.dest.exist? # get rid of installed plist anyway, dude
^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:262:80: C: Line is too long. [104/79]
odie "Service `#{service.name}` not running, wanna start it? Try `#{bin} start #{service.name}`"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:267:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system launchctl, "unload", "-w", service.dest.to_s
^^^^^^^^
Library/Contributions/cmd/brew-services.rb:267:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system launchctl, "unload", "-w", service.dest.to_s
^^^^
Library/Contributions/cmd/brew-services.rb:268:9: C: Prefer $CHILD_STATUS from the English library over $?.
$?.to_i != 0 ? odie("Failed to stop `#{service.name}`") : ohai("Successfully stopped `#{service.name}` (label: #{service.label})")
^^
Library/Contributions/cmd/brew-services.rb:268:80: C: Line is too long. [138/79]
$?.to_i != 0 ? odie("Failed to stop `#{service.name}`") : ohai("Successfully stopped `#{service.name}` (label: #{service.label})")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:278:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system launchctl, "remove", svc.label
^^^^^^^^
Library/Contributions/cmd/brew-services.rb:279:65: C: Prefer $CHILD_STATUS from the English library over $?.
odie("Failed to remove `#{svc.name}`, try again?") unless $?.to_i == 0
^^
Library/Contributions/cmd/brew-services.rb:281:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts " ...checking status"
^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:292:1: C: Extra empty line detected at body beginning.
Library/Contributions/cmd/brew-services.rb:296:5: C: Avoid single-line method definitions.
def startup_user; ServicesCli.user end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:305:5: C: Avoid using rescue in its modifier form.
new(Formula.factory(Formula.canonical_name($1))) rescue nil
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:305:48: C: Avoid the use of Perl-style backrefs.
new(Formula.factory(Formula.canonical_name($1))) rescue nil
^^
Library/Contributions/cmd/brew-services.rb:309:3: C: Avoid single-line method definitions.
def initialize(formula); @formula = formula end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:312:3: C: Avoid single-line method definitions.
def name; @name ||= formula.name end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:315:3: C: Avoid single-line method definitions.
def label; @label ||= formula.plist_name end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:317:80: C: Line is too long. [80/79]
# Path to a static plist file, this is always `homebrew.mxcl.<formula>.plist`.
^
Library/Contributions/cmd/brew-services.rb:318:3: C: Avoid single-line method definitions.
def plist; @plist ||= formula.prefix + "#{label}.plist" end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:320:80: C: Line is too long. [84/79]
# Path to destination plist, if run as root it's in `boot_path`, else `user_path`.
^^^^^
Library/Contributions/cmd/brew-services.rb:321:3: C: Avoid single-line method definitions.
def dest; (ServicesCli.root? ? ServicesCli.boot_path : ServicesCli.user_path) + "#{label}.plist" end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:321:80: C: Line is too long. [102/79]
def dest; (ServicesCli.root? ? ServicesCli.boot_path : ServicesCli.user_path) + "#{label}.plist" end
^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:324:3: C: Avoid single-line method definitions.
def plist?; formula.installed? && (plist.file? || formula.respond_to?(:startup_plist)) end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:324:80: C: Line is too long. [92/79]
def plist?; formula.installed? && (plist.file? || formula.respond_to?(:startup_plist)) end
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:327:3: C: Avoid single-line method definitions.
def loaded?; %x{#{ServicesCli.launchctl} list | grep #{label} 2>/dev/null}.chomp =~ /#{label}\z/ end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:327:80: C: Line is too long. [102/79]
def loaded?; %x{#{ServicesCli.launchctl} list | grep #{label} 2>/dev/null}.chomp =~ /#{label}\z/ end
^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:331:80: C: Line is too long. [80/79]
status = %x{#{ServicesCli.launchctl} list | grep #{label} 2>/dev/null}.chomp
^
Library/Contributions/cmd/brew-services.rb:332:12: C: Avoid the use of Perl-style backrefs.
return $1.to_i if status =~ /\A([\d]+)\s+.+#{label}\z/
^^
Library/Contributions/cmd/brew-services.rb:336:3: C: Cyclomatic complexity for generate_plist is too high. [13/6]
def generate_plist(data = nil)
^^^
Library/Contributions/cmd/brew-services.rb:336:3: C: Method has too many lines. [20/10]
def generate_plist(data = nil)
^^^
Library/Contributions/cmd/brew-services.rb:346:80: C: Line is too long. [93/79]
# replace "template" variables and ensure label is always, always homebrew.mxcl.<formula>
^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:347:76: C: Avoid the use of Perl-style backrefs.
data = data.to_s.gsub(/\{\{([a-z][a-z0-9_]*)\}\}/i) { |m| formula.send($1).to_s if formula.respond_to?($1) }.
^^
Library/Contributions/cmd/brew-services.rb:347:80: C: Line is too long. [113/79]
data = data.to_s.gsub(/\{\{([a-z][a-z0-9_]*)\}\}/i) { |m| formula.send($1).to_s if formula.respond_to?($1) }.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:347:108: C: Avoid the use of Perl-style backrefs.
data = data.to_s.gsub(/\{\{([a-z][a-z0-9_]*)\}\}/i) { |m| formula.send($1).to_s if formula.respond_to?($1) }.
^^
Library/Contributions/cmd/brew-services.rb:347:113: C: Place the . on the next line, together with the method name.
data = data.to_s.gsub(/\{\{([a-z][a-z0-9_]*)\}\}/i) { |m| formula.send($1).to_s if formula.respond_to?($1) }.
^
Library/Contributions/cmd/brew-services.rb:348:80: C: Line is too long. [90/79]
gsub(%r{(<key>Label</key>\s*<string>)[^<]*(</string>)}, '\1' + label + '\2')
^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:351:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if formula.startup_user != "root" && data =~ %r{<key>UserName</key>\s*<string>root</string>}
^^^^^^
Library/Contributions/cmd/brew-services.rb:351:80: C: Line is too long. [96/79]
if formula.startup_user != "root" && data =~ %r{<key>UserName</key>\s*<string>root</string>}
^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:352:80: C: Line is too long. [112/79]
data = data.gsub(%r{(<key>UserName</key>\s*<string>)[^<]*(</string>)}, '\1' + formula.startup_user + '\2')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:353:56: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
elsif ServicesCli.root? && formula.startup_user != "root" && data !~ %r{<key>UserName</key>}
^^^^^^
Library/Contributions/cmd/brew-services.rb:353:74: C: Use %r only for regular expressions matching more than 1 '/' character.
elsif ServicesCli.root? && formula.startup_user != "root" && data !~ %r{<key>UserName</key>}
^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:353:80: C: Line is too long. [96/79]
elsif ServicesCli.root? && formula.startup_user != "root" && data !~ %r{<key>UserName</key>}
^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:354:80: C: Line is too long. [118/79]
data = data.gsub(%r{(</dict>\s*</plist>)}, " <key>UserName</key><string>#{formula.startup_user}</string>\n\\1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-services.rb:359:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts " " + data.gsub("\n", "\n ")
^^^^^
Library/Contributions/cmd/brew-switch.rb:5:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
onoe "Usage: brew switch <formula> <version>"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-switch.rb:21:15: C: Surrounding space missing for operator '+'.
unless (cellar+version).directory?
^
Library/Contributions/cmd/brew-switch.rb:39:23: C: Surrounding space missing for operator '+'.
keg = Keg.new(cellar+version)
^
Library/Contributions/cmd/brew-switch.rb:43:23: C: Surrounding space missing for operator '+'.
keg = Keg.new(cellar+version)
^
Library/Contributions/cmd/brew-tap-readme.rb:3:1: C: Use `fail` instead of `raise` to signal exceptions.
raise "A name is required" if name.nil?
^^^^^
Library/Contributions/cmd/brew-tap-readme.rb:3:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
raise "A name is required" if name.nil?
^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-tap-readme.rb:13:80: C: Line is too long. [123/79]
If the formula conflicts with one from Homebrew/homebrew or another tap, you can `brew install homebrew/#{name}/<formula>`.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-tap-readme.rb:18:80: C: Line is too long. [81/79]
brew install https://raw.github.com/Homebrew/homebrew-#{name}/master/<formula>.rb
^^
Library/Contributions/cmd/brew-tap-readme.rb:31:1: C: Use `fail` instead of `raise` to signal exceptions.
raise "#{path} already exists" if path.exist?
^^^^^
Library/Contributions/cmd/brew-test-bot.rb:31:1: C: Missing top-level class documentation comment.
class Step
^^^^^
Library/Contributions/cmd/brew-test-bot.rb:34:18: C: Use def with parentheses when there are parameters.
def initialize test, command, options={}
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:34:40: C: Surrounding space missing in default value assignment.
def initialize test, command, options={}
^
Library/Contributions/cmd/brew-test-bot.rb:45:21: C: Use def with parentheses when there are parameters.
def log_file_path full_path=true
^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:45:30: C: Surrounding space missing in default value assignment.
def log_file_path full_path=true
^
Library/Contributions/cmd/brew-test-bot.rb:47:39: C: Use && instead of and.
return file unless @test.log_root and full_path
^^^
Library/Contributions/cmd/brew-test-bot.rb:53:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
when :passed then "green"
^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:54:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
when :running then "orange"
^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:55:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
when :failed then "red"
^^^^^
Library/Contributions/cmd/brew-test-bot.rb:64:80: C: Line is too long. [88/79]
@command.gsub(/(brew|--force|--verbose|--build-bottle|--rb) /, '').strip.squeeze ' '
^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:77:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
tabs = (80 - "PASSED".length + 1 - @command.length) / 8
^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:78:15: C: Space missing to the left of {.
tabs.times{ print "\t" }
^
Library/Contributions/cmd/brew-test-bot.rb:86:7: C: Rename has_output? to output?.
def has_output?
^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:87:13: C: Use && instead of and.
@output and @output.any?
^^^
Library/Contributions/cmd/brew-test-bot.rb:90:3: C: Cyclomatic complexity for run is too high. [8/6]
def run
^^^
Library/Contributions/cmd/brew-test-bot.rb:90:3: C: Method has too many lines. [21/10]
def run
^^^
Library/Contributions/cmd/brew-test-bot.rb:105:15: C: Prefer $CHILD_STATUS from the English library over $?.
success = $?.success?
^^
Library/Contributions/cmd/brew-test-bot.rb:111:5: C: Favor modifier if usage when you have a single-line body. Another good alternative is the usage of control flow &&/||.
if has_output? and (not success or @puts_output_on_success)
^^
Library/Contributions/cmd/brew-test-bot.rb:111:20: C: Use && instead of and.
if has_output? and (not success or @puts_output_on_success)
^^^
Library/Contributions/cmd/brew-test-bot.rb:111:25: C: Use ! instead of not.
if has_output? and (not success or @puts_output_on_success)
^^^
Library/Contributions/cmd/brew-test-bot.rb:111:37: C: Use || instead of or.
if has_output? and (not success or @puts_output_on_success)
^^
Library/Contributions/cmd/brew-test-bot.rb:114:53: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
FileUtils.rm log_file_path unless ARGV.include? "--keep-logs"
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:118:1: C: Class definition is too long. [239/100]
class Test
^^^^^
Library/Contributions/cmd/brew-test-bot.rb:118:1: C: Missing top-level class documentation comment.
class Test
^^^^^
Library/Contributions/cmd/brew-test-bot.rb:121:3: C: Method has too many lines. [19/10]
def initialize argument
^^^
Library/Contributions/cmd/brew-test-bot.rb:121:18: C: Use def with parentheses when there are parameters.
def initialize argument
^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:127:5: C: Avoid using rescue in its modifier form.
formula = Formula.factory argument rescue FormulaUnavailableError
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:129:8: C: Prefer $CHILD_STATUS from the English library over $?.
if $?.success?
^^
Library/Contributions/cmd/brew-test-bot.rb:141:36: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
@brewbot_root = Pathname.pwd + "brewbot"
^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:149:11: C: Use def with parentheses when there are parameters.
def git arguments
^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:155:3: C: Cyclomatic complexity for download is too high. [24/6]
def download
^^^
Library/Contributions/cmd/brew-test-bot.rb:155:3: C: Method has too many lines. [76/10]
def download
^^^
Library/Contributions/cmd/brew-test-bot.rb:156:26: C: Use def with parentheses when there are parameters.
def shorten_revision revision
^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:168:24: C: Use def with parentheses when there are parameters.
def single_commit? start_revision, end_revision
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:176:17: C: Use && instead of and.
if no_args? and ENV['GIT_PREVIOUS_COMMIT'] and ENV['GIT_COMMIT'] \
^^^
Library/Contributions/cmd/brew-test-bot.rb:176:48: C: Use && instead of and.
if no_args? and ENV['GIT_PREVIOUS_COMMIT'] and ENV['GIT_COMMIT'] \
^^^
Library/Contributions/cmd/brew-test-bot.rb:177:8: C: Use && instead of and.
and not ENV['ghprbPullId']
^^^
Library/Contributions/cmd/brew-test-bot.rb:177:12: C: Use ! instead of not.
and not ENV['ghprbPullId']
^^^
Library/Contributions/cmd/brew-test-bot.rb:180:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew update" if current_branch == "master"
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:180:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew update" if current_branch == "master"
^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:181:17: C: Use || instead of or.
elsif @hash or @url
^^
Library/Contributions/cmd/brew-test-bot.rb:183:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew update" if current_branch == "master"
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:183:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew update" if current_branch == "master"
^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:188:27: C: Use && instead of and.
if ENV['ghprbPullId'] and ENV['GIT_URL']
^^^
Library/Contributions/cmd/brew-test-bot.rb:202:43: C: Use || instead of or.
if diff_start_sha1 == diff_end_sha1 or \
^^
Library/Contributions/cmd/brew-test-bot.rb:234:20: C: Use && instead of and.
return if @url and not steps.last.passed?
^^^
Library/Contributions/cmd/brew-test-bot.rb:234:24: C: Use ! instead of not.
return if @url and not steps.last.passed?
^^^
Library/Contributions/cmd/brew-test-bot.rb:240:10: C: Don't use parentheses around the condition of an if.
if (status == 'A' or status == 'M')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:240:25: C: Use || instead of or.
if (status == 'A' or status == 'M')
^^
Library/Contributions/cmd/brew-test-bot.rb:241:27: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
if filename.match /Formula\/.+\.rb$/
^
Library/Contributions/cmd/brew-test-bot.rb:250:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
return if ARGV.include? "--skip-setup"
^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:251:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew doctor"
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:252:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew --env"
^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:253:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew --config"
^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:256:3: C: Cyclomatic complexity for formula is too high. [21/6]
def formula formula
^^^
Library/Contributions/cmd/brew-test-bot.rb:256:3: C: Method has too many lines. [56/10]
def formula formula
^^^
Library/Contributions/cmd/brew-test-bot.rb:256:15: C: Use def with parentheses when there are parameters.
def formula formula
^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:265:52: C: Space between { and | missing.
unsatisfied_requirements = requirements.reject {|r| r.satisfied? or r.default_formula?}
^^
Library/Contributions/cmd/brew-test-bot.rb:265:70: C: Use || instead of or.
unsatisfied_requirements = requirements.reject {|r| r.satisfied? or r.default_formula?}
^^
Library/Contributions/cmd/brew-test-bot.rb:265:80: C: Line is too long. [91/79]
unsatisfied_requirements = requirements.reject {|r| r.satisfied? or r.default_formula?}
^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:265:91: C: Space missing inside }.
unsatisfied_requirements = requirements.reject {|r| r.satisfied? or r.default_formula?}
^
Library/Contributions/cmd/brew-test-bot.rb:268:37: C: Space between { and | missing.
unsatisfied_requirements.each {|r| puts r.message}
^^
Library/Contributions/cmd/brew-test-bot.rb:268:56: C: Space missing inside }.
unsatisfied_requirements.each {|r| puts r.message}
^
Library/Contributions/cmd/brew-test-bot.rb:275:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew install apple-gcc42"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:279:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
formula_fetch_options = " "
^^^
Library/Contributions/cmd/brew-test-bot.rb:280:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle'
^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:280:80: C: Line is too long. [81/79]
formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle'
^^
Library/Contributions/cmd/brew-test-bot.rb:281:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
formula_fetch_options << " --force" if ARGV.include? '--cleanup'
^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:287:80: C: Line is too long. [81/79]
test "brew install --only-dependencies #{formula}" unless dependencies.empty?
^^
Library/Contributions/cmd/brew-test-bot.rb:293:45: C: Use the new Ruby 1.9 hash syntax.
test "brew bottle --rb #{formula}", :puts_output_on_success => true
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:295:32: C: Use && instead of and.
if bottle_step.passed? and bottle_step.has_output?
^^^
Library/Contributions/cmd/brew-test-bot.rb:297:80: C: Line is too long. [81/79]
bottle_step.output.gsub(/.*(\.\/\S+#{bottle_native_regex}).*/m, '\1')
^^
Library/Contributions/cmd/brew-test-bot.rb:305:29: C: Use && instead of and.
if formula_object.devel and not ARGV.include? '--HEAD'
^^^
Library/Contributions/cmd/brew-test-bot.rb:305:33: C: Use ! instead of not.
if formula_object.devel and not ARGV.include? '--HEAD'
^^^
Library/Contributions/cmd/brew-test-bot.rb:311:80: C: Line is too long. [85/79]
test "brew test --devel --verbose #{formula}" if formula_object.test_defined?
^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:320:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew tests"
^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:321:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
test "brew readall"
^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:335:3: C: Cyclomatic complexity for cleanup_after is too high. [7/6]
def cleanup_after
^^^
Library/Contributions/cmd/brew-test-bot.rb:335:3: C: Method has too many lines. [15/10]
def cleanup_after
^^^
Library/Contributions/cmd/brew-test-bot.rb:343:34: C: Use || instead of or.
if ARGV.include? '--cleanup' or @url or @hash
^^
Library/Contributions/cmd/brew-test-bot.rb:343:42: C: Use || instead of or.
if ARGV.include? '--cleanup' or @url or @hash
^^
Library/Contributions/cmd/brew-test-bot.rb:353:56: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
FileUtils.rm_rf @brewbot_root unless ARGV.include? "--keep-logs"
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:356:12: C: Use def with parentheses when there are parameters.
def test cmd, options={}
^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:356:24: C: Surrounding space missing in default value assignment.
def test cmd, options={}
^
Library/Contributions/cmd/brew-test-bot.rb:363:3: C: Method has too many lines. [15/10]
def check_results
^^^
Library/Contributions/cmd/brew-test-bot.rb:364:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
message = "All tests passed and raring to brew."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:370:26: C: Use `fail` instead of `raise` to signal exceptions.
when :running then raise
^^^^^
Library/Contributions/cmd/brew-test-bot.rb:374:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
message = ""
^^
Library/Contributions/cmd/brew-test-bot.rb:395:36: C: Use && instead of and.
if Pathname.pwd == HOMEBREW_PREFIX and ARGV.include? "--cleanup"
^^^
Library/Contributions/cmd/brew-test-bot.rb:395:54: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if Pathname.pwd == HOMEBREW_PREFIX and ARGV.include? "--cleanup"
^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:396:80: C: Line is too long. [80/79]
odie 'cannot use --cleanup from HOMEBREW_PREFIX as it will delete all output.'
^
Library/Contributions/cmd/brew-test-bot.rb:399:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if ARGV.include? "--email"
^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:409:32: C: Use || instead of or.
if ARGV.include? '--ci-master' or ARGV.include? '--ci-pr' \
^^
Library/Contributions/cmd/brew-test-bot.rb:410:4: C: Use || instead of or.
or ARGV.include? '--ci-testing'
^^
Library/Contributions/cmd/brew-test-bot.rb:413:1: C: Favor modifier if usage when you have a single-line body. Another good alternative is the usage of control flow &&/||.
if ARGV.include? '--ci-master'
^^
Library/Contributions/cmd/brew-test-bot.rb:417:1: C: Favor modifier if usage when you have a single-line body. Another good alternative is the usage of control flow &&/||.
if ARGV.include? '--local'
^^
Library/Contributions/cmd/brew-test-bot.rb:421:35: C: Use || instead of or.
if ARGV.include? '--ci-pr-upload' or ARGV.include? '--ci-testing-upload'
^^
Library/Contributions/cmd/brew-test-bot.rb:425:3: C: Use `fail` instead of `raise` to signal exceptions.
raise "Missing Jenkins variables!" unless jenkins and job and id
^^^^^
Library/Contributions/cmd/brew-test-bot.rb:425:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
raise "Missing Jenkins variables!" unless jenkins and job and id
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:425:53: C: Use && instead of and.
raise "Missing Jenkins variables!" unless jenkins and job and id
^^^
Library/Contributions/cmd/brew-test-bot.rb:425:61: C: Use && instead of and.
raise "Missing Jenkins variables!" unless jenkins and job and id
^^^
Library/Contributions/cmd/brew-test-bot.rb:428:80: C: Line is too long. [114/79]
copied = system "cp #{jenkins}/jobs/\"#{job}\"/configurations/axis-version/*/builds/#{id}/archive/*.bottle*.* ."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:434:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "git am --abort 2>/dev/null"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:435:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "git rebase --abort 2>/dev/null"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:436:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "git checkout -f master"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:437:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "git reset --hard origin/master"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:438:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "brew update"
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:440:3: C: Favor modifier if usage when you have a single-line body. Another good alternative is the usage of control flow &&/||.
if ARGV.include? '--ci-pr-upload'
^^
Library/Contributions/cmd/brew-test-bot.rb:444:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "brew bottle --merge --write *.bottle*.rb"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:446:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
remote = "git@github.com:BrewTestBot/homebrew.git"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:450:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = "/home/frs/project/m/ma/machomebrew/Bottles/"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:452:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
options = "--partial --progress --human-readable --compress"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:469:27: C: Use || instead of or.
any_errors = test.run or any_errors
^^
Library/Contributions/cmd/brew-test-bot.rb:474:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if ARGV.include? "--junit"
^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:478:18: W: Shadowing outer local variable - test
tests.each do |test|
^^^^
Library/Contributions/cmd/brew-test-bot.rb:502:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
open("brew-test-bot.xml", "w") do |xml_file|
^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:502:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
open("brew-test-bot.xml", "w") do |xml_file|
^^^
Library/Contributions/cmd/brew-test-bot.rb:508:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if ARGV.include? "--email"
^^^^^^^^^
Library/Contributions/cmd/brew-test-bot.rb:510:18: W: Shadowing outer local variable - test
tests.each do |test|
^^^^
Library/Contributions/cmd/brew-test-bot.rb:528:1: C: Extra blank line detected.
Library/Contributions/cmd/brew-test-bot.rb:529:59: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "rm -rf #{HOMEBREW_CACHE}/*" if ARGV.include? "--clean-cache"
^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-tests.rb:1:1: C: Missing top-level module documentation comment.
module Homebrew extend self
^^^^^^
Library/Contributions/cmd/brew-tests.rb:1:17: C: Use `module_function` instead of `extend self`.
module Homebrew extend self
^^^^^^^^^^^
Library/Contributions/cmd/brew-tests.rb:2:1: C: Inconsistent indentation detected.
def tests
^^
Library/Contributions/cmd/brew-tests.rb:3:22: C: Surrounding space missing for operator '/'.
(HOMEBREW_LIBRARY/'Homebrew/test').cd do
^
Library/Contributions/cmd/brew-tests.rb:5:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "rake", "deps", "test"
^^^^^^
Library/Contributions/cmd/brew-tests.rb:5:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "rake", "deps", "test"
^^^^^^
Library/Contributions/cmd/brew-tests.rb:5:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "rake", "deps", "test"
^^^^^^
Library/Contributions/cmd/brew-tests.rb:6:12: C: Prefer $CHILD_STATUS from the English library over $?.
exit $?.exitstatus
^^
Library/Contributions/cmd/brew-unpack.rb:4:1: C: Missing top-level module documentation comment.
module ScriptDataReader
^^^^^^
Library/Contributions/cmd/brew-unpack.rb:10:80: C: Line is too long. [117/79]
# http://stackoverflow.com/questions/2156629/can-i-access-the-data-from-a-required-script-in-ruby/2157556#2157556
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-unpack.rb:11:3: C: Method has too many lines. [11/10]
def self.load(filename)
^^^
Library/Contributions/cmd/brew-unpack.rb:16:11: W: Use Kernel#loop with break rather than begin/end/until(or while).
end until line.nil? or line.match(/^__END__$/)
^^^^^
Library/Contributions/cmd/brew-unpack.rb:16:27: C: Use || instead of or.
end until line.nil? or line.match(/^__END__$/)
^^
Library/Contributions/cmd/brew-unpack.rb:17:18: W: Assignment in condition - you probably meant to use ==.
while line = f.gets
^
Library/Contributions/cmd/brew-unpack.rb:29:80: C: Line is too long. [80/79]
# Need to tweak the Formula class slightly so that patching is option and `DATA`
^
Library/Contributions/cmd/brew-unpack.rb:34:3: C: Use alias_method instead of alias.
alias do_patch patch
^^^^^
Library/Contributions/cmd/brew-unpack.rb:50:1: C: Missing top-level module documentation comment.
module Homebrew extend self
^^^^^^
Library/Contributions/cmd/brew-unpack.rb:50:17: C: Use `module_function` instead of `extend self`.
module Homebrew extend self
^^^^^^^^^^^
Library/Contributions/cmd/brew-unpack.rb:51:1: C: Inconsistent indentation detected.
def unpack_usage; <<-EOS.undent
^^
Library/Contributions/cmd/brew-unpack.rb:56:80: C: Line is too long. [80/79]
Formulae archives will be extracted to subfolders inside the current working
^
Library/Contributions/cmd/brew-unpack.rb:58:80: C: Line is too long. [80/79]
supplied, patches will also be downloaded and applied. If the `-g` option is
^
Library/Contributions/cmd/brew-unpack.rb:59:80: C: Line is too long. [82/79]
specified a git repository is created and all files added so that you can diff
^^^
Library/Contributions/cmd/brew-unpack.rb:64:3: C: Cyclomatic complexity for unpack is too high. [11/6]
def unpack
^^^
Library/Contributions/cmd/brew-unpack.rb:64:3: C: Method has too many lines. [32/10]
def unpack
^^^
Library/Contributions/cmd/brew-unpack.rb:68:5: C: Use `fail` instead of `raise` to signal exceptions.
raise FormulaUnspecifiedError if formulae.empty?
^^^^^
Library/Contributions/cmd/brew-unpack.rb:77:5: C: Use `fail` instead of `raise` to signal exceptions.
raise "Cannot write to #{unpack_dir}" unless unpack_dir.writable_real?
^^^^^
Library/Contributions/cmd/brew-unpack.rb:84:9: C: Use `fail` instead of `raise` to signal exceptions.
raise "Destination #{stage_dir} already exists!" unless ARGV.force?
^^^^^
Library/Contributions/cmd/brew-unpack.rb:92:80: C: Line is too long. [81/79]
cd entries.first if entries.length == 1 && File.directory?(entries.first)
^^
Library/Contributions/cmd/brew-unpack.rb:98:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ohai "Setting up git repository"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-unpack.rb:100:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "git init -q"
^^^^^^^^^^^^^
Library/Contributions/cmd/brew-unpack.rb:101:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "git add -A"
^^^^^^^^^^^^
Library/Contributions/cmd/brew-which.rb:3:1: C: Extra blank line detected.
Library/Contributions/cmd/brew-which.rb:4:1: C: Missing top-level module documentation comment.
module Homebrew extend self
^^^^^^
Library/Contributions/cmd/brew-which.rb:4:17: C: Use `module_function` instead of `extend self`.
module Homebrew extend self
^^^^^^^^^^^
Library/Contributions/cmd/brew-which.rb:5:1: C: Inconsistent indentation detected.
def which_versions which_brews=nil
^^
Library/Contributions/cmd/brew-which.rb:5:3: C: Cyclomatic complexity for which_versions is too high. [8/6]
def which_versions which_brews=nil
^^^
Library/Contributions/cmd/brew-which.rb:5:3: C: Method has too many lines. [19/10]
def which_versions which_brews=nil
^^^
Library/Contributions/cmd/brew-which.rb:5:22: C: Use def with parentheses when there are parameters.
def which_versions which_brews=nil
^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-which.rb:5:33: C: Surrounding space missing in default value assignment.
def which_versions which_brews=nil
^
Library/Contributions/cmd/brew-which.rb:6:18: C: Use array literal [] instead of Array.new.
brew_links = Array.new
^^^^^^^^^
Library/Contributions/cmd/brew-which.rb:7:19: C: Use hash literal {} instead of Hash.new.
version_map = Hash.new
^^^^^^^^
Library/Contributions/cmd/brew-which.rb:11:21: C: Surrounding space missing for operator '/'.
(HOMEBREW_PREFIX/'opt').subdirs.each do |path|
^
Library/Contributions/cmd/brew-which.rb:16:29: C: Prefer map over collect.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^^^^^^^
Library/Contributions/cmd/brew-which.rb:16:36: C: Space between { and | missing.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^^
Library/Contributions/cmd/brew-which.rb:16:36: C: Space missing to the left of {.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^
Library/Contributions/cmd/brew-which.rb:16:78: C: Space missing inside }.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^
Library/Contributions/cmd/brew-which.rb:16:80: C: Line is too long. [110/79]
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/cmd/brew-which.rb:16:86: C: Space between { and | missing.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^^
Library/Contributions/cmd/brew-which.rb:16:86: C: Space missing to the left of {.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^
Library/Contributions/cmd/brew-which.rb:16:104: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^^^^^
Library/Contributions/cmd/brew-which.rb:16:110: C: Space missing inside }.
brew_links = brew_links.collect{|p|p.relative_path_from(real_cellar).to_s}.reject{|p|p.start_with?("../")}
^
Library/Contributions/cmd/brew-which.rb:19:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
parts = p.split("/")
^^^
Library/Contributions/cmd/brew-which.rb:31:5: C: Redundant `return` detected.
return version_map
^^^^^^
Library/Contributions/cmd/brew-which.rb:39:34: C: Surrounding space missing for operator '*'.
puts "#{b}: #{brews[b].sort*' '}"
^
Library/Contributions/cmd/git:8:1: C: Method has too many lines. [13/10]
def exec *args
^^^
Library/Contributions/cmd/git:8:10: C: Use def with parentheses when there are parameters.
def exec *args
^^^^^
Library/Contributions/cmd/git:14:3: W: end at 14, 2 is not aligned with arg0 = if at 10, 9
end.first
^^^
Library/Contributions/cmd/git:18:31: C: Use && instead of and.
if args[1] == '-print-path' and File.executable? args[0]
^^^
Library/Contributions/cmd/git:22:17: W: Ambiguous splat operator. Parenthesize the method arguments if it's surely a splat operator, or add a whitespace to the right of the * if it should be a multiplication.
Kernel.exec *args
^
Library/Contributions/cmd/git:27:3: C: Indent when as deep as case.
when 'git' then %W{HOMEBREW_GIT GIT}
^^^^
Library/Contributions/cmd/git:28:3: C: Indent when as deep as case.
when 'svn' then %W{HOMEBREW_SVN}
^^^^
Library/Contributions/cmd/git:31:36: C: Use && instead of and.
exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key]
^^^
Library/Contributions/cmd/git:43:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if path != "/"
^^^
Library/Contributions/cmd/svn:8:1: C: Method has too many lines. [13/10]
def exec *args
^^^
Library/Contributions/cmd/svn:8:10: C: Use def with parentheses when there are parameters.
def exec *args
^^^^^
Library/Contributions/cmd/svn:14:3: W: end at 14, 2 is not aligned with arg0 = if at 10, 9
end.first
^^^
Library/Contributions/cmd/svn:18:31: C: Use && instead of and.
if args[1] == '-print-path' and File.executable? args[0]
^^^
Library/Contributions/cmd/svn:22:17: W: Ambiguous splat operator. Parenthesize the method arguments if it's surely a splat operator, or add a whitespace to the right of the * if it should be a multiplication.
Kernel.exec *args
^
Library/Contributions/cmd/svn:27:3: C: Indent when as deep as case.
when 'git' then %W{HOMEBREW_GIT GIT}
^^^^
Library/Contributions/cmd/svn:28:3: C: Indent when as deep as case.
when 'svn' then %W{HOMEBREW_SVN}
^^^^
Library/Contributions/cmd/svn:31:36: C: Use && instead of and.
exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key]
^^^
Library/Contributions/cmd/svn:43:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if path != "/"
^^^
Library/Contributions/example-formula.rb:8:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:14:1: C: Class definition is too long. [179/100]
class ExampleFormula < Formula
^^^^^
Library/Contributions/example-formula.rb:15:1: C: Extra empty line detected at body beginning.
Library/Contributions/example-formula.rb:19:80: C: Line is too long. [84/79]
url 'https://packed.sources.and.we.prefer.https.example.com/archive-1.2.3.tar.bz2'
^^^^^
Library/Contributions/example-formula.rb:29:57: C: Use the new Ruby 1.9 hash syntax.
url 'https://some.dont.provide.archives.example.com', :using => :git, :tag => '1.2.3'
^^^^^^^^^
Library/Contributions/example-formula.rb:29:73: C: Use the new Ruby 1.9 hash syntax.
url 'https://some.dont.provide.archives.example.com', :using => :git, :tag => '1.2.3'
^^^^^^^
Library/Contributions/example-formula.rb:29:80: C: Line is too long. [87/79]
url 'https://some.dont.provide.archives.example.com', :using => :git, :tag => '1.2.3'
^^^^^^^^
Library/Contributions/example-formula.rb:31:80: C: Line is too long. [80/79]
# version is seldom needed, because its usually autodetected from the URL/tag.
^
Library/Contributions/example-formula.rb:34:80: C: Line is too long. [80/79]
# For integrity and security, we verify the hash (`openssl dgst -sha1 <FILE>`)
^
Library/Contributions/example-formula.rb:39:80: C: Line is too long. [81/79]
# Stable-only dependencies should be nested inside a `stable` block rather than
^^
Library/Contributions/example-formula.rb:40:80: C: Line is too long. [81/79]
# using a conditional. It is preferrable to also pull the URL and checksum into
^^
Library/Contributions/example-formula.rb:43:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://example.com/foo-1.0.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:44:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "cafebabe78901234567890123456789012345678"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:46:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "libxml2"
^^^^^^^^^
Library/Contributions/example-formula.rb:47:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "libffi"
^^^^^^^^
Library/Contributions/example-formula.rb:54:36: C: Use the new Ruby 1.9 hash syntax.
head 'https://example.com/.git', :branch => 'name_of_branch', :revision => 'abc123'
^^^^^^^^^^
Library/Contributions/example-formula.rb:54:65: C: Use the new Ruby 1.9 hash syntax.
head 'https://example.com/.git', :branch => 'name_of_branch', :revision => 'abc123'
^^^^^^^^^^^^
Library/Contributions/example-formula.rb:54:80: C: Line is too long. [85/79]
head 'https://example.com/.git', :branch => 'name_of_branch', :revision => 'abc123'
^^^^^^
Library/Contributions/example-formula.rb:55:62: C: Use the new Ruby 1.9 hash syntax.
head 'https://hg.is.awesome.but.git.has.won.example.com/', :using => :hg # If autodetect fails.
^^^^^^^^^
Library/Contributions/example-formula.rb:55:80: C: Line is too long. [97/79]
head 'https://hg.is.awesome.but.git.has.won.example.com/', :using => :hg # If autodetect fails.
^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:58:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://example.com/repo.git"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:67:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://example.com/archive-2.0-beta.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:68:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "1234567890123456789012345678901234567890"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:70:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "cairo"
^^^^^^^
Library/Contributions/example-formula.rb:71:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "pixman"
^^^^^^^^
Library/Contributions/example-formula.rb:74:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:86:80: C: Line is too long. [87/79]
option 'with-qt', 'Text here overwrites the autogenerated one from `depends_on "qt"`'
^^^^^^^^
Library/Contributions/example-formula.rb:98:80: C: Line is too long. [86/79]
prefix '/opt/homebrew' # Optional HOMEBREW_PREFIX in which the bottles were built.
^^^^^^^
Library/Contributions/example-formula.rb:99:80: C: Line is too long. [93/79]
cellar '/opt/homebrew/Cellar' # Optional HOMEBREW_CELLAR in which the bottles were built.
^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:100:80: C: Line is too long. [91/79]
revision 1 # Making the old bottle outdated without bumping the version of the formula.
^^^^^^^^^^^^
Library/Contributions/example-formula.rb:122:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
keg_only "because I want it so"
^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:124:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:145:22: C: Use %w or %W for array of words.
depends_on 'qt' => ['with-qtdbus', 'developer'] # Multiple options.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:154:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :mpi => :cc # Needs MPI with `cc`
^^^^^^^
Library/Contributions/example-formula.rb:155:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :mpi => [:cc, :cxx, :optional] # Is optional. MPI with `cc` and `cxx`.
^^^^^^^
Library/Contributions/example-formula.rb:155:80: C: Line is too long. [83/79]
depends_on :mpi => [:cc, :cxx, :optional] # Is optional. MPI with `cc` and `cxx`.
^^^^
Library/Contributions/example-formula.rb:156:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :lion # Needs at least Mac OS X "Lion" aka. 10.7.
^^^^^^^^^
Library/Contributions/example-formula.rb:157:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :arch => :intel # If this formula only builds on intel architecture.
^^^^^^^^
Library/Contributions/example-formula.rb:157:80: C: Line is too long. [81/79]
depends_on :arch => :intel # If this formula only builds on intel architecture.
^^
Library/Contributions/example-formula.rb:158:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :arch => :x86_64 # If this formula only build on intel x86 64bit.
^^^^^^^^
Library/Contributions/example-formula.rb:159:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :arch => :ppc # Only builds on PowerPC?
^^^^^^^^
Library/Contributions/example-formula.rb:160:80: C: Line is too long. [85/79]
depends_on :ld64 # Sometimes ld fails on `MacOS.version < :leopard`. Then use this.
^^^^^^
Library/Contributions/example-formula.rb:168:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :mysql => :recommended
^^^^^^^^^
Library/Contributions/example-formula.rb:178:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :python3 => :optional
^^^^^^^^^^^
Library/Contributions/example-formula.rb:187:33: C: Use the new Ruby 1.9 hash syntax.
conflicts_with 'imagemagick', :because => 'because this is just a stupid example'
^^^^^^^^^^^
Library/Contributions/example-formula.rb:187:80: C: Line is too long. [83/79]
conflicts_with 'imagemagick', :because => 'because this is just a stupid example'
^^^^
Library/Contributions/example-formula.rb:189:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:195:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cause "Segmentation fault during linking."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:208:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource "additional_files" do
^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:213:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:227:5: C: Space inside { missing.
{:p0 => [
^
Library/Contributions/example-formula.rb:227:6: C: Use the new Ruby 1.9 hash syntax.
{:p0 => [
^^^^^^
Library/Contributions/example-formula.rb:229:80: C: Line is too long. [95/79]
'https://github.com/example/foobar/commit/d46a8c6265c4c741aaae2b807a41ea31bc097052.diff',
^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:230:11: C: Space inside square brackets detected.
DATA ],
^
Library/Contributions/example-formula.rb:231:80: C: Line is too long. [92/79]
# For gists, please use the link to a specific hash, so nobody can change it unnoticed.
^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:232:6: C: Use the new Ruby 1.9 hash syntax.
:p2 => ['https://raw.github.com/gist/4010022/ab0697dc87a40e65011e2192439609c17578c5be/tags.patch']
^^^^^^
Library/Contributions/example-formula.rb:232:80: C: Line is too long. [103/79]
:p2 => ['https://raw.github.com/gist/4010022/ab0697dc87a40e65011e2192439609c17578c5be/tags.patch']
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:236:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:239:3: C: Cyclomatic complexity for install is too high. [9/6]
def install
^^^
Library/Contributions/example-formula.rb:239:3: C: Method has too many lines. [49/10]
def install
^^^
Library/Contributions/example-formula.rb:258:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap.sh", "--arg1", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:258:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap.sh", "--arg1", "--prefix=#{prefix}"
^^^^^^^^
Library/Contributions/example-formula.rb:261:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Contributions/example-formula.rb:261:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Contributions/example-formula.rb:266:12: C: Use %w or %W for array of words.
args = ["--option1", "--option2"]
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:266:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--option1", "--option2"]
^^^^^^^^^^^
Library/Contributions/example-formula.rb:266:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--option1", "--option2"]
^^^^^^^^^^^
Library/Contributions/example-formula.rb:267:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--i-want-spam" if build.include? "enable-spam"
^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:267:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--i-want-spam" if build.include? "enable-spam"
^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:268:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--qt-gui" if build.with? "qt" # "--with-qt" ==> build.with? "qt"
^^^^^^^^^^
Library/Contributions/example-formula.rb:268:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--qt-gui" if build.with? "qt" # "--with-qt" ==> build.with? "qt"
^^^^
Library/Contributions/example-formula.rb:269:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--some-new-stuff" if build.head? # if head is used instead of url.
^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:270:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--universal-binary" if build.universal?
^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:273:5: C: Use only ascii symbols in comments.
# right thing™ with respect to defaults defined via `:optional` and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:283:80: C: Line is too long. [93/79]
args << "--with-readline=#{Formula["readline"].opt_prefix}/lib" if build.with? "readline"
^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:283:84: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--with-readline=#{Formula["readline"].opt_prefix}/lib" if build.with? "readline"
^^^^^^^^^^
Library/Contributions/example-formula.rb:287:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:287:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:287:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:288:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:289:27: C: Align the parameters of a method call if they span more than one line.
*args # our custom arg list (needs `*` to unpack)
^^^^^
Library/Contributions/example-formula.rb:306:80: C: Line is too long. [89/79]
ENV.append 'CPPFLAGS', "-I#{MacOS.sdk_path}/usr/include" unless MacOS::CLT.installed?
^^^^^^^^^^
Library/Contributions/example-formula.rb:311:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Contributions/example-formula.rb:311:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Contributions/example-formula.rb:353:9: C: Surrounding space missing for operator '/'.
(var/'foo').mkpath
^
Library/Contributions/example-formula.rb:355:11: C: Surrounding space missing for operator '/'.
(share/'demos').install "example_code/simple/ones"
^
Library/Contributions/example-formula.rb:355:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'demos').install "example_code/simple/ones"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:357:11: C: Surrounding space missing for operator '/'.
(share/'demos').install "example_code/simple/ones" => 'examples'
^
Library/Contributions/example-formula.rb:357:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'demos').install "example_code/simple/ones" => 'examples'
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:362:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource("additional_files").stage { bin.install 'my/extra/tool' }
^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:367:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:371:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"Are optional. Something the user should know?"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:380:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s += "Some issue only on older systems" if MacOS.version < :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Contributions/example-formula.rb:384:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:392:15: C: Surrounding space missing for operator '/'.
system bin/'foobar', '--version'
^
Library/Contributions/example-formula.rb:394:14: C: Surrounding space missing for operator '/'.
(testpath/'Test.file').write <<-EOS.undent
^
Library/Contributions/example-formula.rb:402:36: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open3.popen3("#{bin}/example", "big5:utf-8") do |stdin, stdout, _|
^^^^^^^^^^^^
Library/Contributions/example-formula.rb:405:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "許功蓋", stdout.read
^^^^^
Library/Contributions/example-formula.rb:409:80: C: Line is too long. [80/79]
# the command run by `system` prints to stderr, we consider the test failed.
^
Library/Contributions/example-formula.rb:412:1: C: Extra blank line detected.
Library/Contributions/example-formula.rb:416:5: C: Annotation keywords should be all upper case, followed by a colon and a space, then a note describing the problem.
# Todo: Expand this example with a little demo plist? I dunno.
^^^^^
Library/Contributions/example-formula.rb:418:3: C: Avoid single-line method definitions.
def plist; nil; end
^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c++:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/c++:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/c++:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/c++:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/c++:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/c++:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/c++:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/c++:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/c++:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/c++:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/c++:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/c++:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/c++:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/c++:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/c++:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/c++:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/c++:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/c++:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/c++:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/c++:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/c++:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/c++:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/c++:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/c++:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/c++:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/c++:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/c++:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/c++:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/c++:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/c++:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/c++:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/c++:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/c++:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/c++:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c++:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/c++:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/c++:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/c++:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/c++:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/c++:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/c++:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/c++:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c++:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c++:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/c++:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/c++:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/c++:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/c++:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/c++:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/c++:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/c++:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/c++:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/c++:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/c++:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/c++:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/c++:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/c++:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/c++:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/c++:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/c++:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/c++:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/c++:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c++:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c++:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/c++:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/c++:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/c++:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/c++:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/c++:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/c++:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/c++:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/c++:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/c++:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/c++:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/c++:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/c++:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/c++:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/c++:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/c++:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/c++:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/c++:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/c++:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/c++:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/c++:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c++:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/c++:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/c++:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/c++:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/c++:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/c89:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/c89:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/c89:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/c89:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/c89:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/c89:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/c89:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/c89:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/c89:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/c89:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/c89:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/c89:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/c89:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/c89:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/c89:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/c89:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/c89:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/c89:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/c89:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/c89:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/c89:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/c89:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/c89:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/c89:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/c89:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/c89:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/c89:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/c89:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/c89:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/c89:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/c89:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/c89:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/c89:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/c89:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c89:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/c89:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/c89:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/c89:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/c89:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/c89:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/c89:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/c89:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c89:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c89:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/c89:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/c89:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/c89:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/c89:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/c89:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/c89:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/c89:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/c89:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/c89:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/c89:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/c89:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/c89:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/c89:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/c89:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/c89:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/c89:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/c89:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/c89:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c89:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c89:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/c89:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/c89:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/c89:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/c89:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/c89:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/c89:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/c89:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/c89:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/c89:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/c89:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/c89:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/c89:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/c89:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/c89:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/c89:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/c89:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/c89:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/c89:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/c89:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/c89:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c89:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/c89:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/c89:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/c89:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/c89:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/c99:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/c99:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/c99:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/c99:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/c99:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/c99:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/c99:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/c99:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/c99:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/c99:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/c99:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/c99:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/c99:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/c99:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/c99:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/c99:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/c99:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/c99:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/c99:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/c99:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/c99:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/c99:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/c99:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/c99:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/c99:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/c99:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/c99:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/c99:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/c99:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/c99:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/c99:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/c99:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/c99:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/c99:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c99:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/c99:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/c99:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/c99:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/c99:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/c99:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/c99:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/c99:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c99:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c99:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/c99:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/c99:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/c99:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/c99:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/c99:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/c99:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/c99:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/c99:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/c99:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/c99:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/c99:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/c99:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/c99:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/c99:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/c99:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/c99:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/c99:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/c99:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c99:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c99:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/c99:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/c99:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/c99:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/c99:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/c99:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/c99:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/c99:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/c99:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/c99:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/c99:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/c99:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/c99:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/c99:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/c99:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/c99:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/c99:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/c99:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/c99:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/c99:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/c99:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/c99:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/c99:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/c99:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/c99:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/c99:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/cc:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/cc:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/cc:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/cc:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/cc:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/cc:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/cc:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/cc:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/cc:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/cc:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/cc:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/cc:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/cc:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/cc:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/cc:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/cc:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/cc:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/cc:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/cc:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/cc:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/cc:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/cc:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/cc:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/cc:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/cc:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/cc:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/cc:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/cc:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/cc:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/cc:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/cc:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/cc:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/cc:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/cc:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cc:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/cc:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/cc:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/cc:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/cc:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/cc:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/cc:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/cc:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cc:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cc:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/cc:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/cc:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/cc:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/cc:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/cc:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/cc:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/cc:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/cc:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/cc:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/cc:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/cc:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/cc:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/cc:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/cc:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/cc:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/cc:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/cc:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/cc:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cc:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cc:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/cc:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/cc:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/cc:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/cc:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/cc:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/cc:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/cc:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/cc:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/cc:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/cc:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/cc:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/cc:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/cc:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/cc:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/cc:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/cc:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/cc:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/cc:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/cc:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/cc:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cc:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/cc:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/cc:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/cc:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/cc:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/clang:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/clang:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/clang:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/clang:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/clang:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/clang:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/clang:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/clang:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/clang:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/clang:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/clang:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/clang:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/clang:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/clang:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/clang:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/clang:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/clang:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/clang:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/clang:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/clang:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/clang:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/clang:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/clang:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/clang:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/clang:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/clang:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/clang:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/clang:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/clang:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/clang:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/clang:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/clang:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/clang:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/clang:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/clang:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/clang:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/clang:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/clang:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/clang:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/clang:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/clang:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/clang:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/clang:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/clang:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/clang:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/clang:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/clang:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/clang:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/clang:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/clang:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/clang:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/clang:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/clang:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/clang:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/clang:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/clang:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/clang:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/clang:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/clang:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/clang:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/clang:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/clang:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/clang:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/clang:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/clang:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/clang:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/clang:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/clang:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/clang:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/clang:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/clang:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/clang:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/clang:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/clang:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/clang:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/clang:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/clang:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/clang:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/clang:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/clang:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/clang:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/clang:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/clang:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/clang++:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/clang++:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/clang++:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/clang++:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/clang++:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/clang++:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/clang++:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/clang++:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/clang++:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/clang++:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/clang++:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/clang++:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/clang++:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/clang++:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/clang++:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/clang++:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/clang++:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/clang++:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/clang++:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/clang++:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/clang++:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/clang++:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/clang++:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/clang++:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/clang++:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/clang++:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/clang++:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/clang++:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/clang++:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/clang++:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/clang++:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/clang++:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/clang++:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/clang++:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang++:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/clang++:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/clang++:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/clang++:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/clang++:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/clang++:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/clang++:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/clang++:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang++:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang++:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/clang++:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/clang++:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/clang++:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/clang++:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/clang++:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/clang++:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/clang++:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/clang++:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/clang++:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/clang++:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/clang++:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/clang++:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/clang++:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/clang++:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/clang++:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/clang++:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/clang++:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/clang++:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang++:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang++:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/clang++:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/clang++:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/clang++:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/clang++:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/clang++:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/clang++:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/clang++:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/clang++:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/clang++:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/clang++:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/clang++:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/clang++:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/clang++:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/clang++:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/clang++:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/clang++:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/clang++:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/clang++:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/clang++:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/clang++:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/clang++:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/clang++:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/clang++:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/clang++:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/clang++:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/cpp:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/cpp:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/cpp:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/cpp:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/cpp:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/cpp:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/cpp:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/cpp:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/cpp:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/cpp:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/cpp:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/cpp:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/cpp:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/cpp:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/cpp:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/cpp:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/cpp:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/cpp:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/cpp:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/cpp:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/cpp:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/cpp:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/cpp:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/cpp:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/cpp:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/cpp:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/cpp:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/cpp:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/cpp:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/cpp:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/cpp:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/cpp:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/cpp:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/cpp:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cpp:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/cpp:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/cpp:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/cpp:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/cpp:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/cpp:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/cpp:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/cpp:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cpp:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cpp:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/cpp:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/cpp:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/cpp:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/cpp:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/cpp:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/cpp:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/cpp:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/cpp:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/cpp:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/cpp:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/cpp:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/cpp:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/cpp:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/cpp:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/cpp:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/cpp:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/cpp:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/cpp:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cpp:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cpp:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/cpp:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/cpp:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/cpp:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/cpp:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/cpp:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/cpp:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/cpp:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/cpp:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/cpp:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/cpp:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/cpp:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/cpp:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/cpp:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/cpp:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/cpp:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/cpp:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/cpp:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/cpp:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/cpp:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/cpp:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/cpp:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/cpp:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/cpp:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/cpp:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/cpp:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/g++:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/g++:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/g++:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/g++:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/g++:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/g++:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/g++:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/g++:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/g++:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/g++:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/g++:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/g++:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/g++:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/g++:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/g++:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/g++:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/g++:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/g++:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/g++:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/g++:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/g++:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/g++:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/g++:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/g++:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/g++:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/g++:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/g++:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/g++:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/g++:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/g++:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/g++:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/g++:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/g++:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/g++:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/g++:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/g++:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/g++:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/g++:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/g++:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/g++:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/g++:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/g++:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/g++:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/g++:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/g++:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/g++:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/g++:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/g++:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/g++:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/g++:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/g++:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/g++:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/g++:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/g++:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/g++:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/g++:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/g++:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/g++:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/g++:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/g++:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/g++:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/g++:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/g++:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/g++:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/g++:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/g++:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/g++:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/g++:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/g++:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/g++:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/g++:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/g++:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/g++:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/g++:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/g++:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/g++:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/g++:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/g++:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/g++:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/g++:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/g++:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/g++:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/g++:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/g++:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/g++:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/g++:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/g++:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/g++:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/g++:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/gcc:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/gcc:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/gcc:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/gcc:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/gcc:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/gcc:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/gcc:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/gcc:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/gcc:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/gcc:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/gcc:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/gcc:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/gcc:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/gcc:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/gcc:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/gcc:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/gcc:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/gcc:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/gcc:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/gcc:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/gcc:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/gcc:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/gcc:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/gcc:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/gcc:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/gcc:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/gcc:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/gcc:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/gcc:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/gcc:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/gcc:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/gcc:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/gcc:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/gcc:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/gcc:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/gcc:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/gcc:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/gcc:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/gcc:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/gcc:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/gcc:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/gcc:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/gcc:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/gcc:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/gcc:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/gcc:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/gcc:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/gcc:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/gcc:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/gcc:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/gcc:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/gcc:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/gcc:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/gcc:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/gcc:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/gcc:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/gcc:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/gcc:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/gcc:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/gcc:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/gcc:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/gcc:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/gcc:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/gcc:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/gcc:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/gcc:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/gcc:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/gcc:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/gcc:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/gcc:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/gcc:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/gcc:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/gcc:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/gcc:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/gcc:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/gcc:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/gcc:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/gcc:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/gcc:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/gcc:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/gcc:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/gcc:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/gcc:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/gcc:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/gcc:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/gcc:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/gcc:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/gcc:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/gcc:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/git:8:1: C: Method has too many lines. [13/10]
def exec *args
^^^
Library/ENV/4.3/git:8:10: C: Use def with parentheses when there are parameters.
def exec *args
^^^^^
Library/ENV/4.3/git:14:3: W: end at 14, 2 is not aligned with arg0 = if at 10, 9
end.first
^^^
Library/ENV/4.3/git:18:31: C: Use && instead of and.
if args[1] == '-print-path' and File.executable? args[0]
^^^
Library/ENV/4.3/git:22:17: W: Ambiguous splat operator. Parenthesize the method arguments if it's surely a splat operator, or add a whitespace to the right of the * if it should be a multiplication.
Kernel.exec *args
^
Library/ENV/4.3/git:27:3: C: Indent when as deep as case.
when 'git' then %W{HOMEBREW_GIT GIT}
^^^^
Library/ENV/4.3/git:28:3: C: Indent when as deep as case.
when 'svn' then %W{HOMEBREW_SVN}
^^^^
Library/ENV/4.3/git:31:36: C: Use && instead of and.
exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key]
^^^
Library/ENV/4.3/git:43:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if path != "/"
^^^
Library/ENV/4.3/ld:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/ld:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/ld:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/ld:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/ld:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/ld:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/ld:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/ld:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/ld:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/ld:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/ld:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/ld:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/ld:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/ld:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/ld:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/ld:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/ld:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/ld:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/ld:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/ld:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/ld:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/ld:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/ld:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/ld:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/ld:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/ld:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/ld:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/ld:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/ld:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/ld:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/ld:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/ld:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/ld:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/ld:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/ld:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/ld:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/ld:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/ld:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/ld:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/ld:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/ld:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/ld:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/ld:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/ld:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/ld:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/ld:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/ld:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/ld:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/ld:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/ld:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/ld:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/ld:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/ld:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/ld:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/ld:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/ld:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/ld:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/ld:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/ld:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/ld:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/ld:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/ld:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/ld:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/ld:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/ld:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/ld:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/ld:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/ld:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/ld:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/ld:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/ld:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/ld:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/ld:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/ld:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/ld:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/ld:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/ld:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/ld:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/ld:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/ld:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/ld:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/ld:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/ld:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/ld:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/ld:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/ld:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/ld:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/ld:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/ld:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/llvm-g++:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/llvm-g++:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/llvm-g++:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/llvm-g++:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/llvm-g++:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/llvm-g++:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/llvm-g++:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/llvm-g++:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/llvm-g++:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/llvm-g++:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/llvm-g++:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/llvm-g++:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/llvm-g++:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/llvm-g++:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/llvm-g++:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/llvm-g++:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/llvm-g++:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/llvm-g++:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/llvm-g++:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/llvm-g++:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/llvm-g++:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/llvm-g++:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/llvm-g++:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/llvm-g++:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/llvm-g++:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/llvm-g++:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/llvm-g++:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/llvm-g++:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/llvm-g++:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/llvm-g++:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/llvm-g++:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/llvm-g++:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/llvm-g++:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/llvm-g++:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/llvm-g++:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/llvm-g++:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/llvm-g++:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/llvm-g++:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/llvm-g++:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/llvm-g++:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/llvm-g++:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/llvm-g++:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/llvm-g++:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/llvm-g++:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/llvm-g++:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/llvm-g++:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/llvm-g++:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/llvm-g++:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/llvm-g++:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/llvm-g++:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/llvm-g++:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/llvm-g++:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/llvm-g++:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/llvm-g++:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/llvm-g++:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/llvm-g++:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/llvm-g++:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/llvm-g++:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/llvm-g++:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/llvm-g++:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/llvm-g++:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/llvm-g++:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/llvm-g++:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/llvm-g++:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/llvm-g++:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/llvm-g++:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/llvm-g++:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/llvm-g++:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/llvm-g++:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/llvm-g++:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/llvm-g++:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/llvm-g++:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/llvm-g++:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/llvm-g++:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/llvm-g++:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/llvm-g++:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/llvm-g++:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/llvm-g++:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/llvm-g++:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/llvm-g++:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/llvm-g++:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/llvm-gcc:7:1: C: Missing top-level class documentation comment.
class Logger
^^^^^
Library/ENV/4.3/llvm-gcc:21:80: C: Line is too long. [90/79]
File.open(path, File::WRONLY | File::APPEND | File::CREAT) { |f| f.write(@io.string) }
^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:27:1: C: Class definition is too long. [211/100]
class Cmd
^^^^^
Library/ENV/4.3/llvm-gcc:27:1: C: Missing top-level class documentation comment.
class Cmd
^^^^^
Library/ENV/4.3/llvm-gcc:30:18: C: Use def with parentheses when there are parameters.
def initialize path, args
^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:37:3: C: Cyclomatic complexity for mode is too high. [7/6]
def mode
^^^
Library/ENV/4.3/llvm-gcc:37:3: C: Use empty lines between defs.
def mode
^^^
Library/ENV/4.3/llvm-gcc:37:3: C: Method has too many lines. [17/10]
def mode
^^^
Library/ENV/4.3/llvm-gcc:38:23: C: Use || instead of or.
if @arg0 == 'cpp' or @arg0 == 'ld'
^^
Library/ENV/4.3/llvm-gcc:56:3: C: Cyclomatic complexity for tool is too high. [7/6]
def tool
^^^
Library/ENV/4.3/llvm-gcc:56:3: C: Use empty lines between defs.
def tool
^^^
Library/ENV/4.3/llvm-gcc:56:3: C: Method has too many lines. [15/10]
def tool
^^^
Library/ENV/4.3/llvm-gcc:58:5: C: Indent when as deep as case.
when 'ld' then 'ld'
^^^^
Library/ENV/4.3/llvm-gcc:59:5: C: Indent when as deep as case.
when 'cpp' then 'cpp'
^^^^
Library/ENV/4.3/llvm-gcc:60:5: C: Indent when as deep as case.
when /\w\+\+(-\d\.\d)?$/
^^^^
Library/ENV/4.3/llvm-gcc:67:17: C: Avoid the use of Perl-style backrefs.
'g++' + $1.to_s
^^
Library/ENV/4.3/llvm-gcc:75:3: C: Cyclomatic complexity for args is too high. [13/6]
def args
^^^
Library/ENV/4.3/llvm-gcc:75:3: C: Use empty lines between defs.
def args
^^^
Library/ENV/4.3/llvm-gcc:75:3: C: Method has too many lines. [28/10]
def args
^^^
Library/ENV/4.3/llvm-gcc:76:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^
Library/ENV/4.3/llvm-gcc:76:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if !cccfg?("O") || tool == "ld" || configure?
^^^^
Library/ENV/4.3/llvm-gcc:84:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-syslibroot" << sdkroot
^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:87:5: C: Indent when as deep as case.
when :ccld
^^^^
Library/ENV/4.3/llvm-gcc:89:5: C: Indent when as deep as case.
when :cxxld
^^^^
Library/ENV/4.3/llvm-gcc:91:5: C: Indent when as deep as case.
when :cc
^^^^
Library/ENV/4.3/llvm-gcc:93:5: C: Indent when as deep as case.
when :cxx
^^^^
Library/ENV/4.3/llvm-gcc:95:5: C: Indent when as deep as case.
when :ccE
^^^^
Library/ENV/4.3/llvm-gcc:97:5: C: Indent when as deep as case.
when :cpp
^^^^
Library/ENV/4.3/llvm-gcc:99:5: C: Indent when as deep as case.
when :ld
^^^^
Library/ENV/4.3/llvm-gcc:105:3: C: Cyclomatic complexity for refurbished_args is too high. [21/6]
def refurbished_args
^^^
Library/ENV/4.3/llvm-gcc:105:3: C: Use empty lines between defs.
def refurbished_args
^^^
Library/ENV/4.3/llvm-gcc:105:3: C: Method has too many lines. [35/10]
def refurbished_args
^^^
Library/ENV/4.3/llvm-gcc:116:80: C: Line is too long. [81/79]
# If ENV.m32 was set, we allow the "-m32" flag, but we don't add anything
^^
Library/ENV/4.3/llvm-gcc:124:9: C: Favor unless (or control flow or) over if for negative conditions.
args << arg if not tool =~ /^clang/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:124:24: C: Use ! instead of not.
args << arg if not tool =~ /^clang/
^^^
Library/ENV/4.3/llvm-gcc:126:43: C: Use || instead of or.
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
^^
Library/ENV/4.3/llvm-gcc:136:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/llvm-gcc:137:44: C: Use && instead of and.
args << "-I#{path}" if keep?(path) and iset.add?(path.cleanpath)
^^^
Library/ENV/4.3/llvm-gcc:139:16: C: Avoid the use of Perl-style backrefs.
path = $1.chuzzle || whittler.next
^^
Library/ENV/4.3/llvm-gcc:140:44: C: Use && instead of and.
args << "-L#{path}" if keep?(path) and lset.add?(path.cleanpath)
^^^
Library/ENV/4.3/llvm-gcc:148:13: C: Use def with parentheses when there are parameters.
def keep? path
^^^^
Library/ENV/4.3/llvm-gcc:150:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:150:42: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^#{Regexp.escape(brewfix)}}, %r{^#{Regexp.escape(brewtmp)}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:153:10: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^^
Library/ENV/4.3/llvm-gcc:153:21: C: Use %r only for regular expressions matching more than 1 '/' character.
when %r{^/opt}, %r{^/sw}, %r{/usr/X11}
^^^^^^^^
Library/ENV/4.3/llvm-gcc:163:35: C: Use || instead of or.
return args unless cccfg? 'O' or configure?
^^
Library/ENV/4.3/llvm-gcc:172:3: C: Use empty lines between defs.
def cxxflags
^^^
Library/ENV/4.3/llvm-gcc:179:3: C: Use empty lines between defs.
def optflags
^^^
Library/ENV/4.3/llvm-gcc:185:3: C: Use empty lines between defs.
def archflags
^^^
Library/ENV/4.3/llvm-gcc:190:3: C: Use empty lines between defs.
def syspath
^^^
Library/ENV/4.3/llvm-gcc:197:3: C: Use empty lines between defs.
def syslibpath
^^^
Library/ENV/4.3/llvm-gcc:201:16: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/llvm-gcc:201:16: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/llvm-gcc:201:40: C: Space between { and | missing.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^^
Library/ENV/4.3/llvm-gcc:201:40: C: Space missing to the left of {.
syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" }
^
Library/ENV/4.3/llvm-gcc:203:3: C: Use empty lines between defs.
def syscpath
^^^
Library/ENV/4.3/llvm-gcc:205:26: C: Space between { and | missing.
isystem + syspath.map{|d| "#{d}/include" }
^^
Library/ENV/4.3/llvm-gcc:205:26: C: Space missing to the left of {.
isystem + syspath.map{|d| "#{d}/include" }
^
Library/ENV/4.3/llvm-gcc:207:3: C: Use empty lines between defs.
def cpath
^^^
Library/ENV/4.3/llvm-gcc:208:52: C: Space between { and | missing.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^
Library/ENV/4.3/llvm-gcc:208:52: C: Space missing to the left of {.
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^
Library/ENV/4.3/llvm-gcc:208:80: C: Line is too long. [111/79]
cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:209:22: C: Use %r only for regular expressions matching more than 1 '/' character.
opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:213:3: C: Use empty lines between defs.
def libpath
^^^
Library/ENV/4.3/llvm-gcc:214:44: C: Space between { and | missing.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^^
Library/ENV/4.3/llvm-gcc:214:44: C: Space missing to the left of {.
ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/lib" } +
^
Library/ENV/4.3/llvm-gcc:218:3: C: Use empty lines between defs.
def ldflags
^^^
Library/ENV/4.3/llvm-gcc:230:3: C: Use empty lines between defs.
def cppflags
^^^
Library/ENV/4.3/llvm-gcc:236:3: C: Use empty lines between defs.
def make_fuss args
^^^
Library/ENV/4.3/llvm-gcc:236:17: C: Use def with parentheses when there are parameters.
def make_fuss args
^^^^
Library/ENV/4.3/llvm-gcc:243:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv removed: #{dels*' '}" unless dels.empty?
^
Library/ENV/4.3/llvm-gcc:245:43: C: Surrounding space missing for operator '*'.
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
^
Library/ENV/4.3/llvm-gcc:247:3: C: Use empty lines between defs.
def make_fuss?
^^^
Library/ENV/4.3/llvm-gcc:248:16: C: Use && instead of and.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/llvm-gcc:248:20: C: Use ! instead of not.
cccfg? 'O' and not configure?
^^^
Library/ENV/4.3/llvm-gcc:250:3: C: Use empty lines between defs.
def configure?
^^^
Library/ENV/4.3/llvm-gcc:254:3: C: Use empty lines between defs.
def nclt?
^^^
Library/ENV/4.3/llvm-gcc:255:13: C: Prefer the use of the nil? predicate.
sdkroot != nil
^^
Library/ENV/4.3/llvm-gcc:257:3: C: Use empty lines between defs.
def cccfg? flags
^^^
Library/ENV/4.3/llvm-gcc:257:14: C: Use def with parentheses when there are parameters.
def cccfg? flags
^^^^^
Library/ENV/4.3/llvm-gcc:258:25: C: Space between { and | missing.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^
Library/ENV/4.3/llvm-gcc:258:25: C: Space missing to the left of {.
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^
Library/ENV/4.3/llvm-gcc:258:80: C: Line is too long. [88/79]
flags.split('').all?{|c| ENV['HOMEBREW_CCCFG'].include? c } if ENV['HOMEBREW_CCCFG']
^^^^^^^^^
Library/ENV/4.3/llvm-gcc:264:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:264:80: C: Line is too long. [92/79]
abort "The build-tool has reset ENV. --env=std required." unless ENV['HOMEBREW_BREW_FILE']
^^^^^^^^^^^^^
Library/ENV/4.3/llvm-gcc:266:35: C: Indent when as deep as case.
case ENV['HOMEBREW_CC'].chuzzle when 'cc', nil
^^^^
Library/ENV/4.3/llvm-gcc:273:32: C: Prefer $PROGRAM_NAME over $0.
LOGGER.puts "#{File.basename($0)} called with: #{ARGV.join(" ")}"
^^
Library/ENV/4.3/llvm-gcc:275:17: C: Prefer $PROGRAM_NAME over $0.
cmd = Cmd.new($0, ARGV)
^^
Library/ENV/4.3/llvm-gcc:281:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "xcrun", tool, *args
^^^^^^^
Library/ENV/4.3/svn:8:1: C: Method has too many lines. [13/10]
def exec *args
^^^
Library/ENV/4.3/svn:8:10: C: Use def with parentheses when there are parameters.
def exec *args
^^^^^
Library/ENV/4.3/svn:14:3: W: end at 14, 2 is not aligned with arg0 = if at 10, 9
end.first
^^^
Library/ENV/4.3/svn:18:31: C: Use && instead of and.
if args[1] == '-print-path' and File.executable? args[0]
^^^
Library/ENV/4.3/svn:22:17: W: Ambiguous splat operator. Parenthesize the method arguments if it's surely a splat operator, or add a whitespace to the right of the * if it should be a multiplication.
Kernel.exec *args
^
Library/ENV/4.3/svn:27:3: C: Indent when as deep as case.
when 'git' then %W{HOMEBREW_GIT GIT}
^^^^
Library/ENV/4.3/svn:28:3: C: Indent when as deep as case.
when 'svn' then %W{HOMEBREW_SVN}
^^^^
Library/ENV/4.3/svn:31:36: C: Use && instead of and.
exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key]
^^^
Library/ENV/4.3/svn:43:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if path != "/"
^^^
Library/ENV/4.3/xcrun:14:6: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
exec "/usr/bin/xcrun", *ARGV if ARGV.empty? or ARGV[0][0..0] == '-'
^^^^^^^^^^^^^^^^
Library/ENV/4.3/xcrun:14:45: C: Use || instead of or.
exec "/usr/bin/xcrun", *ARGV if ARGV.empty? or ARGV[0][0..0] == '-'
^^
Library/ENV/4.3/xcrun:17:55: C: Use && instead of and.
exec "/usr/bin/#{ARGV.shift}", *ARGV unless sdkroot and File.directory? sdkroot
^^^
Library/ENV/4.3/xcrun:17:80: C: Line is too long. [81/79]
exec "/usr/bin/#{ARGV.shift}", *ARGV unless sdkroot and File.directory? sdkroot
^^
Library/ENV/4.3/xcrun:20:9: C: Use def with parentheses when there are parameters.
def try path
^^^^
Library/ENV/4.3/xcrun:21:46: C: Use && instead of and.
exec path, *ARGV if File.executable?(path) and File.dirname(path.cleanpath) != SUPERBIN
^^^
Library/ENV/4.3/xcrun:21:80: C: Line is too long. [89/79]
exec path, *ARGV if File.executable?(path) and File.dirname(path.cleanpath) != SUPERBIN
^^^^^^^^^^
Library/ENV/4.3/xcrun:28:80: C: Line is too long. [90/79]
try "#{ENV['HOMEBREW_DEVELOPER_DIR']}/Toolchains/XcodeDefault.xctoolchain/usr/bin/#{arg0}"
^^^^^^^^^^^
Library/ENV/libsuperenv.rb:6:1: C: Prefer $LOAD_PATH over $:.
$:.unshift "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8"
^^
Library/ENV/libsuperenv.rb:6:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
$:.unshift "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/libsuperenv.rb:6:80: C: Line is too long. [84/79]
$:.unshift "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8"
^^^^^
Library/ENV/libsuperenv.rb:8:1: C: Missing top-level class documentation comment.
class String
^^^^^
Library/ENV/libsuperenv.rb:9:3: C: Avoid single-line method definitions.
def cleanpath; require 'pathname'; Pathname.new(self).realpath.to_s rescue self end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/libsuperenv.rb:9:16: C: Do not use semicolons to terminate expressions.
def cleanpath; require 'pathname'; Pathname.new(self).realpath.to_s rescue self end
^
Library/ENV/libsuperenv.rb:9:38: C: Avoid using rescue in its modifier form.
def cleanpath; require 'pathname'; Pathname.new(self).realpath.to_s rescue self end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/libsuperenv.rb:9:80: C: Line is too long. [85/79]
def cleanpath; require 'pathname'; Pathname.new(self).realpath.to_s rescue self end
^^^^^^
Library/ENV/libsuperenv.rb:10:3: C: Use empty lines between defs.
def chuzzle; s = chomp; s unless s.empty? end
^^^
Library/ENV/libsuperenv.rb:10:3: C: Avoid single-line method definitions.
def chuzzle; s = chomp; s unless s.empty? end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/ENV/libsuperenv.rb:10:14: C: Do not use semicolons to terminate expressions.
def chuzzle; s = chomp; s unless s.empty? end
^
Library/ENV/libsuperenv.rb:13:1: C: Missing top-level class documentation comment.
class NilClass
^^^^^
Library/ENV/libsuperenv.rb:15:3: C: Use empty lines between defs.
def split(x); [] end
^^^
Library/ENV/libsuperenv.rb:15:3: C: Avoid single-line method definitions.
def split(x); [] end
^^^^^^^^^^^^^^^^^^^^
Library/ENV/libsuperenv.rb:18:1: C: Missing top-level class documentation comment.
class Array
^^^^^
Library/ENV/libsuperenv.rb:19:16: C: Use def with parentheses when there are parameters.
def to_flags prefix
^^^^^^
Library/Formula/a2ps.rb:3:1: C: Missing top-level class documentation comment.
class A2ps < Formula
^^^^^
Library/Formula/a2ps.rb:14:7: C: Use the new Ruby 1.9 hash syntax.
{ :p0 => [
^^^^^^
Library/Formula/a2ps.rb:15:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/56498/trunk/dports/print/a2ps/files/patch-contrib_sample_Makefile.in",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/a2ps.rb:15:80: C: Line is too long. [110/79]
"https://trac.macports.org/export/56498/trunk/dports/print/a2ps/files/patch-contrib_sample_Makefile.in",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/a2ps.rb:16:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/56498/trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/a2ps.rb:16:80: C: Line is too long. [97/79]
"https://trac.macports.org/export/56498/trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c"
^^^^^^^^^^^^^^^^^^
Library/Formula/a2ps.rb:17:6: C: Space inside } missing.
]}
^
Library/Formula/a2ps.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/a2ps.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/a2ps.rb:21:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/a2ps.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/a2ps.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:3:1: C: Missing top-level class documentation comment.
class A52dec < Formula
^^^^^
Library/Formula/a52dec.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/a52dec.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--enable-shared",
^^^^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-shared",
^^^^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/a52dec.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aacgain.rb:3:1: C: Missing top-level class documentation comment.
class Aacgain < Formula
^^^^^
Library/Formula/aacgain.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/aacgain.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/aacgain.rb:13:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aacgain.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aacgain.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aalib.rb:3:1: C: Missing top-level class documentation comment.
class Aalib < Formula
^^^^^
Library/Formula/aalib.rb:10:3: C: Avoid single-line method definitions.
def patches; DATA end
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/aalib.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}",
^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--infodir=#{info}",
^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:19:27: C: Align the parameters of a method call if they span more than one line.
"--enable-shared=yes",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-shared=yes",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:20:27: C: Align the parameters of a method call if they span more than one line.
"--enable-static=yes",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-static=yes",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aalib.rb:21:27: C: Align the parameters of a method call if they span more than one line.
"--without-x"
^^^^^^^^^^^^^
Library/Formula/aalib.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--without-x"
^^^^^^^^^^^^^
Library/Formula/aalib.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aalib.rb:39:1: C: Trailing whitespace detected.
Library/Formula/aalib.rb:61:1: C: Trailing whitespace detected.
Library/Formula/aalib.rb:125:80: C: Line is too long. [80/79]
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
^
Library/Formula/aalib.rb:130:6: C: Trailing whitespace detected.
[dnl
^
Library/Formula/aamath.rb:3:1: C: Missing top-level class documentation comment.
class Aamath < Formula
^^^^^
Library/Formula/aamath.rb:8:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aamath.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/aamath.rb:14:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "aamath"
^^^^^^^^
Library/Formula/aamath.rb:15:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "aamath.1"
^^^^^^^^^^
Library/Formula/aamath.rb:16:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "testcases"
^^^^^^^^^^^
Library/Formula/aamath.rb:20:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
IO.popen("#{bin}/aamath", "w+") do |pipe|
^^^^
Library/Formula/aamath.rb:21:25: C: Surrounding space missing for operator '/'.
pipe.write((prefix/"testcases").read)
^
Library/Formula/aamath.rb:21:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
pipe.write((prefix/"testcases").read)
^^^^^^^^^^^
Library/Formula/aamath.rb:23:20: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
assert_match /#{Regexp.escape("f(x + h) = f(x) + h f'(x)")}/, pipe.read
^
Library/Formula/aamath.rb:34:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:40:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:43:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:49:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:52:2: C: Tab detected.
int cols = num_cols();
^
Library/Formula/aamath.rb:53:2: C: Tab detected.
int rows = num_rows();
^
Library/Formula/aamath.rb:54:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:57:2: C: Tab detected.
Size sz[cols * rows];
^
Library/Formula/aamath.rb:58:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:59:2: C: Tab detected.
int row_height[rows];
^
Library/Formula/aamath.rb:61:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:62:2: C: Tab detected.
canvas->center();
^
Library/Formula/aamath.rb:63:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:66:2: C: Tab detected.
return canvas;
^
Library/Formula/aamath.rb:68:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:74:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:75:2: C: Tab detected.
virtual CanvasPtr render_head() const;
^
Library/Formula/aamath.rb:76:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:79:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:80:2: C: Tab detected.
virtual CanvasPtr render() const;
^
Library/Formula/aamath.rb:82:80: C: Line is too long. [87/79]
@@ -467,7 +467,7 @@ class IntegralOnInterval : public Integral, public OpOverInterval {
^^^^^^^^
Library/Formula/aamath.rb:83:1: C: Trailing whitespace detected.
Library/Formula/aamath.rb:89:1: C: Trailing whitespace detected.
Library/Formula/aardvark_shell_utils.rb:3:1: C: Missing top-level class documentation comment.
class AardvarkShellUtils < Formula
^^^^^
Library/Formula/aardvark_shell_utils.rb:5:80: C: Line is too long. [101/79]
url 'http://downloads.laffeycomputer.com/current_builds/shellutils/aardvark_shell_utils-1.0.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aardvark_shell_utils.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/aardvark_shell_utils.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/aardvark_shell_utils.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aardvark_shell_utils.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aardvark_shell_utils.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/aardvark_shell_utils.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/aardvark_shell_utils.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aardvark_shell_utils.rb:19:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/aardvark_shell_utils.rb:23:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/aardvark_shell_utils.rb:27:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/abcde.rb:3:1: C: Missing top-level class documentation comment.
class Abcde < Formula
^^^^^
Library/Formula/abcl.rb:3:1: C: Missing top-level class documentation comment.
class Abcl < Formula
^^^^^
Library/Formula/abcl.rb:11:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "abcl.jar", "abcl-contrib.jar"
^^^^^^^^^^
Library/Formula/abcl.rb:11:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "abcl.jar", "abcl-contrib.jar"
^^^^^^^^^^^^^^^^^^
Library/Formula/abcl.rb:12:9: C: Surrounding space missing for operator '+'.
(bin+"abcl").write <<-EOS.undent
^
Library/Formula/abcl.rb:12:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(bin+"abcl").write <<-EOS.undent
^^^^^^
Library/Formula/abcm2ps.rb:3:1: C: Missing top-level class documentation comment.
class Abcm2ps < Formula
^^^^^
Library/Formula/abcm2ps.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/abcm2ps.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/abcmidi.rb:3:1: C: Missing top-level class documentation comment.
class Abcmidi < Formula
^^^^^
Library/Formula/abcmidi.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "rm", "makefile"
^^^^
Library/Formula/abcmidi.rb:13:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "rm", "makefile"
^^^^^^^^^^
Library/Formula/abcmidi.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/abcmidi.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/abcmidi.rb:15:80: C: Line is too long. [84/79]
system "./configure", "--disable-debug", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^
Library/Formula/abcmidi.rb:16:80: C: Line is too long. [80/79]
# The Makefile is broken when using --prefix (value is added to path twice).
^
Library/Formula/abcmidi.rb:18:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile", "$(DESTDIR)${prefix}", "$(DESTDIR)"
^^^^^^^^^^
Library/Formula/abcmidi.rb:18:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile", "$(DESTDIR)${prefix}", "$(DESTDIR)"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/abcmidi.rb:18:50: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile", "$(DESTDIR)${prefix}", "$(DESTDIR)"
^^^^^^^^^^^^
Library/Formula/abcmidi.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/abcmidi.rb:20:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/abnfgen.rb:3:1: C: Missing top-level class documentation comment.
class Abnfgen < Formula
^^^^^
Library/Formula/abnfgen.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/abnfgen.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/abnfgen.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/abnfgen.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/abnfgen.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/abnfgen.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/abook.rb:3:1: C: Missing top-level class documentation comment.
class Abook < Formula
^^^^^
Library/Formula/abook.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/abook.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/abook.rb:11:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/abook.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/abook.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/abook.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/ace.rb:3:1: C: Missing top-level class documentation comment.
class Ace < Formula
^^^^^
Library/Formula/ace.rb:8:3: C: Method has too many lines. [16/10]
def install
^^^
Library/Formula/ace.rb:17:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ln_sf "config-macosx-#{name}.h", "ace/config.h"
^^^^^^^^^^^^^^
Library/Formula/ace.rb:18:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ln_sf "platform_macosx_#{name}.GNU", "include/makeinclude/platform_macros.GNU"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ace.rb:18:80: C: Line is too long. [82/79]
ln_sf "platform_macosx_#{name}.GNU", "include/makeinclude/platform_macros.GNU"
^^^
Library/Formula/ace.rb:25:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "ace" do
^^^^^
Library/Formula/ace.rb:26:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "GNUmakefile.ACE",
^^^^^^
Library/Formula/ace.rb:26:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "GNUmakefile.ACE",
^^^^
Library/Formula/ace.rb:26:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "GNUmakefile.ACE",
^^^^^^^^^^^^^^^^^
Library/Formula/ace.rb:27:28: C: Align the parameters of a method call if they span more than one line.
"INSTALL_PREFIX=#{prefix}",
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ace.rb:28:28: C: Align the parameters of a method call if they span more than one line.
"LDFLAGS=",
^^^^^^^^^^
Library/Formula/ace.rb:28:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"LDFLAGS=",
^^^^^^^^^^
Library/Formula/ace.rb:29:28: C: Align the parameters of a method call if they span more than one line.
"DESTDIR=",
^^^^^^^^^^
Library/Formula/ace.rb:29:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"DESTDIR=",
^^^^^^^^^^
Library/Formula/ace.rb:30:28: C: Align the parameters of a method call if they span more than one line.
"INST_DIR=/ace",
^^^^^^^^^^^^^^^
Library/Formula/ace.rb:30:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"INST_DIR=/ace",
^^^^^^^^^^^^^^^
Library/Formula/ace.rb:31:28: C: Align the parameters of a method call if they span more than one line.
"debug=0",
^^^^^^^^^
Library/Formula/ace.rb:31:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"debug=0",
^^^^^^^^^
Library/Formula/ace.rb:32:28: C: Align the parameters of a method call if they span more than one line.
"shared_libs=1",
^^^^^^^^^^^^^^^
Library/Formula/ace.rb:32:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"shared_libs=1",
^^^^^^^^^^^^^^^
Library/Formula/ace.rb:33:28: C: Align the parameters of a method call if they span more than one line.
"static_libs=0",
^^^^^^^^^^^^^^^
Library/Formula/ace.rb:33:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"static_libs=0",
^^^^^^^^^^^^^^^
Library/Formula/ace.rb:34:28: C: Align the parameters of a method call if they span more than one line.
"install"
^^^^^^^^^
Library/Formula/ace.rb:34:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"
^^^^^^^^^
Library/Formula/ack.rb:3:1: C: Missing top-level class documentation comment.
class Ack < Formula
^^^^^
Library/Formula/ack.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "ack-2.12-single-file" => "ack"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ack.rb:10:43: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "ack-2.12-single-file" => "ack"
^^^^^
Library/Formula/ack.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "pod2man", "#{bin}/ack", "ack.1"
^^^^^^^^^
Library/Formula/ack.rb:11:37: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "pod2man", "#{bin}/ack", "ack.1"
^^^^^^^
Library/Formula/ack.rb:12:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "ack.1"
^^^^^^^
Library/Formula/ack.rb:16:52: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
IO.popen("#{bin}/ack --noenv --nocolor bar -", "w+") do |pipe|
^^^^
Library/Formula/acme.rb:3:1: C: Missing top-level class documentation comment.
class Acme < Formula
^^^^^
Library/Formula/acme.rb:5:80: C: Line is too long. [90/79]
url 'http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme/current/acme091src.tar.gz'
^^^^^^^^^^^
Library/Formula/acme.rb:10:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "src" do
^^^^^
Library/Formula/acme.rb:11:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "BINDIR=#{bin}"
^^^^^^
Library/Formula/acme.rb:11:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "BINDIR=#{bin}"
^^^^^^^^^
Library/Formula/acme.rb:16:20: C: Surrounding space missing for operator '/'.
path = testpath/"a.asm"
^
Library/Formula/acme.rb:16:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = testpath/"a.asm"
^^^^^^^
Library/Formula/acme.rb:23:15: C: Surrounding space missing for operator '/'.
system bin/"acme", path
^
Library/Formula/acme.rb:23:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"acme", path
^^^^^^
Library/Formula/acme.rb:24:30: C: Surrounding space missing for operator '/'.
code = File.open(testpath/"a.out", "rb") { |f| f.read.unpack("C*") }
^
Library/Formula/acme.rb:24:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
code = File.open(testpath/"a.out", "rb") { |f| f.read.unpack("C*") }
^^^^^^^
Library/Formula/acme.rb:24:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
code = File.open(testpath/"a.out", "rb") { |f| f.read.unpack("C*") }
^^^^
Library/Formula/acme.rb:24:66: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
code = File.open(testpath/"a.out", "rb") { |f| f.read.unpack("C*") }
^^^^
Library/Formula/acpica.rb:3:1: C: Missing top-level class documentation comment.
class Acpica < Formula
^^^^^
Library/Formula/acpica.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "HOST=_APPLE", "PREFIX=#{prefix}"
^^^^^^
Library/Formula/acpica.rb:12:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "HOST=_APPLE", "PREFIX=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/acpica.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "HOST=_APPLE", "PREFIX=#{prefix}"
^^^^^^
Library/Formula/acpica.rb:13:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "HOST=_APPLE", "PREFIX=#{prefix}"
^^^^^^^^^
Library/Formula/acpica.rb:13:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "HOST=_APPLE", "PREFIX=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/activemq-cpp.rb:3:1: C: Missing top-level class documentation comment.
class ActivemqCpp < Formula
^^^^^
Library/Formula/activemq-cpp.rb:5:80: C: Line is too long. [102/79]
url 'http://apache.dattatec.com/activemq/activemq-cpp/source/activemq-cpp-library-3.8.2-src.tar.bz2'
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/activemq-cpp.rb:13:1: C: Extra blank line detected.
Library/Formula/activemq-cpp.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "bash autogen.sh"
^^^^^^^^^^^^^^^^^
Library/Formula/activemq-cpp.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/activemq-cpp.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/activemq-cpp.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/activemq.rb:3:1: C: Missing top-level class documentation comment.
class Activemq < Formula
^^^^^
Library/Formula/activemq.rb:5:80: C: Line is too long. [113/79]
url 'http://www.apache.org/dyn/closer.cgi?path=activemq/apache-activemq/5.9.0/apache-activemq-5.9.0-bin.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/activemq.rb:16:34: C: Surrounding space missing for operator '/'.
bin.write_exec_script libexec/'bin/activemq'
^
Library/Formula/activemq.rb:17:34: C: Surrounding space missing for operator '/'.
bin.write_exec_script libexec/'bin/activemq-admin'
^
Library/Formula/adns.rb:3:1: C: Missing top-level class documentation comment.
class Adns < Formula
^^^^^
Library/Formula/adns.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/adns.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/adns.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/adns.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/adns.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dynamic"
^^^^^^^^^^^^^^^^^^^
Library/Formula/adns.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dynamic"
^^^^^^^^^^^^^^^^^^^
Library/Formula/adns.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/adns.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/adobe-air-sdk.rb:3:1: C: Missing top-level class documentation comment.
class AdobeAirSdk < Formula
^^^^^
Library/Formula/adobe-air-sdk.rb:6:80: C: Line is too long. [88/79]
option 'with-compiler', 'Grab the version with the new compiler (for non-Flex users).'
^^^^^^^^^
Library/Formula/adobe-air-sdk.rb:10:80: C: Line is too long. [80/79]
url 'http://airdownload.adobe.com/air/mac/download/3.9/AIRSDK_Compiler.tbz2'
^
Library/Formula/adobe-air-sdk.rb:17:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm_f Dir["bin/*.bat"]
^^^^^^^^^^^
Library/Formula/adplug.rb:3:1: C: Missing top-level class documentation comment.
class Adplug < Formula
^^^^^
Library/Formula/adplug.rb:5:80: C: Line is too long. [107/79]
url 'https://downloads.sourceforge.net/project/adplug/AdPlug%20core%20library/2.2.1/adplug-2.2.1.tar.bz2'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/adplug.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/adplug.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/adplug.rb:12:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/adplug.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/adplug.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/advancecomp.rb:3:1: C: Missing top-level class documentation comment.
class Advancecomp < Formula
^^^^^
Library/Formula/advancecomp.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/advancecomp.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/advancecomp.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/advancecomp.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/advancecomp.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aescrypt.rb:3:1: C: Missing top-level class documentation comment.
class Aescrypt < Formula
^^^^^
Library/Formula/aescrypt.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure"
^^^^^^^^^^^^^
Library/Formula/aescrypt.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/aespipe.rb:3:1: C: Missing top-level class documentation comment.
class Aespipe < Formula
^^^^^
Library/Formula/aespipe.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/aespipe.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/afflib.rb:3:1: C: Missing top-level class documentation comment.
class Afflib < Formula
^^^^^
Library/Formula/afflib.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "sh bootstrap.sh"
^^^^^^^^^^^^^^^^^
Library/Formula/afflib.rb:23:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/afflib.rb:25:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "osxfuse"
^^^^^^^^^
Library/Formula/afflib.rb:27:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--enable-fuse"
^^^^^^^^^^^^^^^
Library/Formula/afflib.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/afflib.rb:31:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/afio.rb:3:1: C: Missing top-level class documentation comment.
class Afio < Formula
^^^^^
Library/Formula/afio.rb:8:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "bzip2", "Use bzip2(1) instead of gzip(1) for compression/decompression"
^^^^^^^
Library/Formula/afio.rb:8:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "bzip2", "Use bzip2(1) instead of gzip(1) for compression/decompression"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/afio.rb:8:80: C: Line is too long. [81/79]
option "bzip2", "Use bzip2(1) instead of gzip(1) for compression/decompression"
^^
Library/Formula/afio.rb:10:3: C: Method has too many lines. [12/10]
def install
^^^
Library/Formula/afio.rb:11:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.include? "bzip2"
^^^^^^^
Library/Formula/afio.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile", "-DPRG_COMPRESS='\"gzip\"'", "-DPRG_COMPRESS='\"bzip2\"'"
^^^^^^^^^^
Library/Formula/afio.rb:12:80: C: Line is too long. [85/79]
inreplace "Makefile", "-DPRG_COMPRESS='\"gzip\"'", "-DPRG_COMPRESS='\"bzip2\"'"
^^^^^^
Library/Formula/afio.rb:13:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.c", "with -o: gzip files", "with -o: bzip2 files"
^^^^^^^^
Library/Formula/afio.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.c", "with -o: gzip files", "with -o: bzip2 files"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/afio.rb:13:50: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.c", "with -o: gzip files", "with -o: bzip2 files"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/afio.rb:14:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.1", "gzip", "bzip2"
^^^^^^^^
Library/Formula/afio.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.1", "gzip", "bzip2"
^^^^^^
Library/Formula/afio.rb:14:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.1", "gzip", "bzip2"
^^^^^^^
Library/Formula/afio.rb:15:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.1", "bzip2, bzip2,", "gzip, bzip2,"
^^^^^^^^
Library/Formula/afio.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.1", "bzip2, bzip2,", "gzip, bzip2,"
^^^^^^^^^^^^^^^
Library/Formula/afio.rb:15:44: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "afio.1", "bzip2, bzip2,", "gzip, bzip2,"
^^^^^^^^^^^^^^
Library/Formula/afio.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "DESTDIR=#{prefix}"
^^^^^^
Library/Formula/afio.rb:19:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "afio"
^^^^^^
Library/Formula/afio.rb:22:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "ANNOUNCE-2.5.1" => "ANNOUNCE"
^^^^^^^^^^^^^^^^
Library/Formula/afio.rb:22:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "ANNOUNCE-2.5.1" => "ANNOUNCE"
^^^^^^^^^^
Library/Formula/afio.rb:24:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
share.install Dir["script*"]
^^^^^^^^^
Library/Formula/afsctool.rb:3:1: C: Missing top-level class documentation comment.
class Afsctool < Formula
^^^^^
Library/Formula/afsctool.rb:5:80: C: Line is too long. [82/79]
url 'https://docs.google.com/uc?export=download&id=0BwQlnXqL939ZQjBQNEhRQUo0aUk'
^^^
Library/Formula/afsctool.rb:11:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "afsctool_34" do
^^^^^^^^^^^^^
Library/Formula/afsctool.rb:12:80: C: Line is too long. [89/79]
system "#{ENV.cc} #{ENV.cflags} -lz -framework CoreServices -o afsctool afsctool.c"
^^^^^^^^^^
Library/Formula/aften.rb:3:1: C: Missing top-level class documentation comment.
class Aften < Formula
^^^^^
Library/Formula/aften.rb:12:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "-DSHARED=ON", "..", *std_cmake_args
^^^^^^^
Library/Formula/aften.rb:12:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "-DSHARED=ON", "..", *std_cmake_args
^^^^^^^^^^^^^
Library/Formula/aften.rb:12:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "-DSHARED=ON", "..", *std_cmake_args
^^^^
Library/Formula/aften.rb:13:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/afuse.rb:3:1: C: Missing top-level class documentation comment.
class Afuse < Formula
^^^^^
Library/Formula/afuse.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/afuse.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/afuse.rb:16:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/afuse.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/afuse.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/agedu.rb:3:1: C: Missing top-level class documentation comment.
class Agedu < Formula
^^^^^
Library/Formula/agedu.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/agedu.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/agedu.rb:10:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/agedu.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/agedu.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/agedu.rb:16:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/agedu", "-s", "."
^^^^
Library/Formula/agedu.rb:16:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/agedu", "-s", "."
^^^
Library/Formula/agedu.rb:17:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert File.exist?("agedu.dat")
^^^^^^^^^^^
Library/Formula/aget.rb:3:1: C: Missing top-level class documentation comment.
class Aget < Formula
^^^^^
Library/Formula/aget.rb:9:7: C: Use the new Ruby 1.9 hash syntax.
{ :p0 => "https://trac.macports.org/export/90173/trunk/dports/net/aget/files/patch-Head.c" }
^^^^^^
Library/Formula/aget.rb:9:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
{ :p0 => "https://trac.macports.org/export/90173/trunk/dports/net/aget/files/patch-Head.c" }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aget.rb:9:80: C: Line is too long. [96/79]
{ :p0 => "https://trac.macports.org/export/90173/trunk/dports/net/aget/files/patch-Head.c" }
^^^^^^^^^^^^^^^^^
Library/Formula/aget.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}",
^^^^^^
Library/Formula/aget.rb:14:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aget.rb:15:20: C: Align the parameters of a method call if they span more than one line.
"LDFLAGS=#{ENV.ldflags}"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aget.rb:16:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "aget"
^^^^^^
Library/Formula/aget.rb:17:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "aget.1"
^^^^^^^^
Library/Formula/aggregate.rb:3:1: C: Missing top-level class documentation comment.
class Aggregate < Formula
^^^^^
Library/Formula/aggregate.rb:8:33: C: Use the new Ruby 1.9 hash syntax.
conflicts_with 'crush-tools', :because => 'both install an `aggregate` binary'
^^^^^^^^^^^
Library/Formula/aggregate.rb:8:80: C: Line is too long. [80/79]
conflicts_with 'crush-tools', :because => 'both install an `aggregate` binary'
^
Library/Formula/aggregate.rb:15:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile.in", "$(prefix)/man/man1", "$(prefix)/share/man/man1"
^^^^^^^^^^^^^
Library/Formula/aggregate.rb:15:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile.in", "$(prefix)/man/man1", "$(prefix)/share/man/man1"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aggregate.rb:15:52: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile.in", "$(prefix)/man/man1", "$(prefix)/share/man/man1"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aggregate.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/aggregate.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/aggregate.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aggregate.rb:18:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aggregate.rb:19:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aggregate.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CFLAGS=#{ENV.cflags}",
^^^^^^
Library/Formula/aggregate.rb:21:20: C: Align the parameters of a method call if they span more than one line.
"LDFLAGS=#{ENV.ldflags}",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aggregate.rb:22:20: C: Align the parameters of a method call if they span more than one line.
"install"
^^^^^^^^^
Library/Formula/aggregate.rb:22:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"
^^^^^^^^^
Library/Formula/aha.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/aha.rb:3:1: C: Missing top-level class documentation comment.
class Aha < Formula
^^^^^
Library/Formula/aha.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "https://github.com/theZiz/aha"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aha.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://github.com/theZiz/aha/archive/0.4.7.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aha.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "bbf861ea1a98aa72346c2822f1ec40941b84dd53"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aha.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/aha.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "aha"
^^^^^
Library/Formula/aha.rb:14:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
IO.popen("#{bin}/aha", "w+") do |pipe|
^^^^
Library/Formula/aha.rb:15:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
pipe.write("rainpill")
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aha.rb:17:20: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
assert_match /color:purple;">rain.*color:blue;">pill/, pipe.read
^
Library/Formula/ahcpd.rb:3:1: C: Missing top-level class documentation comment.
class Ahcpd < Formula
^^^^^
Library/Formula/ahcpd.rb:5:80: C: Line is too long. [82/79]
url 'http://www.pps.univ-paris-diderot.fr/~jch/software/files/ahcpd-0.53.tar.gz'
^^^
Library/Formula/ahcpd.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "LDLIBS=''"
^^^^^^
Library/Formula/ahcpd.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=", "TARGET=#{prefix}"
^^^^^^
Library/Formula/ahcpd.rb:15:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=", "TARGET=#{prefix}"
^^^^^^^^^
Library/Formula/ahcpd.rb:15:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=", "TARGET=#{prefix}"
^^^^^^^^^
Library/Formula/ahcpd.rb:25:1: C: Tab detected.
chmod +x $(TARGET)/etc/ahcp/ahcp-config.sh
^
Library/Formula/ahcpd.rb:36:1: C: Tab detected.
-rm -f $(TARGET)$(PREFIX)/bin/ahcpd
^
Library/Formula/ahcpd.rb:37:1: C: Tab detected.
-rm -f $(TARGET)$(PREFIX)/bin/ahcp-config.sh
^
Library/Formula/ahcpd.rb:38:1: C: Tab detected.
-rm -f $(TARGET)$(PREFIX)/bin/ahcp-dummy-config.sh
^
Library/Formula/aiccu.rb:3:1: C: Missing top-level class documentation comment.
class Aiccu < Formula
^^^^^
Library/Formula/aiccu.rb:9:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aiccu.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}"
^^^^^^
Library/Formula/aiccu.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "prefix=#{prefix}"
^^^^^^
Library/Formula/aiccu.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "prefix=#{prefix}"
^^^^^^^^^
Library/Formula/aiccu.rb:19:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :startup => true
^^^^^^^^^^^
Library/Formula/aiccu.rb:21:3: C: Method has too many lines. [17/10]
def plist; <<-EOS.undent
^^^
Library/Formula/aiccu.rb:23:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aiccu.rb:41:3: C: Method has too many lines. [11/10]
def caveats
^^^
Library/Formula/aiccu.rb:85:1: C: Tab detected.
@echo "Configuration..."
^
Library/Formula/aiccu.rb:86:1: C: Tab detected.
@mkdir -p ${DESTDIR}${diretc}
^
Library/Formula/aiccu.rb:88:80: C: Line is too long. [116/79]
- $(shell [ -f ${DESTDIR}${diretc}${PROJECT}.conf ] || cp -R doc/${PROJECT}.conf ${DESTDIR}${diretc}${PROJECT}.conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aiccu.rb:89:1: C: Tab detected.
@echo "Documentation..."
^
Library/Formula/aiccu.rb:91:1: C: Tab detected.
@cp doc/README ${DESTDIR}${dirdoc}
^
Library/Formula/aiccu.rb:92:1: C: Tab detected.
@cp doc/LICENSE ${DESTDIR}${dirdoc}
^
Library/Formula/aiccu.rb:93:1: C: Tab detected.
@cp doc/HOWTO ${DESTDIR}${dirdoc}
^
Library/Formula/aiccu.rb:107:1: C: Tab detected.
@echo "$(PROJECT) - $(PROJECT_DESC)"
^
Library/Formula/aiccu.rb:125:80: C: Line is too long. [84/79]
/* GetWindowsDirectory() is used to figure out the directory to store the config */
^^^^^
Library/Formula/aircrack-ng.rb:3:1: C: Missing top-level class documentation comment.
class AircrackNg < Formula
^^^^^
Library/Formula/aircrack-ng.rb:24:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "scripts/airodump-ng-oui-update",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aircrack-ng.rb:25:7: C: Align the parameters of a method call if they span more than one line.
"http://standards.ieee.org/regauth/oui/oui.txt",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aircrack-ng.rb:25:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"http://standards.ieee.org/regauth/oui/oui.txt",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aircrack-ng.rb:26:7: C: Align the parameters of a method call if they span more than one line.
"http://standards.ieee.org/develop/regauth/oui/oui.txt"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aircrack-ng.rb:26:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"http://standards.ieee.org/develop/regauth/oui/oui.txt"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aircrack-ng.rb:28:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}"
^^^^^^
Library/Formula/aircrack-ng.rb:29:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}", "mandir=#{man1}", "install"
^^^^^^
Library/Formula/aircrack-ng.rb:29:58: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}", "mandir=#{man1}", "install"
^^^^^^^^^
Library/Formula/aircrack-ng.rb:64:1: C: Trailing whitespace detected.
Library/Formula/aircrack-ng.rb:66:2: C: Tab detected.
mkdir -p ${OUI_PATH}
^
Library/Formula/aircrack-ng.rb:67:1: C: 1 trailing blank lines detected.
Library/Formula/akka.rb:3:1: C: Missing top-level class documentation comment.
class Akka < Formula
^^^^^
Library/Formula/akka.rb:10:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm "bin/akka.bat"
^^^^^^^^^^^^^^
Library/Formula/akka.rb:13:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "bin/akka" do |s|
^^^^^^^^^^
Library/Formula/akka.rb:14:15: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
s.gsub! /^declare AKKA_HOME=.*$/, "declare AKKA_HOME=#{libexec}"
^
Library/Formula/akka.rb:17:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
libexec.install Dir["*"]
^^^
Library/Formula/akka.rb:18:32: C: Surrounding space missing for operator '/'.
bin.install_symlink libexec/"bin/akka"
^
Library/Formula/akka.rb:18:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install_symlink libexec/"bin/akka"
^^^^^^^^^^
Library/Formula/alac.rb:3:1: C: Missing top-level class documentation comment.
class Alac < Formula
^^^^^
Library/Formula/alac.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CFLAGS=#{ENV.cflags}", "CC=#{ENV.cc}"
^^^^^^
Library/Formula/aldo.rb:3:1: C: Missing top-level class documentation comment.
class Aldo < Formula
^^^^^
Library/Formula/aldo.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/aldo.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aldo.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/algol68g.rb:3:1: C: Missing top-level class documentation comment.
class Algol68g < Formula
^^^^^
Library/Formula/algol68g.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/algol68g.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/algol68g.rb:16:20: C: Surrounding space missing for operator '/'.
path = testpath/"hello.alg"
^
Library/Formula/algol68g.rb:16:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = testpath/"hello.alg"
^^^^^^^^^^^
Library/Formula/algol68g.rb:22:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "Hello World", output
^^^^^^^^^^^^^
Library/Formula/algol68g.rb:23:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/align.rb:3:1: C: Missing top-level class documentation comment.
class Align < Formula
^^^^^
Library/Formula/alpine.rb:3:1: C: Missing top-level class documentation comment.
class Alpine < Formula
^^^^^
Library/Formula/alpine.rb:13:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
p << "https://trac.macports.org/export/89747/trunk/dports/mail/alpine/files/alpine-osx-10.6.patch" if MacOS.version >= :snow_leopard
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/alpine.rb:13:80: C: Line is too long. [137/79]
p << "https://trac.macports.org/export/89747/trunk/dports/mail/alpine/files/alpine-osx-10.6.patch" if MacOS.version >= :snow_leopard
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/alpine.rb:15:80: C: Line is too long. [87/79]
# http://mailman2.u.washington.edu/pipermail/alpine-info/2013-September/005291.html
^^^^^^^^
Library/Formula/alpine.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/alpine.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/alpine.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/alpine.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--with-ssl-include-dir=/usr/include/openssl"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/alpine.rb:23:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-ssl-include-dir=/usr/include/openssl"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/alpine.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/alpine.rb:34:2: C: Tab detected.
}
^
Library/Formula/alpine.rb:35:1: C: Trailing whitespace detected.
Library/Formula/alpine.rb:36:2: C: Tab detected.
switch(Tcl_Eval(interp, &buf[co])){
^
Library/Formula/alpine.rb:42:80: C: Line is too long. [83/79]
+ case TCL_ERROR : peReturn(cs, "ERROR", Tcl_GetStringResult(interp)); break;
^^^^
Library/Formula/alpine.rb:43:80: C: Line is too long. [83/79]
+ case TCL_BREAK : peReturn(cs, "BREAK", Tcl_GetStringResult(interp)); break;
^^^^
Library/Formula/alpine.rb:44:80: C: Line is too long. [84/79]
+ case TCL_RETURN : peReturn(cs, "RETURN", Tcl_GetStringResult(interp)); break;
^^^^^
Library/Formula/alpine.rb:45:2: C: Tab detected.
default : peReturn(cs, "BOGUS", "eval returned unexpected value"); break;
^
Library/Formula/alpine.rb:45:80: C: Line is too long. [82/79]
default : peReturn(cs, "BOGUS", "eval returned unexpected value"); break;
^^^
Library/Formula/alpine.rb:46:2: C: Tab detected.
}
^
Library/Formula/alpine.rb:47:2: C: Tab detected.
}
^
Library/Formula/alpine.rb:48:1: C: 1 trailing blank lines detected.
Library/Formula/alure.rb:3:1: C: Missing top-level class documentation comment.
class Alure < Formula
^^^^^
Library/Formula/alure.rb:21:33: C: Align the parameters of a method call if they span more than one line.
%x[pkg-config --cflags vorbisfile].chomp
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/alure.rb:23:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "build" do
^^^^^^^
Library/Formula/alure.rb:24:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "..", *std_cmake_args
^^^^^^^
Library/Formula/alure.rb:24:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "..", *std_cmake_args
^^^^
Library/Formula/alure.rb:25:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/amap.rb:3:1: C: Missing top-level class documentation comment.
class Amap < Formula
^^^^^
Library/Formula/amap.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/amap.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/amap.rb:13:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "amap", "amap6", "amapcrap"
^^^^^^
Library/Formula/amap.rb:13:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "amap", "amap6", "amapcrap"
^^^^^^^
Library/Formula/amap.rb:13:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "amap", "amap6", "amapcrap"
^^^^^^^^^^
Library/Formula/amap.rb:14:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "amap.1"
^^^^^^^^
Library/Formula/amtterm.rb:3:1: C: Missing top-level class documentation comment.
class Amtterm < Formula
^^^^^
Library/Formula/amtterm.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make","prefix=#{prefix}", "install"
^^^^^^
Library/Formula/amtterm.rb:10:18: C: Space missing after comma.
system "make","prefix=#{prefix}", "install"
^
Library/Formula/amtterm.rb:10:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make","prefix=#{prefix}", "install"
^^^^^^^^^
Library/Formula/analog.rb:3:1: C: Missing top-level class documentation comment.
class Analog < Formula
^^^^^
Library/Formula/analog.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}",
^^^^^^
Library/Formula/analog.rb:14:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/analog.rb:15:20: C: Align the parameters of a method call if they span more than one line.
"DEFS='-DLANGDIR=\"/foo-share/analog/lang\"' -DHAVE_ZLIB",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/analog.rb:16:20: C: Align the parameters of a method call if they span more than one line.
"LIBS=-lz",
^^^^^^^^^^
Library/Formula/analog.rb:16:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"LIBS=-lz",
^^^^^^^^^^
Library/Formula/analog.rb:17:20: C: Align the parameters of a method call if they span more than one line.
"OS=OSX"
^^^^^^^^
Library/Formula/analog.rb:17:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"OS=OSX"
^^^^^^^^
Library/Formula/analog.rb:18:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "analog"
^^^^^^^^
Library/Formula/analog.rb:19:11: C: Surrounding space missing for operator '/'.
(share/'analog').install "examples", "how-to", "images", "lang"
^
Library/Formula/analog.rb:19:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'analog').install "examples", "how-to", "images", "lang"
^^^^^^^^^^
Library/Formula/analog.rb:19:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'analog').install "examples", "how-to", "images", "lang"
^^^^^^^^
Library/Formula/analog.rb:19:52: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'analog').install "examples", "how-to", "images", "lang"
^^^^^^^^
Library/Formula/analog.rb:19:62: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'analog').install "examples", "how-to", "images", "lang"
^^^^^^
Library/Formula/analog.rb:20:11: C: Surrounding space missing for operator '/'.
(share/'analog').install "analog.cfg" => "analog.cfg-dist"
^
Library/Formula/analog.rb:20:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'analog').install "analog.cfg" => "analog.cfg-dist"
^^^^^^^^^^^^
Library/Formula/analog.rb:20:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'analog').install "analog.cfg" => "analog.cfg-dist"
^^^^^^^^^^^^^^^^^
Library/Formula/analog.rb:21:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "analog.man" => "analog.1"
^^^^^^^^^^^^
Library/Formula/analog.rb:21:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "analog.man" => "analog.1"
^^^^^^^^^^
Library/Formula/android-ndk.rb:3:1: C: Missing top-level class documentation comment.
class AndroidNdk < Formula
^^^^^
Library/Formula/android-ndk.rb:16:22: C: Surrounding space missing for operator '+'.
ndk_exec = prefix+'ndk-exec.sh'
^
Library/Formula/android-ndk.rb:24:70: C: Surrounding space missing for operator '+'.
%w[ ndk-build ndk-gdb ndk-stack ].each { |app| ln_s ndk_exec, bin+app }
^
Library/Formula/android-ndk.rb:28:80: C: Line is too long. [82/79]
We agreed to the Android NDK License Agreement for you by downloading the NDK.
^^^
Library/Formula/android-platform-tools.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/android-platform-tools.rb:3:1: C: Missing top-level class documentation comment.
class AndroidPlatformTools < Formula
^^^^^
Library/Formula/android-platform-tools.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "http://developer.android.com/sdk"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-platform-tools.rb:7:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "http://dl-ssl.google.com/android/repository/platform-tools_r19.0.1-macosx.zip"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-platform-tools.rb:7:80: C: Line is too long. [85/79]
url "http://dl-ssl.google.com/android/repository/platform-tools_r19.0.1-macosx.zip"
^^^^^^
Library/Formula/android-platform-tools.rb:9:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "340a497e4199d076ea93d4ee0e7a50858344d176"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-platform-tools.rb:12:5: C: Align the parameters of a method call if they span more than one line.
:because => "the Android Platform-tools are part of the Android SDK"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-platform-tools.rb:12:5: C: Use the new Ruby 1.9 hash syntax.
:because => "the Android Platform-tools are part of the Android SDK"
^^^^^^^^^^^
Library/Formula/android-platform-tools.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
:because => "the Android Platform-tools are part of the Android SDK"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-platform-tools.rb:15:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "adb", "fastboot"
^^^^^
Library/Formula/android-platform-tools.rb:15:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "adb", "fastboot"
^^^^^^^^^^
Library/Formula/android-sdk.rb:3:1: C: Missing top-level class documentation comment.
class AndroidSdk < Formula
^^^^^
Library/Formula/android-sdk.rb:10:5: C: Align the parameters of a method call if they span more than one line.
:because => "the Platform-tools are be installed as part of the SDK."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-sdk.rb:10:5: C: Use the new Ruby 1.9 hash syntax.
:because => "the Platform-tools are be installed as part of the SDK."
^^^^^^^^^^^
Library/Formula/android-sdk.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
:because => "the Platform-tools are be installed as part of the SDK."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-sdk.rb:13:80: C: Line is too long. [122/79]
url 'https://raw.github.com/CyanogenMod/android_sdk/938c8d70af7d77dfcd1defe415c1e0deaa7d301b/bash_completion/adb.bash'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/android-sdk.rb:17:3: C: Method has too many lines. [30/10]
def install
^^^
Library/Formula/android-sdk.rb:21:5: C: Align the elements of an array literal if they span more than one line.
emulator-arm emulator-x86 hierarchyviewer hprof-conv lint mksdcard
^^^^^^^^^^^^
Library/Formula/android-sdk.rb:22:5: C: Align the elements of an array literal if they span more than one line.
monitor monkeyrunner traceview zipalign].each do |tool|
^^^^^^^
Library/Formula/android-sdk.rb:23:11: C: Surrounding space missing for operator '/'.
(bin/tool).write <<-EOS.undent
^
Library/Formula/android-sdk.rb:33:19: C: Surrounding space missing for operator '/'.
dst = prefix/d
^
Library/Formula/android-sdk.rb:34:16: C: Surrounding space missing for operator '/'.
src = var/'lib/android-sdk'/d
^
Library/Formula/android-sdk.rb:34:34: C: Surrounding space missing for operator '/'.
src = var/'lib/android-sdk'/d
^
Library/Formula/android-sdk.rb:40:11: C: Surrounding space missing for operator '/'.
(bin/platform_tool).write <<-EOS.undent
^
Library/Formula/android-sdk.rb:44:80: C: Line is too long. [88/79]
echo Use the \\`android\\' tool to install the \\"Android SDK Platform-tools\\".
^^^^^^^^^
Library/Formula/android-sdk.rb:49:11: C: Surrounding space missing for operator '/'.
(bin/build_tool).write <<-EOS.undent
^
Library/Formula/android-sdk.rb:53:80: C: Line is too long. [85/79]
echo Use the \\`android\\' tool to install the \\"Android SDK Build-tools\\".
^^^^^^
Library/Formula/android-sdk.rb:57:80: C: Line is too long. [93/79]
bash_completion.install resource('completion').files('adb.bash' => 'adb-completion.bash')
^^^^^^^^^^^^^^
Library/Formula/android-sdk.rb:66:80: C: Line is too long. [80/79]
You will have to install the platform-tools and docs EVERY time this formula
^
Library/Formula/android-sdk.rb:67:80: C: Line is too long. [82/79]
updates. If you want to try and fix this then see the comment in this formula.
^^^
Library/Formula/ansible.rb:3:1: C: Missing top-level class documentation comment.
class Ansible < Formula
^^^^^
Library/Formula/ansible.rb:8:50: C: Use the new Ruby 1.9 hash syntax.
head 'https://github.com/ansible/ansible.git', :branch => 'devel'
^^^^^^^^^^
Library/Formula/ansible.rb:13:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'with-accelerate', "Enable accelerated mode"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ansible.rb:16:80: C: Line is too long. [80/79]
url 'https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.tar.gz'
^
Library/Formula/ansible.rb:26:80: C: Line is too long. [83/79]
url 'https://pypi.python.org/packages/source/p/paramiko/paramiko-1.11.0.tar.gz'
^^^^
Library/Formula/ansible.rb:31:80: C: Line is too long. [85/79]
url 'https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.18.tar.gz'
^^^^^^
Library/Formula/ansible.rb:42:80: C: Line is too long. [96/79]
url 'https://pypi.python.org/packages/source/p/python-keyczar/python-keyczar-0.71b.tar.gz'
^^^^^^^^^^^^^^^^^
Library/Formula/ansible.rb:47:3: C: Method has too many lines. [17/10]
def install
^^^
Library/Formula/ansible.rb:48:50: C: Surrounding space missing for operator '+'.
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'
^
Library/Formula/ansible.rb:49:21: C: Space inside square brackets detected.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^
Library/Formula/ansible.rb:49:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^^^^^^^^^^
Library/Formula/ansible.rb:49:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^^^^^^^^^
Library/Formula/ansible.rb:49:66: C: Space inside square brackets detected.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^
Library/Formula/ansible.rb:51:41: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('pycrypto').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/ansible.rb:52:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('pyyaml').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/ansible.rb:53:41: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('paramiko').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/ansible.rb:54:43: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('markupsafe').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/ansible.rb:55:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('jinja2').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/ansible.rb:57:49: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('python-keyczar').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/ansible.rb:61:42: C: Surrounding space missing for operator '+'.
s.gsub! '/usr/share/ansible', share+'ansible'
^
Library/Formula/ansible.rb:62:34: C: Surrounding space missing for operator '+'.
s.gsub! '/etc/ansible', etc+'ansible'
^
Library/Formula/ansible.rb:65:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", "install", "--prefix=#{prefix}"
^^^^^^^^
Library/Formula/ansible.rb:65:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", "install", "--prefix=#{prefix}"
^^^^^^^^^^
Library/Formula/ansible.rb:65:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", "install", "--prefix=#{prefix}"
^^^^^^^^^
Library/Formula/ansible.rb:69:37: C: Surrounding space missing for operator '+'.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^
Library/Formula/ansible.rb:69:45: C: Use the new Ruby 1.9 hash syntax.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^^^^^^^^^^^^^^
Library/Formula/ansible.rb:73:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ansible", "--version"
^^^^^^^^^^^
Library/Formula/ansifilter.rb:3:1: C: Missing top-level class documentation comment.
class Ansifilter < Formula
^^^^^
Library/Formula/ansifilter.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}"
^^^^^^
Library/Formula/ansifilter.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}", "install"
^^^^^^
Library/Formula/ansifilter.rb:11:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}", "install"
^^^^^^^^^
Library/Formula/ansifilter.rb:15:20: C: Surrounding space missing for operator '/'.
path = testpath/"ansi.txt"
^
Library/Formula/ansifilter.rb:15:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = testpath/"ansi.txt"
^^^^^^^^^^
Library/Formula/ansifilter.rb:19:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "foo", output
^^^^^
Library/Formula/ansifilter.rb:20:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/ant.rb:3:1: C: Missing top-level class documentation comment.
class Ant < Formula
^^^^^
Library/Formula/ant.rb:5:80: C: Line is too long. [90/79]
url 'http://www.apache.org/dyn/closer.cgi?path=ant/binaries/apache-ant-1.9.3-bin.tar.gz'
^^^^^^^^^^^
Library/Formula/ant.rb:17:14: C: Surrounding space missing for operator '/'.
(testpath/'build.xml').write <<-EOS.undent
^
Library/Formula/ant.rb:29:14: C: Surrounding space missing for operator '/'.
(testpath/'src/main/java/org/homebrew/AntTest.java').write <<-EOS.undent
^
Library/Formula/ant.rb:37:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ant", "compile"
^^^^^^^^^
Library/Formula/antiword.rb:3:1: C: Missing top-level class documentation comment.
class Antiword < Formula
^^^^^
Library/Formula/antiword.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}",
^^^^^^
Library/Formula/antiword.rb:12:20: C: Align the parameters of a method call if they span more than one line.
"LD=#{ENV.cc}",
^^^^^^^^^^^^^^
Library/Formula/antiword.rb:13:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags} -DNDEBUG",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/antiword.rb:14:20: C: Align the parameters of a method call if they span more than one line.
"GLOBAL_INSTALL_DIR=#{bin}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/antiword.rb:15:20: C: Align the parameters of a method call if they span more than one line.
"GLOBAL_RESOURCES_DIR=#{share}/antiword"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/antiword.rb:17:11: C: Surrounding space missing for operator '+'.
(share+'antiword').install Dir["Resources/*"]
^
Library/Formula/antiword.rb:17:36: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share+'antiword').install Dir["Resources/*"]
^^^^^^^^^^^^^
Library/Formula/antlr.rb:3:1: C: Missing top-level class documentation comment.
class Antlr < Formula
^^^^^
Library/Formula/antlr.rb:10:32: C: Surrounding space missing for operator '/'.
bin.write_jar_script prefix/"antlr-#{version}-complete.jar", "antlr4"
^
Library/Formula/antlr.rb:10:66: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.write_jar_script prefix/"antlr-#{version}-complete.jar", "antlr4"
^^^^^^^^
Library/Formula/anttweakbar.rb:3:1: C: Missing top-level class documentation comment.
class Anttweakbar < Formula
^^^^^
Library/Formula/anttweakbar.rb:5:80: C: Line is too long. [81/79]
url 'https://downloads.sourceforge.net/project/anttweakbar/AntTweakBar_116.zip'
^^
Library/Formula/anttweakbar.rb:10:80: C: Line is too long. [175/79]
# http://sourceforge.net/p/anttweakbar/code/ci/5a076d13f143175a6bda3c668e29a33406479339/tree/src/LoadOGLCore.h?diff=5528b167ed12395a60949d7c643262b6668f15d5&diformat=regular
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:29:80: C: Line is too long. [101/79]
@@ -146,7 +146,13 @@ ANT_GL_CORE_DECL(void, glGetCompressedTexImage, (GLenum target, GLint level, GLv
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:30:1: C: Carriage return character detected.
// GL 1.4
^^^^^^^^^^
Library/Formula/anttweakbar.rb:31:80: C: Line is too long. [126/79]
ANT_GL_CORE_DECL(void, glBlendFuncSeparate, (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:32:80: C: Line is too long. [118/79]
ANT_GL_CORE_DECL(void, glMultiDrawArrays, (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:34:80: C: Line is too long. [84/79]
+// Mac OSX 10.8 SDK from March 2013 redefines this OpenGL call: glMultiDrawElements
^^^^^
Library/Formula/anttweakbar.rb:36:80: C: Line is too long. [142/79]
+ANT_GL_CORE_DECL(void, glMultiDrawElements, (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const*indices, GLsizei primcount))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:38:80: C: Line is too long. [137/79]
ANT_GL_CORE_DECL(void, glMultiDrawElements, (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:41:80: C: Line is too long. [82/79]
ANT_GL_CORE_DECL(void, glPointParameterfv, (GLenum pname, const GLfloat *params))
^^^
Library/Formula/anttweakbar.rb:43:80: C: Line is too long. [101/79]
@@ -211,7 +217,13 @@ ANT_GL_CORE_DECL(void, glGetVertexAttribPointerv, (GLuint index, GLenum pname, G
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:50:80: C: Line is too long. [120/79]
+ANT_GL_CORE_DECL(void, glShaderSource, (GLuint shader, GLsizei count, const GLchar* const*string, const GLint *length))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/anttweakbar.rb:52:80: C: Line is too long. [115/79]
ANT_GL_CORE_DECL(void, glShaderSource, (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aoeui.rb:3:1: C: Missing top-level class documentation comment.
class Aoeui < Formula
^^^^^
Library/Formula/aoeui.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "INST_DIR=#{prefix}", "install"
^^^^^^
Library/Formula/aoeui.rb:10:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "INST_DIR=#{prefix}", "install"
^^^^^^^^^
Library/Formula/apache-forrest.rb:3:1: C: Missing top-level class documentation comment.
class ApacheForrest < Formula
^^^^^
Library/Formula/apache-forrest.rb:5:80: C: Line is too long. [91/79]
url 'http://www.apache.org/dyn/closer.cgi?path=forrest/apache-forrest-0.9-sources.tar.gz'
^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:9:80: C: Line is too long. [98/79]
url 'http://www.apache.org/dyn/closer.cgi?path=forrest/apache-forrest-0.9-dependencies.tar.gz'
^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:15:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
skip_clean ["libexec/main/template-sites", "libexec/main/fresh-site",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:15:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
skip_clean ["libexec/main/template-sites", "libexec/main/fresh-site",
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:16:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"libexec/plugins/pluginTemplate"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:18:3: C: Method has too many lines. [17/10]
def install
^^^
Library/Formula/apache-forrest.rb:26:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"lib",
^^^^^
Library/Formula/apache-forrest.rb:27:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"main/webapp/resources/schema/relaxng",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:28:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"main/webapp/resources/stylesheets",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:29:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"plugins/org.apache.forrest.plugin.output.pdf/",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:30:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"tools/ant",
^^^^^^^^^^^
Library/Formula/apache-forrest.rb:31:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"tools/forrestbot/lib",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:32:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"tools/forrestbot/webapp/lib",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:33:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"tools/jetty"
^^^^^^^^^^^^^
Library/Formula/apache-forrest.rb:36:17: C: Surrounding space missing for operator '+'.
(libexec+dep).install Dir["#{dep}/*"]
^
Library/Formula/apache-forrest.rb:42:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/forrest", "-projecthelp"
^^^^^^^^^^^^^^
Library/Formula/apache-opennlp.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/apache-opennlp.rb:3:1: C: Missing top-level class documentation comment.
class ApacheOpennlp < Formula
^^^^^
Library/Formula/apache-opennlp.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "http://opennlp.apache.org/"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-opennlp.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "http://apache.mirrors.timporter.net//opennlp/opennlp-1.5.3/apache-opennlp-1.5.3-bin.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-opennlp.rb:5:80: C: Line is too long. [98/79]
url "http://apache.mirrors.timporter.net//opennlp/opennlp-1.5.3/apache-opennlp-1.5.3-bin.tar.gz"
^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-opennlp.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "e14b41a4f1f1ae7fd12713bbdd8452b367bfdc9e"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apache-opennlp.rb:12:34: C: Surrounding space missing for operator '/'.
bin.write_exec_script libexec/'bin/opennlp'
^
Library/Formula/apachetop.rb:3:1: C: Missing top-level class documentation comment.
class Apachetop < Formula
^^^^^
Library/Formula/apachetop.rb:9:3: C: Avoid single-line method definitions.
def patches; { :p0 => DATA }; end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:9:18: C: Use the new Ruby 1.9 hash syntax.
def patches; { :p0 => DATA }; end
^^^^^^
Library/Formula/apachetop.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/apachetop.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}",
^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--with-logfile=/var/log/apache2/access_log"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-logfile=/var/log/apache2/access_log"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/apachetop.rb:23:56: C: Trailing whitespace detected.
+++ src/resolver.h 2007-02-17 11:24:37.000000000
^
Library/Formula/apachetop.rb:28:2: C: Tab detected.
public:
^
Library/Formula/apachetop.rb:33:2: C: Tab detected.
int add_request(char *request, enum resolver_action act);
^
Library/Formula/apachetop.rb:34:1: C: 2 trailing blank lines detected.
Library/Formula/apachetop.rb:34:1: C: Trailing whitespace detected.
Library/Formula/apachetop.rb:35:1: C: Trailing whitespace detected.
Library/Formula/ape.rb:3:1: C: Missing top-level class documentation comment.
class Ape < Formula
^^^^^
Library/Formula/ape.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./build.sh"
^^^^^^^^^^^^
Library/Formula/ape.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "prefix=#{prefix}"
^^^^^^
Library/Formula/ape.rb:15:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "prefix=#{prefix}"
^^^^^^^^^
Library/Formula/apg.rb:3:1: C: Missing top-level class documentation comment.
class Apg < Formula
^^^^^
Library/Formula/apg.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "standalone",
^^^^^^
Library/Formula/apg.rb:9:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "standalone",
^^^^^^^^^^^^
Library/Formula/apg.rb:10:20: C: Align the parameters of a method call if they span more than one line.
"CC=#{ENV.cc}",
^^^^^^^^^^^^^^
Library/Formula/apg.rb:11:20: C: Align the parameters of a method call if they span more than one line.
"FLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apg.rb:12:20: C: Align the parameters of a method call if they span more than one line.
"LIBS=", "LIBM="
^^^^^^^
Library/Formula/apg.rb:12:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"LIBS=", "LIBM="
^^^^^^^
Library/Formula/apg.rb:12:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"LIBS=", "LIBM="
^^^^^^^
Library/Formula/apgdiff.rb:3:1: C: Missing top-level class documentation comment.
class Apgdiff < Formula
^^^^^
Library/Formula/apgdiff.rb:10:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/"apgdiff-#{version}.jar", "apgdiff"
^
Library/Formula/apgdiff.rb:10:60: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.write_jar_script libexec/"apgdiff-#{version}.jar", "apgdiff"
^^^^^^^^^
Library/Formula/apib.rb:3:1: C: Missing top-level class documentation comment.
class Apib < Formula
^^^^^
Library/Formula/apib.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/apib.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/apib.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/apib", "-c 1", "-d 1", "http://www.google.com"
^^^^^^
Library/Formula/apib.rb:15:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/apib", "-c 1", "-d 1", "http://www.google.com"
^^^^^^
Library/Formula/apib.rb:15:43: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/apib", "-c 1", "-d 1", "http://www.google.com"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apktool.rb:3:1: C: Missing top-level class documentation comment.
class Apktool < Formula
^^^^^
Library/Formula/apktool.rb:9:80: C: Line is too long. [94/79]
url 'https://android-apktool.googlecode.com/files/apktool-install-macosx-r05-ibot.tar.bz2'
^^^^^^^^^^^^^^^
Library/Formula/apktool.rb:18:15: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
s.gsub! /^libdir=.*$/, "libdir=\"#{libexec}\""
^
Library/Formula/apktool.rb:19:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.gsub! "PATH=$PATH:`pwd`;", "PATH=$PATH:#{libexec};"
^^^^^^^^^^^^^^^^^^^
Library/Formula/apktool.rb:22:32: C: Surrounding space missing for operator '/'.
bin.install_symlink libexec/'apktool'
^
Library/Formula/aplus.rb:3:1: C: Missing top-level class documentation comment.
class Aplus < Formula
^^^^^
Library/Formula/aplus.rb:5:80: C: Line is too long. [91/79]
url 'http://mirrors.kernel.org/debian/pool/main/a/aplus-fsf/aplus-fsf_4.22.1.orig.tar.gz'
^^^^^^^^^^^^
Library/Formula/aplus.rb:6:80: C: Line is too long. [93/79]
mirror 'http://ftp.us.debian.org/debian/pool/main/a/aplus-fsf/aplus-fsf_4.22.1.orig.tar.gz'
^^^^^^^^^^^^^^
Library/Formula/aplus.rb:17:6: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
["src/lisp.0/aplus.el", "src/lisp.1/aplus.el"].each do |path|
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:17:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
["src/lisp.0/aplus.el", "src/lisp.1/aplus.el"].each do |path|
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:19:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace path, "/usr/local/aplus-fsf-4.20", prefix
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/aplus.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/aplus.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/aplus.rb:25:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/aplus.rb:44:80: C: Line is too long. [80/79]
///////////////////////////////////////////////////////////////////////////////
^
Library/Formula/aplus.rb:49:80: C: Line is too long. [96/79]
diff --git a/src/MSTypes/MSBuiltinTypeVectorInlines.C b/src/MSTypes/MSBuiltinTypeVectorInlines.C
^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:53:80: C: Line is too long. [98/79]
@@ -77,7 +77,7 @@ INLINELINKAGE MSBuiltinVector<Type> MSBuiltinVector<Type>::operator[] (const MSI
^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:55:80: C: Line is too long. [108/79]
INLINELINKAGE MSBuiltinVector<Type> MSBuiltinVector<Type>::operator[] (const MSBinaryVector & bVect_) const
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:60:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:61:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:67:80: C: Line is too long. [89/79]
template<class Type> class MSMatrixSTypePick; // MSTypeMatrix indexed by an unsigned int
^^^^^^^^^^
Library/Formula/aplus.rb:68:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:70:34: C: Trailing whitespace detected.
-class MSMatrixSTypePick<double>;
^
Library/Formula/aplus.rb:73:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:74:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:75:80: C: Line is too long. [94/79]
diff --git a/src/MSTypes/MSObjectTypeVectorInlines.C b/src/MSTypes/MSObjectTypeVectorInlines.C
^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:79:80: C: Line is too long. [98/79]
@@ -87,7 +87,7 @@ INLINELINKAGE MSObjectVector<Type> MSObjectVector<Type>::operator[] (const MSInd
^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:81:80: C: Line is too long. [106/79]
INLINELINKAGE MSObjectVector<Type> MSObjectVector<Type>::operator[] (const MSBinaryVector & bVect_) const
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:86:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:87:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:93:80: C: Line is too long. [91/79]
void MSObservableTree<Element>::removeSubtree(const MSTabularTreeCursor<Element>& cursor_)
^^^^^^^^^^^^
Library/Formula/aplus.rb:102:80: C: Line is too long. [111/79]
void MSObservableTree<Element>::replaceAt(MSTabularTreeCursor<Element> const& cursor_,Element const& element_)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:108:1: C: Trailing whitespace detected.
Library/Formula/aplus.rb:110:80: C: Line is too long. [102/79]
@@ -170,10 +170,10 @@ void MSObservableTree<Element>::replaceAt(MSTabularTreeCursor<Element> const& cu
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:120:2: C: Tab detected.
MSTabularTreeCursor<Element> cursor=cursor_;
^
Library/Formula/aplus.rb:121:2: C: Tab detected.
cursor.setToParent();
^
Library/Formula/aplus.rb:122:2: C: Tab detected.
MSTabularTree<Element>::removeSubtree(cursor_);
^
Library/Formula/aplus.rb:123:80: C: Line is too long. [100/79]
@@ -199,7 +199,7 @@ void MSObservableTree<Element>::permuteChildren(MSTabularTreeCursor<Element> con
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aplus.rb:125:80: C: Line is too long. [92/79]
void MSObservableTree<Element>::elementChanged(MSTabularTreeCursor<Element> const& cursor_)
^^^^^^^^^^^^^
Library/Formula/aplus.rb:130:1: C: Trailing whitespace detected.
Library/Formula/apollo.rb:3:1: C: Missing top-level class documentation comment.
class Apollo < Formula
^^^^^
Library/Formula/apollo.rb:5:80: C: Line is too long. [104/79]
url 'http://archive.apache.org/dist/activemq/activemq-apollo/1.6/apache-apollo-1.6-unix-distro.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apollo.rb:9:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "no-bdb", "Install without bdb store support"
^^^^^^^^
Library/Formula/apollo.rb:9:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "no-bdb", "Install without bdb store support"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apollo.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "no-mqtt", "Install without MQTT protocol support"
^^^^^^^^^
Library/Formula/apollo.rb:10:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "no-mqtt", "Install without MQTT protocol support"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apollo.rb:12:80: C: Line is too long. [84/79]
# http://www.oracle.com/technetwork/database/berkeleydb/overview/index-093405.html
^^^^^
Library/Formula/apollo.rb:14:80: C: Line is too long. [80/79]
url 'http://download.oracle.com/maven/com/sleepycat/je/5.0.34/je-5.0.34.jar'
^
Library/Formula/apollo.rb:18:80: C: Line is too long. [89/79]
# https://github.com/fusesource/fuse-extra/tree/master/fusemq-apollo/fusemq-apollo-mqtt
^^^^^^^^^^
Library/Formula/apollo.rb:20:80: C: Line is too long. [151/79]
url 'http://repo.fusesource.com/nexus/content/repositories/public/org/fusesource/fuse-extra/fusemq-apollo-mqtt/1.3/fusemq-apollo-mqtt-1.3-uber.jar'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apollo.rb:29:13: C: Surrounding space missing for operator '/'.
(libexec/'lib').install resource('bdb-je') unless build.include? "no-bdb"
^
Library/Formula/apollo.rb:29:70: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(libexec/'lib').install resource('bdb-je') unless build.include? "no-bdb"
^^^^^^^^
Library/Formula/apollo.rb:30:13: C: Surrounding space missing for operator '/'.
(libexec/'lib').install resource('mqtt') unless build.include? "no-mqtt"
^
Library/Formula/apollo.rb:30:68: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(libexec/'lib').install resource('mqtt') unless build.include? "no-mqtt"
^^^^^^^^^
Library/Formula/apollo.rb:32:34: C: Surrounding space missing for operator '/'.
bin.write_exec_script libexec/'bin/apollo'
^
Library/Formula/apollo.rb:35:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :manual => "#{HOMEBREW_PREFIX}/var/apollo/bin/apollo-broker"
^^^^^^^^^^
Library/Formula/apollo.rb:43:3: C: Method has too many lines. [20/10]
def plist; <<-EOS.undent
^^^
Library/Formula/apollo.rb:45:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/app-engine-java-sdk.rb:3:1: C: Missing top-level class documentation comment.
class AppEngineJavaSdk < Formula
^^^^^
Library/Formula/app-engine-java-sdk.rb:4:80: C: Line is too long. [90/79]
homepage 'https://developers.google.com/appengine/docs/java/gettingstarted/introduction'
^^^^^^^^^^^
Library/Formula/app-engine-java-sdk.rb:5:80: C: Line is too long. [101/79]
url 'https://commondatastorage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.0.zip'
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apparix.rb:3:1: C: Missing top-level class documentation comment.
class Apparix < Formula
^^^^^
Library/Formula/apparix.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/apparix.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apparix.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/apparix.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/apple-gcc42.rb:3:1: C: Missing top-level class documentation comment.
class PkgDownloadStrategy < CurlDownloadStrategy
^^^^^
Library/Formula/apple-gcc42.rb:11:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "mv *.pkg/Payload Payload.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apple-gcc42.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
safe_system "ls | grep -v Payload | xargs rm -r"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apple-gcc42.rb:16:1: C: Missing top-level class documentation comment.
class AppleGcc42 < Formula
^^^^^
Library/Formula/apple-gcc42.rb:19:5: C: Align the parameters of a method call if they span more than one line.
:using => PkgDownloadStrategy
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apple-gcc42.rb:19:5: C: Use the new Ruby 1.9 hash syntax.
:using => PkgDownloadStrategy
^^^^^^^^^
Library/Formula/apple-gcc42.rb:20:80: C: Line is too long. [111/79]
mirror 'http://web.archive.org/web/20130512150329/http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apple-gcc42.rb:34:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :lion
^^^^^^^^^
Library/Formula/apple-gcc42.rb:39:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "gfortran-symlink"
^^^^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:3:1: C: Missing top-level class documentation comment.
class Appledoc < Formula
^^^^^
Library/Formula/appledoc.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://github.com/tomaz/appledoc/archive/v2.2.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:8:49: C: Use the new Ruby 1.9 hash syntax.
head 'https://github.com/tomaz/appledoc.git', :branch => 'master'
^^^^^^^^^^
Library/Formula/appledoc.rb:11:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :lion
^^^^^^^^^
Library/Formula/appledoc.rb:14:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
xcodebuild "-project", "appledoc.xcodeproj",
^^^^^^^^^^
Library/Formula/appledoc.rb:14:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
xcodebuild "-project", "appledoc.xcodeproj",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:15:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-target", "appledoc",
^^^^^^^^^
Library/Formula/appledoc.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-target", "appledoc",
^^^^^^^^^^
Library/Formula/appledoc.rb:16:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-configuration", "Release",
^^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:16:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-configuration", "Release",
^^^^^^^^^
Library/Formula/appledoc.rb:17:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"clean", "install",
^^^^^^^
Library/Formula/appledoc.rb:17:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"clean", "install",
^^^^^^^^^
Library/Formula/appledoc.rb:18:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"SYMROOT=build",
^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:19:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"DSTROOT=build",
^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:20:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"INSTALL_PATH=/bin",
^^^^^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:21:80: C: Line is too long. [93/79]
"OTHER_CFLAGS='-DCOMPILE_TIME_DEFAULT_TEMPLATE_PATH=@\"#{prefix}/Templates\"'"
^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:22:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "build/bin/appledoc"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/appledoc.rb:23:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "Templates/"
^^^^^^^^^^^^
Library/Formula/appledoc.rb:27:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/appledoc", "--version"
^^^^^^^^^^^
Library/Formula/appscale-tools.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/appscale-tools.rb:3:1: C: Missing top-level class documentation comment.
class AppscaleTools < Formula
^^^^^
Library/Formula/appscale-tools.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://github.com/AppScale/appscale-tools/archive/1.14.0.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/appscale-tools.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "ee2363bf6b8f464f0a7847d965e5fce2e143acd2"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/appscale-tools.rb:12:80: C: Line is too long. [84/79]
url 'https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz'
^^^^^
Library/Formula/appscale-tools.rb:37:80: C: Line is too long. [88/79]
url 'https://pypi.python.org/packages/source/o/oauth2client/oauth2client-1.2.tar.gz'
^^^^^^^^^
Library/Formula/appscale-tools.rb:42:80: C: Line is too long. [112/79]
url 'https://pypi.python.org/packages/source/g/google-api-python-client/google-api-python-client-1.2.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/appscale-tools.rb:47:80: C: Line is too long. [80/79]
url 'https://pypi.python.org/packages/source/h/httplib2/httplib2-0.8.tar.gz'
^
Library/Formula/appscale-tools.rb:52:80: C: Line is too long. [90/79]
url 'https://pypi.python.org/packages/source/p/python-gflags/python-gflags-2.0.tar.gz'
^^^^^^^^^^^
Library/Formula/appscale-tools.rb:56:3: C: Method has too many lines. [19/10]
def install
^^^
Library/Formula/appscale-tools.rb:57:50: C: Surrounding space missing for operator '+'.
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'
^
Library/Formula/appscale-tools.rb:58:21: C: Space inside square brackets detected.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^
Library/Formula/appscale-tools.rb:58:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^^^^^^^^^^
Library/Formula/appscale-tools.rb:58:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^^^^^^^^^
Library/Formula/appscale-tools.rb:58:66: C: Space inside square brackets detected.
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^
Library/Formula/appscale-tools.rb:60:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('termcolor').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:61:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('pyyaml').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:62:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('SOAPpy').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:63:37: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('boto').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:64:41: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('argparse').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:65:45: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('oauth2client').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:66:57: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('google-api-python-client').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:66:80: C: Line is too long. [81/79]
resource('google-api-python-client').stage { system "python", *install_args }
^^
Library/Formula/appscale-tools.rb:67:41: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('httplib2').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:68:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('python-gflags').stage { system "python", *install_args }
^^^^^^^^
Library/Formula/appscale-tools.rb:72:17: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
s.gsub! /^lib = os.*/, "lib = '#{libexec}'"
^
Library/Formula/appscale-tools.rb:79:37: C: Surrounding space missing for operator '+'.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => "#{libexec}/lib/python2.7/site-packages")
^
Library/Formula/appscale-tools.rb:79:45: C: Use the new Ruby 1.9 hash syntax.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => "#{libexec}/lib/python2.7/site-packages")
^^^^^^^^^^^^^^
Library/Formula/appscale-tools.rb:79:80: C: Line is too long. [100/79]
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => "#{libexec}/lib/python2.7/site-packages")
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/appscale-tools.rb:83:15: C: Surrounding space missing for operator '/'.
system bin/'appscale', 'help'
^
Library/Formula/appswitch.rb:3:1: C: Missing top-level class documentation comment.
class Appswitch < Formula
^^^^^
Library/Formula/apt-cacher-ng.rb:3:1: C: Missing top-level class documentation comment.
class AptCacherNg < Formula
^^^^^
Library/Formula/apt-cacher-ng.rb:5:80: C: Line is too long. [95/79]
url 'http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_0.7.25.orig.tar.xz'
^^^^^^^^^^^^^^^^
Library/Formula/apt-cacher-ng.rb:17:15: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
s.gsub! /^CacheDir: .*/, "CacheDir: #{var}/spool/apt-cacher-ng"
^
Library/Formula/apt-cacher-ng.rb:18:15: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
s.gsub! /^LogDir: .*/, "LogDir: #{var}/log"
^
Library/Formula/apt-cacher-ng.rb:25:9: C: Surrounding space missing for operator '/'.
(var/'spool/apt-cacher-ng').mkpath
^
Library/Formula/apt-cacher-ng.rb:26:9: C: Surrounding space missing for operator '/'.
(var/'log').mkpath
^
Library/Formula/apt-cacher-ng.rb:32:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :startup => true
^^^^^^^^^^^
Library/Formula/apt-cacher-ng.rb:34:3: C: Method has too many lines. [22/10]
def plist; <<-EOS.undent
^^^
Library/Formula/apt-cacher-ng.rb:36:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apt-cacher-ng.rb:58:1: C: Extra empty line detected at body end.
Library/Formula/apt-dater.rb:3:1: C: Missing top-level class documentation comment.
class AptDater < Formula
^^^^^
Library/Formula/apt-dater.rb:5:80: C: Line is too long. [98/79]
url 'https://downloads.sourceforge.net/project/apt-dater/apt-dater/0.9.0/apt-dater-0.9.0.tar.gz'
^^^^^^^^^^^^^^^^^^^
Library/Formula/apt-dater.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/apt-dater.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/apt-dater.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apt-dater.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/apt-dater.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/apt-dater.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "AM_LDFLAGS=", "install"
^^^^^^
Library/Formula/apt-dater.rb:17:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "AM_LDFLAGS=", "install"
^^^^^^^^^^^^^
Library/Formula/apt-dater.rb:17:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "AM_LDFLAGS=", "install"
^^^^^^^^^
Library/Formula/apt-dater.rb:21:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/apt-dater", "-v"
^^^^
Library/Formula/aqbanking.rb:3:1: C: Missing top-level class documentation comment.
class Aqbanking < Formula
^^^^^
Library/Formula/aqbanking.rb:5:80: C: Line is too long. [121/79]
url 'http://www2.aquamaniac.de/sites/download/download.php?package=03&release=95&file=01&dummy=aqbanking-5.0.25.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:10:80: C: Line is too long. [127/79]
url 'http://www2.aquamaniac.de/sites/download/download.php?package=03&release=103&file=01&dummy=aqbanking-5.1.0beta.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:24:27: C: Align the parameters of a method call if they span more than one line.
"--enable-cli",
^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:24:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-cli",
^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:25:27: C: Align the parameters of a method call if they span more than one line.
"--with-gwen-dir=#{HOMEBREW_PREFIX}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aqbanking.rb:26:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/arabica.rb:3:1: C: Missing top-level class documentation comment.
class Arabica < Formula
^^^^^
Library/Formula/arabica.rb:5:80: C: Line is too long. [106/79]
url 'https://downloads.sourceforge.net/project/arabica/arabica/November-12/arabica-2012-November.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arabica.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/arabica.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arabica.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/arangodb.rb:3:1: C: Missing top-level class documentation comment.
class Arangodb < Formula
^^^^^
Library/Formula/arangodb.rb:8:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
head "https://github.com/triAGENS/ArangoDB.git", :branch => 'unstable'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arangodb.rb:8:52: C: Use the new Ruby 1.9 hash syntax.
head "https://github.com/triAGENS/ArangoDB.git", :branch => 'unstable'
^^^^^^^^^^
Library/Formula/arangodb.rb:15:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
return ""
^^
Library/Formula/arangodb.rb:17:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
return "-" + (build.devel? ? version : "unstable")
^^^
Library/Formula/arangodb.rb:17:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
return "-" + (build.devel? ? version : "unstable")
^^^^^^^^^^
Library/Formula/arangodb.rb:21:3: C: Method has too many lines. [16/10]
def install
^^^
Library/Formula/arangodb.rb:35:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/arangodb.rb:36:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/arangodb.rb:38:9: C: Surrounding space missing for operator '/'.
(var/'arangodb').mkpath
^
Library/Formula/arangodb.rb:39:9: C: Surrounding space missing for operator '/'.
(var/'log/arangodb').mkpath
^
Library/Formula/arangodb.rb:42:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/arangodb/sbin/arangod"
^^^^^^^^^^
Library/Formula/arangodb.rb:44:3: C: Method has too many lines. [14/10]
def caveats; <<-EOS.undent
^^^
Library/Formula/arangodb.rb:46:80: C: Line is too long. [80/79]
A universal open-source database with a flexible data model for documents,
^
Library/Formula/arangodb.rb:67:3: C: Method has too many lines. [19/10]
def plist; <<-EOS.undent
^^^
Library/Formula/arangodb.rb:69:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/archey.rb:3:1: C: Missing top-level class documentation comment.
class Archey < Formula
^^^^^
Library/Formula/archivemount.rb:3:1: C: Missing top-level class documentation comment.
class Archivemount < Formula
^^^^^
Library/Formula/archivemount.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/archivemount.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/archivemount.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/archivemount.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/archivemount.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/archivemount.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/archivemount.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/archivemount.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/archivemount.rb:19:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/archivemount.rb:23:15: C: Surrounding space missing for operator '/'.
system bin/"archivemount", "--version"
^
Library/Formula/archivemount.rb:23:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"archivemount", "--version"
^^^^^^^^^^^^^^
Library/Formula/archivemount.rb:23:32: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"archivemount", "--version"
^^^^^^^^^^^
Library/Formula/argp-standalone.rb:3:1: C: Missing top-level class documentation comment.
class ArgpStandalone < Formula
^^^^^
Library/Formula/argp-standalone.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "3e781159b73d2fbbb22ea626e568904d6f72bd2d" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/argp-standalone.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "51228d446622730ba12dfa33e83d41ad79678fef" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/argp-standalone.rb:12:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "58936047ba691811df5aa11dbbb4ed2304ef3b8b" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/argp-standalone.rb:17:5: C: Space inside { missing.
{:p0 =>
^
Library/Formula/argp-standalone.rb:17:6: C: Use the new Ruby 1.9 hash syntax.
{:p0 =>
^^^^^^
Library/Formula/argp-standalone.rb:18:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/86556/trunk/dports/devel/argp-standalone/files/patch-argp-fmtstream.h"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/argp-standalone.rb:18:80: C: Line is too long. [110/79]
"https://trac.macports.org/export/86556/trunk/dports/devel/argp-standalone/files/patch-argp-fmtstream.h"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/argp-standalone.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/argp-standalone.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/argtable.rb:3:1: C: Missing top-level class documentation comment.
class Argtable < Formula
^^^^^
Library/Formula/argtable.rb:5:80: C: Line is too long. [101/79]
url 'https://downloads.sourceforge.net/project/argtable/argtable/argtable-2.13/argtable2-13.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/argtable.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/argtable.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/argtable.rb:10:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/argtable.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/argtable.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/argus-clients.rb:3:1: C: Missing top-level class documentation comment.
class ArgusClients < Formula
^^^^^
Library/Formula/argus-clients.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/argus-clients.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/argus-clients.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/argus.rb:3:1: C: Missing top-level class documentation comment.
class Argus < Formula
^^^^^
Library/Formula/argus.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/argus.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/argus.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aria2.rb:3:1: C: Missing top-level class documentation comment.
class Aria2 < Formula
^^^^^
Library/Formula/aria2.rb:5:80: C: Line is too long. [96/79]
url 'https://downloads.sourceforge.net/project/aria2/stable/aria2-1.18.3/aria2-1.18.3.tar.bz2'
^^^^^^^^^^^^^^^^^
Library/Formula/aria2.rb:9:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :lion # Needs a c++11 compiler
^^^^^^^^^
Library/Formula/aria2.rb:11:3: C: Method has too many lines. [17/10]
def install
^^^
Library/Formula/aria2.rb:29:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/aria2.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aria2.rb:32:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bash_completion.install "doc/bash_completion/aria2c"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arm.rb:3:1: C: Missing top-level class documentation comment.
class Arm < Formula
^^^^^
Library/Formula/arm.rb:9:11: C: Surrounding space missing for operator '+'.
(share+"arm").install Dir["*"]
^
Library/Formula/arm.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share+"arm").install Dir["*"]
^^^^^
Library/Formula/arm.rb:9:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share+"arm").install Dir["*"]
^^^
Library/Formula/arm.rb:10:32: C: Surrounding space missing for operator '/'.
bin.write_exec_script share/'arm/arm'
^
Library/Formula/arp-scan.rb:3:1: C: Missing top-level class documentation comment.
class ArpScan < Formula
^^^^^
Library/Formula/arp-scan.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/arp-scan.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arp-scan.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/arp-scan.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/arp-scan.rb:15:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/arp-scan", "-V"
^^^^
Library/Formula/arp-sk.rb:3:1: C: Missing top-level class documentation comment.
class ArpSk < Formula
^^^^^
Library/Formula/arp-sk.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/arp-sk.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/arp-sk.rb:11:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arp-sk.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/arp-sk.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}",
^^^^^^^^^^^^^^^^^
Library/Formula/arp-sk.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--with-libnet=#{HOMEBREW_PREFIX}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arp-sk.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/arping.rb:3:1: C: Missing top-level class documentation comment.
class Arping < Formula
^^^^^
Library/Formula/arping.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/arping.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/arping.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arping.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/arping.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/arping.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/arpoison.rb:3:1: C: Missing top-level class documentation comment.
class Arpoison < Formula
^^^^^
Library/Formula/arpoison.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/arpoison.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "arpoison"
^^^^^^^^^^
Library/Formula/arss.rb:3:1: C: Missing top-level class documentation comment.
class Arss < Formula
^^^^^
Library/Formula/arss.rb:5:80: C: Line is too long. [87/79]
url 'https://downloads.sourceforge.net/project/arss/arss/0.2.3/arss-0.2.3-src.tar.gz'
^^^^^^^^
Library/Formula/arss.rb:12:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "src" do
^^^^^
Library/Formula/arss.rb:13:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/arss.rb:13:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/arss.rb:14:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/ascii.rb:3:1: C: Missing top-level class documentation comment.
class Ascii < Formula
^^^^^
Library/Formula/ascii.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/ascii.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "ascii"
^^^^^^^
Library/Formula/ascii.rb:16:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert output.include?("Official name: Line Feed")
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ascii.rb:17:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/asciidoc.rb:3:1: C: Missing top-level class documentation comment.
class Asciidoc < Formula
^^^^^
Library/Formula/asciidoc.rb:5:80: C: Line is too long. [95/79]
url 'https://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz'
^^^^^^^^^^^^^^^^
Library/Formula/asciidoc.rb:9:48: C: Use the new Ruby 1.9 hash syntax.
url 'https://code.google.com/p/asciidoc/', :using => :hg
^^^^^^^^^
Library/Formula/asciidoc.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "autoconf" if build.head?
^^^^^^^^^^
Library/Formula/asciidoc.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/asciidoc.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/asciitex.rb:3:1: C: Missing top-level class documentation comment.
class Asciitex < Formula
^^^^^
Library/Formula/asciitex.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--disable-gtk"
^^^^^^^^^^^^^
Library/Formula/asciitex.rb:9:49: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--disable-gtk"
^^^^^^^^^^^^^^^
Library/Formula/asciitex.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/asciitex.rb:16:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/asciiTeX", "-f", "#{prefix}/EXAMPLES"
^^^^
Library/Formula/asm6.rb:3:1: C: Missing top-level class documentation comment.
class Asm6 < Formula
^^^^^
Library/Formula/asm6.rb:11:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "asm6"
^^^^^^
Library/Formula/asm6.rb:15:14: C: Surrounding space missing for operator '/'.
(testpath/"a.asm").write <<-EOS
^
Library/Formula/asm6.rb:15:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(testpath/"a.asm").write <<-EOS
^^^^^^^
Library/Formula/asm6.rb:20:15: C: Surrounding space missing for operator '/'.
system bin/"asm6", "a.asm"
^
Library/Formula/asm6.rb:20:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"asm6", "a.asm"
^^^^^^
Library/Formula/asm6.rb:20:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"asm6", "a.asm"
^^^^^^^
Library/Formula/asm6.rb:21:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
code = File.open("a.bin", "rb") { |f| f.read.unpack("C*") }
^^^^^^^
Library/Formula/asm6.rb:21:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
code = File.open("a.bin", "rb") { |f| f.read.unpack("C*") }
^^^^
Library/Formula/asm6.rb:21:57: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
code = File.open("a.bin", "rb") { |f| f.read.unpack("C*") }
^^^^
Library/Formula/asn1c.rb:3:1: C: Missing top-level class documentation comment.
class Asn1c < Formula
^^^^^
Library/Formula/asn1c.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/asn1c.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/asn1c.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/asn1c.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/asn1c.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/asn1c.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:3:1: C: Missing top-level class documentation comment.
class Aspcud < Formula
^^^^^
Library/Formula/aspcud.rb:5:80: C: Line is too long. [98/79]
url 'https://downloads.sourceforge.net/project/potassco/aspcud/1.8.0/aspcud-1.8.0-source.tar.gz'
^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:14:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/aspcud.rb:18:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "scripts/aspcud.sh", "$base/encodings", "#{share}/encodings"
^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:18:36: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "scripts/aspcud.sh", "$base/encodings", "#{share}/encodings"
^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:19:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "build/release/bin/cudf2lp"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:20:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "scripts/aspcud.sh" => "aspcud"
^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:20:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "scripts/aspcud.sh" => "aspcud"
^^^^^^^^
Library/Formula/aspcud.rb:21:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
share.install "scripts/encodings"
^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:26:80: C: Line is too long. [116/79]
FreeBSD SVN: http://svnweb.freebsd.org/ports/head/math/aspcud/files/patch-libcudf-src-dependency.cpp?revision=339367
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:33:80: C: Line is too long. [85/79]
+ CudfPackageRefFilter &operator = (const CudfPackageRefFilter &t) { return *this; }
^^^^^^
Library/Formula/aspcud.rb:40:1: C: Tab detected.
echo
^
Library/Formula/aspcud.rb:60:80: C: Line is too long. [168/79]
clasp_opts_def=( "--opt-heu=1" "--sat-prepro" "--restarts=L,128" "--heuristic=VSIDS" "--opt-hierarch=1" "--local-restarts" "--del-max=200000,250" "--save-progress=0" )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:65:80: C: Line is too long. [97/79]
+trendycriterion="-count(removed),-notuptodate(solution),-unsat_recommends(solution),-count(new)"
^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:70:80: C: Line is too long. [201/79]
+ criterion=`echo $3 | sed -E -e 's/([+-])(new|removed|changed)/\1count(\2)/g' -e 's/([+-])(notuptodate|unsat_recommends)([^(]|$)/\1\2(solution)\3/g' -e 's/([+-])sum(([a-z]*))/\1sum(\2,solution)/g'`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aspcud.rb:77:1: C: Tab detected.
[[ $# -ne 2 ]] && { die "error: exactly two arguments expected"; }
^
Library/Formula/aspcud.rb:78:1: C: Tab detected.
cudf_opts=( "${cudf_opts[@]}" "-c" "paranoid" )
^
Library/Formula/aspell.rb:3:1: C: Class definition is too long. [490/100]
class Aspell < Formula
^^^^^
Library/Formula/aspell.rb:3:1: C: Missing top-level class documentation comment.
class Aspell < Formula
^^^^^
Library/Formula/aspell.rb:71:80: C: Line is too long. [80/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/cs/aspell6-cs-20040614-1.tar.bz2'
^
Library/Formula/aspell.rb:95:80: C: Line is too long. [80/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/de/aspell6-de-20030222-1.tar.bz2'
^
Library/Formula/aspell.rb:100:80: C: Line is too long. [82/79]
url 'http://ftpmirror.gnu.org/aspell/dict/de-alt/aspell6-de-alt-2.1-1.tar.bz2'
^^^
Library/Formula/aspell.rb:101:80: C: Line is too long. [83/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/de-alt/aspell6-de-alt-2.1-1.tar.bz2'
^^^^
Library/Formula/aspell.rb:118:80: C: Line is too long. [84/79]
url 'http://ftpmirror.gnu.org/aspell/dict/eo/aspell6-eo-2.1.20000225a-2.tar.bz2'
^^^^^
Library/Formula/aspell.rb:119:80: C: Line is too long. [85/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/eo/aspell6-eo-2.1.20000225a-2.tar.bz2'
^^^^^^
Library/Formula/aspell.rb:233:80: C: Line is too long. [80/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/hu/aspell6-hu-0.99.4.2-0.tar.bz2'
^
Library/Formula/aspell.rb:268:80: C: Line is too long. [83/79]
url 'http://ftpmirror.gnu.org/aspell/dict/it/aspell6-it-2.2_20050523-0.tar.bz2'
^^^^
Library/Formula/aspell.rb:269:80: C: Line is too long. [84/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/it/aspell6-it-2.2_20050523-0.tar.bz2'
^^^^^
Library/Formula/aspell.rb:293:80: C: Line is too long. [80/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/la/aspell6-la-20020503-0.tar.bz2'
^
Library/Formula/aspell.rb:400:80: C: Line is too long. [83/79]
url 'http://ftpmirror.gnu.org/aspell/dict/pl/aspell6-pl-6.0_20061121-0.tar.bz2'
^^^^
Library/Formula/aspell.rb:401:80: C: Line is too long. [84/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/pl/aspell6-pl-6.0_20061121-0.tar.bz2'
^^^^^
Library/Formula/aspell.rb:406:80: C: Line is too long. [85/79]
url 'http://ftpmirror.gnu.org/aspell/dict/pt_BR/aspell6-pt_BR-20090702-0.tar.bz2'
^^^^^^
Library/Formula/aspell.rb:407:80: C: Line is too long. [86/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/pt_BR/aspell6-pt_BR-20090702-0.tar.bz2'
^^^^^^^
Library/Formula/aspell.rb:412:80: C: Line is too long. [85/79]
url 'http://ftpmirror.gnu.org/aspell/dict/pt_PT/aspell6-pt_PT-20070510-0.tar.bz2'
^^^^^^
Library/Formula/aspell.rb:413:80: C: Line is too long. [86/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/pt_PT/aspell6-pt_PT-20070510-0.tar.bz2'
^^^^^^^
Library/Formula/aspell.rb:479:80: C: Line is too long. [80/79]
mirror 'http://ftp.gnu.org/gnu/aspell/dict/ta/aspell6-ta-20040424-1.tar.bz2'
^
Library/Formula/aspell.rb:555:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "all", "Install all available dictionaries"
^^^^^
Library/Formula/aspell.rb:555:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "all", "Install all available dictionaries"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aspell.rb:563:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cause "Segmentation fault during linking."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aspell.rb:570:3: C: Method has too many lines. [18/10]
def install
^^^
Library/Formula/aspell.rb:571:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/aspell.rb:572:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aspell.rb:585:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
languages << "en"
^^^^
Library/Formula/aspell.rb:590:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--vars", "ASPELL=#{bin}/aspell", "PREZIP=#{bin}/prezip"
^^^^^^^^^^^^^
Library/Formula/aspell.rb:590:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--vars", "ASPELL=#{bin}/aspell", "PREZIP=#{bin}/prezip"
^^^^^^^^
Library/Formula/aspell.rb:590:80: C: Line is too long. [86/79]
system "./configure", "--vars", "ASPELL=#{bin}/aspell", "PREZIP=#{bin}/prezip"
^^^^^^^
Library/Formula/aspell.rb:591:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/assimp.rb:3:1: C: Missing top-level class documentation comment.
class Assimp < Formula
^^^^^
Library/Formula/assimp.rb:5:80: C: Line is too long. [100/79]
url 'https://downloads.sourceforge.net/project/assimp/assimp-3.0/assimp--3.0.1270-source-only.zip'
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/assimp.rb:15:80: C: Line is too long. [89/79]
# Reported upstream http://sourceforge.net/p/assimp/discussion/817654/thread/381fa18a
^^^^^^^^^^
Library/Formula/assimp.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/assimp.rb:22:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/assimp.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/assimp.rb:34:1: C: Trailing whitespace detected.
Library/Formula/assimp.rb:46:1: C: Carriage return character detected.
// conversion support.
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/assimp.rb:46:2: C: Tab detected.
// conversion support.
^
Library/Formula/assimp.rb:47:2: C: Tab detected.
template <typename T>
^
Library/Formula/assimp.rb:48:2: C: Tab detected.
const T& ResolveSelect(const DB& db) const {
^
Library/Formula/assimp.rb:50:80: C: Line is too long. [81/79]
+ return Couple<T>(db).MustGetObject(To<EXPRESS::ENTITY>())->template To<T>();
^^
Library/Formula/assimp.rb:51:2: C: Tab detected.
}
^
Library/Formula/assimp.rb:52:1: C: Trailing whitespace detected.
Library/Formula/assimp.rb:53:2: C: Tab detected.
template <typename T>
^
Library/Formula/assimp.rb:54:2: C: Tab detected.
const T* ResolveSelectPtr(const DB& db) const {
^
Library/Formula/assimp.rb:55:2: C: Tab detected.
const EXPRESS::ENTITY* e = ToPtr<EXPRESS::ENTITY>();
^
Library/Formula/assimp.rb:58:2: C: Tab detected.
}
^
Library/Formula/assimp.rb:59:1: C: Trailing whitespace detected.
Library/Formula/assimp.rb:60:2: C: Tab detected.
public:
^
Library/Formula/astyle.rb:3:1: C: Missing top-level class documentation comment.
class Astyle < Formula
^^^^^
Library/Formula/astyle.rb:5:80: C: Line is too long. [103/79]
url 'https://downloads.sourceforge.net/project/astyle/astyle/astyle%202.04/astyle_2.04_macosx.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/astyle.rb:10:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
^^^^^^
Library/Formula/astyle.rb:10:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
^^^^
Library/Formula/astyle.rb:10:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/astyle.rb:11:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bin/astyle"
^^^^^^^^^^^^
Library/Formula/asymptote.rb:3:1: C: Missing top-level class documentation comment.
class Asymptote < Formula
^^^^^
Library/Formula/asymptote.rb:16:22: C: Surrounding space missing for operator '/'.
texmfhome = share/'texmf'
^
Library/Formula/asymptote.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/asymptote.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--enable-gc=#{HOMEBREW_PREFIX}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:19:27: C: Align the parameters of a method call if they span more than one line.
"--with-latex=#{texmfhome}/tex/latex",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:20:27: C: Align the parameters of a method call if they span more than one line.
"--with-context=#{texmfhome}/tex/context/third",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--with-docdir=#{texmfhome}/doc"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/asymptote.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:30:14: C: Surrounding space missing for operator '/'.
(testpath/'asy_test.tex').write <<-EOS.undent
^
Library/Formula/asymptote.rb:47:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "pdflatex asy_test"
^^^^^^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:48:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "asy asy_test-1.asy"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:49:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "pdflatex asy_test"
^^^^^^^^^^^^^^^^^^^
Library/Formula/asymptote.rb:61:80: C: Line is too long. [86/79]
sudo tlmgr conf texmf TEXMFHOME "~/Library/texmf:#{HOMEBREW_PREFIX}/share/texmf"
^^^^^^^
Library/Formula/at-spi2-atk.rb:3:1: C: Missing top-level class documentation comment.
class AtSpi2Atk < Formula
^^^^^
Library/Formula/at-spi2-atk.rb:5:80: C: Line is too long. [89/79]
url 'http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/2.10/at-spi2-atk-2.10.2.tar.xz'
^^^^^^^^^^
Library/Formula/at-spi2-atk.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/at-spi2-atk.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/at-spi2-atk.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/at-spi2-atk.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/at-spi2-core.rb:3:1: C: Missing top-level class documentation comment.
class AtSpi2Core < Formula
^^^^^
Library/Formula/at-spi2-core.rb:5:80: C: Line is too long. [92/79]
url 'http://ftp.acc.umu.se/pub/GNOME/sources/at-spi2-core/2.10/at-spi2-core-2.10.2.tar.xz'
^^^^^^^^^^^^^
Library/Formula/at-spi2-core.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/at-spi2-core.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/at-spi2-core.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/at-spi2-core.rb:19:27: C: Align the parameters of a method call if they span more than one line.
"--enable-introspection=no"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/at-spi2-core.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-introspection=no"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/at-spi2-core.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/atari++.rb:3:1: C: Missing top-level class documentation comment.
class Atarixx < Formula
^^^^^
Library/Formula/atari++.rb:15:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--disable-CURSES" if build.without? "curses"
^^^^^^^^^^^^^^^^^^
Library/Formula/atari++.rb:15:50: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--disable-CURSES" if build.without? "curses"
^^^^^^^^
Library/Formula/atari++.rb:16:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--disable-SDL" if build.without? "sdl"
^^^^^^^^^^^^^^^
Library/Formula/atari++.rb:16:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--disable-SDL" if build.without? "sdl"
^^^^^
Library/Formula/atari++.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/atari++.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/atari++.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/atdtool.rb:3:1: C: Missing top-level class documentation comment.
class Atdtool < Formula
^^^^^
Library/Formula/atdtool.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace 'Makefile', "PREFIX=/usr/local", "PREFIX=#{prefix}"
^^^^^^^^^^^^^^^^^^^
Library/Formula/atdtool.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/atdtool.rb:16:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/aterm.rb:3:1: C: Missing top-level class documentation comment.
class Aterm < Formula
^^^^^
Library/Formula/aterm.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/aterm.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aterm.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aterm.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/aterm.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/atf.rb:3:1: C: Missing top-level class documentation comment.
class Atf < Formula
^^^^^
Library/Formula/atf.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/atf.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atf.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/atf.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--sysconfdir=#{etc}"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:3:1: C: Missing top-level class documentation comment.
class Atk < Formula
^^^^^
Library/Formula/atk.rb:9:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "f2d6e44d20954bc11b0b031d95c2b8def08227ac" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "a001261286b17f0c43fce8f1f267a3e19d133bc9" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "30c7d64a0836a73d68ead846db528ab0479930d5" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/atk.rb:23:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:24:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:25:27: C: Align the parameters of a method call if they span more than one line.
"--enable-introspection=yes"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:25:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-introspection=yes"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atk.rb:26:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/atk.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/atkmm.rb:3:1: C: Missing top-level class documentation comment.
class Atkmm < Formula
^^^^^
Library/Formula/atkmm.rb:9:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "6c47047d111b4b950e1cb15425365b13b11f6a1b" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atkmm.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "2262b36b562f9f2ea1c024923e738a08145e97df" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atkmm.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "eb053cdcba6fc56e0bddde08ac356a18d9bf53b0" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atkmm.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/atkmm.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atkmm.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:3:1: C: Missing top-level class documentation comment.
class Atomicparsley < Formula
^^^^^
Library/Formula/atomicparsley.rb:5:80: C: Line is too long. [94/79]
url 'https://bitbucket.org/dinkypumpkin/atomicparsley/downloads/atomicparsley-0.9.5.tar.bz2'
^^^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:8:51: C: Use the new Ruby 1.9 hash syntax.
head 'https://bitbucket.org/wez/atomicparsley', :using => :hg
^^^^^^^^^
Library/Formula/atomicparsley.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./autogen.sh"
^^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--disable-universal"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:18:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-universal"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/atomicparsley.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/atool.rb:3:1: C: Missing top-level class documentation comment.
class Atool < Formula
^^^^^
Library/Formula/atool.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/atool.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aubio.rb:3:1: C: Missing top-level class documentation comment.
class Aubio < Formula
^^^^^
Library/Formula/aubio.rb:8:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :lion
^^^^^^^^^
Library/Formula/aubio.rb:12:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :libtool => :build
^^^^^^^^^^^
Library/Formula/aubio.rb:19:80: C: Line is too long. [83/79]
# get rid of -Wno-long-double in configure. otherwise, breaks with modern xcode.
^^^^
Library/Formula/aubio.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/aubio.rb:27:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/aubio.rb:27:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aubio.rb:28:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aubio.rb:29:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/aubio.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aubio.rb:31:37: C: Surrounding space missing for operator '+'.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^
Library/Formula/aubio.rb:31:45: C: Use the new Ruby 1.9 hash syntax.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^^^^^^^^^^^^^^
Library/Formula/aubio.rb:35:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/aubiocut", "--help"
^^^^^^^^
Library/Formula/aubio.rb:57:4: C: Tab detected.
for i in self.vlist:
^
Library/Formula/aubio.rb:58:2: C: Tab detected.
gd.append(i['GD'])
^
Library/Formula/aubio.rb:58:23: C: Trailing whitespace detected.
gd.append(i['GD'])
^
Library/Formula/aubio.rb:59:2: C: Tab detected.
fp.append(i['FP'])
^
Library/Formula/aubio.rb:59:23: C: Trailing whitespace detected.
fp.append(i['FP'])
^
Library/Formula/aubio.rb:60:53: C: Trailing whitespace detected.
- d.append(Gnuplot.Data(fp, gd, with='linespoints',
^
Library/Formula/aubio.rb:61:54: C: Trailing whitespace detected.
+ d.append(Gnuplot.Data(fp, gd, with_='linespoints',
^
Library/Formula/aubio.rb:62:2: C: Tab detected.
title="%s %s" % (plottitle,i['mode']) ))
^
Library/Formula/aubio.rb:63:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:64:2: C: Tab detected.
def plotplotroc(self,d,outplot=0,extension='ps'):
^
Library/Formula/aubio.rb:66:2: C: Tab detected.
for i in self.vlist:
^
Library/Formula/aubio.rb:67:2: C: Tab detected.
x.append(i['prec'])
^
Library/Formula/aubio.rb:67:24: C: Trailing whitespace detected.
x.append(i['prec'])
^
Library/Formula/aubio.rb:68:2: C: Tab detected.
y.append(i['recl'])
^
Library/Formula/aubio.rb:68:24: C: Trailing whitespace detected.
y.append(i['recl'])
^
Library/Formula/aubio.rb:69:51: C: Trailing whitespace detected.
- d.append(Gnuplot.Data(x, y, with='linespoints',
^
Library/Formula/aubio.rb:70:52: C: Trailing whitespace detected.
+ d.append(Gnuplot.Data(x, y, with_='linespoints',
^
Library/Formula/aubio.rb:71:2: C: Tab detected.
title="%s %s" % (plottitle,i['mode']) ))
^
Library/Formula/aubio.rb:72:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:73:2: C: Tab detected.
def plotplotpr(self,d,outplot=0,extension='ps'):
^
Library/Formula/aubio.rb:75:2: C: Tab detected.
for i in self.vlist:
^
Library/Formula/aubio.rb:76:2: C: Tab detected.
x.append(i['thres'])
^
Library/Formula/aubio.rb:76:25: C: Trailing whitespace detected.
x.append(i['thres'])
^
Library/Formula/aubio.rb:77:2: C: Tab detected.
y.append(i['dist'])
^
Library/Formula/aubio.rb:77:24: C: Trailing whitespace detected.
y.append(i['dist'])
^
Library/Formula/aubio.rb:78:51: C: Trailing whitespace detected.
- d.append(Gnuplot.Data(x, y, with='linespoints',
^
Library/Formula/aubio.rb:79:52: C: Trailing whitespace detected.
+ d.append(Gnuplot.Data(x, y, with_='linespoints',
^
Library/Formula/aubio.rb:80:2: C: Tab detected.
title="%s %s" % (plottitle,i['mode']) ))
^
Library/Formula/aubio.rb:81:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:82:2: C: Tab detected.
def plotplotfmeas(self,d,outplot="",extension='ps', title="F-measure"):
^
Library/Formula/aubio.rb:84:2: C: Tab detected.
for i in self.vlist:
^
Library/Formula/aubio.rb:85:2: C: Tab detected.
x.append(i[var])
^
Library/Formula/aubio.rb:85:21: C: Trailing whitespace detected.
x.append(i[var])
^
Library/Formula/aubio.rb:86:2: C: Tab detected.
y.append(i['dist'])
^
Library/Formula/aubio.rb:86:24: C: Trailing whitespace detected.
y.append(i['dist'])
^
Library/Formula/aubio.rb:87:51: C: Trailing whitespace detected.
- d.append(Gnuplot.Data(x, y, with='linespoints',
^
Library/Formula/aubio.rb:88:52: C: Trailing whitespace detected.
+ d.append(Gnuplot.Data(x, y, with_='linespoints',
^
Library/Formula/aubio.rb:89:2: C: Tab detected.
title="%s %s" % (plottitle,i['mode']) ))
^
Library/Formula/aubio.rb:90:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:90:2: C: Tab detected.
Library/Formula/aubio.rb:91:2: C: Tab detected.
def plotplotfmeasvar(self,d,var,outplot="",extension='ps', title="F-measure"):
^
Library/Formula/aubio.rb:91:80: C: Line is too long. [80/79]
def plotplotfmeasvar(self,d,var,outplot="",extension='ps', title="F-measure"):
^
Library/Formula/aubio.rb:93:2: C: Tab detected.
total = v['Torig']
^
Library/Formula/aubio.rb:94:2: C: Tab detected.
for i in range(len(per)): per[i] /= total/100.
^
Library/Formula/aubio.rb:95:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:96:50: C: Trailing whitespace detected.
- d.append(Gnuplot.Data(val, per, with='fsteps',
^
Library/Formula/aubio.rb:97:51: C: Trailing whitespace detected.
+ d.append(Gnuplot.Data(val, per, with_='fsteps',
^
Library/Formula/aubio.rb:98:2: C: Tab detected.
title="%s %s" % (plottitle,v['mode']) ))
^
Library/Formula/aubio.rb:99:2: C: Tab detected.
#d.append('mean=%f,sigma=%f,eps(x) title \"\"'% (mean,smean))
^
Library/Formula/aubio.rb:100:2: C: Tab detected.
#d.append('mean=%f,sigma=%f,eps(x) title \"\"'% (amean,samean))
^
Library/Formula/aubio.rb:102:2: C: Tab detected.
total = v['Torig']
^
Library/Formula/aubio.rb:103:2: C: Tab detected.
for i in range(len(per)): per[i] /= total/100.
^
Library/Formula/aubio.rb:104:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:105:50: C: Trailing whitespace detected.
- d.append(Gnuplot.Data(val, per, with='fsteps',
^
Library/Formula/aubio.rb:106:51: C: Trailing whitespace detected.
+ d.append(Gnuplot.Data(val, per, with_='fsteps',
^
Library/Formula/aubio.rb:107:2: C: Tab detected.
title="%s %s" % (plottitle,v['mode']) ))
^
Library/Formula/aubio.rb:108:2: C: Tab detected.
#d.append('mean=%f,sigma=%f,eps(x) title \"\"'% (mean,smean))
^
Library/Formula/aubio.rb:109:2: C: Tab detected.
#d.append('mean=%f,sigma=%f,eps(x) title \"\"'% (amean,samean))
^
Library/Formula/aubio.rb:120:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:124:80: C: Line is too long. [82/79]
x = [i.mean() for i in numarray.array(time).resize(len(time)/bufsize,bufsize)]
^^^
Library/Formula/aubio.rb:124:82: C: Trailing whitespace detected.
x = [i.mean() for i in numarray.array(time).resize(len(time)/bufsize,bufsize)]
^
Library/Formula/aubio.rb:125:80: C: Line is too long. [82/79]
y = [i.mean() for i in numarray.array(data).resize(len(time)/bufsize,bufsize)]
^^^
Library/Formula/aubio.rb:125:82: C: Trailing whitespace detected.
y = [i.mean() for i in numarray.array(data).resize(len(time)/bufsize,bufsize)]
^
Library/Formula/aubio.rb:129:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:136:80: C: Line is too long. [84/79]
@@ -30,8 +30,8 @@ def draw_keyboard(firstnote = 21, lastnote = 108, y0 = 0, y1 = 1):
^^^^^
Library/Formula/aubio.rb:139:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:141:80: C: Line is too long. [83/79]
- blacks = Gnuplot.Data(xb,yb,xbdelta,ybdelta,with = 'boxxyerrorbars fill solid')
^^^^
Library/Formula/aubio.rb:143:80: C: Line is too long. [83/79]
+ blacks = Gnuplot.Data(xb,yb,xbdelta,ybdelta,with_= 'boxxyerrorbars fill solid')
^^^^
Library/Formula/aubio.rb:144:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:146:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:152:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:153:2: C: Tab detected.
def plot(self,oplots,results):
^
Library/Formula/aubio.rb:154:2: C: Tab detected.
import Gnuplot
^
Library/Formula/aubio.rb:157:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:158:2: C: Tab detected.
def plotplot(self,wplot,oplots,outplot=None,extension=None,xsize=1.,ysize=1.,spectro=False):
^
Library/Formula/aubio.rb:158:80: C: Line is too long. [94/79]
def plotplot(self,wplot,oplots,outplot=None,extension=None,xsize=1.,ysize=1.,spectro=False):
^^^^^^^^^^^^^^^
Library/Formula/aubio.rb:159:2: C: Tab detected.
import Gnuplot
^
Library/Formula/aubio.rb:161:2: C: Tab detected.
#f = make_audio_plot(time,data)
^
Library/Formula/aubio.rb:162:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:163:2: C: Tab detected.
g = gnuplot_create(outplot=outplot, extension=extension)
^
Library/Formula/aubio.rb:164:80: C: Line is too long. [84/79]
- oplots = [Gnuplot.Data(self.gettruth(),with='linespoints',title="orig")] + oplots
^^^^^
Library/Formula/aubio.rb:165:80: C: Line is too long. [85/79]
+ oplots = [Gnuplot.Data(self.gettruth(),with_='linespoints',title="orig")] + oplots
^^^^^^
Library/Formula/aubio.rb:166:2: C: Tab detected.
g.plot(*oplots)
^
Library/Formula/aubio.rb:172:2: C: Tab detected.
import numarray
^
Library/Formula/aubio.rb:173:2: C: Tab detected.
import Gnuplot
^
Library/Formula/aubio.rb:174:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:177:2: C: Tab detected.
title=self.params.pitchmode))
^
Library/Formula/aubio.rb:180:2: C: Tab detected.
title=self.params.pitchmode))
^
Library/Formula/aubio.rb:181:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:182:2: C: Tab detected.
temponsets = []
^
Library/Formula/aubio.rb:183:2: C: Tab detected.
for i in onset:
^
Library/Formula/aubio.rb:184:2: C: Tab detected.
temponsets.append(i*1000)
^
Library/Formula/aubio.rb:187:2: C: Tab detected.
title=self.params.pitchmode))
^
Library/Formula/aubio.rb:188:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:189:2: C: Tab detected.
def plotplot(self,wplot,oplots,outplot=None,multiplot = 0):
^
Library/Formula/aubio.rb:191:2: C: Tab detected.
# check if ground truth exists
^
Library/Formula/aubio.rb:192:2: C: Tab detected.
#timet,pitcht = self.gettruth()
^
Library/Formula/aubio.rb:193:2: C: Tab detected.
#if timet and pitcht:
^
Library/Formula/aubio.rb:196:2: C: Tab detected.
# title='ground truth')] + oplots
^
Library/Formula/aubio.rb:197:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:198:41: C: Trailing whitespace detected.
- t = Gnuplot.Data(0,0,with='impulses')
^
Library/Formula/aubio.rb:199:42: C: Trailing whitespace detected.
+ t = Gnuplot.Data(0,0,with_='impulses')
^
Library/Formula/aubio.rb:200:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:201:2: C: Tab detected.
g = gnuplot_init(outplot)
^
Library/Formula/aubio.rb:202:2: C: Tab detected.
g('set title \'%s\'' % (re.sub('.*/','',self.input)))
^
Library/Formula/aubio.rb:208:2: C: Tab detected.
self.maxofunc = max(ofunc)
^
Library/Formula/aubio.rb:209:2: C: Tab detected.
# onset detection function
^
Library/Formula/aubio.rb:209:30: C: Trailing whitespace detected.
# onset detection function
^
Library/Formula/aubio.rb:210:2: C: Tab detected.
downtime = numarray.arange(len(ofunc))*self.params.step
^
Library/Formula/aubio.rb:211:80: C: Line is too long. [86/79]
- oplot.append(Gnuplot.Data(downtime,ofunc,with='lines',title=self.params.onsetmode))
^^^^^^^
Library/Formula/aubio.rb:212:80: C: Line is too long. [87/79]
+ oplot.append(Gnuplot.Data(downtime,ofunc,with_='lines',title=self.params.onsetmode))
^^^^^^^^
Library/Formula/aubio.rb:213:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:214:2: C: Tab detected.
# detected onsets
^
Library/Formula/aubio.rb:215:2: C: Tab detected.
if not nplot:
^
Library/Formula/aubio.rb:217:2: C: Tab detected.
#x1 = numarray.array(onsets)*self.params.step
^
Library/Formula/aubio.rb:218:2: C: Tab detected.
#y1 = self.maxofunc*numarray.ones(len(onsets))
^
Library/Formula/aubio.rb:219:2: C: Tab detected.
if x1:
^
Library/Formula/aubio.rb:224:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:225:2: C: Tab detected.
oplots.append((oplot,self.params.onsetmode,self.maxofunc))
^
Library/Formula/aubio.rb:226:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:228:2: C: Tab detected.
t_onsets = aubio.txtfile.read_datafile(datafile)
^
Library/Formula/aubio.rb:229:2: C: Tab detected.
x2 = numarray.array(t_onsets).resize(len(t_onsets))
^
Library/Formula/aubio.rb:230:2: C: Tab detected.
y2 = self.maxofunc*numarray.ones(len(t_onsets))
^
Library/Formula/aubio.rb:233:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:233:2: C: Tab detected.
Library/Formula/aubio.rb:234:2: C: Tab detected.
tol = 0.050
^
Library/Formula/aubio.rb:234:16: C: Trailing whitespace detected.
tol = 0.050
^
Library/Formula/aubio.rb:235:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:241:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:242:2: C: Tab detected.
time = [ (i+self.params.pitchdelay)*self.params.step for i in range(len(pitch)) ]
^
Library/Formula/aubio.rb:242:80: C: Line is too long. [84/79]
time = [ (i+self.params.pitchdelay)*self.params.step for i in range(len(pitch)) ]
^^^^^
Library/Formula/aubio.rb:243:2: C: Tab detected.
pitch = [aubio_freqtomidi(i) for i in pitch]
^
Library/Formula/aubio.rb:246:2: C: Tab detected.
title=self.params.pitchmode))
^
Library/Formula/aubio.rb:247:2: C: Tab detected.
titles.append(self.params.pitchmode)
^
Library/Formula/aubio.rb:248:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:250:2: C: Tab detected.
if truth:
^
Library/Formula/aubio.rb:251:2: C: Tab detected.
timet,pitcht = self.gettruth()
^
Library/Formula/aubio.rb:252:2: C: Tab detected.
if timet and pitcht:
^
Library/Formula/aubio.rb:255:2: C: Tab detected.
title='ground truth')] + oplots
^
Library/Formula/aubio.rb:256:1: C: Trailing whitespace detected.
Library/Formula/aubio.rb:257:2: C: Tab detected.
g = gnuplot_create(outplot=outplot, extension=extension)
^
Library/Formula/auctex.rb:3:1: C: Missing top-level class documentation comment.
class Auctex < Formula
^^^^^
Library/Formula/auctex.rb:16:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "with-emacs=", "Path to an emacs binary"
^^^^^^^^^^^^^
Library/Formula/auctex.rb:16:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "with-emacs=", "Path to an emacs binary"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/auctex.rb:20:5: C: Use `fail` instead of `raise` to signal exceptions.
raise "#{emacs} not found" unless File.exist? emacs
^^^^^
Library/Formula/auctex.rb:21:5: C: Redundant `return` detected.
return emacs
^^^^^^
Library/Formula/auctex.rb:29:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./autogen.sh" if build.head?
^^^^^^^^^^^^^^
Library/Formula/auctex.rb:31:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/auctex.rb:32:27: C: Align the parameters of a method call if they span more than one line.
"--with-texmf-dir=#{brew_texmf}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/auctex.rb:33:27: C: Align the parameters of a method call if they span more than one line.
"--with-emacs=#{which_emacs}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/auctex.rb:34:27: C: Align the parameters of a method call if they span more than one line.
"--with-lispdir=#{share}/emacs/site-lisp"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/auctex.rb:36:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/auctex.rb:38:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/auctex.rb:41:3: C: Method has too many lines. [17/10]
def caveats
^^^
Library/Formula/auctex.rb:61:80: C: Line is too long. [86/79]
sudo tlmgr conf texmf TEXMFHOME "~/Library/texmf:#{HOMEBREW_PREFIX}/share/texmf"
^^^^^^^
Library/Formula/audiofile.rb:3:1: C: Missing top-level class documentation comment.
class Audiofile < Formula
^^^^^
Library/Formula/audiofile.rb:14:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/audiofile.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/audiofile.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/audiofile.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make check" if build.with? 'check'
^^^^^^^^^^^^
Library/Formula/audiofile.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/audiofile.rb:28:34: C: Use && instead of and.
unless File.exist?(conv_bin) and File.exist?(inn) and File.exist?(info_bin)
^^^
Library/Formula/audiofile.rb:28:55: C: Use && instead of and.
unless File.exist?(conv_bin) and File.exist?(inn) and File.exist?(info_bin)
^^^
Library/Formula/augeas.rb:3:1: C: Missing top-level class documentation comment.
class Augeas < Formula
^^^^^
Library/Formula/augeas.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/augeas.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/augeas.rb:13:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/augeas.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/augeas.rb:18:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "SUBDIRS", "gnulib/lib src gnulib/tests tests man doc"
^^^^^^^^^
Library/Formula/augeas.rb:18:37: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "SUBDIRS", "gnulib/lib src gnulib/tests tests man doc"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/augeas.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/authexec.rb:3:1: C: Missing top-level class documentation comment.
class Authexec < Formula
^^^^^
Library/Formula/auto-scaling.rb:3:1: C: Missing top-level class documentation comment.
class AutoScaling < AmazonWebServicesFormula
^^^^^
Library/Formula/auto-scaling.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
standard_instructions "AWS_AUTO_SCALING_HOME"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autobench.rb:3:1: C: Missing top-level class documentation comment.
class Autobench < Formula
^^^^^
Library/Formula/autobench.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}",
^^^^^^
Library/Formula/autobench.rb:12:20: C: Align the parameters of a method call if they span more than one line.
"MANDIR=#{man1}",
^^^^^^^^^^^^^^^^
Library/Formula/autobench.rb:13:20: C: Align the parameters of a method call if they span more than one line.
"CC=#{ENV.cc}",
^^^^^^^^^^^^^^
Library/Formula/autobench.rb:14:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autobench.rb:15:20: C: Align the parameters of a method call if they span more than one line.
"install"
^^^^^^^^^
Library/Formula/autobench.rb:15:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"
^^^^^^^^^
Library/Formula/autoconf-archive.rb:3:1: C: Missing top-level class documentation comment.
class AutoconfArchive < Formula
^^^^^
Library/Formula/autoconf-archive.rb:5:80: C: Line is too long. [85/79]
url 'http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2013.11.01.tar.bz2'
^^^^^^
Library/Formula/autoconf-archive.rb:6:80: C: Line is too long. [86/79]
mirror 'http://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-2013.11.01.tar.bz2'
^^^^^^^
Library/Formula/autoconf-archive.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/autoconf.rb:3:1: C: Missing top-level class documentation comment.
class Autoconf < Formula
^^^^^
Library/Formula/autoconf.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "319a4ac05d83b5b3db37dcc629a46a412ec1989b" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autoconf.rb:12:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "83184a596d69f3a868e6780c1c8fba309ea28fb2" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autoconf.rb:13:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "7d31f63e5ddd1bbbf0397b0b70df1ff9e70f998b" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autoconf.rb:16:39: C: Use || instead of or.
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/autoconf"
^^
Library/Formula/autoconf.rb:16:53: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/autoconf"
^^^^^^^^^^^^^^^^^^^
Library/Formula/autoconf.rb:17:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
keg_only "Xcode (up to and including 4.2) provides (a rather old) Autoconf."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autoconf.rb:17:80: C: Line is too long. [80/79]
keg_only "Xcode (up to and including 4.2) provides (a rather old) Autoconf."
^
Library/Formula/autoconf.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/autoconf.rb:28:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/autoconf.rb:29:14: C: Surrounding space missing for operator '/'.
rm_f info/'standards.info'
^
Library/Formula/autoenv.rb:3:1: C: Missing top-level class documentation comment.
class Autoenv < Formula
^^^^^
Library/Formula/autoenv.rb:8:55: C: Use the new Ruby 1.9 hash syntax.
head 'https://github.com/kennethreitz/autoenv.git', :branch => 'master'
^^^^^^^^^^
Library/Formula/autoenv.rb:11:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "activate.sh"
^^^^^^^^^^^^^
Library/Formula/autogen.rb:3:1: C: Missing top-level class documentation comment.
class Autogen < Formula
^^^^^
Library/Formula/autogen.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/autogen.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/autogen.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autogen.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autogen.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/autogen.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/autogen.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/autojump.rb:3:1: C: Missing top-level class documentation comment.
class Autojump < Formula
^^^^^
Library/Formula/autojump.rb:14:80: C: Line is too long. [110/79]
libexec.install 'bin/autojump_argparse.py', 'bin/autojump_data.py', 'bin/autojump_utils.py' if build.head?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autojump.rb:16:12: C: Surrounding space missing for operator '/'.
(prefix/'etc').install 'bin/autojump.sh', 'bin/autojump.bash', 'bin/autojump.zsh'
^
Library/Formula/autojump.rb:16:80: C: Line is too long. [85/79]
(prefix/'etc').install 'bin/autojump.sh', 'bin/autojump.bash', 'bin/autojump.zsh'
^^^^^^
Library/Formula/autojump.rb:18:12: C: Surrounding space missing for operator '/'.
(prefix/'etc').install 'bin/autojump.fish' if build.head?
^
Library/Formula/autojump.rb:20:34: C: Surrounding space missing for operator '+'.
bin.write_exec_script libexec+'autojump'
^
Library/Formula/autojump.rb:23:3: C: Method has too many lines. [12/10]
def caveats;
^^^
Library/Formula/autojump.rb:23:14: C: Do not use semicolons to terminate expressions.
def caveats;
^
Library/Formula/autojump.rb:25:80: C: Line is too long. [81/79]
Add the following line to your ~/.bash_profile or ~/.zshrc file (and remember
^^
Library/Formula/autojump.rb:27:80: C: Line is too long. [83/79]
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
^^^^
Library/Formula/automake.rb:3:1: C: Missing top-level class documentation comment.
class Automake < Formula
^^^^^
Library/Formula/automake.rb:18:39: C: Use || instead of or.
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/automake"
^^
Library/Formula/automake.rb:18:53: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/automake"
^^^^^^^^^^^^^^^^^^^
Library/Formula/automake.rb:19:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
keg_only "Xcode (up to and including 4.2) provides (a rather old) Automake."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/automake.rb:19:80: C: Line is too long. [80/79]
keg_only "Xcode (up to and including 4.2) provides (a rather old) Automake."
^
Library/Formula/automake.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/automake.rb:26:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/automake.rb:30:11: C: Surrounding space missing for operator '/'.
(share/"aclocal/dirlist").write <<-EOS.undent
^
Library/Formula/automake.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/"aclocal/dirlist").write <<-EOS.undent
^^^^^^^^^^^^^^^^^
Library/Formula/automake.rb:37:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/automake", "--version"
^^^^^^^^^^^
Library/Formula/automoc4.rb:3:1: C: Missing top-level class documentation comment.
class Automoc4 < Formula
^^^^^
Library/Formula/automoc4.rb:5:80: C: Line is too long. [80/79]
url 'ftp://ftp.kde.org/pub/kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2'
^
Library/Formula/automoc4.rb:14:80: C: Line is too long. [88/79]
# https://projects.kde.org/projects/kdesupport/automoc/repository/revisions/6b9597ff
^^^^^^^^^
Library/Formula/automoc4.rb:15:7: C: Use the new Ruby 1.9 hash syntax.
{ :p0 => DATA }
^^^^^^
Library/Formula/automoc4.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/automoc4.rb:19:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/automoc4.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/automoc4.rb:30:80: C: Line is too long. [95/79]
const QStringList &incPaths = QString::fromUtf8(line).split(';', QString::SkipEmptyParts);
^^^^^^^^^^^^^^^^
Library/Formula/automoc4.rb:43:1: C: Trailing whitespace detected.
Library/Formula/automoc4.rb:44:80: C: Line is too long. [85/79]
- // on the Mac, add -F always, otherwise headers in the frameworks won't be found
^^^^^^
Library/Formula/automoc4.rb:52:1: C: Trailing whitespace detected.
Library/Formula/automysqlbackup.rb:3:1: C: Missing top-level class documentation comment.
class Automysqlbackup < Formula
^^^^^
Library/Formula/automysqlbackup.rb:5:80: C: Line is too long. [141/79]
url 'https://downloads.sourceforge.net/project/automysqlbackup/AutoMySQLBackup/AutoMySQLBackup%20VER%203.0/automysqlbackup-v3.0_rc6.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/automysqlbackup.rb:11:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.gsub! "/etc", etc
^^^^^^
Library/Formula/automysqlbackup.rb:12:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.gsub! "/var", var
^^^^^^
Library/Formula/automysqlbackup.rb:15:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.gsub! "/var", var
^^^^^^
Library/Formula/automysqlbackup.rb:18:21: C: Surrounding space missing for operator '/'.
conf_path = (etc/'automysqlbackup')
^
Library/Formula/automysqlbackup.rb:19:63: C: Surrounding space missing for operator '/'.
conf_path.install 'automysqlbackup.conf' unless (conf_path/'automysqlbackup.conf').exist?
^
Library/Formula/automysqlbackup.rb:19:80: C: Line is too long. [93/79]
conf_path.install 'automysqlbackup.conf' unless (conf_path/'automysqlbackup.conf').exist?
^^^^^^^^^^^^^^
Library/Formula/automysqlbackup.rb:32:3: C: Method has too many lines. [26/10]
def plist; <<-EOS.undent
^^^
Library/Formula/automysqlbackup.rb:34:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autopano-sift-c.rb:3:1: C: Missing top-level class documentation comment.
class AutopanoSiftC < Formula
^^^^^
Library/Formula/autopano-sift-c.rb:5:80: C: Line is too long. [122/79]
url 'https://downloads.sourceforge.net/project/hugin/autopano-sift-C/autopano-sift-C-2.5.1/autopano-sift-C-2.5.1.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autopano-sift-c.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/autopano-sift-c.rb:12:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/autopano-sift-c.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/autopano-sift-c.rb:18:18: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
assert_match /Version #{Regexp.escape(version)}/, pipe.read
^
Library/Formula/autopsy.rb:3:1: C: Missing top-level class documentation comment.
class Autopsy < Formula
^^^^^
Library/Formula/autopsy.rb:5:80: C: Line is too long. [90/79]
url 'https://downloads.sourceforge.net/project/autopsy/autopsy/2.24/autopsy-2.24.tar.gz'
^^^^^^^^^^^
Library/Formula/autopsy.rb:12:3: C: Method has too many lines. [13/10]
def autcfg; <<-EOS.undent
^^^
Library/Formula/autopsy.rb:28:1: C: Extra blank line detected.
Library/Formula/autopsy.rb:35:1: C: Extra blank line detected.
Library/Formula/autopsy.rb:53:9: C: Surrounding space missing for operator '+'.
(var+"lib/autopsy").mkpath
^
Library/Formula/autopsy.rb:53:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(var+"lib/autopsy").mkpath
^^^^^^^^^^^^^
Library/Formula/autopsy.rb:57:12: C: Surrounding space missing for operator '+'.
(prefix+"conf.pl").write autcfg
^
Library/Formula/autopsy.rb:57:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(prefix+"conf.pl").write autcfg
^^^^^^^^^
Library/Formula/autossh.rb:3:1: C: Missing top-level class documentation comment.
class Autossh < Formula
^^^^^
Library/Formula/autossh.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/autossh.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/autossh.rb:13:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autossh.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/autossh.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/autossh.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/autossh.rb:29:80: C: Line is too long. [93/79]
export AUTOSSH_POLL AUTOSSH_LOGFILE AUTOSSH_DEBUG AUTOSSH_PATH AUTOSSH_GATETIME AUTOSSH_PORT
^^^^^^^^^^^^^^
Library/Formula/autossh.rb:30:1: C: Trailing whitespace detected.
Library/Formula/autotrace.rb:3:1: C: Missing top-level class documentation comment.
class Autotrace < Formula
^^^^^
Library/Formula/autotrace.rb:5:80: C: Line is too long. [100/79]
url 'https://downloads.sourceforge.net/project/autotrace/AutoTrace/0.31.1/autotrace-0.31.1.tar.gz'
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autotrace.rb:13:5: C: Space inside { missing.
{:p0 => [
^
Library/Formula/autotrace.rb:13:6: C: Use the new Ruby 1.9 hash syntax.
{:p0 => [
^^^^^^
Library/Formula/autotrace.rb:14:80: C: Line is too long. [108/79]
'https://trac.macports.org/export/100575/trunk/dports/graphics/autotrace/files/patch-libpng-1.5.diff',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autotrace.rb:15:80: C: Line is too long. [108/79]
'https://trac.macports.org/export/77101/trunk/dports/graphics/autotrace/files/patch-autotrace.m4.diff'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autotrace.rb:16:6: C: Space inside } missing.
]}
^
Library/Formula/autotrace.rb:20:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/autotrace.rb:21:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/autotrace.rb:25:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--without-magick" if build.without? 'imagemagick'
^^^^^^^^^^^^^^^^^^
Library/Formula/autotrace.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/autotrace.rb:28:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/avce00.rb:3:1: C: Missing top-level class documentation comment.
class Avce00 < Formula
^^^^^
Library/Formula/avce00.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}"
^^^^^^
Library/Formula/avce00.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "avcimport", "avcexport", "avcdelete", "avctest"
^^^^^^^^^^^
Library/Formula/avce00.rb:10:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "avcimport", "avcexport", "avcdelete", "avctest"
^^^^^^^^^^^
Library/Formula/avce00.rb:10:44: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "avcimport", "avcexport", "avcdelete", "avctest"
^^^^^^^^^^^
Library/Formula/avce00.rb:10:57: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "avcimport", "avcexport", "avcdelete", "avctest"
^^^^^^^^^
Library/Formula/avfs.rb:3:1: C: Missing top-level class documentation comment.
class Avfs < Formula
^^^^^
Library/Formula/avfs.rb:5:80: C: Line is too long. [82/79]
url 'https://downloads.sourceforge.net/project/avf/avfs/1.0.1/avfs-1.0.1.tar.gz'
^^^
Library/Formula/avfs.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/avfs.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:18:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:19:27: C: Align the parameters of a method call if they span more than one line.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:20:27: C: Align the parameters of a method call if they span more than one line.
"--enable-fuse",
^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-fuse",
^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:21:27: C: Align the parameters of a method call if they span more than one line.
"--enable-library",
^^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-library",
^^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/avfs.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/avfs.rb:24:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/avfs.rb:28:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "avfsd", "--version"
^^^^^^^
Library/Formula/avfs.rb:28:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "avfsd", "--version"
^^^^^^^^^^^
Library/Formula/avian.rb:3:1: C: Missing top-level class documentation comment.
class Avian < Formula
^^^^^
Library/Formula/avian.rb:9:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :lion
^^^^^^^^^
Library/Formula/avian.rb:13:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://github.com/ReadyTalk/avian/commit/69ea1f57219e0ec1b113f1fcadaa3dae6b93f358.diff"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avian.rb:13:80: C: Line is too long. [93/79]
"https://github.com/ReadyTalk/avian/commit/69ea1f57219e0ec1b113f1fcadaa3dae6b93f358.diff"
^^^^^^^^^^^^^^
Library/Formula/avian.rb:23:14: C: Surrounding space missing for operator '/'.
(testpath/'Test.java').write <<-EOS.undent
^
Library/Formula/avidemux.rb:5:1: C: Class definition is too long. [114/100]
class Avidemux < Formula
^^^^^
Library/Formula/avidemux.rb:5:1: C: Missing top-level class documentation comment.
class Avidemux < Formula
^^^^^
Library/Formula/avidemux.rb:23:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :freetype => :recommended
^^^^^^^^^^^^
Library/Formula/avidemux.rb:40:1: C: Extra blank line detected.
Library/Formula/avidemux.rb:41:3: C: Cyclomatic complexity for install is too high. [12/6]
def install
^^^
Library/Formula/avidemux.rb:41:3: C: Method has too many lines. [75/10]
def install
^^^
Library/Formula/avidemux.rb:46:34: C: Use || instead of or.
if MacOS.version <= :leopard or Hardware.is_32_bit? && Hardware::CPU.intel? && ENV.compiler == :clang
^^
Library/Formula/avidemux.rb:46:80: C: Line is too long. [105/79]
if MacOS.version <= :leopard or Hardware.is_32_bit? && Hardware::CPU.intel? && ENV.compiler == :clang
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:48:9: C: Align the parameters of a method call if they span more than one line.
'${CMAKE_INSTALL_PREFIX})',
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:49:9: C: Align the parameters of a method call if they span more than one line.
'${CMAKE_INSTALL_PREFIX} --extra-cflags=-mdynamic-no-pic)'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:57:9: C: Annotation keywords should be all upper case, followed by a colon and a space, then a note describing the problem.
# Todo: We could depend on SDL and then remove the `-DSDL=OFF` arguments
^^^^^
Library/Formula/avidemux.rb:59:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DSDL=OFF"
^^^^^^^^^^^
Library/Formula/avidemux.rb:73:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", *args
^^^^^^^
Library/Formula/avidemux.rb:74:80: C: Line is too long. [86/79]
# Parallel build sometimes fails with: "ld: library not found for -lADM6avcodec"
^^^^^^^
Library/Formula/avidemux.rb:76:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/avidemux.rb:77:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/avidemux.rb:77:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/avidemux.rb:90:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DSDL=OFF"
^^^^^^^^^^^
Library/Formula/avidemux.rb:92:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", *args
^^^^^^^
Library/Formula/avidemux.rb:93:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/avidemux.rb:94:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/avidemux.rb:94:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/avidemux.rb:99:15: C: Use %w or %W for array of words.
plugins = ['COMMON', 'CLI']
^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:118:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "../avidemux_plugins"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:119:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", *args
^^^^^^^
Library/Formula/avidemux.rb:120:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/avidemux.rb:121:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:126:17: C: Surrounding space missing for operator '/'.
app = prefix/"Avidemux2.6.app/Contents"
^
Library/Formula/avidemux.rb:126:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
app = prefix/"Avidemux2.6.app/Contents"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:127:16: C: Surrounding space missing for operator '/'.
mkdir_p app/"Resources"
^
Library/Formula/avidemux.rb:127:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
mkdir_p app/"Resources"
^^^^^^^^^^^
Library/Formula/avidemux.rb:128:16: C: Surrounding space missing for operator '/'.
mkdir_p app/"MacOS"
^
Library/Formula/avidemux.rb:128:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
mkdir_p app/"MacOS"
^^^^^^^
Library/Formula/avidemux.rb:129:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cp_r "./cmake/osx/Avidemux2.6", app/"MacOS/Avidemux2.6.app"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:129:40: C: Surrounding space missing for operator '/'.
cp_r "./cmake/osx/Avidemux2.6", app/"MacOS/Avidemux2.6.app"
^
Library/Formula/avidemux.rb:129:41: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cp_r "./cmake/osx/Avidemux2.6", app/"MacOS/Avidemux2.6.app"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:130:20: C: Surrounding space missing for operator '/'.
chmod 0755, app/"MacOS/Avidemux2.6.app"
^
Library/Formula/avidemux.rb:130:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
chmod 0755, app/"MacOS/Avidemux2.6.app"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:131:34: C: Surrounding space missing for operator '/'.
cp_r Formula['qt'].opt_prefix/"lib/QtGui.framework/Resources/qt_menu.nib", app/"MacOS/" if build.with? 'qt'
^
Library/Formula/avidemux.rb:131:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cp_r Formula['qt'].opt_prefix/"lib/QtGui.framework/Resources/qt_menu.nib", app/"MacOS/" if build.with? 'qt'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:131:80: C: Line is too long. [111/79]
cp_r Formula['qt'].opt_prefix/"lib/QtGui.framework/Resources/qt_menu.nib", app/"MacOS/" if build.with? 'qt'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:131:83: C: Surrounding space missing for operator '/'.
cp_r Formula['qt'].opt_prefix/"lib/QtGui.framework/Resources/qt_menu.nib", app/"MacOS/" if build.with? 'qt'
^
Library/Formula/avidemux.rb:131:84: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cp_r Formula['qt'].opt_prefix/"lib/QtGui.framework/Resources/qt_menu.nib", app/"MacOS/" if build.with? 'qt'
^^^^^^^^
Library/Formula/avidemux.rb:132:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cp "./cmake/osx/Info.plist", app
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:133:18: C: Surrounding space missing for operator '/'.
ln_s lib, app/"Resources/"
^
Library/Formula/avidemux.rb:133:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ln_s lib, app/"Resources/"
^^^^^^^^^^^^
Library/Formula/avidemux.rb:134:18: C: Surrounding space missing for operator '/'.
ln_s bin, app/"Resources/"
^
Library/Formula/avidemux.rb:134:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ln_s bin, app/"Resources/"
^^^^^^^^^^^^
Library/Formula/avidemux.rb:135:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cp Dir["./cmake/osx/*.icns"], app/"Resources/"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/avidemux.rb:135:38: C: Surrounding space missing for operator '/'.
cp Dir["./cmake/osx/*.icns"], app/"Resources/"
^
Library/Formula/avidemux.rb:135:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cp Dir["./cmake/osx/*.icns"], app/"Resources/"
^^^^^^^^^^^^
Library/Formula/avidemux.rb:140:80: C: Line is too long. [83/79]
To enable sound: In preferences, set the audio to CoreAudio instead of Dummy.
^^^^
Library/Formula/aview.rb:3:1: C: Missing top-level class documentation comment.
class Aview < Formula
^^^^^
Library/Formula/aview.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/aview.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/aview.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aview.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aview.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/aview.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/aview.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aview.rb:34:1: C: Trailing whitespace detected.
Library/Formula/aview.rb:48:1: C: 1 trailing blank lines detected.
Library/Formula/avra.rb:3:1: C: Missing top-level class documentation comment.
class Avra < Formula
^^^^^
Library/Formula/avra.rb:15:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "src" do
^^^^^
Library/Formula/avra.rb:16:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap"
^^^^^^^^^^^^^
Library/Formula/avra.rb:17:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/avra.rb:18:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/avra.rb:23:14: C: Surrounding space missing for operator '/'.
(testpath/"test.asm").write " .device attiny10\n ldi r16,0x42\n"
^
Library/Formula/avra.rb:23:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(testpath/"test.asm").write " .device attiny10\n ldi r16,0x42\n"
^^^^^^^^^^
Library/Formula/avra.rb:25:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert output.include?("Assembly complete with no errors.")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avra.rb:26:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/avra.rb:27:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert File.exist?("test.hex")
^^^^^^^^^^
Library/Formula/avra.rb:28:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert File.read("test.lst").include?("ldi r16,0x42")
^^^^^^^^^^
Library/Formula/avra.rb:28:43: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert File.read("test.lst").include?("ldi r16,0x42")
^^^^^^^^^^^^^^
Library/Formula/avrdude.rb:3:1: C: Missing top-level class documentation comment.
class Avrdude < Formula
^^^^^
Library/Formula/avrdude.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap" if build.head?
^^^^^^^^^^^^^
Library/Formula/avrdude.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/avrdude.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/avrdude.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/avrdude.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/avrdude.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/avro-c.rb:3:1: C: Missing top-level class documentation comment.
class AvroC < Formula
^^^^^
Library/Formula/avro-c.rb:5:80: C: Line is too long. [87/79]
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.6/c/avro-c-1.7.6.tar.gz'
^^^^^^^^
Library/Formula/avro-c.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/avro-c.rb:14:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/avro-c.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/avro-cpp.rb:3:1: C: Missing top-level class documentation comment.
class AvroCpp < Formula
^^^^^
Library/Formula/avro-cpp.rb:5:80: C: Line is too long. [91/79]
url 'http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.6/cpp/avro-cpp-1.7.6.tar.gz'
^^^^^^^^^^^^
Library/Formula/avro-cpp.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/avro-cpp.rb:12:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/avro-cpp.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/aws-cfn-tools.rb:3:1: C: Missing top-level class documentation comment.
class AwsCfnTools < AmazonWebServicesFormula
^^^^^
Library/Formula/aws-cfn-tools.rb:4:80: C: Line is too long. [85/79]
homepage 'http://aws.amazon.com/developertools/AWS-CloudFormation/2555753788650372'
^^^^^^
Library/Formula/aws-cfn-tools.rb:16:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s = standard_instructions "AWS_CLOUDFORMATION_HOME"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aws-cfn-tools.rb:20:80: C: Line is too long. [82/79]
Create the credential files with chmod 600 permissions containing two lines:
^^^
Library/Formula/aws-cfn-tools.rb:24:5: C: Redundant `return` detected.
return s
^^^^^^
Library/Formula/aws-cloudsearch.rb:3:1: C: Missing top-level class documentation comment.
class AwsCloudsearch < Formula
^^^^^
Library/Formula/aws-cloudsearch.rb:5:80: C: Line is too long. [101/79]
url 'https://s3.amazonaws.com/amazon-cloudsearch-data/cloud-search-tools-1.0.1.4-2013.01.11.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aws-cloudsearch.rb:10:80: C: Line is too long. [85/79]
inreplace 'bin/cs-cmd', 'LIBDIR="${CS_HOME}/lib"', 'LIBDIR="${CS_HOME}/jars/lib"'
^^^^^^
Library/Formula/aws-cloudsearch.rb:11:12: C: Surrounding space missing for operator '+'.
(prefix+'jars').install 'lib'
^
Library/Formula/aws-elasticache.rb:3:1: C: Missing top-level class documentation comment.
class AwsElasticache < AmazonWebServicesFormula
^^^^^
Library/Formula/aws-elasticache.rb:5:80: C: Line is too long. [98/79]
url 'https://s3.amazonaws.com/elasticache-downloads/AmazonElastiCacheCli-2013-06-15-1.9.000.zip'
^^^^^^^^^^^^^^^^^^^
Library/Formula/aws-elasticache.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
standard_instructions "AWS_ELASTICACHE_HOME"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aws-elasticbeanstalk.rb:3:1: C: Missing top-level class documentation comment.
class AwsElasticbeanstalk < AmazonWebServicesFormula
^^^^^
Library/Formula/aws-elasticbeanstalk.rb:5:80: C: Line is too long. [88/79]
url 'https://s3.amazonaws.com/elasticbeanstalk/cli/AWS-ElasticBeanstalk-CLI-2.6.0.zip'
^^^^^^^^^
Library/Formula/aws-elasticbeanstalk.rb:15:32: C: Surrounding space missing for operator '/'.
bin.install_symlink libexec/"eb/macosx/python2.7/eb"
^
Library/Formula/aws-elasticbeanstalk.rb:15:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install_symlink libexec/"eb/macosx/python2.7/eb"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/aws-iam-tools.rb:3:1: C: Missing top-level class documentation comment.
class AwsIamTools < AmazonWebServicesFormula
^^^^^
Library/Formula/aws-iam-tools.rb:7:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
version "1.5.0"
^^^^^^^
Library/Formula/aws-iam-tools.rb:13:3: C: Method has too many lines. [16/10]
def caveats; <<-EOS.undent
^^^
Library/Formula/aws-iam-tools.rb:14:80: C: Line is too long. [80/79]
Before you can use these tools you must export some variables to your $SHELL
^
Library/Formula/aws-iam-tools.rb:18:80: C: Line is too long. [86/79]
http://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key
^^^^^^^
Library/Formula/aws-sns-cli.rb:3:1: C: Missing top-level class documentation comment.
class AwsSnsCli < AmazonWebServicesFormula
^^^^^
Library/Formula/aws-sns-cli.rb:5:80: C: Line is too long. [96/79]
url 'http://sns-public-resources.s3.amazonaws.com/SimpleNotificationServiceCli-2010-03-31.zip'
^^^^^^^^^^^^^^^^^
Library/Formula/aws-sns-cli.rb:13:80: C: Line is too long. [80/79]
# There is a "service" binary, which of course will conflict with any number
^
Library/Formula/aws-sns-cli.rb:16:18: C: Surrounding space missing for operator '/'.
jars = prefix/'jars'
^
Library/Formula/aws-sns-cli.rb:17:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
jars.install "bin", "lib"
^^^^^
Library/Formula/aws-sns-cli.rb:17:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
jars.install "bin", "lib"
^^^^^
Library/Formula/aws-sns-cli.rb:23:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
standard_instructions "AWS_SNS_HOME"
^^^^^^^^^^^^^^
Library/Formula/axel.rb:3:1: C: Missing top-level class documentation comment.
class Axel < Formula
^^^^^
Library/Formula/axel.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--debug=0", "--i18n=0"
^^^^^^^^^^^^^
Library/Formula/axel.rb:9:49: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--debug=0", "--i18n=0"
^^^^^^^^^^^
Library/Formula/axel.rb:9:62: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--debug=0", "--i18n=0"
^^^^^^^^^^
Library/Formula/axel.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/axel.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/b43-fwcutter.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/b43-fwcutter.rb:3:1: C: Missing top-level class documentation comment.
class B43Fwcutter < Formula
^^^^^
Library/Formula/b43-fwcutter.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "http://wireless.kernel.org/en/users/Drivers/b43"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/b43-fwcutter.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "http://bues.ch/b43/fwcutter/b43-fwcutter-018.tar.bz2"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/b43-fwcutter.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "e77ff733ec43d77761330e16480b7ffa16c7c5dd"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/b43-fwcutter.rb:19:15: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
m.gsub! /install -o 0 -g 0/, 'install'
^
Library/Formula/b43-fwcutter.rb:20:15: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
m.gsub! /install -d -o 0 -g 0/, 'install -d'
^
Library/Formula/b43-fwcutter.rb:22:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
m.gsub! "$(PREFIX)/man", man
^^^^^^^^^^^^^^^
Library/Formula/b43-fwcutter.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}", "install"
^^^^^^
Library/Formula/b43-fwcutter.rb:25:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}", "install"
^^^^^^^^^
Library/Formula/b43-fwcutter.rb:29:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/b43-fwcutter", "--version"
^^^^^^^^^^^
Library/Formula/babeld.rb:3:1: C: Missing top-level class documentation comment.
class Babeld < Formula
^^^^^
Library/Formula/babeld.rb:5:80: C: Line is too long. [84/79]
url 'http://www.pps.univ-paris-diderot.fr/~jch/software/files/babeld-1.4.2.tar.gz'
^^^^^
Library/Formula/babeld.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "LDLIBS=''"
^^^^^^
Library/Formula/babeld.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=#{prefix}"
^^^^^^
Library/Formula/babeld.rb:15:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=#{prefix}"
^^^^^^^^^
Library/Formula/babeld.rb:25:2: C: Tab detected.
cp -f babeld $(TARGET)$(PREFIX)/bin
^
Library/Formula/babeld.rb:26:1: C: Trailing whitespace detected.
Library/Formula/babeld.rb:32:1: C: Trailing whitespace detected.
Library/Formula/babeld.rb:34:2: C: Tab detected.
-rm -f $(TARGET)$(PREFIX)/bin/babeld
^
Library/Formula/babeld.rb:37:1: C: Trailing whitespace detected.
Library/Formula/babeld.rb:39:2: C: Tab detected.
-rm -f babeld babeld.html *.o *~ core TAGS gmon.out
^
Library/Formula/babeld.rb:40:1: C: 1 trailing blank lines detected.
Library/Formula/babl.rb:3:1: C: Missing top-level class documentation comment.
class Babl < Formula
^^^^^
Library/Formula/babl.rb:16:80: C: Line is too long. [85/79]
# The first one changes an include <values.h> (deleted on Mac OS X) to <limits.h>
^^^^^^
Library/Formula/babl.rb:18:80: C: Line is too long. [84/79]
# https://trac.macports.org/browser/trunk/dports/graphics/babl/files/clang.patch
^^^^^
Library/Formula/babl.rb:19:7: C: Use the new Ruby 1.9 hash syntax.
{ :p0 => DATA }
^^^^^^
Library/Formula/babl.rb:26:80: C: Line is too long. [86/79]
opoo 'Compilation may fail at babl-cpuaccel.c using gcc for a universal build'
^^^^^^^
Library/Formula/babl.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/babl.rb:30:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/babl.rb:31:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/babl.rb:32:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/babl.rb:62:1: C: Trailing whitespace detected.
Library/Formula/babl.rb:64:1: C: Trailing whitespace detected.
Library/Formula/babl.rb:65:80: C: Line is too long. [82/79]
! #if defined(__GNUC__) && (__GNUC__ >= 4) && defined(USE_SSE) && defined(USE_MMX)
^^^
Library/Formula/babl.rb:66:1: C: Trailing whitespace detected.
Library/Formula/babl.rb:70:1: C: Trailing whitespace detected.
Library/Formula/babl.rb:72:1: C: Trailing whitespace detected.
Library/Formula/babl.rb:73:80: C: Line is too long. [105/79]
! #if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 4) && defined(USE_SSE) && defined(USE_MMX)
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/babl.rb:74:1: C: Trailing whitespace detected.
Library/Formula/babl.rb:82:80: C: Line is too long. [82/79]
! #if defined(__GNUC__) && (__GNUC__ >= 4) && defined(USE_SSE) && defined(USE_MMX)
^^^
Library/Formula/babl.rb:83:1: C: Trailing whitespace detected.
Library/Formula/babl.rb:90:80: C: Line is too long. [105/79]
! #if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 4) && defined(USE_SSE) && defined(USE_MMX)
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/babl.rb:91:1: C: Trailing whitespace detected.
Library/Formula/backupninja.rb:3:1: C: Missing top-level class documentation comment.
class Backupninja < Formula
^^^^^
Library/Formula/backupninja.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "https://labs.riseup.net/code/projects/backupninja"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/backupninja.rb:5:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
head "git://labs.riseup.net/backupninja.git"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/backupninja.rb:6:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://labs.riseup.net/code/attachments/download/275/backupninja-1.0.1.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/backupninja.rb:6:80: C: Line is too long. [86/79]
url "https://labs.riseup.net/code/attachments/download/275/backupninja-1.0.1.tar.gz"
^^^^^^^
Library/Formula/backupninja.rb:7:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "c9b2cef3c289b2b71cc8fd33f8e089a70a11affb"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/backupninja.rb:9:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "dialog"
^^^^^^^^
Library/Formula/backupninja.rb:10:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "gawk"
^^^^^^
Library/Formula/backupninja.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/backupninja.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/backupninja.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:3:1: C: Missing top-level class documentation comment.
class BaculaFd < Formula
^^^^^
Library/Formula/bacula-fd.rb:5:80: C: Line is too long. [91/79]
url 'https://downloads.sourceforge.net/project/bacula/bacula/5.2.13/bacula-5.2.13.tar.gz'
^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--sbindir=#{bin}",
^^^^^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--with-working-dir=#{var}/lib/bacula",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--with-pid-dir=#{HOMEBREW_PREFIX}/var/run",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--enable-client-only",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-client-only",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--disable-conio"
^^^^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:18:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-conio"
^^^^^^^^^^^^^^^^^
Library/Formula/bacula-fd.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bacula-fd.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bagit.rb:3:1: C: Missing top-level class documentation comment.
class Bagit < Formula
^^^^^
Library/Formula/bagit.rb:5:80: C: Line is too long. [105/79]
url 'https://github.com/LibraryOfCongress/bagit-java/releases/download/bagit-4.8.1/bagit-4.8.1-bin.zip'
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bagit.rb:10:9: C: Surrounding space missing for operator '/'.
(var/'log/bagit').mkpath
^
Library/Formula/bagit.rb:11:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/log4j.properties", "${app.home}/logs", "#{var}/log/bagit"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bagit.rb:11:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/log4j.properties", "${app.home}/logs", "#{var}/log/bagit"
^^^^^^^^^^^^^^^^^^
Library/Formula/bagit.rb:15:32: C: Surrounding space missing for operator '/'.
bin.install_symlink libexec/"bin/bag"
^
Library/Formula/bagit.rb:15:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install_symlink libexec/"bin/bag"
^^^^^^^^^
Library/Formula/bagit.rb:19:15: C: Surrounding space missing for operator '/'.
system bin/'bag'
^
Library/Formula/balance.rb:3:1: C: Missing top-level class documentation comment.
class Balance < Formula
^^^^^
Library/Formula/balance.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/balance.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "balance"
^^^^^^^^^
Library/Formula/balance.rb:11:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "balance.1"
^^^^^^^^^^^
Library/Formula/bam.rb:3:1: C: Missing top-level class documentation comment.
class Bam < Formula
^^^^^
Library/Formula/bam.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./make_unix.sh"
^^^^^^^^^^^^^^^^
Library/Formula/bar.rb:3:1: C: Missing top-level class documentation comment.
class Bar < Formula
^^^^^
Library/Formula/base64.rb:3:1: C: Missing top-level class documentation comment.
class Base64 < Formula
^^^^^
Library/Formula/base64.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking"
^^^^^^^^^^^^^
Library/Formula/base64.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking"
^^^^^^^^^^^^^^^^^
Library/Formula/base64.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/base64.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/base64.rb:11:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "base64"
^^^^^^^^
Library/Formula/base64.rb:12:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "base64.1"
^^^^^^^^^^
Library/Formula/base64.rb:16:20: C: Surrounding space missing for operator '/'.
path = testpath/"a.txt"
^
Library/Formula/base64.rb:16:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = testpath/"a.txt"
^^^^^^^
Library/Formula/base64.rb:17:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path.write "hello"
^^^^^^^
Library/Formula/base64.rb:20:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "aGVsbG8=", output
^^^^^^^^^^
Library/Formula/base64.rb:21:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/basex.rb:3:1: C: Missing top-level class documentation comment.
class Basex < Formula
^^^^^
Library/Formula/basex.rb:11:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm_rf "repo"
^^^^^^
Library/Formula/basex.rb:12:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm_rf "data"
^^^^^^
Library/Formula/basex.rb:13:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm_rf "etc"
^^^^^
Library/Formula/basex.rb:21:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open3.popen3("#{bin}/basex", "1 to 10") do |_, stdout, _|
^^^^^^^^^
Library/Formula/basex.rb:22:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "1 2 3 4 5 6 7 8 9 10", stdout.read
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:7:80: C: Line is too long. [82/79]
url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.3.tar.bz2'
^^^
Library/Formula/bash-completion.rb:8:80: C: Line is too long. [155/79]
mirror 'http://pkgs.fedoraproject.org/repo/pkgs/bash-completion/bash-completion-1.3.tar.bz2/a1262659b4bbf44dc9e59d034de505ec/bash-completion-1.3.tar.bz2'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:12:80: C: Line is too long. [126/79]
# http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=patch;h=50ae57927365a16c830899cc1714be73237bdcb2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:13:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:16:8: C: Surrounding space missing for operator '/'.
etc/'bash_completion.d'
^
Library/Formula/bash-completion.rb:20:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "bash_completion" do |s|
^^^^^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:21:42: C: Surrounding space missing for operator '/'.
s.gsub! '/etc/bash_completion', etc/'bash_completion'
^
Library/Formula/bash-completion.rb:22:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.gsub! 'readlink -f', "readlink"
^^^^^^^^^^
Library/Formula/bash-completion.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:26:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:28:20: C: Surrounding space missing for operator '/'.
unless (compdir/'brew_bash_completion.sh').exist?
^
Library/Formula/bash-completion.rb:29:47: C: Surrounding space missing for operator '/'.
compdir.install_symlink HOMEBREW_CONTRIB/'brew_bash_completion.sh'
^
Library/Formula/bash-completion.rb:51:1: C: Trailing whitespace detected.
Library/Formula/bash-completion.rb:54:80: C: Line is too long. [152/79]
- local hosts=$( sed -ne 's/^[ \t]*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\{0,1\}['"$'\t '"']\{1,\}\([^#*?]*\)\(#.*\)\{0,1\}$/\2/p' "${config[@]}" )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash-completion.rb:55:80: C: Line is too long. [159/79]
+ local hosts=$( sed -ne 's/^['"$'\t '"']*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\{0,1\}['"$'\t '"']\{1,\}\([^#*?]*\)\(#.*\)\{0,1\}$/\2/p' "${config[@]}" )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash.rb:3:1: C: Missing top-level class documentation comment.
class Bash < Formula
^^^^^
Library/Formula/bash.rb:19:11: C: Use the new Ruby 1.9 hash syntax.
p = { :p1 => DATA }
^^^^^^
Library/Formula/bash.rb:21:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
p[:p0] = "https://gist.github.com/jacknagel/4008180/raw/1509a257060aa94e5349250306cce9eb884c837d/bash-4.2-001-045.patch"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash.rb:21:80: C: Line is too long. [126/79]
p[:p0] = "https://gist.github.com/jacknagel/4008180/raw/1509a257060aa94e5349250306cce9eb884c837d/bash-4.2-001-045.patch"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash.rb:33:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV.append_to_cflags "-DSSH_SOURCE_BASHRC"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash.rb:35:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--with-installed-readline"
^^^^^^^^^^^^^
Library/Formula/bash.rb:35:49: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--with-installed-readline"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bash.rb:36:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bash.rb:47:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "hello", output
^^^^^^^
Library/Formula/bash.rb:48:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/bash.rb:60:2: C: Tab detected.
else
^
Library/Formula/bash.rb:62:2: C: Tab detected.
/* polite_directory_format is guaranteed to return a string
^
Library/Formula/bash.rb:63:2: C: Tab detected.
no longer than PATH_MAX - 1 characters. */
^
Library/Formula/bash.rb:65:80: C: Line is too long. [89/79]
+ /* polite_directory_format might simply return the pointer to t_string
^^^^^^^^^^
Library/Formula/bash.rb:66:80: C: Line is too long. [93/79]
+ strcpy(3) tells dst and src may not overlap, OS X 10.9 asserts this and
^^^^^^^^^^^^^^
Library/Formula/bash.rb:72:1: C: Trailing whitespace detected.
Library/Formula/bash.rb:73:2: C: Tab detected.
temp = trim_pathname (t_string, PATH_MAX - 1);
^
Library/Formula/bash.rb:74:2: C: Tab detected.
/* If we're going to be expanding the prompt string later,
^
Library/Formula/bashdb.rb:3:1: C: Missing top-level class documentation comment.
class Bashdb < Formula
^^^^^
Library/Formula/bashdb.rb:5:80: C: Line is too long. [94/79]
url 'https://downloads.sourceforge.net/project/bashdb/bashdb/4.2-0.8/bashdb-4.2-0.8.tar.bz2'
^^^^^^^^^^^^^^^
Library/Formula/bashdb.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--with-bash=#{HOMEBREW_PREFIX}/bin/bash",
^^^^^^^^^^^^^
Library/Formula/bashdb.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bashdb.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bashdb.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bashdb.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bashdb.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bashdb.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bashdb.rb:21:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/bashdb", "--version"
^^^^^^^^^^^
Library/Formula/bashish.rb:3:1: C: Missing top-level class documentation comment.
class Bashish < Formula
^^^^^
Library/Formula/bashish.rb:5:80: C: Line is too long. [92/79]
url 'https://downloads.sourceforge.net/project/bashish/bashish/2.2.4/bashish-2.2.4.tar.gz'
^^^^^^^^^^^^^
Library/Formula/bashish.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/bashish.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bashish.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/batik.rb:3:1: C: Missing top-level class documentation comment.
class Batik < Formula
^^^^^
Library/Formula/batik.rb:12:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/'batik-rasterizer.jar', 'batik-rasterizer'
^
Library/Formula/batik.rb:13:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/'batik.jar', 'batik'
^
Library/Formula/batik.rb:14:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/'batik-ttf2svg.jar', 'batik-ttf2svg'
^
Library/Formula/bats.rb:3:1: C: Missing top-level class documentation comment.
class Bats < Formula
^^^^^
Library/Formula/bazaar.rb:3:1: C: Missing top-level class documentation comment.
class Bazaar < Formula
^^^^^
Library/Formula/bazaar.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make man1/bzr.1"
^^^^^^^^^^^^^^^^^
Library/Formula/bazaar.rb:12:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "man1/bzr.1"
^^^^^^^^^^^^
Library/Formula/bazaar.rb:15:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV.prepend_path "PATH", "/System/Library/Frameworks/Python.framework/Versions/Current/bin"
^^^^^^
Library/Formula/bazaar.rb:15:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV.prepend_path "PATH", "/System/Library/Frameworks/Python.framework/Versions/Current/bin"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bazaar.rb:15:80: C: Line is too long. [95/79]
ENV.prepend_path "PATH", "/System/Library/Frameworks/Python.framework/Versions/Current/bin"
^^^^^^^^^^^^^^^^
Library/Formula/bazaar.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bazaar.rb:18:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "bzr", "#! /usr/bin/env python", "#!/usr/bin/python"
^^^^^
Library/Formula/bazaar.rb:18:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "bzr", "#! /usr/bin/env python", "#!/usr/bin/python"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bazaar.rb:18:48: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "bzr", "#! /usr/bin/env python", "#!/usr/bin/python"
^^^^^^^^^^^^^^^^^^^
Library/Formula/bazaar.rb:21:32: C: Surrounding space missing for operator '+'.
bin.install_symlink libexec+'bzr'
^
Library/Formula/bbcolors.rb:3:1: C: Missing top-level class documentation comment.
class Bbcolors < Formula
^^^^^
Library/Formula/bbcolors.rb:9:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bbcolors"
^^^^^^^^^^
Library/Formula/bbcp.rb:3:1: C: Missing top-level class documentation comment.
class Bbcp < Formula
^^^^^
Library/Formula/bbcp.rb:11:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbcp.rb:14:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
mkdir "bin"
^^^^^
Library/Formula/bbcp.rb:15:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
mkdir "obj"
^^^^^
Library/Formula/bbcp.rb:17:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "src" do
^^^^^
Library/Formula/bbcp.rb:18:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "Darwin"
^^^^^^
Library/Formula/bbcp.rb:18:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "Darwin"
^^^^^^^^
Library/Formula/bbcp.rb:21:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bin/bbcp"
^^^^^^^^^^
Library/Formula/bbcp.rb:25:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/bbcp", "--help"
^^^^^^^^
Library/Formula/bbcp.rb:35:80: C: Line is too long. [81/79]
/* m a i n */
^^
Library/Formula/bbcp.rb:36:80: C: Line is too long. [81/79]
/******************************************************************************/
^^
Library/Formula/bbcp.rb:37:1: C: Trailing whitespace detected.
Library/Formula/bbe.rb:3:1: C: Missing top-level class documentation comment.
class Bbe < Formula
^^^^^
Library/Formula/bbe.rb:5:80: C: Line is too long. [81/79]
url 'https://downloads.sourceforge.net/project/bbe-/bbe/0.2.2/bbe-0.2.2.tar.gz'
^^
Library/Formula/bbe.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/bbe.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bbe.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbe.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbe.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbe.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbe.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbe.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/bbe.rb:13:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/bbftp-client.rb:3:1: C: Missing top-level class documentation comment.
class BbftpClient < Formula
^^^^^
Library/Formula/bbftp-client.rb:10:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/bbftp-client.rb:10:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/bbftp-client.rb:10:48: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbftp-client.rb:11:29: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bbftp-client.rb:12:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bbftp-client.rb:17:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/bbftp", "-v"
^^^^
Library/Formula/bchunk.rb:3:1: C: Missing top-level class documentation comment.
class Bchunk < Formula
^^^^^
Library/Formula/bchunk.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bcpp.rb:3:1: C: Missing top-level class documentation comment.
class Bcpp < Formula
^^^^^
Library/Formula/bcpp.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/bcpp.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bcrypt.rb:3:1: C: Missing top-level class documentation comment.
class Bcrypt < Formula
^^^^^
Library/Formula/bcrypt.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}",
^^^^^^
Library/Formula/bcrypt.rb:10:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bcrypt.rb:11:20: C: Align the parameters of a method call if they span more than one line.
"LDFLAGS=-lz"
^^^^^^^^^^^^^
Library/Formula/bcrypt.rb:11:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"LDFLAGS=-lz"
^^^^^^^^^^^^^
Library/Formula/bcrypt.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bcrypt"
^^^^^^^^
Library/Formula/bcrypt.rb:13:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install gzip("bcrypt.1")
^^^^^^^^^^
Library/Formula/bcwipe.rb:3:1: C: Missing top-level class documentation comment.
class Bcwipe < Formula
^^^^^
Library/Formula/bcwipe.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/bcwipe.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CFLAGS=#{ENV.cflags}", "LDFLAGS=#{ENV.ldflags}", "install"
^^^^^^
Library/Formula/bcwipe.rb:10:70: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CFLAGS=#{ENV.cflags}", "LDFLAGS=#{ENV.ldflags}", "install"
^^^^^^^^^
Library/Formula/bdw-gc.rb:3:1: C: Missing top-level class documentation comment.
class BdwGc < Formula
^^^^^
Library/Formula/bdw-gc.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "267d3e346e5d8a9fff781ee58a7aa3b33e31b3db" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "a92904c2e10891252bb212eb4a438094a36de8c8" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:12:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "ecc4b3bded24d5a48255c4c4d5295680d5befcf2" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:20:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:21:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--enable-cplusplus"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-cplusplus"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bdw-gc.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make check"
^^^^^^^^^^^^
Library/Formula/bdw-gc.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/beansdb.rb:3:1: C: Missing top-level class documentation comment.
class Beansdb < Formula
^^^^^
Library/Formula/beansdb.rb:5:49: C: Use the new Ruby 1.9 hash syntax.
head 'https://github.com/douban/beansdb.git', :branch => 'master'
^^^^^^^^^^
Library/Formula/beansdb.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./autogen.sh"
^^^^^^^^^^^^^^
Library/Formula/beansdb.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/beansdb.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/beansdb.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/beansdb.rb:24:3: C: Method has too many lines. [33/10]
def plist; <<-EOS.undent
^^^
Library/Formula/beansdb.rb:26:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/beanstalk.rb:3:1: C: Missing top-level class documentation comment.
class Beanstalk < Formula
^^^^^
Library/Formula/beanstalk.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=#{prefix}"
^^^^^^
Library/Formula/beanstalk.rb:9:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=#{prefix}"
^^^^^^^^^
Library/Formula/beanstalk.rb:12:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :manual => "beanstalkd"
^^^^^^^^^^
Library/Formula/beanstalk.rb:12:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
plist_options :manual => "beanstalkd"
^^^^^^^^^^^^
Library/Formula/beanstalk.rb:14:3: C: Method has too many lines. [25/10]
def plist; <<-EOS.undent
^^^
Library/Formula/beanstalk.rb:16:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bear.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/bear.rb:3:1: C: Missing top-level class documentation comment.
class Bear < Formula
^^^^^
Library/Formula/bear.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "https://github.com/rizsotto/Bear"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bear.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://github.com/rizsotto/Bear/archive/1.4.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bear.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "0ea917b5fefb9c3293310d9280b131366fc6de74"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bear.rb:8:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "cmake" => :build
^^^^^^^
Library/Formula/bear.rb:9:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "pkg-config" => :build
^^^^^^^^^^^^
Library/Formula/bear.rb:10:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "libconfig"
^^^^^^^^^^^
Library/Formula/bear.rb:13:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
mkdir "build" do
^^^^^^^
Library/Formula/bear.rb:14:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "..", *std_cmake_args
^^^^^^^
Library/Formula/bear.rb:14:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "..", *std_cmake_args
^^^^
Library/Formula/bear.rb:15:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/bear.rb:15:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/bear.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/bear", "--", "true"
^^^^
Library/Formula/bear.rb:20:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/bear", "--", "true"
^^^^^^
Library/Formula/beecrypt.rb:3:1: C: Missing top-level class documentation comment.
class Beecrypt < Formula
^^^^^
Library/Formula/beecrypt.rb:5:80: C: Line is too long. [95/79]
url 'https://downloads.sourceforge.net/project/beecrypt/beecrypt/4.2.1/beecrypt-4.2.1.tar.gz'
^^^^^^^^^^^^^^^^
Library/Formula/beecrypt.rb:8:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "icu4c"
^^^^^^^
Library/Formula/beecrypt.rb:11:80: C: Line is too long. [90/79]
# fix build with newer clang, gcc 4.7 (https://bugs.gentoo.org/show_bug.cgi?id=413951)
^^^^^^^^^^^
Library/Formula/beecrypt.rb:12:7: C: Use the new Ruby 1.9 hash syntax.
{ :p0 => DATA }
^^^^^^
Library/Formula/beecrypt.rb:23:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--prefix=#{prefix}", "--disable-openmp", "--without-java",
^^^^^^^^^^^^^^^^^^
Library/Formula/beecrypt.rb:23:55: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--prefix=#{prefix}", "--disable-openmp", "--without-java",
^^^^^^^^^^^^^^^^
Library/Formula/beecrypt.rb:24:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--without-python"]
^^^^^^^^^^^^^^^^^^
Library/Formula/beecrypt.rb:29:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/beecrypt.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/beecrypt.rb:31:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make check"
^^^^^^^^^^^^
Library/Formula/beecrypt.rb:32:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/beecrypt.rb:37:80: C: Line is too long. [80/79]
--- include/beecrypt/c++/util/AbstractSet.h~ 2009-06-17 13:05:55.000000000 +0200
^
Library/Formula/beecrypt.rb:40:2: C: Tab detected.
if (c->size() != size())
^
Library/Formula/beecrypt.rb:41:2: C: Tab detected.
return false;
^
Library/Formula/beecrypt.rb:42:1: C: Trailing whitespace detected.
Library/Formula/beecrypt.rb:45:2: C: Tab detected.
}
^
Library/Formula/beecrypt.rb:46:2: C: Tab detected.
return false;
^
Library/Formula/beecrypt.rb:47:2: C: Tab detected.
}
^
Library/Formula/berkeley-db.rb:3:1: C: Missing top-level class documentation comment.
class BerkeleyDb < Formula
^^^^^
Library/Formula/berkeley-db.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "82b52acb094e7f5cfb8f807f4501b47653744285" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "32db77b55f8f864af939d842a85bed64347912e8" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:12:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "6846c61e17ff5dcfe25f5aaf2e7e88b71758ea09" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:21:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:23:3: C: Method has too many lines. [16/10]
def install
^^^
Library/Formula/berkeley-db.rb:35:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--enable-java" if build.with? "java"
^^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:35:44: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--enable-java" if build.with? "java"
^^^^^^
Library/Formula/berkeley-db.rb:36:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--enable-sql" if build.include? "enable-sql"
^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:36:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--enable-sql" if build.include? "enable-sql"
^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:38:80: C: Line is too long. [82/79]
# BerkeleyDB requires you to build everything from the build_unix subdirectory
^^^
Library/Formula/berkeley-db.rb:40:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "../dist/configure", *args
^^^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:41:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/berkeley-db.rb:45:16: C: Surrounding space missing for operator '/'.
mv prefix/'docs', doc
^
Library/Formula/berkeley-db.rb:63:2: C: Tab detected.
int temp;
^
Library/Formula/berkeley-db.rb:70:2: C: Tab detected.
db_atomic_t *p, atomic_value_t oldval, atomic_value_t newval)
^
Library/Formula/berkeley-db.rb:72:2: C: Tab detected.
atomic_value_t was;
^
Library/Formula/berkeley-db4.rb:3:1: C: Missing top-level class documentation comment.
class BerkeleyDb4 < Formula
^^^^^
Library/Formula/berkeley-db4.rb:8:80: C: Line is too long. [93/79]
keg_only "BDB 4.8.30 is provided for software that doesn't compile against newer versions."
^^^^^^^^^^^^^^
Library/Formula/berkeley-db4.rb:11:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db4.rb:13:3: C: Method has too many lines. [11/10]
def install
^^^
Library/Formula/berkeley-db4.rb:17:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db4.rb:20:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-cxx"]
^^^^^^^^^^^^^^
Library/Formula/berkeley-db4.rb:22:80: C: Line is too long. [82/79]
# BerkeleyDB requires you to build everything from the build_unix subdirectory
^^^
Library/Formula/berkeley-db4.rb:24:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "../dist/configure", *args
^^^^^^^^^^^^^^^^^^^
Library/Formula/berkeley-db4.rb:25:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/berkeley-db4.rb:29:16: C: Surrounding space missing for operator '+'.
mv prefix+'docs', doc
^
Library/Formula/berkeley-db4.rb:47:2: C: Tab detected.
int temp;
^
Library/Formula/berkeley-db4.rb:54:2: C: Tab detected.
db_atomic_t *p, atomic_value_t oldval, atomic_value_t newval)
^
Library/Formula/berkeley-db4.rb:56:2: C: Tab detected.
atomic_value_t was;
^
Library/Formula/bgpq3.rb:3:1: C: Missing top-level class documentation comment.
class Bgpq3 < Formula
^^^^^
Library/Formula/bgpq3.rb:7:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
head "https://github.com/snar/bgpq3.git"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bgpq3.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/bgpq3.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/bgpq3.rb:21:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/bgpq3.rb:25:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/bgpq3", "AS-ANY"
^^^^^^^^
Library/Formula/bgpq3.rb:35:2: C: Tab detected.
rm -rf *.o *.core core.* core
^
Library/Formula/bgpq3.rb:39:2: C: Tab detected.
${INSTALL} -c -s -m 755 bgpq3 @bindir@
^
Library/Formula/bgpq3.rb:46:2: C: Tab detected.
makedepend -- $(CFLAGS) -- $(SRCS)
^
Library/Formula/bgrep.rb:3:1: C: Missing top-level class documentation comment.
class Bgrep < Formula
^^^^^
Library/Formula/bgrep.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bgrep"
^^^^^^^
Library/Formula/bgrep.rb:14:20: C: Surrounding space missing for operator '/'.
path = testpath/"hi.prg"
^
Library/Formula/bgrep.rb:14:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = testpath/"hi.prg"
^^^^^^^^
Library/Formula/bgrep.rb:16:54: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
0xa9, 0x49, 0x20, 0xd2, 0xff, 0x60].pack("C*")
^^^^
Library/Formula/bgrep.rb:17:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path.open("wb") { |f| f.write code }
^^^^
Library/Formula/bgrep.rb:21:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/bib-tool.rb:3:1: C: Missing top-level class documentation comment.
class BibTool < Formula
^^^^^
Library/Formula/bib-tool.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "autoreconf", "-fi"
^^^^^^^^^^^^
Library/Formula/bib-tool.rb:14:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "autoreconf", "-fi"
^^^^^
Library/Formula/bib-tool.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--without-kpathsea"
^^^^^^^^^^^^^
Library/Formula/bib-tool.rb:15:49: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--without-kpathsea"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bib-tool.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bib-tool.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bibtex2html.rb:3:1: C: Missing top-level class documentation comment.
class Bibtex2html < Formula
^^^^^
Library/Formula/bibtex2html.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/bibtex2html.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bibtex2html.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bibtexconv.rb:3:1: C: Missing top-level class documentation comment.
class Bibtexconv < Formula
^^^^^
Library/Formula/bibtexconv.rb:5:80: C: Line is too long. [85/79]
url 'http://www.iem.uni-due.de/~dreibh/bibtexconv/download/bibtexconv-0.9.4.tar.gz'
^^^^^^
Library/Formula/bibtexconv.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/bibtexconv.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bibtexconv.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bibtexconv.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bibtexconv.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/bibtexconv.rb:13:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/bibutils.rb:3:1: C: Missing top-level class documentation comment.
class Bibutils < Formula
^^^^^
Library/Formula/bibutils.rb:8:3: C: Missing space after #.
#fix uint not being defined clang error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bibutils.rb:9:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bibutils.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--install-dir", prefix
^^^^^^^^^^^^^
Library/Formula/bibutils.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--install-dir", prefix
^^^^^^^^^^^^^^^
Library/Formula/bibutils.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}"
^^^^^^
Library/Formula/bibutils.rb:17:9: C: Align the elements of an array literal if they span more than one line.
biblatex2xml ebi2xml wordbib2xml xml2ads xml2bib xml2end xml2isi xml2ris
^^^^^^^^^^^^
Library/Formula/bibutils.rb:17:80: C: Line is too long. [80/79]
biblatex2xml ebi2xml wordbib2xml xml2ads xml2bib xml2end xml2isi xml2ris
^
Library/Formula/bibutils.rb:18:9: C: Align the elements of an array literal if they span more than one line.
xml2wordbib modsclean}
^^^^^^^^^^^
Library/Formula/bigloo.rb:3:1: C: Missing top-level class documentation comment.
class Bigloo < Formula
^^^^^
Library/Formula/bigloo.rb:21:3: C: Method has too many lines. [19/10]
def install
^^^
Library/Formula/bigloo.rb:22:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:23:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:27:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--customgc=yes",
^^^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:28:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--os-macosx",
^^^^^^^^^^^^^
Library/Formula/bigloo.rb:29:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--native=yes",
^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:30:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-alsa",
^^^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:31:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-mpg123",
^^^^^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:32:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-flac"]
^^^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:34:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--jvm=yes" if build.with? 'jvm'
^^^^^^^^^^^
Library/Formula/bigloo.rb:35:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--no-gmp" if build.without? "gmp"
^^^^^^^^^^
Library/Formula/bigloo.rb:35:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--no-gmp" if build.without? "gmp"
^^^^^
Library/Formula/bigloo.rb:38:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--disable-srfi27" if MacOS.prefer_64_bit?
^^^^^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:40:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/bigloo.rb:42:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bigloo.rb:43:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bigloo.rb:46:80: C: Line is too long. [85/79]
manpages = %w( bgldepend bglmake bglpp bgltags bglafile bgljfile bglmco bglprof )
^^^^^^
Library/Formula/bigloo.rb:47:19: C: Space between { and | missing.
manpages.each {|m| man1.install "manuals/#{m}.man" => "#{m}.1"}
^^
Library/Formula/bigloo.rb:47:67: C: Space missing inside }.
manpages.each {|m| man1.install "manuals/#{m}.man" => "#{m}.1"}
^
Library/Formula/bind.rb:3:1: C: Class definition is too long. [232/100]
class Bind < Formula
^^^^^
Library/Formula/bind.rb:3:1: C: Missing top-level class documentation comment.
class Bind < Formula
^^^^^
Library/Formula/bind.rb:8:80: C: Line is too long. [91/79]
option 'with-brewed-openssl', 'Build with Homebrew OpenSSL instead of the system version'
^^^^^^^^^^^^
Library/Formula/bind.rb:10:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "openssl" if MacOS.version <= :leopard or build.with?('brewed-openssl')
^^^^^^^^^
Library/Formula/bind.rb:10:53: C: Use || instead of or.
depends_on "openssl" if MacOS.version <= :leopard or build.with?('brewed-openssl')
^^
Library/Formula/bind.rb:10:80: C: Line is too long. [84/79]
depends_on "openssl" if MacOS.version <= :leopard or build.with?('brewed-openssl')
^^^^^
Library/Formula/bind.rb:12:3: C: Method has too many lines. [17/10]
def install
^^^
Library/Formula/bind.rb:21:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-threads",
^^^^^^^^^^^^^^^^^^
Library/Formula/bind.rb:22:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-ipv6",
^^^^^^^^^^^^^^^
Library/Formula/bind.rb:22:22: C: Avoid comma after the last item of an array.
"--enable-ipv6",
^
Library/Formula/bind.rb:33:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/bind.rb:37:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bind.rb:38:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bind.rb:42:80: C: Line is too long. [90/79]
# Create initial configuration/zone/ca files. (Mirrors Apple system install from 10.8)
^^^^^^^^^^^
Library/Formula/bind.rb:55:80: C: Line is too long. [92/79]
system "#{sbin}/rndc-confgen -a -c \"#{etc}/rndc.key\"" unless (etc + 'rndc.key').exist?
^^^^^^^^^^^^^
Library/Formula/bind.rb:58:3: C: Method has too many lines. [55/10]
def named_conf; <<-EOS.undent
^^^
Library/Formula/bind.rb:123:3: C: Method has too many lines. [11/10]
def localhost_zone; <<-EOS.undent
^^^
Library/Formula/bind.rb:152:3: C: Method has too many lines. [88/10]
def named_ca; <<-EOS.undent
^^^
Library/Formula/bind.rb:243:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :startup => true
^^^^^^^^^^^
Library/Formula/bind.rb:245:3: C: Method has too many lines. [22/10]
def plist; <<-EOS.undent
^^^
Library/Formula/bind.rb:247:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bindfs.rb:3:1: C: Missing top-level class documentation comment.
class Bindfs < Formula
^^^^^
Library/Formula/bindfs.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/bindfs.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/bindfs.rb:12:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bindfs.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bindfs.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bindfs.rb:18:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/bindfs", "-V"
^^^^
Library/Formula/binutils.rb:3:1: C: Missing top-level class documentation comment.
class Binutils < Formula
^^^^^
Library/Formula/binutils.rb:9:3: C: Method has too many lines. [13/10]
def install
^^^
Library/Formula/binutils.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/binutils.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--program-prefix=g",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--program-prefix=g",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--infodir=#{info}",
^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}",
^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--disable-werror",
^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-werror",
^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--enable-interwork",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-interwork",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--enable-multilib",
^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:18:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-multilib",
^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:19:27: C: Align the parameters of a method call if they span more than one line.
"--enable-64-bit-bfd",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-64-bit-bfd",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:20:27: C: Align the parameters of a method call if they span more than one line.
"--enable-targets=all"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-targets=all"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/binutils.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/binutils.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/binwalk.rb:3:1: C: Missing top-level class documentation comment.
class Binwalk < Formula
^^^^^
Library/Formula/binwalk.rb:10:80: C: Line is too long. [110/79]
option 'with-matplotlib', 'Check for presence of matplotlib, which is required for entropy graphing support'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/binwalk.rb:25:80: C: Line is too long. [87/79]
url 'http://downloads.sourceforge.net/project/numpy/NumPy/1.8.0/numpy-1.8.0.tar.gz'
^^^^^^^^
Library/Formula/binwalk.rb:30:80: C: Line is too long. [89/79]
url 'http://downloads.sourceforge.net/project/scipy/scipy/0.13.3/scipy-0.13.3.tar.gz'
^^^^^^^^^^
Library/Formula/binwalk.rb:34:3: C: Method has too many lines. [14/10]
def install
^^^
Library/Formula/binwalk.rb:35:50: C: Surrounding space missing for operator '+'.
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'
^
Library/Formula/binwalk.rb:36:19: C: Space inside square brackets detected.
numpy_args = [ "build", "--fcompiler=gnu95",
^
Library/Formula/binwalk.rb:36:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
numpy_args = [ "build", "--fcompiler=gnu95",
^^^^^^^
Library/Formula/binwalk.rb:36:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
numpy_args = [ "build", "--fcompiler=gnu95",
^^^^^^^^^^^^^^^^^^^
Library/Formula/binwalk.rb:37:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install", "--prefix=#{libexec}" ]
^^^^^^^^^
Library/Formula/binwalk.rb:37:52: C: Space inside square brackets detected.
"install", "--prefix=#{libexec}" ]
^
Library/Formula/binwalk.rb:38:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('numpy').stage { system "python", "setup.py", *numpy_args }
^^^^^^^^
Library/Formula/binwalk.rb:38:48: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('numpy').stage { system "python", "setup.py", *numpy_args }
^^^^^^^^^^
Library/Formula/binwalk.rb:39:19: C: Space inside square brackets detected.
scipy_args = [ "build", "--fcompiler=gnu95",
^
Library/Formula/binwalk.rb:39:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scipy_args = [ "build", "--fcompiler=gnu95",
^^^^^^^
Library/Formula/binwalk.rb:39:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scipy_args = [ "build", "--fcompiler=gnu95",
^^^^^^^^^^^^^^^^^^^
Library/Formula/binwalk.rb:40:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install", "--prefix=#{libexec}" ]
^^^^^^^^^
Library/Formula/binwalk.rb:40:52: C: Space inside square brackets detected.
"install", "--prefix=#{libexec}" ]
^
Library/Formula/binwalk.rb:41:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('scipy').stage { system "python", "setup.py", *scipy_args }
^^^^^^^^
Library/Formula/binwalk.rb:41:48: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('scipy').stage { system "python", "setup.py", *scipy_args }
^^^^^^^^^^
Library/Formula/binwalk.rb:42:23: C: Space inside square brackets detected.
pyqtgraph_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^
Library/Formula/binwalk.rb:42:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
pyqtgraph_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^^^^^^^^^^
Library/Formula/binwalk.rb:42:36: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
pyqtgraph_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^^^^^^^^^
Library/Formula/binwalk.rb:42:68: C: Space inside square brackets detected.
pyqtgraph_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
^
Library/Formula/binwalk.rb:43:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource('pyqtgraph').stage { system "python", *pyqtgraph_args }
^^^^^^^^
Library/Formula/binwalk.rb:45:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "src" do
^^^^^
Library/Formula/binwalk.rb:46:23: C: Space inside square brackets detected.
binwalk_args = [ "install", "--prefix=#{prefix}" ]
^
Library/Formula/binwalk.rb:46:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
binwalk_args = [ "install", "--prefix=#{prefix}" ]
^^^^^^^^^
Library/Formula/binwalk.rb:46:55: C: Space inside square brackets detected.
binwalk_args = [ "install", "--prefix=#{prefix}" ]
^
Library/Formula/binwalk.rb:47:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", *binwalk_args
^^^^^^^^
Library/Formula/binwalk.rb:47:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", *binwalk_args
^^^^^^^^^^
Library/Formula/binwalk.rb:48:39: C: Surrounding space missing for operator '+'.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^
Library/Formula/binwalk.rb:48:47: C: Use the new Ruby 1.9 hash syntax.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^^^^^^^^^^^^^^
Library/Formula/binwalk.rb:53:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
touch "binwalk.test"
^^^^^^^^^^^^^^
Library/Formula/binwalk.rb:54:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/binwalk", "binwalk.test"
^^^^^^^^^^^^^^
Library/Formula/bip.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/bip.rb:3:1: C: Missing top-level class documentation comment.
class Bip < Formula
^^^^^
Library/Formula/bip.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "http://bip.milkypond.org"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://projects.duckcorp.org/attachments/download/61/bip-0.8.9.tar.gz",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:6:5: C: Align the parameters of a method call if they span more than one line.
:using => CurlUnsafeDownloadStrategy
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:6:5: C: Use the new Ruby 1.9 hash syntax.
:using => CurlUnsafeDownloadStrategy
^^^^^^^^^
Library/Formula/bip.rb:7:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "6c6828dde0ec9c41237bac42a679aa8237bdeffe"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/bip.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bip.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/bip.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/bison.rb:3:1: C: Missing top-level class documentation comment.
class Bison < Formula
^^^^^
Library/Formula/bison.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/bison.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bison.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bison.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/bison.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/bitchx.rb:3:1: C: Missing top-level class documentation comment.
class Bitchx < Formula
^^^^^
Library/Formula/bitchx.rb:4:1: C: Extra empty line detected at body beginning.
Library/Formula/bitchx.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/bitchx.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bitchx.rb:26:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/bitchx.rb:26:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/bitchx.rb:40:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "BitchX -v"
^^^^^^^^^^^
Library/Formula/bitchx.rb:42:1: C: Extra empty line detected at body end.
Library/Formula/bitlbee.rb:3:1: C: Missing top-level class documentation comment.
class Bitlbee < Formula
^^^^^
Library/Formula/bitlbee.rb:9:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'with-finch', "Use finch/libpurple for all communication with instant messaging networks"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:9:80: C: Line is too long. [98/79]
option 'with-finch', "Use finch/libpurple for all communication with instant messaging networks"
^^^^^^^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:10:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'with-libotr', "Build with otr (off the record) support"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:19:3: C: Method has too many lines. [15/10]
def install
^^^
Library/Formula/bitlbee.rb:21:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--debug=0",
^^^^^^^^^^^
Library/Formula/bitlbee.rb:22:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--ssl=gnutls",
^^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:27:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--purple=1" if build.with? "finch"
^^^^^^^^^^^^
Library/Formula/bitlbee.rb:27:41: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--purple=1" if build.with? "finch"
^^^^^^^
Library/Formula/bitlbee.rb:28:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--otr=1" if build.with? "libotr"
^^^^^^^^^
Library/Formula/bitlbee.rb:28:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--otr=1" if build.with? "libotr"
^^^^^^^^
Library/Formula/bitlbee.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:33:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bitlbee.rb:34:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:36:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install-dev"
^^^^^^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:38:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install-etc"
^^^^^^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:40:9: C: Surrounding space missing for operator '+'.
(var+"bitlbee/run").mkpath
^
Library/Formula/bitlbee.rb:40:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(var+"bitlbee/run").mkpath
^^^^^^^^^^^^^
Library/Formula/bitlbee.rb:41:9: C: Surrounding space missing for operator '+'.
(var+"bitlbee/lib").mkpath
^
Library/Formula/bitlbee.rb:41:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(var+"bitlbee/lib").mkpath
^^^^^^^^^^^^^
Library/Formula/bittwist.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/bittwist.rb:3:1: C: Missing top-level class documentation comment.
class Bittwist < Formula
^^^^^
Library/Formula/bittwist.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "http://bittwist.sourceforge.net"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bittwist.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://downloads.sourceforge.net/project/bittwist/Mac%20OS%20X/Bit-Twist%202.0/bittwist-macosx-2.0.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bittwist.rb:5:80: C: Line is too long. [114/79]
url "https://downloads.sourceforge.net/project/bittwist/Mac%20OS%20X/Bit-Twist%202.0/bittwist-macosx-2.0.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bittwist.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "fcc652f838858edbf86546af945a71b815cf4d6b"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bittwist.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bittwist.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "prefix=#{prefix}"
^^^^^^
Library/Formula/bittwist.rb:10:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "prefix=#{prefix}"
^^^^^^^^^
Library/Formula/blahtexml.rb:3:1: C: Missing top-level class documentation comment.
class Blahtexml < Formula
^^^^^
Library/Formula/blahtexml.rb:8:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'blahtex-only', "Build only blahtex, not blahtexml"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/blahtexml.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make blahtex-mac"
^^^^^^^^^^^^^^^^^^
Library/Formula/blahtexml.rb:16:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make blahtexml-mac"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/blazeblogger.rb:3:1: C: Missing top-level class documentation comment.
class Blazeblogger < Formula
^^^^^
Library/Formula/blazeblogger.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}",
^^^^^^
Library/Formula/blazeblogger.rb:10:20: C: Align the parameters of a method call if they span more than one line.
"compdir=#{prefix}",
^^^^^^^^^^^^^^^^^^^
Library/Formula/blazeblogger.rb:11:20: C: Align the parameters of a method call if they span more than one line.
"install"
^^^^^^^^^
Library/Formula/blazeblogger.rb:11:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"
^^^^^^^^^
Library/Formula/blitz.rb:3:1: C: Missing top-level class documentation comment.
class Blitz < Formula
^^^^^
Library/Formula/blitz.rb:5:80: C: Line is too long. [94/79]
url 'https://downloads.sourceforge.net/project/blitz/blitz/Blitz++%200.10/blitz-0.10.tar.gz'
^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:9:68: C: Use the new Ruby 1.9 hash syntax.
url 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
^^^^^^^^^
Library/Formula/blitz.rb:9:80: C: Line is too long. [80/79]
url 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg
^
Library/Formula/blitz.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "autoreconf", "-fi" if build.head?
^^^^^^^^^^^^
Library/Formula/blitz.rb:17:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "autoreconf", "-fi" if build.head?
^^^^^
Library/Formula/blitz.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/blitz.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:20:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:21:27: C: Align the parameters of a method call if they span more than one line.
"--infodir=#{info}",
^^^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--enable-shared",
^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-shared",
^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--disable-doxygen",
^^^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:23:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-doxygen",
^^^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:24:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dot",
^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:24:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dot",
^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:25:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/blitz.rb:26:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/blitzwave.rb:3:1: C: Missing top-level class documentation comment.
class Blitzwave < Formula
^^^^^
Library/Formula/blitzwave.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/blitzwave.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/blitzwave.rb:11:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/blitzwave.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/blitzwave.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/blitzwave.rb:13:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/blueutil.rb:3:1: C: Missing top-level class documentation comment.
class Blueutil < Formula
^^^^^
Library/Formula/bmon.rb:3:1: C: Missing top-level class documentation comment.
class Bmon < Formula
^^^^^
Library/Formula/bmon.rb:5:80: C: Line is too long. [80/79]
url 'http://mirrors.kernel.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz'
^
Library/Formula/bmon.rb:6:80: C: Line is too long. [82/79]
mirror 'http://ftp.us.debian.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz'
^^^
Library/Formula/bmon.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/bmon.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bmon.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bmon.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/bmon.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make" # two steps to prevent blowing up
^^^^^^
Library/Formula/bmon.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:3:1: C: Missing top-level class documentation comment.
class Bochs < Formula
^^^^^
Library/Formula/bochs.rb:5:80: C: Line is too long. [86/79]
url 'https://downloads.sourceforge.net/project/bochs/bochs/2.6.2/bochs-2.6.2.tar.gz'
^^^^^^^
Library/Formula/bochs.rb:12:3: C: Method has too many lines. [33/10]
def install
^^^
Library/Formula/bochs.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/bochs.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--with-x11",
^^^^^^^^^^^^
Library/Formula/bochs.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-x11",
^^^^^^^^^^^^
Library/Formula/bochs.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--enable-debugger",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:15:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-debugger",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--enable-disasm",
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-disasm",
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--disable-docbook",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-docbook",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--enable-x86-64",
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:18:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-x86-64",
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:19:27: C: Align the parameters of a method call if they span more than one line.
"--enable-pci",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-pci",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:20:27: C: Align the parameters of a method call if they span more than one line.
"--enable-all-optimizations",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-all-optimizations",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:21:27: C: Align the parameters of a method call if they span more than one line.
"--enable-plugins",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-plugins",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--enable-cdrom",
^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-cdrom",
^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--enable-a20-pin",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:23:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-a20-pin",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:24:27: C: Align the parameters of a method call if they span more than one line.
"--enable-fpu",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:24:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-fpu",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:25:27: C: Align the parameters of a method call if they span more than one line.
"--enable-alignment-check",
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:25:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-alignment-check",
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:26:27: C: Align the parameters of a method call if they span more than one line.
"--enable-large-ramfile",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:26:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-large-ramfile",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:27:27: C: Align the parameters of a method call if they span more than one line.
"--enable-debugger-gui",
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:27:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-debugger-gui",
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:28:27: C: Align the parameters of a method call if they span more than one line.
"--enable-readline",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:28:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-readline",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:29:27: C: Align the parameters of a method call if they span more than one line.
"--enable-iodebug",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:29:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-iodebug",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:30:27: C: Align the parameters of a method call if they span more than one line.
"--enable-xpm",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:30:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-xpm",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:31:27: C: Align the parameters of a method call if they span more than one line.
"--enable-show-ips",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:31:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-show-ips",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:32:27: C: Align the parameters of a method call if they span more than one line.
"--enable-logging",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:32:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-logging",
^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:33:27: C: Align the parameters of a method call if they span more than one line.
"--enable-usb",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:33:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-usb",
^^^^^^^^^^^^^^
Library/Formula/bochs.rb:34:27: C: Align the parameters of a method call if they span more than one line.
"--enable-ne2000",
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:34:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-ne2000",
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:35:27: C: Align the parameters of a method call if they span more than one line.
"--enable-cpu-level=6",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:35:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-cpu-level=6",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:36:27: C: Align the parameters of a method call if they span more than one line.
"--enable-sb16",
^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:36:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-sb16",
^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:37:27: C: Align the parameters of a method call if they span more than one line.
"--enable-clgd54xx",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:37:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-clgd54xx",
^^^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:38:27: C: Align the parameters of a method call if they span more than one line.
"--with-term",
^^^^^^^^^^^^^
Library/Formula/bochs.rb:38:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-term",
^^^^^^^^^^^^^
Library/Formula/bochs.rb:39:27: C: Align the parameters of a method call if they span more than one line.
"--enable-ne2000"
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:39:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-ne2000"
^^^^^^^^^^^^^^^^^
Library/Formula/bochs.rb:44:15: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
s.gsub! /\-lltdl/, 'ltdl.o'
^
Library/Formula/bochs.rb:47:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bochs.rb:48:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bogofilter.rb:3:1: C: Missing top-level class documentation comment.
class Bogofilter < Formula
^^^^^
Library/Formula/bogofilter.rb:5:80: C: Line is too long. [102/79]
url 'https://downloads.sourceforge.net/project/bogofilter/bogofilter-1.2.4/bogofilter-1.2.4.tar.bz2'
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bogofilter.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/bogofilter.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bogofilter.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bogofilter.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:3:1: C: Missing top-level class documentation comment.
class Bonniexx < Formula
^^^^^
Library/Formula/bonnie++.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:30:80: C: Line is too long. [96/79]
- { delete m_buf; m_buf = new char[__max(size, m_io_chunk_size)]; m_file_chunk_size = size; }
^^^^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:31:80: C: Line is too long. [94/79]
+ { delete m_buf; m_buf = new char[max(size, m_io_chunk_size)]; m_file_chunk_size = size; }
^^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:32:1: C: Trailing whitespace detected.
Library/Formula/bonnie++.rb:43:1: C: Trailing whitespace detected.
Library/Formula/bonnie++.rb:52:1: C: Trailing whitespace detected.
Library/Formula/bonnie++.rb:67:1: C: Trailing whitespace detected.
Library/Formula/bonnie++.rb:74:1: C: Trailing whitespace detected.
Library/Formula/bonnie++.rb:87:80: C: Line is too long. [200/79]
WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self $(MORE_WARNINGS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bonnie++.rb:94:1: C: Trailing whitespace detected.
Library/Formula/bonnie++.rb:102:1: C: Trailing whitespace detected.
Library/Formula/boost-bcp.rb:3:1: C: Missing top-level class documentation comment.
class BoostBcp < Formula
^^^^^
Library/Formula/boost-bcp.rb:5:80: C: Line is too long. [89/79]
url 'https://downloads.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2'
^^^^^^^^^^
Library/Formula/boost-bcp.rb:14:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "b2"
^^^^
Library/Formula/boost-bcp.rb:15:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "../../dist/bin"
^^^^^^^^^^^^^^^^
Library/Formula/boost-build.rb:3:1: C: Missing top-level class documentation comment.
class BoostBuild < Formula
^^^^^
Library/Formula/boost-build.rb:12:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap.sh"
^^^^^^^^^^^^^^^^
Library/Formula/boost-build.rb:13:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./b2", "--prefix=#{prefix}", "install"
^^^^^^
Library/Formula/boost-build.rb:13:44: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./b2", "--prefix=#{prefix}", "install"
^^^^^^^^^
Library/Formula/boost-build.rb:16:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap.sh"
^^^^^^^^^^^^^^^^
Library/Formula/boost-build.rb:17:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./b2", "--prefix=#{prefix}", "install"
^^^^^^
Library/Formula/boost-build.rb:17:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./b2", "--prefix=#{prefix}", "install"
^^^^^^^^^
Library/Formula/boost.rb:3:1: C: Missing top-level class documentation comment.
class UniversalPython < Requirement
^^^^^
Library/Formula/boost.rb:4:11: C: Use the new Ruby 1.9 hash syntax.
satisfy(:build_env => false) { archs_for_command("python").universal? }
^^^^^^^^^^^^^
Library/Formula/boost.rb:4:52: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
satisfy(:build_env => false) { archs_for_command("python").universal? }
^^^^^^^^
Library/Formula/boost.rb:15:1: C: Class definition is too long. [122/100]
class Boost < Formula
^^^^^
Library/Formula/boost.rb:15:1: C: Missing top-level class documentation comment.
class Boost < Formula
^^^^^
Library/Formula/boost.rb:17:80: C: Line is too long. [89/79]
url 'https://downloads.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2'
^^^^^^^^^^
Library/Formula/boost.rb:39:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :python => :recommended
^^^^^^^^^^
Library/Formula/boost.rb:40:50: C: Use && instead of and.
depends_on UniversalPython if build.universal? and build.with? "python"
^^^
Library/Formula/boost.rb:40:66: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on UniversalPython if build.universal? and build.with? "python"
^^^^^^^^
Library/Formula/boost.rb:54:18: C: Use the new Ruby 1.9 hash syntax.
depends_on :mpi => [:cc, :cxx, :optional]
^^^^^^^
Library/Formula/boost.rb:62:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cause "Dropped arguments to functions when linking with boost"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:65:3: C: Cyclomatic complexity for install is too high. [20/6]
def install
^^^
Library/Formula/boost.rb:65:3: C: Method has too many lines. [59/10]
def install
^^^
Library/Formula/boost.rb:67:26: C: Use && instead of and.
if build.with? 'mpi' and build.with? 'single'
^^^
Library/Formula/boost.rb:68:7: C: Use `fail` instead of `raise` to signal exceptions.
raise <<-EOS.undent
^^^^^
Library/Formula/boost.rb:75:21: C: Use && instead of and.
if build.cxx11? and build.with? 'mpi' and build.with? 'python'
^^^
Library/Formula/boost.rb:75:43: C: Use && instead of and.
if build.cxx11? and build.with? 'mpi' and build.with? 'python'
^^^
Library/Formula/boost.rb:76:7: C: Use `fail` instead of `raise` to signal exceptions.
raise <<-EOS.undent
^^^^^
Library/Formula/boost.rb:92:80: C: Line is too long. [84/79]
# libboost_regex-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
^^^^^
Library/Formula/boost.rb:93:80: C: Line is too long. [89/79]
# libboost_filesystem-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
^^^^^^^^^^
Library/Formula/boost.rb:94:80: C: Line is too long. [85/79]
# libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
^^^^^^
Library/Formula/boost.rb:99:80: C: Line is too long. [99/79]
# /usr/local/lib/libboost_regex-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:100:80: C: Line is too long. [104/79]
# /usr/local/lib/libboost_filesystem-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:101:80: C: Line is too long. [100/79]
# /usr/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:102:80: C: Line is too long. [109/79]
inreplace 'tools/build/v2/tools/darwin.jam', '-install_name "', "-install_name \"#{HOMEBREW_PREFIX}/lib/"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:105:80: C: Line is too long. [91/79]
inreplace 'tools/build/v2/engine/build.sh', 'BOOST_JAM_CC=cc', "BOOST_JAM_CC=#{ENV.cc}"
^^^^^^^^^^^^
Library/Formula/boost.rb:106:80: C: Line is too long. [96/79]
inreplace 'tools/build/v2/engine/build.jam', 'toolset darwin cc', "toolset darwin #{ENV.cc}"
^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:109:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
open("user-config.jam", "a") do |file|
^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:109:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
open("user-config.jam", "a") do |file|
^^^
Library/Formula/boost.rb:131:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
without_libraries << "context"
^^^^^^^^^
Library/Formula/boost.rb:133:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
without_libraries << "coroutine"
^^^^^^^^^^^
Library/Formula/boost.rb:138:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
without_libraries << "log" if ENV.compiler == :gcc || ENV.compiler == :llvm
^^^^^
Library/Formula/boost.rb:140:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
without_libraries << "python" if build.without? 'python'
^^^^^^^^
Library/Formula/boost.rb:141:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
without_libraries << "mpi" if build.without? 'mpi'
^^^^^
Library/Formula/boost.rb:147:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-d2",
^^^^^
Library/Formula/boost.rb:149:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--layout=tagged",
^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:150:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--user-config=user-config.jam",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:151:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"]
^^^^^^^^^
Library/Formula/boost.rb:153:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "single"
^^^^^^^^
Library/Formula/boost.rb:154:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "threading=multi,single"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:156:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "threading=multi"
^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:159:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "static"
^^^^^^^^
Library/Formula/boost.rb:160:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "link=shared,static"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:162:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "link=shared"
^^^^^^^^^^^^^
Library/Formula/boost.rb:165:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "address-model=32_64" << "architecture=x86" << "pch=off" if build.universal?
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:165:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "address-model=32_64" << "architecture=x86" << "pch=off" if build.universal?
^^^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:165:60: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "address-model=32_64" << "architecture=x86" << "pch=off" if build.universal?
^^^^^^^^^
Library/Formula/boost.rb:165:80: C: Line is too long. [88/79]
args << "address-model=32_64" << "architecture=x86" << "pch=off" if build.universal?
^^^^^^^^^
Library/Formula/boost.rb:167:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap.sh", *bargs
^^^^^^^^^^^^^^^^
Library/Formula/boost.rb:168:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./b2", *args
^^^^^^
Library/Formula/boost.rb:171:3: C: Cyclomatic complexity for caveats is too high. [7/6]
def caveats
^^^
Library/Formula/boost.rb:171:3: C: Method has too many lines. [20/10]
def caveats
^^^
Library/Formula/boost.rb:190:21: C: Use && instead of and.
if pour_bottle? and Formula['python'].installed?
^^^
Library/Formula/boost.rb:193:80: C: Line is too long. [81/79]
The Boost bottle's module will not import into a Homebrew-installed Python.
^^
Library/Formula/boot2docker.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/boot2docker.rb:3:1: C: Missing top-level class documentation comment.
class Boot2docker < Formula
^^^^^
Library/Formula/boot2docker.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "https://github.com/boot2docker/boot2docker"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boot2docker.rb:5:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
head "https://github.com/boot2docker/boot2docker.git"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/boot2docker.rb:9:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "docker" => :recommended
^^^^^^^^
Library/Formula/boot2docker.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "boot2docker"
^^^^^^^^^^^^^
Library/Formula/botan.rb:3:1: C: Missing top-level class documentation comment.
class Botan < Formula
^^^^^
Library/Formula/botan.rb:11:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/botan.rb:13:3: C: Method has too many lines. [13/10]
def install
^^^
Library/Formula/botan.rb:25:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--enable-debug" if build.include? "enable-debug"
^^^^^^^^^^^^^^^^
Library/Formula/botan.rb:25:48: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--enable-debug" if build.include? "enable-debug"
^^^^^^^^^^^^^^
Library/Formula/botan.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure.py", *args
^^^^^^^^^^^^^^^^
Library/Formula/botan.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "MACH_OPT=#{ENV.cflags}"
^^^^^^
Library/Formula/botan.rb:30:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "MACH_OPT=#{ENV.cflags}"
^^^^^^^^^
Library/Formula/botan.rb:44:80: C: Line is too long. [81/79]
+SHARED_LIB = $(LIBNAME)-$(SERIES).%{so_abi_rev}.%{version_patch}.%{so_suffix}
^^
Library/Formula/box2d.rb:3:1: C: Missing top-level class documentation comment.
class Box2d < Formula
^^^^^
Library/Formula/box2d.rb:13:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "-DBOX2D_INSTALL=ON",
^^^^^^^
Library/Formula/box2d.rb:13:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "-DBOX2D_INSTALL=ON",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/box2d.rb:14:25: C: Align the parameters of a method call if they span more than one line.
"-DBOX2D_BUILD_SHARED=ON",
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/box2d.rb:14:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-DBOX2D_BUILD_SHARED=ON",
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/box2d.rb:15:25: C: Align the parameters of a method call if they span more than one line.
"-DBOX2D_BUILD_EXAMPLES=OFF",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/box2d.rb:15:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-DBOX2D_BUILD_EXAMPLES=OFF",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/box2d.rb:16:25: C: Align the parameters of a method call if they span more than one line.
*std_cmake_args
^^^^^^^^^^^^^^^
Library/Formula/box2d.rb:17:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/boxes.rb:3:1: C: Missing top-level class documentation comment.
class Boxes < Formula
^^^^^
Library/Formula/boxes.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "GLOBALCONF=#{share}/boxes-config", "CC=#{ENV.cc}"
^^^^^^
Library/Formula/bpm-tools.rb:3:1: C: Missing top-level class documentation comment.
class BpmTools < Formula
^^^^^
Library/Formula/bpm-tools.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/brag.rb:3:1: C: Missing top-level class documentation comment.
class Brag < Formula
^^^^^
Library/Formula/brag.rb:5:80: C: Line is too long. [83/79]
url 'https://downloads.sourceforge.net/project/brag/brag/1.4.3/brag-1.4.3.tar.gz'
^^^^
Library/Formula/brag.rb:11:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "brag"
^^^^^^
Library/Formula/brag.rb:12:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "brag.1"
^^^^^^^^
Library/Formula/brag.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/brag", "-s", "news.bu.edu", "-L"
^^^^
Library/Formula/brag.rb:16:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/brag", "-s", "news.bu.edu", "-L"
^^^^^^^^^^^^^
Library/Formula/brag.rb:16:48: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/brag", "-s", "news.bu.edu", "-L"
^^^^
Library/Formula/brew-gem.rb:3:1: C: Missing top-level class documentation comment.
class BrewGem < Formula
^^^^^
Library/Formula/brew-pip.rb:3:1: C: Missing top-level class documentation comment.
class BrewPip < Formula
^^^^^
Library/Formula/briss.rb:3:1: C: Missing top-level class documentation comment.
class Briss < Formula
^^^^^
Library/Formula/briss.rb:5:80: C: Line is too long. [86/79]
url 'https://downloads.sourceforge.net/project/briss/release%200.9/briss-0.9.tar.gz'
^^^^^^^
Library/Formula/briss.rb:10:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/"briss-#{version}.jar", "briss"
^
Library/Formula/briss.rb:10:58: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.write_jar_script libexec/"briss-#{version}.jar", "briss"
^^^^^^^
Library/Formula/bro.rb:3:1: C: Missing top-level class documentation comment.
class Bro < Formula
^^^^^
Library/Formula/bro.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/bro.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/browser.rb:3:1: C: Missing top-level class documentation comment.
class Browser < GithubGistFormula
^^^^^
Library/Formula/browser.rb:4:80: C: Line is too long. [91/79]
url 'https://gist.github.com/raw/318247/bcbcf6c5fb730b4f508c633cce56ba17828825c8/browser'
^^^^^^^^^^^^
Library/Formula/bsdconv.rb:5:1: C: Missing top-level class documentation comment.
class Bsdconv < Formula
^^^^^
Library/Formula/bsdconv.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}"
^^^^^^
Library/Formula/bsdconv.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}", "install"
^^^^^^
Library/Formula/bsdconv.rb:14:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "PREFIX=#{prefix}", "install"
^^^^^^^^^
Library/Formula/bsdconv.rb:19:36: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open3.popen3("#{bin}/bsdconv", "big5:utf-8") do |stdin, stdout, _|
^^^^^^^^^^^^
Library/Formula/bsdconv.rb:22:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "許功蓋", stdout.read
^^^^^
Library/Formula/bsdiff.rb:3:1: C: Missing top-level class documentation comment.
class Bsdiff < Formula
^^^^^
Library/Formula/bsdiff.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "bsdmake"
^^^^^^^^^
Library/Formula/bsdiff.rb:16:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bsdiff"
^^^^^^^^
Library/Formula/bsdiff.rb:17:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "bsdiff.1"
^^^^^^^^^^
Library/Formula/bsdiff.rb:27:80: C: Line is too long. [101/79]
__FBSDID("$FreeBSD: src/usr.bin/bsdiff/bspatch/bspatch.c,v 1.1 2005/08/06 01:59:06 cperciva Exp $");
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bsdiff.rb:29:1: C: Trailing whitespace detected.
Library/Formula/bsdmake.rb:3:1: C: Missing top-level class documentation comment.
class Bsdmake < Formula
^^^^^
Library/Formula/bsdmake.rb:8:39: C: Use || instead of or.
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/bsdmake"
^^
Library/Formula/bsdmake.rb:8:53: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/bsdmake"
^^^^^^^^^^^^^^^^^^
Library/Formula/bsdmake.rb:9:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
keg_only "Recent versions of OS X no longer provide this tool."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bsdmake.rb:15:7: C: Use the new Ruby 1.9 hash syntax.
{ :p0 => %W[
^^^^^^
Library/Formula/bsdmake.rb:16:80: C: Line is too long. [97/79]
https://trac.macports.org/export/90868/trunk/dports/devel/bsdmake/files/patch-Makefile.diff
^^^^^^^^^^^^^^^^^^
Library/Formula/bsdmake.rb:17:80: C: Line is too long. [91/79]
https://trac.macports.org/export/90611/trunk/dports/devel/bsdmake/files/patch-mk.diff
^^^^^^^^^^^^
Library/Formula/bsdmake.rb:18:80: C: Line is too long. [98/79]
https://trac.macports.org/export/90611/trunk/dports/devel/bsdmake/files/patch-pathnames.diff
^^^^^^^^^^^^^^^^^^^
Library/Formula/bsdmake.rb:19:80: C: Line is too long. [99/79]
https://trac.macports.org/export/105220/trunk/dports/devel/bsdmake/files/patch-setrlimit.diff
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bsdmake.rb:20:6: C: Space inside } missing.
]}
^
Library/Formula/bsdmake.rb:23:3: C: Method has too many lines. [20/10]
def install
^^^
Library/Formula/bsdmake.rb:36:18: C: Align the parameters of a method call if they span more than one line.
'@PREFIX@', prefix
^^^^^^^^^^
Library/Formula/bsdmake.rb:47:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "Makefile.dist"
^^^^^^
Library/Formula/bsdmake.rb:47:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "Makefile.dist"
^^^^
Library/Formula/bsdmake.rb:47:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "Makefile.dist"
^^^^^^^^^^^^^^^
Library/Formula/bsdmake.rb:50:11: C: Surrounding space missing for operator '/'.
(share/'mk/bsdmake').install Dir['mk/*']
^
Library/Formula/bsdsfv.rb:3:1: C: Missing top-level class documentation comment.
class Bsdsfv < Formula
^^^^^
Library/Formula/bsdsfv.rb:5:80: C: Line is too long. [87/79]
url 'https://downloads.sourceforge.net/project/bsdsfv/bsdsfv/1.18/bsdsfv-1.18.tar.gz'
^^^^^^^^
Library/Formula/bsdsfv.rb:9:80: C: Line is too long. [85/79]
# http://sourceforge.net/tracker/?func=detail&aid=2887842&group_id=7211&atid=107211
^^^^^^
Library/Formula/bsdsfv.rb:19:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "INSTALL_PREFIX", prefix
^^^^^^^^^^^^^^^^
Library/Formula/bsdsfv.rb:20:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "INDENT", "indent"
^^^^^^^^
Library/Formula/bsdsfv.rb:20:36: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "INDENT", "indent"
^^^^^^^^
Library/Formula/bsdsfv.rb:21:80: C: Line is too long. [102/79]
s.gsub! ' ${INSTALL_PROGRAM} bsdsfv ${INSTALL_PREFIX}/bin', " ${INSTALL_PROGRAM} bsdsfv #{bin}/"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bsdsfv.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make all"
^^^^^^^^^^
Library/Formula/bsdsfv.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bsdsfv.rb:34:1: C: Tab detected.
char filename[FNAMELEN];
^
Library/Formula/bsdsfv.rb:37:1: C: Tab detected.
int found;
^
Library/Formula/bsponmpi.rb:3:1: C: Missing top-level class documentation comment.
class Bsponmpi < Formula
^^^^^
Library/Formula/bsponmpi.rb:5:80: C: Line is too long. [91/79]
url 'https://downloads.sourceforge.net/project/bsponmpi/bsponmpi/0.3/bsponmpi-0.3.tar.gz'
^^^^^^^^^^^^
Library/Formula/bsponmpi.rb:9:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :mpi => [:cc, :cxx]
^^^^^^^
Library/Formula/bsponmpi.rb:15:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scons "-Q", "mode=release"
^^^^
Library/Formula/bsponmpi.rb:15:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scons "-Q", "mode=release"
^^^^^^^^^^^^^^
Library/Formula/btparse.rb:3:1: C: Missing top-level class documentation comment.
class Btparse < Formula
^^^^^
Library/Formula/btparse.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/btparse.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/btparse.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/btparse.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/btparse.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/btparse.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/btparse.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/btpd.rb:3:1: C: Missing top-level class documentation comment.
class Btpd < Formula
^^^^^
Library/Formula/btpd.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/btpd.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/btpd.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/btpd.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/buildapp.rb:3:1: C: Missing top-level class documentation comment.
class Buildapp < Formula
^^^^^
Library/Formula/buildapp.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "DESTDIR=#{prefix}"
^^^^^^
Library/Formula/buildapp.rb:12:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "DESTDIR=#{prefix}"
^^^^^^^^^
Library/Formula/bulk_extractor.rb:3:1: C: Missing top-level class documentation comment.
class BulkExtractor < Formula
^^^^^
Library/Formula/bulk_extractor.rb:5:80: C: Line is too long. [86/79]
url 'http://digitalcorpora.org/downloads/bulk_extractor/bulk_extractor-1.4.4.tar.gz'
^^^^^^^
Library/Formula/bulk_extractor.rb:17:80: C: Line is too long. [96/79]
# https://groups.google.com/group/bulk_extractor-users/browse_thread/thread/ff7cc11e8e6d8e8d
^^^^^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:18:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://gist.github.com/raw/3785687/3a61d57539c2b9ecde44121b370db85ff9d4f86e/makefile.in.patch"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:18:80: C: Line is too long. [100/79]
"https://gist.github.com/raw/3785687/3a61d57539c2b9ecde44121b370db85ff9d4f86e/makefile.in.patch"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bulk_extractor.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:28:11: C: Surrounding space missing for operator '/'.
(share/'bulk_extractor/doc').install Dir['doc/*.{html,txt,pdf}']
^
Library/Formula/bulk_extractor.rb:30:9: C: Surrounding space missing for operator '/'.
(lib/'python2.7/site-packages').install Dir['python/*.py']
^
Library/Formula/bulk_extractor.rb:34:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g"
^
Library/Formula/bulk_extractor.rb:34:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g"
^^^^^^^^^^^^^^
Library/Formula/bulk_extractor.rb:34:50: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g"
^^^^^^^^^^
Library/Formula/bulk_extractor.rb:34:62: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g"
^^^^^^^^
Library/Formula/bullet.rb:3:1: C: Missing top-level class documentation comment.
class Bullet < Formula
^^^^^
Library/Formula/bullet.rb:19:3: C: Cyclomatic complexity for install is too high. [10/6]
def install
^^^
Library/Formula/bullet.rb:19:3: C: Method has too many lines. [22/10]
def install
^^^
Library/Formula/bullet.rb:22:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.include? "framework"
^^^^^^^^^^^
Library/Formula/bullet.rb:23:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DBUILD_SHARED_LIBS=ON" << "-DFRAMEWORK=ON"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:23:43: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DBUILD_SHARED_LIBS=ON" << "-DFRAMEWORK=ON"
^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:27:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DBUILD_SHARED_LIBS=ON" if build.include? "shared"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:27:58: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DBUILD_SHARED_LIBS=ON" if build.include? "shared"
^^^^^^^^
Library/Formula/bullet.rb:31:80: C: Line is too long. [113/79]
args << "-DCMAKE_OSX_ARCHITECTURES='#{Hardware::CPU.universal_archs.as_cmake_arch_flags}" if build.universal?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:32:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DUSE_DOUBLE_PRECISION=ON" if build.include? "double-precision"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:32:59: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DUSE_DOUBLE_PRECISION=ON" if build.include? "double-precision"
^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:34:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DBUILD_DEMOS=OFF" unless build.include? "build-demo"
^^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:34:55: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DBUILD_DEMOS=OFF" unless build.include? "build-demo"
^^^^^^^^^^^^
Library/Formula/bullet.rb:37:80: C: Line is too long. [84/79]
# https://code.google.com/p/bullet/issues/detail?id=767&thanks=767&ts=1384333052
^^^^^
Library/Formula/bullet.rb:38:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.include? "build-extra" or build.include? "build-demo"
^^^^^^^^^^^^^
Library/Formula/bullet.rb:38:37: C: Use || instead of or.
if build.include? "build-extra" or build.include? "build-demo"
^^
Library/Formula/bullet.rb:38:55: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.include? "build-extra" or build.include? "build-demo"
^^^^^^^^^^^^
Library/Formula/bullet.rb:39:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DINSTALL_EXTRA_LIBS=ON"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:41:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DBUILD_EXTRAS=OFF"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bullet.rb:44:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", *args
^^^^^^^
Library/Formula/bullet.rb:45:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bullet.rb:46:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bullet.rb:48:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install 'Demos' if build.include? "build-demo"
^^^^^^^^^^^^
Library/Formula/bullet.rb:49:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install 'Extras' if build.include? "build-extra"
^^^^^^^^^^^^^
Library/Formula/bup.rb:3:1: C: Missing top-level class documentation comment.
class Bup < Formula
^^^^^
Library/Formula/bup.rb:5:42: C: Use the new Ruby 1.9 hash syntax.
head 'https://github.com/bup/bup.git', :branch => 'master'
^^^^^^^^^^
Library/Formula/bup.rb:9:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "run-tests", "Run unit tests after compilation"
^^^^^^^^^^^
Library/Formula/bup.rb:9:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "run-tests", "Run unit tests after compilation"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bup.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/bup.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make test" if build.include? "run-tests"
^^^^^^^^^^^
Library/Formula/bup.rb:13:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make test" if build.include? "run-tests"
^^^^^^^^^^^
Library/Formula/bup.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "DESTDIR=#{prefix}", "PREFIX="
^^^^^^
Library/Formula/bup.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "DESTDIR=#{prefix}", "PREFIX="
^^^^^^^^^
Library/Formula/bup.rb:14:52: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "DESTDIR=#{prefix}", "PREFIX="
^^^^^^^^^
Library/Formula/burl.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/burl.rb:3:1: C: Missing top-level class documentation comment.
class Burl < Formula
^^^^^
Library/Formula/burl.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "https://github.com/visionmedia/burl"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burl.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://github.com/visionmedia/burl/archive/1.0.1.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burl.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "ee21caa267af9e3c679f3c4c38d4ccd6ba2dd655"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burl.rb:9:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bin/burl"
^^^^^^^^^^
Library/Formula/burl.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/burl", "-I", "github.com"
^^^^
Library/Formula/burl.rb:13:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/burl", "-I", "github.com"
^^^^^^^^^^^^
Library/Formula/burp.rb:3:1: C: Missing top-level class documentation comment.
class Burp < Formula
^^^^^
Library/Formula/burp.rb:5:80: C: Line is too long. [86/79]
url 'https://downloads.sourceforge.net/project/burp/burp-1.3.36/burp-1.3.36.tar.bz2'
^^^^^^^
Library/Formula/burp.rb:12:80: C: Line is too long. [82/79]
# patches to change directories to brew conventions in Makefile and config files
^^^
Library/Formula/burp.rb:18:3: C: Use 2 (not 1) spaces for indentation.
system "./configure", "--prefix=#{prefix}",
^
Library/Formula/burp.rb:18:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/burp.rb:19:26: C: Align the parameters of a method call if they span more than one line.
"--sysconfdir=#{etc}/burp",
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burp.rb:20:26: C: Align the parameters of a method call if they span more than one line.
"--sbindir=#{bin}",
^^^^^^^^^^^^^^^^^^
Library/Formula/burp.rb:21:26: C: Align the parameters of a method call if they span more than one line.
"--localstatedir=#{var}/burp"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burp.rb:22:1: C: Inconsistent indentation detected.
system "make", "install"
^^^^
Library/Formula/burp.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/burp.rb:22:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/burp.rb:26:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/burp", "-v"
^^^^
Library/Formula/burp.rb:29:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :startup => true
^^^^^^^^^^^
Library/Formula/burp.rb:31:3: C: Method has too many lines. [23/10]
def plist; <<-EOS.undent
^^^
Library/Formula/burp.rb:33:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burp.rb:58:80: C: Line is too long. [80/79]
Before installing the launchd entry you should configure your burp client in
^
Library/Formula/burp.rb:62:1: C: Extra empty line detected at body end.
Library/Formula/burp.rb:71:2: C: Tab detected.
$(MKDIR) $(DESTDIR)$(sbindir)
^
Library/Formula/burp.rb:72:2: C: Tab detected.
$(MKDIR) $(DESTDIR)$(sysconfdir)
^
Library/Formula/burp.rb:73:2: C: Tab detected.
$(MKDIR) $(DESTDIR)$(sysconfdir)/CA-client
^
Library/Formula/burp.rb:78:2: C: Tab detected.
@if [ ! -d $(DESTDIR)$(sysconfdir)/clientconfdir ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/clientconfdir ; cp configs/server/clientconfdir/testclient $(DESTDIR)$(sysconfdir)/clientconfdir/testclient ; fi
^
Library/Formula/burp.rb:78:80: C: Line is too long. [205/79]
@if [ ! -d $(DESTDIR)$(sysconfdir)/clientconfdir ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/clientconfdir ; cp configs/server/clientconfdir/testclient $(DESTDIR)$(sysconfdir)/clientconfdir/testclient ; fi
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burp.rb:79:2: C: Tab detected.
@if [ ! -d $(DESTDIR)$(sysconfdir)/clientconfdir/incexc ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/clientconfdir/incexc ; cp configs/server/clientconfdir/incexc $(DESTDIR)$(sysconfdir)/clientconfdir/incexc/example ; fi
^
Library/Formula/burp.rb:79:80: C: Line is too long. [219/79]
@if [ ! -d $(DESTDIR)$(sysconfdir)/clientconfdir/incexc ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/clientconfdir/incexc ; cp configs/server/clientconfdir/incexc $(DESTDIR)$(sysconfdir)/clientconfdir/incexc/example ; fi
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burp.rb:80:2: C: Tab detected.
@if [ ! -d $(DESTDIR)$(sysconfdir)/autoupgrade/client ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/autoupgrade/client ; fi
^
Library/Formula/burp.rb:80:80: C: Line is too long. [121/79]
@if [ ! -d $(DESTDIR)$(sysconfdir)/autoupgrade/client ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/autoupgrade/client ; fi
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/burp.rb:116:1: C: Trailing whitespace detected.
Library/Formula/burp.rb:117:80: C: Line is too long. [80/79]
# Uncomment the following lines to automatically generate a certificate signing
^
Library/Formula/burp.rb:123:1: C: Trailing whitespace detected.
Library/Formula/burp.rb:127:1: C: Trailing whitespace detected.
Library/Formula/burp.rb:131:1: C: Trailing whitespace detected.
Library/Formula/burp.rb:135:1: C: Trailing whitespace detected.
Library/Formula/burp.rb:137:16: C: Trailing whitespace detected.
#ssl_ciphers =
^
Library/Formula/bvi.rb:3:1: C: Missing top-level class documentation comment.
class Bvi < Formula
^^^^^
Library/Formula/bvi.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/bvi.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/bwm-ng.rb:3:1: C: Missing top-level class documentation comment.
class BwmNg < Formula
^^^^^
Library/Formula/bwm-ng.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/bwm-ng.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/bwm-ng.rb:10:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/bwm-ng.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/bwm-ng.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/byacc.rb:3:1: C: Missing top-level class documentation comment.
class Byacc < Formula
^^^^^
Library/Formula/byacc.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/byacc.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/byacc.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/byacc.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--program-prefix=b",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/byacc.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--program-prefix=b",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/byacc.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/byacc.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--man=#{man}"
^^^^^^^^^^^^^^
Library/Formula/byacc.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/byobu.rb:3:1: C: Missing top-level class documentation comment.
class Byobu < Formula
^^^^^
Library/Formula/byobu.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/byobu.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/c-ares.rb:3:1: C: Missing top-level class documentation comment.
class CAres < Formula
^^^^^
Library/Formula/c-ares.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/c-ares.rb:10:27: C: Align the parameters of a method call if they span more than one line.
'--disable-dependency-tracking',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/c-ares.rb:11:27: C: Align the parameters of a method call if they span more than one line.
'--disable-debug'
^^^^^^^^^^^^^^^^^
Library/Formula/c-ares.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/c-kermit.rb:3:1: C: Missing top-level class documentation comment.
class CKermit < Formula
^^^^^
Library/Formula/c-kermit.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make macosx"
^^^^^^^^^^^^^
Library/Formula/c-kermit.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}", "manroot=#{share}", "install"
^^^^^^
Library/Formula/c-kermit.rb:16:60: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}", "manroot=#{share}", "install"
^^^^^^^^^
Library/Formula/cabal-install.rb:3:1: C: Missing top-level class documentation comment.
class CabalInstall < Formula
^^^^^
Library/Formula/cabal-install.rb:5:80: C: Line is too long. [95/79]
url 'http://hackage.haskell.org/package/cabal-install-1.18.0.2/cabal-install-1.18.0.2.tar.gz'
^^^^^^^^^^^^^^^^
Library/Formula/cabal-install.rb:27:7: C: Align the parameters of a method call if they span more than one line.
'list --global --no-user-package-db'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cabal-install.rb:30:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bin/cabal"
^^^^^^^^^^^
Library/Formula/cabextract.rb:3:1: C: Missing top-level class documentation comment.
class Cabextract < Formula
^^^^^
Library/Formula/cabextract.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cabextract.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cabextract.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cabextract.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cabocha.rb:3:1: C: Missing top-level class documentation comment.
class Cabocha < Formula
^^^^^
Library/Formula/cabocha.rb:13:3: C: Method has too many lines. [12/10]
def install
^^^
Library/Formula/cabocha.rb:14:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV["LIBS"] = '-liconv'
^^^^^^
Library/Formula/cabocha.rb:21:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
posset = ARGV.value('posset') || "IPA"
^^^^^
Library/Formula/cabocha.rb:22:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["--with-charset=utf8",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cabocha.rb:23:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cabocha.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/cabocha.rb:28:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cadaver.rb:3:1: C: Missing top-level class documentation comment.
class Cadaver < Formula
^^^^^
Library/Formula/cadaver.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/cadaver.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--with-neon=#{neon_prefix}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cadaver.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--with-ssl"
^^^^^^^^^^^^
Library/Formula/cadaver.rb:23:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-ssl"
^^^^^^^^^^^^
Library/Formula/cadaver.rb:25:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/cadaver.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cadaver.rb:45:1: C: Trailing whitespace detected.
Library/Formula/cadaver.rb:47:80: C: Line is too long. [101/79]
- { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&5
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cadaver.rb:48:80: C: Line is too long. [89/79]
-$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&6;}
^^^^^^^^^^
Library/Formula/cadaver.rb:49:80: C: Line is too long. [104/79]
+ { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&5
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cadaver.rb:50:80: C: Line is too long. [92/79]
+$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&6;}
^^^^^^^^^^^^^
Library/Formula/cadaver.rb:53:1: C: 1 trailing blank lines detected.
Library/Formula/cadaver.rb:53:1: C: Trailing whitespace detected.
Library/Formula/cadubi.rb:3:1: C: Missing top-level class documentation comment.
class Cadubi < Formula
^^^^^
Library/Formula/cairo.rb:6:1: C: Missing top-level class documentation comment.
class Cairo < Formula
^^^^^
Library/Formula/cairo.rb:9:80: C: Line is too long. [92/79]
mirror 'https://downloads.sourceforge.net/project/machomebrew/mirror/cairo-1.12.16.tar.xz'
^^^^^^^^^^^^^
Library/Formula/cairo.rb:13:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "fb623b0b06693dfb659c3dc87bd65d0285a9c0ed" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairo.rb:14:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "ae417942cd2b091d183cc02fdb1f70c11d836090" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairo.rb:15:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "d71a2ed86188601756a49c1dd7264636d90e3966" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairo.rb:24:18: C: Surrounding space missing for operator '=>'.
depends_on 'xz'=> :build
^^
Library/Formula/cairo.rb:33:3: C: Method has too many lines. [14/10]
def install
^^^
Library/Formula/cairo.rb:50:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/cairo.rb:51:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cairomm.rb:3:1: C: Missing top-level class documentation comment.
class Cairomm < Formula
^^^^^
Library/Formula/cairomm.rb:9:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "a755e155b8568e9345b0519fadc9cc0f1520e0a3" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairomm.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "7c4f267a6de185c1b2443d1e1e0b9522dd017064" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairomm.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "d93ad16013188911f8afe180dcfc6ea832f826f8" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairomm.rb:24:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on :x11 if build.with? "x"
^^^
Library/Formula/cairomm.rb:28:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cairomm.rb:28:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairomm.rb:29:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cairomm.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/calabash.rb:3:1: C: Missing top-level class documentation comment.
class Calabash < Formula
^^^^^
Library/Formula/calabash.rb:13:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
libexec.install Dir["*"]
^^^
Library/Formula/calabash.rb:14:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/'calabash.jar', 'calabash', '-Xmx1024m'
^
Library/Formula/calc.rb:3:1: C: Missing top-level class documentation comment.
class Calc < Formula
^^^^^
Library/Formula/calc.rb:15:3: C: Method has too many lines. [24/10]
def install
^^^
Library/Formula/calc.rb:22:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile" do |s|
^^^^^^^^^^
Library/Formula/calc.rb:23:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "INCDIR", include
^^^^^^^^
Library/Formula/calc.rb:24:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "BINDIR", bin
^^^^^^^^
Library/Formula/calc.rb:25:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "LIBDIR", lib
^^^^^^^^
Library/Formula/calc.rb:26:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "MANDIR", man1
^^^^^^^^
Library/Formula/calc.rb:27:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "CALC_SHAREDIR", "#{share}/calc"
^^^^^^^^^^^^^^^
Library/Formula/calc.rb:28:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "USE_READLINE", "-DUSE_READLINE"
^^^^^^^^^^^^^^
Library/Formula/calc.rb:28:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "USE_READLINE", "-DUSE_READLINE"
^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:29:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "READLINE_LIB", "-L#{readline.lib} -lreadline"
^^^^^^^^^^^^^^
Library/Formula/calc.rb:30:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "READLINE_EXTRAS", "-lhistory -lncurses"
^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:30:45: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "READLINE_EXTRAS", "-lhistory -lncurses"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:31:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "LIBCALC_SHLIB",
^^^^^^^^^^^^^^^
Library/Formula/calc.rb:32:9: C: Align the parameters of a method call if they span more than one line.
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcalc${LIB_EXT_VERSION}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:32:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcalc${LIB_EXT_VERSION}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:32:80: C: Line is too long. [112/79]
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcalc${LIB_EXT_VERSION}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:33:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s.change_make_var! "LIBCUSTCALC_SHLIB",
^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:34:9: C: Align the parameters of a method call if they span more than one line.
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcustcalc${LIB_EXT_VERSION}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:34:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcustcalc${LIB_EXT_VERSION}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:34:80: C: Line is too long. [116/79]
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcustcalc${LIB_EXT_VERSION}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:36:9: C: Align the parameters of a method call if they span more than one line.
"MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} #{ENV.cc}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calc.rb:40:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/calc.rb:41:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/calc.rb:47:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "11", output
^^^^
Library/Formula/calc.rb:48:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/calcurse.rb:3:1: C: Missing top-level class documentation comment.
class Calcurse < Formula
^^^^^
Library/Formula/calcurse.rb:12:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://github.com/jacknagel/calcurse/commit/86dd23f87bcbb32a69f5f0391439238d4e389d77.patch"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calcurse.rb:12:80: C: Line is too long. [97/79]
"https://github.com/jacknagel/calcurse/commit/86dd23f87bcbb32a69f5f0391439238d4e389d77.patch"
^^^^^^^^^^^^^^^^^^
Library/Formula/calcurse.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/calcurse.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/calcurse.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/calcurse.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/camellia.rb:3:1: C: Missing top-level class documentation comment.
class Camellia < Formula
^^^^^
Library/Formula/camellia.rb:5:80: C: Line is too long. [116/79]
url 'https://downloads.sourceforge.net/project/camellia/Unix_Linux%20Distribution/v2.7.0/CamelliaLib-2.7.0.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/camellia.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/camellia.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/camellia.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/camellia.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/camellia.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/camlistore.rb:3:1: C: Missing top-level class documentation comment.
class Camlistore < Formula
^^^^^
Library/Formula/camlistore.rb:5:58: C: Use the new Ruby 1.9 hash syntax.
head 'https://camlistore.googlesource.com/camlistore', :using => :git
^^^^^^^^^
Library/Formula/camlistore.rb:14:37: C: Surrounding space missing for operator '+'.
ENV['GIT_DIR'] = cached_download+".git"
^
Library/Formula/camlistore.rb:14:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV['GIT_DIR'] = cached_download+".git"
^^^^^^
Library/Formula/camlistore.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "go", "run", "make.go"
^^^^
Library/Formula/camlistore.rb:16:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "go", "run", "make.go"
^^^^^
Library/Formula/camlistore.rb:16:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "go", "run", "make.go"
^^^^^^^^^
Library/Formula/camlistore.rb:17:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "bin/README"
^^^^^^^^^^^^
Library/Formula/camlistore.rb:18:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "bin"
^^^^^
Library/Formula/camlistore.rb:22:15: C: Surrounding space missing for operator '/'.
system bin/"camget", "-version"
^
Library/Formula/camlistore.rb:22:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"camget", "-version"
^^^^^^^^
Library/Formula/camlistore.rb:22:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"camget", "-version"
^^^^^^^^^^
Library/Formula/camlp5.rb:3:1: C: Missing top-level class documentation comment.
class Camlp5 < Formula
^^^^^
Library/Formula/camlp5.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
strictness = "-strict"
^^^^^^^^^
Library/Formula/camlp5.rb:16:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
strictness = "-transitional"
^^^^^^^^^^^^^^^
Library/Formula/camlp5.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "-prefix", prefix, "-mandir", man, strictness
^^^^^^^^^^^^^
Library/Formula/camlp5.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "-prefix", prefix, "-mandir", man, strictness
^^^^^^^^^
Library/Formula/camlp5.rb:19:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "-prefix", prefix, "-mandir", man, strictness
^^^^^^^^^
Library/Formula/camlp5.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make world.opt"
^^^^^^^^^^^^^^^^
Library/Formula/camlp5.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cantera.rb:3:1: C: Missing top-level class documentation comment.
class Cantera < Formula
^^^^^
Library/Formula/cantera.rb:17:3: C: Method has too many lines. [28/10]
def install
^^^
Library/Formula/cantera.rb:19:80: C: Line is too long. [90/79]
# There is probably a better way to do this, but this seems to work for my purposes:
^^^^^^^^^^^
Library/Formula/cantera.rb:32:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV['PYTHON_PACKAGE'] = "full"
^^^^^^
Library/Formula/cantera.rb:33:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV['USE_NUMPY'] = "y"
^^^
Library/Formula/cantera.rb:38:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV['ARCHIVE'] = "libtool -static -o"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:41:80: C: Line is too long. [97/79]
ENV['NUMPY_INC_DIR'] = `python -c "from numpy import get_include; print get_include()"`.strip
^^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:49:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./preconfig", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/cantera.rb:49:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./preconfig", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:50:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:50:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:51:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:52:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}",
^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:53:27: C: Align the parameters of a method call if they span more than one line.
(buildname ? "--build=#{buildname}" : "")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:53:65: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(buildname ? "--build=#{buildname}" : "")
^^
Library/Formula/cantera.rb:54:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/cantera.rb:55:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cantera.rb:80:1: C: Trailing whitespace detected.
Library/Formula/cantera.rb:82:2: C: Tab detected.
@INSTALL@ -d @ct_demodir@/cxx
^
Library/Formula/cantera.rb:85:2: C: Tab detected.
cd combustor; @MAKE@ install
^
Library/Formula/cantera.rb:86:2: C: Tab detected.
cd flamespeed; @MAKE@ install
^
Library/Formula/cantera.rb:87:2: C: Tab detected.
cd kinetics1; @MAKE@ install
^
Library/Formula/cantera.rb:88:80: C: Line is too long. [98/79]
diff --git a/Cantera/cxx/demos/NASA_coeffs/Makefile.in b/Cantera/cxx/demos/NASA_coeffs/Makefile.in
^^^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:93:2: C: Tab detected.
@INSTALL@ -d $(INSTALL_DIR)
^
Library/Formula/cantera.rb:94:2: C: Tab detected.
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
^
Library/Formula/cantera.rb:95:2: C: Tab detected.
@(for ihhh in *.cpp *blessed* ; do \
^
Library/Formula/cantera.rb:101:2: C: Tab detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:101:46: C: Trailing whitespace detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:102:1: C: Trailing whitespace detected.
Library/Formula/cantera.rb:103:80: C: Line is too long. [94/79]
diff --git a/Cantera/cxx/demos/combustor/Makefile.in b/Cantera/cxx/demos/combustor/Makefile.in
^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:108:2: C: Tab detected.
@INSTALL@ -d $(INSTALL_DIR)
^
Library/Formula/cantera.rb:109:2: C: Tab detected.
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
^
Library/Formula/cantera.rb:110:2: C: Tab detected.
@(for ihhh in *.cpp *blessed* ; do \
^
Library/Formula/cantera.rb:116:2: C: Tab detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:116:46: C: Trailing whitespace detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:117:1: C: Trailing whitespace detected.
Library/Formula/cantera.rb:118:80: C: Line is too long. [96/79]
diff --git a/Cantera/cxx/demos/flamespeed/Makefile.in b/Cantera/cxx/demos/flamespeed/Makefile.in
^^^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:123:2: C: Tab detected.
@INSTALL@ -d $(INSTALL_DIR)
^
Library/Formula/cantera.rb:124:2: C: Tab detected.
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
^
Library/Formula/cantera.rb:125:2: C: Tab detected.
@(for ihhh in *.cpp *blessed* ; do \
^
Library/Formula/cantera.rb:131:2: C: Tab detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:131:46: C: Trailing whitespace detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:132:1: C: Trailing whitespace detected.
Library/Formula/cantera.rb:133:80: C: Line is too long. [94/79]
diff --git a/Cantera/cxx/demos/kinetics1/Makefile.in b/Cantera/cxx/demos/kinetics1/Makefile.in
^^^^^^^^^^^^^^^
Library/Formula/cantera.rb:138:2: C: Tab detected.
@INSTALL@ -d $(INSTALL_DIR)
^
Library/Formula/cantera.rb:139:2: C: Tab detected.
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
^
Library/Formula/cantera.rb:140:2: C: Tab detected.
@(for ihhh in *.cpp *.h *blessed* ; do \
^
Library/Formula/cantera.rb:146:2: C: Tab detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:146:46: C: Trailing whitespace detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:147:1: C: Trailing whitespace detected.
Library/Formula/cantera.rb:148:80: C: Line is too long. [90/79]
diff --git a/Cantera/cxx/demos/rankine/Makefile.in b/Cantera/cxx/demos/rankine/Makefile.in
^^^^^^^^^^^
Library/Formula/cantera.rb:153:2: C: Tab detected.
@INSTALL@ -d $(INSTALL_DIR)
^
Library/Formula/cantera.rb:154:2: C: Tab detected.
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
^
Library/Formula/cantera.rb:155:2: C: Tab detected.
@(for ihhh in *.cpp *blessed* ; do \
^
Library/Formula/cantera.rb:161:2: C: Tab detected.
@INSTALL@ runtest $(INSTALL_DIR) ;
^
Library/Formula/cantera.rb:162:1: C: 1 trailing blank lines detected.
Library/Formula/cantera.rb:162:1: C: Trailing whitespace detected.
Library/Formula/cantera.rb:162:2: C: Tab detected.
Library/Formula/capnp.rb:3:1: C: Missing top-level class documentation comment.
class Capnp < Formula
^^^^^
Library/Formula/capnp.rb:8:5: C: Annotation keywords should be all upper case, followed by a colon and a space, then a note describing the problem.
# TODO add fails_with statements for FSF GCC
^^^^
Library/Formula/capnp.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/capnp.rb:27:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/capnp.rb:28:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/capnp.rb:28:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/capnp.rb:29:27: C: Align the parameters of a method call if they span more than one line.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/capnp.rb:29:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/capnp.rb:30:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/capnp.rb:31:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "check"
^^^^^^
Library/Formula/capnp.rb:31:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "check"
^^^^^^^
Library/Formula/capnp.rb:32:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/capnp.rb:32:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/capnp.rb:36:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/capnp", "--version"
^^^^^^^^^^^
Library/Formula/capstone.rb:3:1: C: Missing top-level class documentation comment.
class Capstone < Formula
^^^^^
Library/Formula/capstone.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./make.sh"
^^^^^^^^^^^
Library/Formula/capstone.rb:19:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV["PREFIX"] = prefix
^^^^^^^^
Library/Formula/capstone.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./make.sh", "install"
^^^^^^^^^^^
Library/Formula/capstone.rb:20:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./make.sh", "install"
^^^^^^^^^
Library/Formula/capstone.rb:31:80: C: Line is too long. [80/79]
-# By default, suppose that Brew is installed & use Brew path for pkgconfig file
^
Library/Formula/cardpeek.rb:3:1: C: Missing top-level class documentation comment.
class Cardpeek < Formula
^^^^^
Library/Formula/cardpeek.rb:20:5: C: Space inside { missing.
{:p0 => [
^
Library/Formula/cardpeek.rb:20:6: C: Use the new Ruby 1.9 hash syntax.
{:p0 => [
^^^^^^
Library/Formula/cardpeek.rb:21:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://cardpeek.googlecode.com/issues/attachment?aid=240000000&name=cardpeek-svn-osx.diff&token=JGVrSd-7Wcyfo98Lny3Y4NVUBcU%3A1373645845242",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:21:80: C: Line is too long. [149/79]
"https://cardpeek.googlecode.com/issues/attachment?aid=240000000&name=cardpeek-svn-osx.diff&token=JGVrSd-7Wcyfo98Lny3Y4NVUBcU%3A1373645845242",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:22:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://cardpeek.googlecode.com/issues/attachment?aid=240001000&name=extra_patch.diff&token=mQZWOOGcuPxufd414OgwQjJ505I%3A1373645845242"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:22:80: C: Line is too long. [143/79]
"https://cardpeek.googlecode.com/issues/attachment?aid=240001000&name=extra_patch.diff&token=mQZWOOGcuPxufd414OgwQjJ505I%3A1373645845242"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:23:6: C: Space inside } missing.
]} unless build.head?
^
Library/Formula/cardpeek.rb:29:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "autoreconf -i"
^^^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:31:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:31:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:32:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cardpeek.rb:33:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/cardpeek.rb:33:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/cask.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/cask.rb:3:1: C: Missing top-level class documentation comment.
class NewEnoughEmacs < Requirement
^^^^^
Library/Formula/cask.rb:5:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
default_formula "emacs"
^^^^^^^
Library/Formula/cask.rb:13:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"Emacs 23 or later is required to run cask."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cask.rb:17:1: C: Missing top-level class documentation comment.
class Cask < Formula
^^^^^
Library/Formula/cask.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "http://cask.github.io/"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cask.rb:19:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://github.com/cask/cask/archive/v0.5.2.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cask.rb:20:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "23a71874844a07b4d0dc58335b8b8b97fc423481"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cask.rb:21:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
head "https://github.com/cask/cask.git"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cask.rb:26:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
zsh_completion.install "etc/cask_completion.zsh"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cask.rb:27:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "bin/cask"
^^^^^^^^^^
Library/Formula/cask.rb:28:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install Dir["*.el"]
^^^^^^
Library/Formula/cask.rb:29:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "templates"
^^^^^^^^^^^
Library/Formula/cask.rb:31:17: C: Surrounding space missing for operator '/'.
touch prefix/".no-upgrade"
^
Library/Formula/cask.rb:31:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
touch prefix/".no-upgrade"
^^^^^^^^^^^^^
Library/Formula/casperjs.rb:3:1: C: Missing top-level class documentation comment.
class Casperjs < Formula
^^^^^
Library/Formula/casperjs.rb:20:32: C: Surrounding space missing for operator '+'.
bin.install_symlink libexec+'bin/casperjs'
^
Library/Formula/cassandra.rb:3:1: C: Missing top-level class documentation comment.
class Cassandra < Formula
^^^^^
Library/Formula/cassandra.rb:5:80: C: Line is too long. [100/79]
url 'http://www.apache.org/dyn/closer.cgi?path=/cassandra/2.0.5/apache-cassandra-2.0.5-bin.tar.gz'
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:8:3: C: Method has too many lines. [21/10]
def install
^^^
Library/Formula/cassandra.rb:9:9: C: Surrounding space missing for operator '+'.
(var+"lib/cassandra").mkpath
^
Library/Formula/cassandra.rb:9:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(var+"lib/cassandra").mkpath
^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:10:9: C: Surrounding space missing for operator '+'.
(var+"log/cassandra").mkpath
^
Library/Formula/cassandra.rb:10:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(var+"log/cassandra").mkpath
^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:11:9: C: Surrounding space missing for operator '+'.
(etc+"cassandra").mkpath
^
Library/Formula/cassandra.rb:11:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(etc+"cassandra").mkpath
^^^^^^^^^^^
Library/Formula/cassandra.rb:13:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/cassandra.yaml", "/var/lib/cassandra", "#{var}/lib/cassandra"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:13:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/cassandra.yaml", "/var/lib/cassandra", "#{var}/lib/cassandra"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:13:80: C: Line is too long. [81/79]
inreplace "conf/cassandra.yaml", "/var/lib/cassandra", "#{var}/lib/cassandra"
^^
Library/Formula/cassandra.rb:14:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/log4j-server.properties", "/var/log/cassandra", "#{var}/log/cassandra"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:14:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/log4j-server.properties", "/var/log/cassandra", "#{var}/log/cassandra"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:14:80: C: Line is too long. [90/79]
inreplace "conf/log4j-server.properties", "/var/log/cassandra", "#{var}/log/cassandra"
^^^^^^^^^^^
Library/Formula/cassandra.rb:15:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/cassandra-env.sh", "/lib/", "/"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:15:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/cassandra-env.sh", "/lib/", "/"
^^^^^^^
Library/Formula/cassandra.rb:15:49: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf/cassandra-env.sh", "/lib/", "/"
^^^
Library/Formula/cassandra.rb:17:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "bin/cassandra.in.sh" do |s|
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:18:80: C: Line is too long. [86/79]
s.gsub! "CASSANDRA_HOME=\"`dirname \"$0\"`/..\"", "CASSANDRA_HOME=\"#{prefix}\""
^^^^^^^
Library/Formula/cassandra.rb:20:80: C: Line is too long. [94/79]
s.gsub! "CASSANDRA_CONF=\"$CASSANDRA_HOME/conf\"", "CASSANDRA_CONF=\"#{etc}/cassandra\""
^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm Dir["bin/*.bat"]
^^^^^^^^^^^
Library/Formula/cassandra.rb:27:9: C: Surrounding space missing for operator '+'.
(etc+"cassandra").install Dir["conf/*"]
^
Library/Formula/cassandra.rb:27:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(etc+"cassandra").install Dir["conf/*"]
^^^^^^^^^^^
Library/Formula/cassandra.rb:27:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(etc+"cassandra").install Dir["conf/*"]
^^^^^^^^
Library/Formula/cassandra.rb:28:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install Dir["*.txt"] + Dir["{bin,interface,javadoc,pylib,lib/licenses}"]
^^^^^^^
Library/Formula/cassandra.rb:28:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install Dir["*.txt"] + Dir["{bin,interface,javadoc,pylib,lib/licenses}"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:28:80: C: Line is too long. [83/79]
prefix.install Dir["*.txt"] + Dir["{bin,interface,javadoc,pylib,lib/licenses}"]
^^^^
Library/Formula/cassandra.rb:29:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install Dir["lib/*.jar"]
^^^^^^^^^^^
Library/Formula/cassandra.rb:31:23: C: Surrounding space missing for operator '+'.
share.install [bin+'cassandra.in.sh', bin+'stop-server']
^
Library/Formula/cassandra.rb:31:46: C: Surrounding space missing for operator '+'.
share.install [bin+'cassandra.in.sh', bin+'stop-server']
^
Library/Formula/cassandra.rb:35:7: C: Align the parameters of a method call if they span more than one line.
/`dirname "?\$0"?`\/cassandra.in.sh/,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:36:7: C: Align the parameters of a method call if they span more than one line.
"#{share}/cassandra.in.sh"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cassandra.rb:40:80: C: Line is too long. [82/79]
If you plan to use the CQL shell (cqlsh), you will need the Python CQL library
^^^
Library/Formula/cassandra.rb:48:3: C: Method has too many lines. [20/10]
def plist; <<-EOS.undent
^^^
Library/Formula/cassandra.rb:50:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/catdoc.rb:3:1: C: Missing top-level class documentation comment.
class Catdoc < Formula
^^^^^
Library/Formula/catdoc.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/catdoc.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/catdoc.rb:11:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/catdoc.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/catdoc.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "mv INSTALL INSTALL.txt"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/catdoc.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/catdoc.rb:16:80: C: Line is too long. [102/79]
# There is a race condition in the charsets/Makefile install target. The following line solves it.
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/catdoc.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make -C charsets install-dirs"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/catdoc.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cattle.rb:3:1: C: Missing top-level class documentation comment.
class Cattle < Formula
^^^^^
Library/Formula/cattle.rb:13:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :autoconf => :build
^^^^^^^^^^^^
Library/Formula/cattle.rb:14:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :automake => :build
^^^^^^^^^^^^
Library/Formula/cattle.rb:15:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :libtool => :build
^^^^^^^^^^^
Library/Formula/cattle.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cattle.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cattle.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cattle.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/cattle.rb:23:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/caudec.rb:3:1: C: Missing top-level class documentation comment.
class Caudec < Formula
^^^^^
Library/Formula/caudec.rb:30:9: C: Surrounding space missing for operator '/'.
(bin/'decaude').make_symlink bin/'caudec'
^
Library/Formula/caudec.rb:30:37: C: Surrounding space missing for operator '/'.
(bin/'decaude').make_symlink bin/'caudec'
^
Library/Formula/cbmbasic.rb:3:1: C: Missing top-level class documentation comment.
class Cbmbasic < Formula
^^^^^
Library/Formula/cbmbasic.rb:5:80: C: Line is too long. [88/79]
url 'https://downloads.sourceforge.net/project/cbmbasic/cbmbasic/1.0/cbmbasic-1.0.tgz'
^^^^^^^^^
Library/Formula/cbmbasic.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CFLAGS=#{ENV.cflags}", "LDFLAGS=#{ENV.ldflags}"
^^^^^^
Library/Formula/cbmbasic.rb:14:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
IO.popen("#{bin}/cbmbasic", "w+") do |pipe|
^^^^
Library/Formula/cbmbasic.rb:17:20: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
assert_match /READY.\r\n 1/, pipe.read
^
Library/Formula/cc65.rb:3:1: C: Missing top-level class documentation comment.
class Cc65 < Formula
^^^^^
Library/Formula/cc65.rb:9:25: C: Use the new Ruby 1.9 hash syntax.
conflicts_with 'grc', :because => 'both install `grc` binaries'
^^^^^^^^^^^
Library/Formula/cc65.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "make/gcc.mak", "prefix=#{prefix}", "libdir=#{share}"
^^^^^^
Library/Formula/cc65.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "make/gcc.mak", "prefix=#{prefix}", "libdir=#{share}"
^^^^
Library/Formula/cc65.rb:14:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "make/gcc.mak", "prefix=#{prefix}", "libdir=#{share}"
^^^^^^^^^^^^^^
Library/Formula/cc65.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "make/gcc.mak", "install", "prefix=#{prefix}", "libdir=#{share}"
^^^^^^
Library/Formula/cc65.rb:15:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "make/gcc.mak", "install", "prefix=#{prefix}", "libdir=#{share}"
^^^^
Library/Formula/cc65.rb:15:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "make/gcc.mak", "install", "prefix=#{prefix}", "libdir=#{share}"
^^^^^^^^^^^^^^
Library/Formula/cc65.rb:15:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-f", "make/gcc.mak", "install", "prefix=#{prefix}", "libdir=#{share}"
^^^^^^^^^
Library/Formula/cc65.rb:15:80: C: Line is too long. [89/79]
system "make", "-f", "make/gcc.mak", "install", "prefix=#{prefix}", "libdir=#{share}"
^^^^^^^^^^
Library/Formula/cc65.rb:25:14: C: Surrounding space missing for operator '/'.
(testpath/"foo.c").write "int main (void) { return 0; }"
^
Library/Formula/cc65.rb:25:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(testpath/"foo.c").write "int main (void) { return 0; }"
^^^^^^^
Library/Formula/cc65.rb:25:30: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(testpath/"foo.c").write "int main (void) { return 0; }"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cc65.rb:27:15: C: Surrounding space missing for operator '/'.
system bin/"cl65", "foo.c" # compile and link
^
Library/Formula/cc65.rb:27:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"cl65", "foo.c" # compile and link
^^^^^^
Library/Formula/cc65.rb:27:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"cl65", "foo.c" # compile and link
^^^^^^^
Library/Formula/cc65.rb:28:24: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert File.exist?("foo") # binary
^^^^^
Library/Formula/ccache.rb:3:1: C: Missing top-level class documentation comment.
class Ccache < Formula
^^^^^
Library/Formula/ccache.rb:16:3: C: Method has too many lines. [15/10]
def install
^^^
Library/Formula/ccache.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/ccache.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/ccache.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/ccache.rb:28:80: C: Line is too long. [99/79]
gcc gcc2 gcc3 gcc-3.3 gcc-4.0 gcc-4.2 gcc-4.3 gcc-4.4 gcc-4.5 gcc-4.6 gcc-4.7 gcc-4.8 gcc-4.9
^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccache.rb:29:80: C: Line is too long. [94/79]
c++ c++3 c++-3.3 c++-4.0 c++-4.2 c++-4.3 c++-4.4 c++-4.5 c++-4.6 c++-4.7 c++-4.8 c++-4.9
^^^^^^^^^^^^^^^
Library/Formula/ccache.rb:30:80: C: Line is too long. [99/79]
g++ g++2 g++3 g++-3.3 g++-4.0 g++-4.2 g++-4.3 g++-4.4 g++-4.5 g++-4.6 g++-4.7 g++-4.8 g++-4.9
^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccache.rb:32:15: C: Surrounding space missing for operator '+'.
ln_s bin+"ccache", libexec + prog
^
Library/Formula/ccache.rb:32:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ln_s bin+"ccache", libexec + prog
^^^^^^^^
Library/Formula/ccal.rb:3:1: C: Missing top-level class documentation comment.
class Ccal < Formula
^^^^^
Library/Formula/ccal.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-e", "BINDIR=#{bin}", "install"
^^^^^^
Library/Formula/ccal.rb:9:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-e", "BINDIR=#{bin}", "install"
^^^^
Library/Formula/ccal.rb:9:43: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-e", "BINDIR=#{bin}", "install"
^^^^^^^^^
Library/Formula/ccal.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-e", "MANDIR=#{man}", "install-man"
^^^^^^
Library/Formula/ccal.rb:10:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-e", "MANDIR=#{man}", "install-man"
^^^^
Library/Formula/ccal.rb:10:43: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "-e", "MANDIR=#{man}", "install-man"
^^^^^^^^^^^^^
Library/Formula/ccal.rb:15:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert output.include?("Year JiaWu, Month 1X")
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccal.rb:16:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/ccd2iso.rb:3:1: C: Missing top-level class documentation comment.
class Ccd2iso < Formula
^^^^^
Library/Formula/ccd2iso.rb:5:80: C: Line is too long. [96/79]
url 'https://downloads.sourceforge.net/project/ccd2iso/ccd2iso/ccd2iso-0.3/ccd2iso-0.3.tar.gz'
^^^^^^^^^^^^^^^^^
Library/Formula/ccd2iso.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/ccd2iso.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/ccd2iso.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccd2iso.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccd2iso.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/ccextractor.rb:3:1: C: Missing top-level class documentation comment.
class Ccextractor < Formula
^^^^^
Library/Formula/ccextractor.rb:5:80: C: Line is too long. [103/79]
url 'https://downloads.sourceforge.net/project/ccextractor/ccextractor/0.67/ccextractor.src.0.67.zip'
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccextractor.rb:9:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "mac"
^^^^^
Library/Formula/ccextractor.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "bash ./build.command"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccextractor.rb:11:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "ccextractor"
^^^^^^^^^^^^^
Library/Formula/cclive.rb:3:1: C: Missing top-level class documentation comment.
class Cclive < Formula
^^^^^
Library/Formula/cclive.rb:5:80: C: Line is too long. [81/79]
url 'https://downloads.sourceforge.net/project/cclive/0.7/cclive-0.7.16.tar.xz'
^^
Library/Formula/cclive.rb:8:32: C: Use the new Ruby 1.9 hash syntax.
conflicts_with 'clozure-cl', :because => 'both install a ccl binary'
^^^^^^^^^^^
Library/Formula/cclive.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cclive.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cclive.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cclive.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cconv.rb:3:1: C: Missing top-level class documentation comment.
class Cconv < Formula
^^^^^
Library/Formula/cconv.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cconv.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/cconv.rb:14:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cconv.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cconv.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cconv.rb:17:15: C: Surrounding space missing for operator '/'.
rm include/"unicode.h"
^
Library/Formula/cconv.rb:17:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm include/"unicode.h"
^^^^^^^^^^^
Library/Formula/ccrypt.rb:3:1: C: Missing top-level class documentation comment.
class Ccrypt < Formula
^^^^^
Library/Formula/ccrypt.rb:10:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cause "Tests fail when optimizations are enabled"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccrypt.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/ccrypt.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccrypt.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccrypt.rb:16:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/ccrypt.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/ccrypt.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make check"
^^^^^^^^^^^^
Library/Formula/cctools-headers.rb:18:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "include/Makefile", "/usr/include", "/include"
^^^^^^^^^^^^^^^^^^
Library/Formula/cctools-headers.rb:18:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "include/Makefile", "/usr/include", "/include"
^^^^^^^^^^^^^^
Library/Formula/cctools-headers.rb:18:51: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "include/Makefile", "/usr/include", "/include"
^^^^^^^^^^
Library/Formula/cctools-headers.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "installhdrs", "DSTROOT=#{prefix}", "RC_ProjectSourceVersion=#{version}"
^^^^^^
Library/Formula/cctools-headers.rb:19:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "installhdrs", "DSTROOT=#{prefix}", "RC_ProjectSourceVersion=#{version}"
^^^^^^^^^^^^^
Library/Formula/cctools-headers.rb:19:80: C: Line is too long. [91/79]
system "make", "installhdrs", "DSTROOT=#{prefix}", "RC_ProjectSourceVersion=#{version}"
^^^^^^^^^^^^
Library/Formula/cctools-headers.rb:21:12: C: Surrounding space missing for operator '/'.
(prefix/'usr').rmtree
^
Library/Formula/cctools-headers.rb:24:32: C: Space missing inside {.
resource('headers').stage {(include/'mach').install 'osfmk/mach/machine.h'}
^
Library/Formula/cctools-headers.rb:24:40: C: Surrounding space missing for operator '/'.
resource('headers').stage {(include/'mach').install 'osfmk/mach/machine.h'}
^
Library/Formula/cctools-headers.rb:24:79: C: Space missing inside }.
resource('headers').stage {(include/'mach').install 'osfmk/mach/machine.h'}
^
Library/Formula/ccze.rb:3:1: C: Missing top-level class documentation comment.
class Ccze < Formula
^^^^^
Library/Formula/ccze.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/ccze.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--with-builtins=all"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccze.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-builtins=all"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ccze.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/ccze.rb:18:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/ccze.rb:20:25: C: Surrounding space missing for operator '/'.
share.install prefix/'man'
^
Library/Formula/ccze.rb:24:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ccze", "--help"
^^^^^^^^
Library/Formula/ccze.rb:34:1: C: Tab detected.
-Wbad-function-cast -Wsign-compare -Wchar-subscripts \
^
Library/Formula/ccze.rb:35:1: C: Tab detected.
-Wcomment -Wformat -Wformat-nonliteral -Wformat-security \
^
Library/Formula/ccze.rb:36:1: C: Tab detected.
-Wimplicit -Wmain -Wmissing-braces -Wparentheses \
^
Library/Formula/ccze.rb:39:1: C: Tab detected.
-Wmissing-noreturn -Wmissing-declarations @WFLAGS_3X@
^
Library/Formula/cd-discid.rb:3:1: C: Missing top-level class documentation comment.
class CdDiscid < Formula
^^^^^
Library/Formula/cd-discid.rb:9:3: C: Use 2 (not 0) spaces for indentation.
{ :p0 =>
Library/Formula/cd-discid.rb:9:5: C: Use the new Ruby 1.9 hash syntax.
{ :p0 =>
^^^^^^
Library/Formula/cd-discid.rb:10:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/70630/trunk/dports/audio/cd-discid/files/patch-cd-discid.c.diff"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cd-discid.rb:10:80: C: Line is too long. [102/79]
"https://trac.macports.org/export/70630/trunk/dports/audio/cd-discid/files/patch-cd-discid.c.diff"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cd-discid.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}",
^^^^^^
Library/Formula/cd-discid.rb:16:20: C: Align the parameters of a method call if they span more than one line.
"CC=#{ENV.cc}",
^^^^^^^^^^^^^^
Library/Formula/cd-discid.rb:17:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cd-discid.rb:18:20: C: Align the parameters of a method call if they span more than one line.
"install"
^^^^^^^^^
Library/Formula/cd-discid.rb:18:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"
^^^^^^^^^
Library/Formula/cdargs.rb:3:1: C: Missing top-level class documentation comment.
class Cdargs < Formula
^^^^^
Library/Formula/cdargs.rb:10:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cause "Bus error in ld on SL 10.6.4"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdargs.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/cdargs.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/cdargs.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install-strip"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdargs.rb:45:1: C: Trailing whitespace detected.
Library/Formula/cdargs.rb:57:1: C: Trailing whitespace detected.
Library/Formula/cdargs.rb:63:80: C: Line is too long. [87/79]
grep -v "^$1 " "$HOME/.cdargs" > $tmpfile && 'mv' -f $tmpfile "$HOME/.cdargs";
^^^^^^^^
Library/Formula/cdb.rb:3:1: C: Missing top-level class documentation comment.
class Cdb < Formula
^^^^^
Library/Formula/cdb.rb:9:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf-home", "/usr/local", prefix
^^^^^^^^^^^
Library/Formula/cdb.rb:9:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "conf-home", "/usr/local", prefix
^^^^^^^^^^^^
Library/Formula/cdb.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make setup"
^^^^^^^^^^^^
Library/Formula/cdecl.rb:3:1: C: Missing top-level class documentation comment.
class Cdecl < Formula
^^^^^
Library/Formula/cdecl.rb:10:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "cdecl.c", "getline", "cdecl_getline"
^^^^^^^^^
Library/Formula/cdecl.rb:10:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "cdecl.c", "getline", "cdecl_getline"
^^^^^^^^^
Library/Formula/cdecl.rb:10:37: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "cdecl.c", "getline", "cdecl_getline"
^^^^^^^^^^^^^^^
Library/Formula/cdecl.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}",
^^^^^^
Library/Formula/cdecl.rb:18:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdecl.rb:19:20: C: Align the parameters of a method call if they span more than one line.
"LIBS=-lreadline",
^^^^^^^^^^^^^^^^^
Library/Formula/cdecl.rb:19:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"LIBS=-lreadline",
^^^^^^^^^^^^^^^^^
Library/Formula/cdecl.rb:20:20: C: Align the parameters of a method call if they span more than one line.
"BINDIR=#{bin}",
^^^^^^^^^^^^^^^
Library/Formula/cdecl.rb:21:20: C: Align the parameters of a method call if they span more than one line.
"MANDIR=#{man1}",
^^^^^^^^^^^^^^^^
Library/Formula/cdecl.rb:22:20: C: Align the parameters of a method call if they span more than one line.
"install"
^^^^^^^^^
Library/Formula/cdecl.rb:22:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"
^^^^^^^^^
Library/Formula/cdecl.rb:27:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "declare a as pointer to int", output
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdecl.rb:28:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/cdf.rb:3:1: C: Missing top-level class documentation comment.
class Cdf < Formula
^^^^^
Library/Formula/cdf.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cdf.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/cdf.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdf.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdf.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cdimgtools.rb:3:1: C: Missing top-level class documentation comment.
class Cdimgtools < Formula
^^^^^
Library/Formula/cdimgtools.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/cdimgtools.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "install-doc-man"
^^^^^^
Library/Formula/cdimgtools.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "install-doc-man"
^^^^^^^^^
Library/Formula/cdimgtools.rb:14:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "install-doc-man"
^^^^^^^^^^^^^^^^^
Library/Formula/cdimgtools.rb:18:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/dvdimgdecss", "-V"
^^^^
Library/Formula/cdimgtools.rb:19:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/cssdec", "-V"
^^^^
Library/Formula/cdk.rb:3:1: C: Missing top-level class documentation comment.
class Cdk < Formula
^^^^^
Library/Formula/cdk.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/cdk.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/cdk.rb:11:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/cdlabelgen.rb:3:1: C: Missing top-level class documentation comment.
class Cdlabelgen < Formula
^^^^^
Library/Formula/cdlabelgen.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "BASE_DIR=#{prefix}"
^^^^^^
Library/Formula/cdlabelgen.rb:10:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "BASE_DIR=#{prefix}"
^^^^^^^^^
Library/Formula/cdlabelgen.rb:15:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
File.file?("testout.eps")
^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:3:1: C: Missing top-level class documentation comment.
class Cdparanoia < Formula
^^^^^
Library/Formula/cdparanoia.rb:5:80: C: Line is too long. [81/79]
url 'http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz'
^^
Library/Formula/cdparanoia.rb:17:6: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:17:80: C: Line is too long. [102/79]
"https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch",
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:18:6: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:18:80: C: Line is too long. [117/79]
"https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "autoconf"
^^^^^^^^^^
Library/Formula/cdparanoia.rb:24:80: C: Line is too long. [87/79]
# Libs are installed as keg-only because most software that searches for cdparanoia
^^^^^^^^
Library/Formula/cdparanoia.rb:26:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:27:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}",
^^^^^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:28:27: C: Align the parameters of a method call if they span more than one line.
"--libdir=#{libexec}"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdparanoia.rb:29:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make all"
^^^^^^^^^^
Library/Formula/cdparanoia.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cdpr.rb:3:1: C: Missing top-level class documentation comment.
class Cdpr < Formula
^^^^^
Library/Formula/cdpr.rb:10:80: C: Line is too long. [92/79]
system "#{ENV.cc} #{ENV.cflags} cdpr.c cdprs.c conffile.c #{ENV.ldflags} -lpcap -o cdpr"
^^^^^^^^^^^^^
Library/Formula/cdpr.rb:11:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "cdpr"
^^^^^^
Library/Formula/cdpr.rb:15:80: C: Line is too long. [102/79]
"run cdpr sudo'd in order to avoid the error: 'No interfaces found! Make sure pcap is installed.'"
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:3:1: C: Missing top-level class documentation comment.
class Cdrdao < Formula
^^^^^
Library/Formula/cdrdao.rb:5:80: C: Line is too long. [90/79]
url 'https://downloads.sourceforge.net/project/cdrdao/cdrdao/1.2.3/cdrdao-1.2.3.tar.bz2'
^^^^^^^^^^^
Library/Formula/cdrdao.rb:16:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cause "Segfault while linking"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:20:80: C: Line is too long. [98/79]
# see http://sourceforge.net/tracker/index.php?func=detail&aid=2981804&group_id=2171&atid=302171
^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:24:80: C: Line is too long. [85/79]
# http://sourceforge.net/tracker/?func=detail&aid=3381672&group_id=2171&atid=102171
^^^^^^
Library/Formula/cdrdao.rb:26:7: C: Use the new Ruby 1.9 hash syntax.
{ :p1 => "http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804",
^^^^^^
Library/Formula/cdrdao.rb:26:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
{ :p1 => "http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:26:80: C: Line is too long. [112/79]
{ :p1 => "http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:27:7: C: Use the new Ruby 1.9 hash syntax.
:p0 => DATA }
^^^^^^
Library/Formula/cdrdao.rb:31:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:31:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:31:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:32:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:33:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cdrdao.rb:46:1: C: Trailing whitespace detected.
Library/Formula/cdrdao.rb:50:2: C: Tab detected.
if (req == NEED_CDRW_W && !rww)
^
Library/Formula/cdrdao.rb:51:2: C: Tab detected.
continue;
^
Library/Formula/cdrdao.rb:52:1: C: Trailing whitespace detected.
Library/Formula/cdrdao.rb:55:2: C: Tab detected.
delete[] sdata;
^
Library/Formula/cdrdao.rb:56:2: C: Tab detected.
return buf;
^
Library/Formula/cdrdao.rb:57:2: C: Tab detected.
}
^
Library/Formula/cdrtools.rb:3:1: C: Missing top-level class documentation comment.
class Cdrtools < Formula
^^^^^
Library/Formula/cdrtools.rb:11:5: C: Align the parameters of a method call if they span more than one line.
:because => 'both dvdrtools and cdrtools install binaries by the same name'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrtools.rb:11:5: C: Use the new Ruby 1.9 hash syntax.
:because => 'both dvdrtools and cdrtools install binaries by the same name'
^^^^^^^^^^^
Library/Formula/cdrtools.rb:14:3: C: Use 2 (not 0) spaces for indentation.
{:p0 => [
Library/Formula/cdrtools.rb:14:3: C: Space inside { missing.
{:p0 => [
^
Library/Formula/cdrtools.rb:14:4: C: Use the new Ruby 1.9 hash syntax.
{:p0 => [
^^^^^^
Library/Formula/cdrtools.rb:15:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/104091/trunk/dports/sysutils/cdrtools/files/patch-include_schily_sha2.h"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrtools.rb:15:80: C: Line is too long. [110/79]
"https://trac.macports.org/export/104091/trunk/dports/sysutils/cdrtools/files/patch-include_schily_sha2.h"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cdrtools.rb:16:4: C: Space inside } missing.
]}
^
Library/Formula/cdrtools.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "smake", "INS_BASE=#{prefix}", "INS_RBASE=#{prefix}", "install"
^^^^^^^
Library/Formula/cdrtools.rb:20:66: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "smake", "INS_BASE=#{prefix}", "INS_RBASE=#{prefix}", "install"
^^^^^^^^^
Library/Formula/cdrtools.rb:23:13: C: Surrounding space missing for operator '/'.
(include/"schily").rmtree
^
Library/Formula/cdrtools.rb:23:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(include/"schily").rmtree
^^^^^^^^
Library/Formula/cdrtools.rb:25:11: C: Surrounding space missing for operator '/'.
(lib/file).unlink
^
Library/Formula/cdrtools.rb:27:9: C: Surrounding space missing for operator '/'.
(lib/"profiled").rmtree
^
Library/Formula/cdrtools.rb:27:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(lib/"profiled").rmtree
^^^^^^^^^^
Library/Formula/celt.rb:3:1: C: Missing top-level class documentation comment.
class Celt < Formula
^^^^^
Library/Formula/celt.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/celt.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/celt.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/celt.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make check"
^^^^^^^^^^^^
Library/Formula/celt.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/center-im.rb:3:1: C: Missing top-level class documentation comment.
class CenterIm < Formula
^^^^^
Library/Formula/center-im.rb:15:7: C: Use the new Ruby 1.9 hash syntax.
{ :p1 => DATA,
^^^^^^
Library/Formula/center-im.rb:16:7: C: Use the new Ruby 1.9 hash syntax.
:p0 => "https://trac.macports.org/export/113135/trunk/dports/net/centerim/files/patch-libjabber_jconn.c.diff" }
^^^^^^
Library/Formula/center-im.rb:16:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
:p0 => "https://trac.macports.org/export/113135/trunk/dports/net/centerim/files/patch-libjabber_jconn.c.diff" }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/center-im.rb:16:80: C: Line is too long. [117/79]
:p0 => "https://trac.macports.org/export/113135/trunk/dports/net/centerim/files/patch-libjabber_jconn.c.diff" }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/center-im.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/center-im.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/center-im.rb:21:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/center-im.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--disable-msn"
^^^^^^^^^^^^^^^
Library/Formula/center-im.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-msn"
^^^^^^^^^^^^^^^
Library/Formula/center-im.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/center-im.rb:35:1: C: Trailing whitespace detected.
Library/Formula/center-im.rb:39:1: C: 1 trailing blank lines detected.
Library/Formula/center-im.rb:39:1: C: Trailing whitespace detected.
Library/Formula/ceylon.rb:3:1: C: Missing top-level class documentation comment.
class Ceylon < Formula
^^^^^
Library/Formula/ceylon.rb:9:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
rm_f Dir["bin/*.bat"]
^^^^^^^^^^^
Library/Formula/ceylon.rb:20:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"Ceylon requires Java 7."
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ceylon.rb:25:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "compile", "com.acme.helloworld"
^^^^^^^^^
Library/Formula/ceylon.rb:25:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "compile", "com.acme.helloworld"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ceylon.rb:26:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "doc", "--non-shared", "com.acme.helloworld"
^^^^^
Library/Formula/ceylon.rb:26:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "doc", "--non-shared", "com.acme.helloworld"
^^^^^^^^^^^^^^
Library/Formula/ceylon.rb:26:54: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "doc", "--non-shared", "com.acme.helloworld"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ceylon.rb:27:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "run", "com.acme.helloworld/1.0.0", "John"
^^^^^
Library/Formula/ceylon.rb:27:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "run", "com.acme.helloworld/1.0.0", "John"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/ceylon.rb:27:67: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/ceylon", "run", "com.acme.helloworld/1.0.0", "John"
^^^^^^
Library/Formula/cfengine.rb:16:80: C: Line is too long. [94/79]
%w{https://github.com/cfengine/core/commit/d03fcc2d38a4db0c79386aaef30597102bf45853.patch}
^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cfengine.rb:20:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:21:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--with-workdir=#{var}/cfengine",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--with-tokyocabinet",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:23:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-tokyocabinet",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:24:27: C: Align the parameters of a method call if they span more than one line.
"--with-pcre=#{Formula['pcre'].opt_prefix}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:25:27: C: Align the parameters of a method call if they span more than one line.
"--without-mysql",
^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:25:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--without-mysql",
^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:26:27: C: Align the parameters of a method call if they span more than one line.
"--without-postgresql"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:26:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--without-postgresql"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cfengine.rb:31:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/cf-agent", "-V"
^^^^
Library/Formula/cfitsio.rb:3:1: C: Missing top-level class documentation comment.
class Cfitsio < Formula
^^^^^
Library/Formula/cfitsio.rb:6:80: C: Line is too long. [92/79]
mirror 'https://downloads.sourceforge.net/project/machomebrew/mirror/cfitsio-3.360.tar.gz'
^^^^^^^^^^^^^
Library/Formula/cfitsio.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'with-examples', "Compile and install example programs"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfitsio.rb:13:80: C: Line is too long. [83/79]
url 'http://heasarc.gsfc.nasa.gov/docs/software/fitsio/cexamples/cexamples.zip'
^^^^
Library/Formula/cfitsio.rb:18:3: C: Method has too many lines. [12/10]
def install
^^^
Library/Formula/cfitsio.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/cfitsio.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make shared"
^^^^^^^^^^^^^
Library/Formula/cfitsio.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cfitsio.rb:24:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make fpack funpack"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cfitsio.rb:29:26: C: Space between { and | missing.
Dir['*.c'].reject{|f| f == 'compress_fits.c'}.each do |f|
^^
Library/Formula/cfitsio.rb:29:26: C: Space missing to the left of {.
Dir['*.c'].reject{|f| f == 'compress_fits.c'}.each do |f|
^
Library/Formula/cfitsio.rb:29:53: C: Space missing inside }.
Dir['*.c'].reject{|f| f == 'compress_fits.c'}.each do |f|
^
Library/Formula/cfitsio.rb:30:57: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system ENV.cc, f, "-I#{include}", "-L#{lib}", "-lcfitsio", "-lm", "-o", "#{bin}/#{f.sub('.c', '')}"
^^^^^^^^^^^
Library/Formula/cfitsio.rb:30:70: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system ENV.cc, f, "-I#{include}", "-L#{lib}", "-lcfitsio", "-lm", "-o", "#{bin}/#{f.sub('.c', '')}"
^^^^^
Library/Formula/cfitsio.rb:30:77: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system ENV.cc, f, "-I#{include}", "-L#{lib}", "-lcfitsio", "-lm", "-o", "#{bin}/#{f.sub('.c', '')}"
^^^^
Library/Formula/cfitsio.rb:30:80: C: Line is too long. [109/79]
system ENV.cc, f, "-I#{include}", "-L#{lib}", "-lcfitsio", "-lm", "-o", "#{bin}/#{f.sub('.c', '')}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cflow.rb:3:1: C: Missing top-level class documentation comment.
class Cflow < Formula
^^^^^
Library/Formula/cflow.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cflow.rb:10:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/cflow.rb:10:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cflow.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cflow.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--infodir=#{info}"
^^^^^^^^^^^^^^^^^^^
Library/Formula/cflow.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cfv.rb:3:1: C: Missing top-level class documentation comment.
class Cfv < Formula
^^^^^
Library/Formula/cfv.rb:5:80: C: Line is too long. [82/79]
url 'https://downloads.sourceforge.net/project/cfv/cfv/1.18.3/cfv-1.18.3.tar.gz'
^^^
Library/Formula/cfv.rb:9:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install gzip("cfv.1")
^^^^^^^
Library/Formula/cfv.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "cfv"
^^^^^
Library/Formula/cgal.rb:3:1: C: Missing top-level class documentation comment.
class Cgal < Formula
^^^^^
Library/Formula/cgal.rb:10:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'imaging', "Build ImageIO and QT compoments of CGAL"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:11:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'with-eigen3', "Build with Eigen3 support"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:12:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option 'with-lapack', "Build with LAPACK support"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:25:37: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on 'eigen' if build.with? "eigen3"
^^^^^^^^
Library/Formula/cgal.rb:32:3: C: Method has too many lines. [17/10]
def install
^^^
Library/Formula/cgal.rb:35:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-DCMAKE_BUILD_TYPE=Release",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:36:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:39:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DWITH_CGAL_Qt3=OFF" << "-DWITH_CGAL_Qt4=OFF" << "-DWITH_CGAL_ImageIO=OFF"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:39:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DWITH_CGAL_Qt3=OFF" << "-DWITH_CGAL_Qt4=OFF" << "-DWITH_CGAL_ImageIO=OFF"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:39:65: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DWITH_CGAL_Qt3=OFF" << "-DWITH_CGAL_Qt4=OFF" << "-DWITH_CGAL_ImageIO=OFF"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:39:80: C: Line is too long. [89/79]
args << "-DWITH_CGAL_Qt3=OFF" << "-DWITH_CGAL_Qt4=OFF" << "-DWITH_CGAL_ImageIO=OFF"
^^^^^^^^^^
Library/Formula/cgal.rb:41:5: C: Favor modifier if usage when you have a single-line body. Another good alternative is the usage of control flow &&/||.
if build.with? "eigen3"
^^
Library/Formula/cgal.rb:41:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "eigen3"
^^^^^^^^
Library/Formula/cgal.rb:42:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DWITH_Eigen3=ON"
^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:44:5: C: Favor modifier if usage when you have a single-line body. Another good alternative is the usage of control flow &&/||.
if build.with? "lapack"
^^
Library/Formula/cgal.rb:44:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "lapack"
^^^^^^^^
Library/Formula/cgal.rb:45:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "-DWITH_LAPACK=ON"
^^^^^^^^^^^^^^^^^^
Library/Formula/cgal.rb:48:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", *args
^^^^^^^
Library/Formula/cgal.rb:49:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cgal.rb:54:80: C: Line is too long. [90/79]
diff --git a/src/CGAL/File_header_extended_OFF.cpp b/src/CGAL/File_header_extended_OFF.cpp
^^^^^^^^^^^
Library/Formula/cgal.rb:58:80: C: Line is too long. [94/79]
@@ -186,7 +186,8 @@ std::istream& operator>>( std::istream& in, File_header_extended_OFF& h) {
^^^^^^^^^^^^^^^
Library/Formula/cgdb.rb:3:1: C: Missing top-level class documentation comment.
class Cgdb < Formula
^^^^^
Library/Formula/cgdb.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cgdb.rb:16:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/cgdb.rb:16:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgdb.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgdb.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--with-readline=#{Formula['readline'].opt_prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cgdb.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cgvg.rb:3:1: C: Missing top-level class documentation comment.
class Cgvg < Formula
^^^^^
Library/Formula/cgvg.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/cgvg.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--mandir=#{man}"
^^^^^^^^^^^^^^^^^
Library/Formula/cgvg.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/charm-tools.rb:3:1: C: Missing top-level class documentation comment.
class CharmTools < Formula
^^^^^
Library/Formula/charm-tools.rb:5:80: C: Line is too long. [88/79]
url 'https://launchpad.net/charm-tools/1.2/1.2.9/+download/charm-tools-1.2.9-1.tar.gz'
^^^^^^^^^
Library/Formula/charm-tools.rb:12:50: C: Surrounding space missing for operator '+'.
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'
^
Library/Formula/charm-tools.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", "install", "--prefix=#{libexec}"
^^^^^^^^
Library/Formula/charm-tools.rb:13:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", "install", "--prefix=#{libexec}"
^^^^^^^^^^
Library/Formula/charm-tools.rb:13:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "python", "setup.py", "install", "--prefix=#{libexec}"
^^^^^^^^^
Library/Formula/charm-tools.rb:15:28: C: Surrounding space missing for operator '/'.
bin.install Dir[libexec/'bin/*charm*']
^
Library/Formula/charm-tools.rb:16:37: C: Surrounding space missing for operator '+'.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^
Library/Formula/charm-tools.rb:16:45: C: Use the new Ruby 1.9 hash syntax.
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
^^^^^^^^^^^^^^
Library/Formula/charm-tools.rb:20:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/charm", "list"
^^^^^^
Library/Formula/chcase.rb:3:1: C: Missing top-level class documentation comment.
class Chcase < ScriptFileFormula
^^^^^
Library/Formula/check.rb:3:1: C: Missing top-level class documentation comment.
class Check < Formula
^^^^^
Library/Formula/check.rb:5:80: C: Line is too long. [88/79]
url 'https://downloads.sourceforge.net/project/check/check/0.9.12/check-0.9.12.tar.gz'
^^^^^^^^^
Library/Formula/check.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/check.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/check.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/check.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/checkbashisms.rb:3:1: C: Missing top-level class documentation comment.
class Checkbashisms < Formula
^^^^^
Library/Formula/checkbashisms.rb:4:80: C: Line is too long. [80/79]
homepage 'http://manpages.ubuntu.com/manpages/natty/man1/checkbashisms.1.html'
^
Library/Formula/checkbashisms.rb:6:80: C: Line is too long. [85/79]
url 'https://launchpad.net/ubuntu/+archive/primary/+files/devscripts_2.13.4.tar.xz'
^^^^^^
Library/Formula/checkstyle.rb:3:1: C: Missing top-level class documentation comment.
class Checkstyle < Formula
^^^^^
Library/Formula/checkstyle.rb:5:80: C: Line is too long. [101/79]
url 'https://downloads.sourceforge.net/project/checkstyle/checkstyle/5.7/checkstyle-5.7-bin.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/checkstyle.rb:9:54: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
libexec.install "checkstyle-#{version}-all.jar", "sun_checks.xml"
^^^^^^^^^^^^^^^^
Library/Formula/checkstyle.rb:10:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/"checkstyle-#{version}-all.jar", "checkstyle"
^
Library/Formula/checkstyle.rb:10:67: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.write_jar_script libexec/"checkstyle-#{version}-all.jar", "checkstyle"
^^^^^^^^^^^^
Library/Formula/checkstyle.rb:14:20: C: Surrounding space missing for operator '/'.
path = testpath/"foo.java"
^
Library/Formula/checkstyle.rb:14:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = testpath/"foo.java"
^^^^^^^^^^
Library/Formula/checkstyle.rb:19:80: C: Line is too long. [80/79]
assert errors.include?("#{path}:1:17: '{' is not preceded with whitespace.")
^
Library/Formula/checkstyle.rb:20:31: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal errors.size, $?.exitstatus
^^
Library/Formula/cherokee.rb:3:1: C: Missing top-level class documentation comment.
class Cherokee < Formula
^^^^^
Library/Formula/cherokee.rb:5:80: C: Line is too long. [137/79]
url 'http://pkgs.fedoraproject.org/repo/pkgs/cherokee/cherokee-1.2.103.tar.gz/527b3de97ef9727bfd5f6832043cf916/cherokee-1.2.103.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:21:80: C: Line is too long. [97/79]
'https://github.com/cherokee/webserver/commit/d0213768fdc6cf3aee61fe0be398d7825c01198f.patch'
^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:24:3: C: Method has too many lines. [20/10]
def install
^^^
Library/Formula/cherokee.rb:33:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system cmd, "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:34:17: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:35:17: C: Align the parameters of a method call if they span more than one line.
"--sysconfdir=#{etc}",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:36:17: C: Align the parameters of a method call if they span more than one line.
"--localstatedir=#{var}/cherokee",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:37:17: C: Align the parameters of a method call if they span more than one line.
"--with-wwwuser=#{ENV['USER']}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:38:17: C: Align the parameters of a method call if they span more than one line.
"--with-wwwgroup=www",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:38:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-wwwgroup=www",
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:39:17: C: Align the parameters of a method call if they span more than one line.
"--enable-internal-pcre",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:39:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-internal-pcre",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:41:17: C: Align the parameters of a method call if they span more than one line.
"--with-wwwroot=#{etc}/cherokee/htdocs",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:42:17: C: Align the parameters of a method call if they span more than one line.
"--with-cgiroot=#{etc}/cherokee/cgi-bin"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:43:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:45:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
prefix.install "org.cherokee.webserver.plist"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cherokee.rb:46:12: C: Surrounding space missing for operator '+'.
(prefix+'org.cherokee.webserver.plist').chmod 0644
^
Library/Formula/cherokee.rb:47:11: C: Surrounding space missing for operator '+'.
(share+'cherokee/admin/server.py').chmod 0755
^
Library/Formula/cherokee.rb:50:3: C: Method has too many lines. [15/10]
def caveats
^^^
Library/Formula/cherokee.rb:66:80: C: Line is too long. [84/79]
sudo launchctl load -w /Library/LaunchDaemons/org.cherokee.webserver.plist
^^^^^
Library/Formula/cherokee.rb:69:80: C: Line is too long. [86/79]
sudo launchctl unload -w /Library/LaunchDaemons/org.cherokee.webserver.plist
^^^^^^^
Library/Formula/cherokee.rb:71:80: C: Line is too long. [84/79]
sudo launchctl load -w /Library/LaunchDaemons/org.cherokee.webserver.plist
^^^^^
Library/Formula/chibi-scheme.rb:3:1: C: Missing top-level class documentation comment.
class ChibiScheme < Formula
^^^^^
Library/Formula/chibi-scheme.rb:7:51: C: Use the new Ruby 1.9 hash syntax.
head 'https://code.google.com/p/chibi-scheme/', :using => :hg
^^^^^^^^^
Library/Formula/chibi-scheme.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/chibi-scheme.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=#{prefix}"
^^^^^^
Library/Formula/chibi-scheme.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", "PREFIX=#{prefix}"
^^^^^^^^^
Library/Formula/chicken.rb:3:1: C: Missing top-level class documentation comment.
class Chicken < Formula
^^^^^
Library/Formula/chicken.rb:13:33: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args = ["PREFIX=#{prefix}", "PLATFORM=macosx", "C_COMPILER=#{ENV.cc}"]
^^^^^^^^^^^^^^^^^
Library/Formula/chicken.rb:14:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "ARCH=x86-64" if MacOS.prefer_64_bit?
^^^^^^^^^^^^^
Library/Formula/chicken.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", *args
^^^^^^
Library/Formula/chicken.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", *args
^^^^^^
Library/Formula/chicken.rb:16:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install", *args
^^^^^^^^^
Library/Formula/chicken.rb:21:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
assert_equal "25", output.strip
^^^^
Library/Formula/chicken.rb:22:12: C: Prefer $CHILD_STATUS from the English library over $?.
assert $?.success?
^^
Library/Formula/chipmunk.rb:3:1: C: Missing top-level class documentation comment.
class Chipmunk < Formula
^^^^^
Library/Formula/chipmunk.rb:5:80: C: Line is too long. [82/79]
url 'https://github.com/slembcke/Chipmunk-Physics/archive/Chipmunk-6.1.5.tar.gz'
^^^
Library/Formula/chipmunk.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}",
^^^^^^^
Library/Formula/chipmunk.rb:14:21: C: Align the parameters of a method call if they span more than one line.
"-DCMAKE_PREFIX_PATH=#{prefix}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/chipmunk.rb:15:21: C: Align the parameters of a method call if they span more than one line.
"-DPREFIX=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/chipmunk.rb:16:21: C: Align the parameters of a method call if they span more than one line.
"."
^^^
Library/Formula/chipmunk.rb:16:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"."
^^^
Library/Formula/chipmunk.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/chkrootkit.rb:3:1: C: Missing top-level class documentation comment.
class Chkrootkit < Formula
^^^^^
Library/Formula/chkrootkit.rb:5:80: C: Line is too long. [90/79]
url 'http://ftp.de.debian.org/debian/pool/main/c/chkrootkit/chkrootkit_0.49.orig.tar.gz'
^^^^^^^^^^^
Library/Formula/chkrootkit.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}",
^^^^^^
Library/Formula/chkrootkit.rb:10:20: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/chkrootkit.rb:11:20: C: Align the parameters of a method call if they span more than one line.
"STATIC=",
^^^^^^^^^
Library/Formula/chkrootkit.rb:11:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"STATIC=",
^^^^^^^^^
Library/Formula/chkrootkit.rb:12:20: C: Align the parameters of a method call if they span more than one line.
"sense", "all"
^^^^^^^
Library/Formula/chkrootkit.rb:12:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"sense", "all"
^^^^^^^
Library/Formula/chkrootkit.rb:12:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"sense", "all"
^^^^^
Library/Formula/chkrootkit.rb:15:21: C: Align the elements of an array literal if they span more than one line.
chkrootkit chkutmp chkwtmp ifpromisc
^^^^^^^^^^
Library/Formula/chkrootkit.rb:16:21: C: Align the elements of an array literal if they span more than one line.
strings-static}
^^^^^^^^^^^^^^
Library/Formula/chkrootkit.rb:21:80: C: Line is too long. [83/79]
assert_equal "chkrootkit version #{version}", `#{bin}/chkrootkit -V 2>&1`.strip
^^^^
Library/Formula/chktex.rb:3:1: C: Missing top-level class documentation comment.
class Chktex < Formula
^^^^^
Library/Formula/chktex.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/chktex.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/chmlib.rb:3:1: C: Missing top-level class documentation comment.
class Chmlib < Formula
^^^^^
Library/Formula/chmlib.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-io64", "--enable-examples", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/chmlib.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-io64", "--enable-examples", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^
Library/Formula/chmlib.rb:9:45: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-io64", "--enable-examples", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^
Library/Formula/chmlib.rb:9:80: C: Line is too long. [85/79]
system "./configure", "--disable-io64", "--enable-examples", "--prefix=#{prefix}"
^^^^^^
Library/Formula/chmlib.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/chordii.rb:3:1: C: Missing top-level class documentation comment.
class Chordii < Formula
^^^^^
Library/Formula/chordii.rb:5:80: C: Line is too long. [90/79]
url 'https://downloads.sourceforge.net/project/chordii/chordii/4.5/chordii-4.5.1.tar.gz'
^^^^^^^^^^^
Library/Formula/chordii.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/chordii.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/chordii.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/chromaprint.rb:3:1: C: Missing top-level class documentation comment.
class Chromaprint < Formula
^^^^^
Library/Formula/chromaprint.rb:5:80: C: Line is too long. [83/79]
url 'https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-1.0.tar.gz'
^^^^
Library/Formula/chromaprint.rb:11:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on 'ffmpeg' if build.with? "examples"
^^^^^^^^^^
Library/Formula/chromaprint.rb:14:80: C: Line is too long. [95/79]
# https://bitbucket.org/acoustid/chromaprint/commits/d0a8d8bc7c1ad5bda3294836f49184fe34a92454
^^^^^^^^^^^^^^^^
Library/Formula/chromaprint.rb:15:3: C: Avoid single-line method definitions.
def patches; DATA; end
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/chromaprint.rb:19:50: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << '-DBUILD_EXAMPLES=ON' if build.with? "examples"
^^^^^^^^^^
Library/Formula/chromaprint.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *args
^^^^^^^
Library/Formula/chromaprint.rb:20:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *args
^^^
Library/Formula/chromaprint.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/chromedriver.rb:3:1: C: Missing top-level class documentation comment.
class Chromedriver < Formula
^^^^^
Library/Formula/chruby.rb:3:1: C: Missing top-level class documentation comment.
class Chruby < Formula
^^^^^
Library/Formula/chruby.rb:14:3: C: Method has too many lines. [17/10]
def caveats; <<-EOS.undent
^^^
Library/Formula/chuck.rb:3:1: C: Missing top-level class documentation comment.
class Chuck < Formula
^^^^^
Library/Formula/chuck.rb:8:3: C: Method has too many lines. [11/10]
def install
^^^
Library/Formula/chuck.rb:9:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "src" do
^^^^^
Library/Formula/chuck.rb:17:11: C: Align the parameters of a method call if they span more than one line.
'-F/System/Library/PrivateFrameworks -weak_framework MultitouchSupport'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/chuck.rb:17:80: C: Line is too long. [81/79]
'-F/System/Library/PrivateFrameworks -weak_framework MultitouchSupport'
^^
Library/Formula/chuck.rb:21:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make osx"
^^^^^^^^^^
Library/Formula/chuck.rb:22:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "chuck"
^^^^^^^
Library/Formula/chuck.rb:24:11: C: Surrounding space missing for operator '/'.
(share/'chuck').install "examples/"
^
Library/Formula/chuck.rb:24:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
(share/'chuck').install "examples/"
^^^^^^^^^^^
Library/Formula/cifer.rb:3:1: C: Missing top-level class documentation comment.
class Cifer < Formula
^^^^^
Library/Formula/cifer.rb:9:3: C: Use 2 (not 4) spaces for indentation.
system "make", "prefix=#{prefix}",
^^^^
Library/Formula/cifer.rb:9:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "prefix=#{prefix}",
^^^^^^
Library/Formula/cifer.rb:10:22: C: Align the parameters of a method call if they span more than one line.
"CC=#{ENV.cc}",
^^^^^^^^^^^^^^
Library/Formula/cifer.rb:11:22: C: Align the parameters of a method call if they span more than one line.
"CFLAGS=#{ENV.cflags}",
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cifer.rb:12:22: C: Align the parameters of a method call if they span more than one line.
"LDFLAGS=#{ENV.ldflags}",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cifer.rb:13:22: C: Align the parameters of a method call if they span more than one line.
"install"
^^^^^^^^^
Library/Formula/cifer.rb:13:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"install"
^^^^^^^^^
Library/Formula/cimg.rb:3:1: C: Missing top-level class documentation comment.
class Cimg < Formula
^^^^^
Library/Formula/cityhash.rb:3:1: C: Missing top-level class documentation comment.
class Cityhash < Formula
^^^^^
Library/Formula/cityhash.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cityhash.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/cityhash.rb:9:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cityhash.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cityhash.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/cityhash.rb:12:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/cksfv.rb:3:1: C: Missing top-level class documentation comment.
class Cksfv < Formula
^^^^^
Library/Formula/cksfv.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/cksfv.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cksfv.rb:14:20: C: Surrounding space missing for operator '/'.
path = testpath/"foo"
^
Library/Formula/cksfv.rb:14:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path = testpath/"foo"
^^^^^
Library/Formula/cksfv.rb:15:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
path.write "abcd"
^^^^^^
Library/Formula/cksfv.rb:19:21: C: Prefer $CHILD_STATUS from the English library over $?.
assert_equal 0, $?.exitstatus
^^
Library/Formula/clam.rb:3:1: C: Missing top-level class documentation comment.
class Clam < Formula
^^^^^
Library/Formula/clam.rb:19:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scons "configure", "prefix=#{prefix}", "with_ladspa=no", "xmlbackend=none"
^^^^^^^^^^^
Library/Formula/clam.rb:19:44: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scons "configure", "prefix=#{prefix}", "with_ladspa=no", "xmlbackend=none"
^^^^^^^^^^^^^^^^
Library/Formula/clam.rb:19:62: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scons "configure", "prefix=#{prefix}", "with_ladspa=no", "xmlbackend=none"
^^^^^^^^^^^^^^^^^
Library/Formula/clam.rb:21:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
scons "install"
^^^^^^^^^
Library/Formula/clamav.rb:3:1: C: Missing top-level class documentation comment.
class Clamav < Formula
^^^^^
Library/Formula/clamav.rb:11:11: C: Surrounding space missing for operator '/'.
(share/'clamav').mkpath
^
Library/Formula/clamav.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", *args
^^^^^^^^^^^^^
Library/Formula/clamav.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clamz.rb:3:1: C: Missing top-level class documentation comment.
class Clamz < Formula
^^^^^
Library/Formula/clamz.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/clamz.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clasp.rb:3:1: C: Missing top-level class documentation comment.
class Clasp < Formula
^^^^^
Library/Formula/clasp.rb:5:80: C: Line is too long. [96/79]
url 'https://downloads.sourceforge.net/project/potassco/clasp/2.1.4/clasp-2.1.4-source.tar.gz'
^^^^^^^^^^^^^^^^^
Library/Formula/clasp.rb:10:35: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on 'tbb' if build.with? "mt"
^^^^
Library/Formula/clasp.rb:12:3: C: Method has too many lines. [16/10]
def install
^^^
Library/Formula/clasp.rb:13:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "mt"
^^^^
Library/Formula/clasp.rb:14:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV['TBB30_INSTALL_DIR'] = Formula["tbb"].opt_prefix
^^^^^
Library/Formula/clasp.rb:24:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--with-mt" if build.with? "mt"
^^^^^^^^^^^
Library/Formula/clasp.rb:24:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
args << "--with-mt" if build.with? "mt"
^^^^
Library/Formula/clasp.rb:27:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure.sh", *args
^^^^^^^^^^^^^^^^
Library/Formula/clasp.rb:30:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/class-dump.rb:3:1: C: Missing top-level class documentation comment.
class ClassDump < Formula
^^^^^
Library/Formula/class-dump.rb:9:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :mavericks
^^^^^^^^^
Library/Formula/class-dump.rb:12:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
xcodebuild "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES"
^^^^^^^^^^^^^^^^
Library/Formula/class-dump.rb:12:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
xcodebuild "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES"
^^^^^^^^^
Library/Formula/class-dump.rb:12:45: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
xcodebuild "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES"
^^^^^^^^^^^^^^^
Library/Formula/class-dump.rb:12:80: C: Line is too long. [103/79]
xcodebuild "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/class-dump.rb:12:82: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
xcodebuild "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/class-dump.rb:13:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "build/Release/class-dump"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/classads.rb:3:1: C: Missing top-level class documentation comment.
class Classads < Formula
^^^^^
Library/Formula/classads.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--enable-namespace", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/classads.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--enable-namespace", "--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/classads.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clay.rb:3:1: C: Missing top-level class documentation comment.
class Clay < Formula
^^^^^
Library/Formula/clay.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/clay.rb:14:21: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/clay.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clay.rb:19:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/clay", "-e", "println(\"Hello, Clay!\");"
^^^^
Library/Formula/clean.rb:3:1: C: Missing top-level class documentation comment.
class Clean < Formula
^^^^^
Library/Formula/clean.rb:5:80: C: Line is too long. [83/79]
url 'https://downloads.sourceforge.net/project/clean/clean/3.4/clean-3.4.tar.bz2'
^^^^
Library/Formula/clens.rb:3:1: C: Missing top-level class documentation comment.
class Clens < Formula
^^^^^
Library/Formula/clens.rb:9:80: C: Line is too long. [94/79]
'https://github.com/conformal/clens/commit/83648cc9027d9f76a1bc79ddddcbed1349b9d5cd.patch'
^^^^^^^^^^^^^^^
Library/Formula/clens.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "all", "install", "LOCALBASE=#{prefix}"
^^^^^^
Library/Formula/clens.rb:14:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "all", "install", "LOCALBASE=#{prefix}"
^^^^^
Library/Formula/clens.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "all", "install", "LOCALBASE=#{prefix}"
^^^^^^^^^
Library/Formula/clhep.rb:3:1: C: Missing top-level class documentation comment.
class Clhep < Formula
^^^^^
Library/Formula/clhep.rb:5:80: C: Line is too long. [88/79]
url 'http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.1.3.1.tgz'
^^^^^^^^^
Library/Formula/clhep.rb:12:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "../CLHEP",
^^^^^^^
Library/Formula/clhep.rb:12:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "../CLHEP",
^^^^^^^^^^
Library/Formula/clhep.rb:13:23: C: Align the parameters of a method call if they span more than one line.
"-DCMAKE_PREFIX_PATH=#{prefix}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clhep.rb:14:23: C: Align the parameters of a method call if they span more than one line.
*std_cmake_args
^^^^^^^^^^^^^^^
Library/Formula/clhep.rb:15:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clib.rb:1:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "formula"
^^^^^^^^^
Library/Formula/clib.rb:3:1: C: Missing top-level class documentation comment.
class Clib < Formula
^^^^^
Library/Formula/clib.rb:4:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
homepage "https://github.com/clibs/clib"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clib.rb:5:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://github.com/clibs/clib/archive/1.0.0.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clib.rb:6:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "d840b4259190e1b3ce6cc0970f3e9f659226b9d3"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clib.rb:10:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://github.com/clibs/clib/commit/000a5a.patch"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clib.rb:16:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "530dbba3d513eaa7284a7599a9e5c9b5661e49b8" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clib.rb:17:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "3a5752cfabec9ba1be40264e921156be5a8322e3" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clib.rb:18:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "257551cef879d27bade529a36ae035fe19775f38" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clib.rb:22:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV["PREFIX"] = prefix
^^^^^^^^
Library/Formula/clib.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/clib.rb:23:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/clib.rb:27:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/clib", "install", "stephenmathieson/rot13.c"
^^^^^^^^^
Library/Formula/clib.rb:27:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/clib", "install", "stephenmathieson/rot13.c"
^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cliclick.rb:3:1: C: Missing top-level class documentation comment.
class Cliclick < Formula
^^^^^
Library/Formula/cliclick.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/cliclick.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "cliclick"
^^^^^^^^^^
Library/Formula/cliclick.rb:16:15: C: Surrounding space missing for operator '/'.
system bin/"cliclick", "p:OK"
^
Library/Formula/cliclick.rb:16:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"cliclick", "p:OK"
^^^^^^^^^^
Library/Formula/cliclick.rb:16:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system bin/"cliclick", "p:OK"
^^^^^^
Library/Formula/clipper.rb:3:1: C: Missing top-level class documentation comment.
class Clipper < Formula
^^^^^
Library/Formula/clipper.rb:16:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :manual => 'clipper'
^^^^^^^^^^
Library/Formula/clipper.rb:18:3: C: Method has too many lines. [28/10]
def plist; <<-EOS.undent
^^^
Library/Formula/clipper.rb:20:80: C: Line is too long. [106/79]
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:3:1: C: Missing top-level class documentation comment.
class Clipsafe < Formula
^^^^^
Library/Formula/clipsafe.rb:8:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :macos => :mountain_lion
^^^^^^^^^
Library/Formula/clipsafe.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource "Crypt::Twofish" do
^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:11:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "http://search.cpan.org/CPAN/authors/id/A/AM/AMS/Crypt-Twofish-2.17.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:11:80: C: Line is too long. [83/79]
url "http://search.cpan.org/CPAN/authors/id/A/AM/AMS/Crypt-Twofish-2.17.tar.gz"
^^^^
Library/Formula/clipsafe.rb:12:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "f2659d7b9e7d7daadb3b2414174bd6ec8ac68eda"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource "Digest::SHA" do
^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:16:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "http://search.cpan.org/CPAN/authors/id/M/MS/MSHELOR/Digest-SHA-5.85.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:16:80: C: Line is too long. [84/79]
url "http://search.cpan.org/CPAN/authors/id/M/MS/MSHELOR/Digest-SHA-5.85.tar.gz"
^^^^^
Library/Formula/clipsafe.rb:17:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "a603cfba95afcd0266c9482c0c93e84241fe0ce0"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:20:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource "DateTime" do
^^^^^^^^^^
Library/Formula/clipsafe.rb:21:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-1.03.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:21:80: C: Line is too long. [82/79]
url "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-1.03.tar.gz"
^^^
Library/Formula/clipsafe.rb:22:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "23cad043140988ea95ad8dcb3095cc5aded0464e"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:25:3: C: Method has too many lines. [18/10]
def install
^^^
Library/Formula/clipsafe.rb:26:48: C: Surrounding space missing for operator '+'.
ENV.prepend_create_path 'PERL5LIB', libexec+'lib/perl5'
^
Library/Formula/clipsafe.rb:28:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource("Crypt::Twofish").stage do
^^^^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:29:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
^^^^^^
Library/Formula/clipsafe.rb:29:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:30:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/clipsafe.rb:31:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/clipsafe.rb:31:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/clipsafe.rb:34:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource("Digest::SHA").stage do
^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:35:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
^^^^^^
Library/Formula/clipsafe.rb:35:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
^^^^^^^^^^^^^
Library/Formula/clipsafe.rb:36:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/clipsafe.rb:37:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/clipsafe.rb:37:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/clipsafe.rb:40:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource("DateTime").stage do
^^^^^^^^^^
Library/Formula/clipsafe.rb:41:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "perl", "Build.PL", "--install_base=#{libexec}"
^^^^^^
Library/Formula/clipsafe.rb:41:22: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "perl", "Build.PL", "--install_base=#{libexec}"
^^^^^^^^^^
Library/Formula/clipsafe.rb:42:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./Build"
^^^^^^^^^
Library/Formula/clipsafe.rb:43:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./Build", "install"
^^^^^^^^^
Library/Formula/clipsafe.rb:43:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./Build", "install"
^^^^^^^^^
Library/Formula/clipsafe.rb:46:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "clipsafe"
^^^^^^^^^^
Library/Formula/clipsafe.rb:47:37: C: Surrounding space missing for operator '+'.
bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV['PERL5LIB'])
^
Library/Formula/clipsafe.rb:47:38: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV['PERL5LIB'])
^^^^^
Library/Formula/clipsafe.rb:47:45: C: Use the new Ruby 1.9 hash syntax.
bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV['PERL5LIB'])
^^^^^^^^^^^^
Library/Formula/clipsafe.rb:51:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV["TERM"] = "dumb"
^^^^^^
Library/Formula/clipsafe.rb:51:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
ENV["TERM"] = "dumb"
^^^^^^
Library/Formula/clipsafe.rb:52:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/clipsafe", "--help"
^^^^^^^^
Library/Formula/clisp.rb:3:1: C: Missing top-level class documentation comment.
class Clisp < Formula
^^^^^
Library/Formula/clisp.rb:14:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cause "Configure fails on XCode 4/Snow Leopard."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:18:7: C: Use the new Ruby 1.9 hash syntax.
{ :p0 => "https://trac.macports.org/export/89054/trunk/dports/lang/clisp/files/patch-src_lispbibl_d.diff",
^^^^^^
Library/Formula/clisp.rb:18:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
{ :p0 => "https://trac.macports.org/export/89054/trunk/dports/lang/clisp/files/patch-src_lispbibl_d.diff",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:18:80: C: Line is too long. [110/79]
{ :p0 => "https://trac.macports.org/export/89054/trunk/dports/lang/clisp/files/patch-src_lispbibl_d.diff",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:19:7: C: Use the new Ruby 1.9 hash syntax.
:p1 => DATA }
^^^^^^
Library/Formula/clisp.rb:22:3: C: Method has too many lines. [19/10]
def install
^^^
Library/Formula/clisp.rb:30:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/clisp.rb:31:27: C: Align the parameters of a method call if they span more than one line.
"--with-readline=yes"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:31:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-readline=yes"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:33:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
cd "src" do
^^^^^
Library/Formula/clisp.rb:36:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "Makefile" do |s|
^^^^^^^^^^
Library/Formula/clisp.rb:37:80: C: Line is too long. [83/79]
s.change_make_var! 'CFLAGS', "#{s.get_make_var('CFLAGS')} #{ENV['CFLAGS']}"
^^^^
Library/Formula/clisp.rb:40:80: C: Line is too long. [80/79]
# The ulimit must be set, otherwise `make` will fail and tell you to do so
^
Library/Formula/clisp.rb:41:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "ulimit -s 16384 && make"
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:44:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
opoo "`make check` fails on Lion, so we are skipping it."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:45:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "But it probably means there will be other issues too."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:46:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
puts "Please take them upstream to the clisp project itself."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:48:80: C: Line is too long. [89/79]
# Considering the complexity of this package, a self-check is highly recommended.
^^^^^^^^^^
Library/Formula/clisp.rb:49:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make check"
^^^^^^^^^^^^
Library/Formula/clisp.rb:52:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clisp.rb:57:28: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "#{bin}/clisp", "--version"
^^^^^^^^^^^
Library/Formula/clisp.rb:66:80: C: Line is too long. [102/79]
@@ -3994,7 +3994,7 @@ global object iconv_range (object encoding, uintL start, uintL end, uintL maxint
^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clisp.rb:68:1: C: Trailing whitespace detected.
Library/Formula/clisp.rb:69:80: C: Line is too long. [81/79]
/* Avoid annoying warning caused by a wrongly standardized iconv() prototype. */
^^
Library/Formula/cln.rb:3:1: C: Missing top-level class documentation comment.
class Cln < Formula
^^^^^
Library/Formula/cln.rb:12:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://trac.macports.org/export/114806/trunk/dports/math/cln/files/patch-clang.diff"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cln.rb:12:80: C: Line is too long. [90/79]
"https://trac.macports.org/export/114806/trunk/dports/math/cln/files/patch-clang.diff"
^^^^^^^^^^^
Library/Formula/cln.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}",
^^^^^^^^^^^^^
Library/Formula/cln.rb:17:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cln.rb:17:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cln.rb:18:27: C: Align the parameters of a method call if they span more than one line.
"--with-gmp=#{HOMEBREW_PREFIX}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cln.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cloc.rb:3:1: C: Missing top-level class documentation comment.
class Cloc < Formula
^^^^^
Library/Formula/cloc.rb:9:41: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "cloc-#{version}.pl" => "cloc"
^^^^^^
Library/Formula/clockywock.rb:3:1: C: Missing top-level class documentation comment.
class Clockywock < Formula
^^^^^
Library/Formula/clockywock.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/clockywock.rb:10:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "clockywock"
^^^^^^^^^^^^
Library/Formula/clockywock.rb:11:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man7.install "clockywock.7"
^^^^^^^^^^^^^^
Library/Formula/clojurescript.rb:3:1: C: Missing top-level class documentation comment.
class Clojurescript < Formula
^^^^^
Library/Formula/clojurescript.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./script/bootstrap"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/clojurescript.rb:12:7: C: Align the parameters of a method call if they span more than one line.
"#!/bin/sh", "#!/bin/sh\nCLOJURESCRIPT_HOME=#{libexec}"
^^^^^^^^^^^
Library/Formula/clojurescript.rb:12:7: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"#!/bin/sh", "#!/bin/sh\nCLOJURESCRIPT_HOME=#{libexec}"
^^^^^^^^^^^
Library/Formula/clojurescript.rb:14:34: C: Surrounding space missing for operator '/'.
bin.write_exec_script libexec/'bin/cljsc'
^
Library/Formula/clojurescript.rb:18:80: C: Line is too long. [82/79]
This formula is useful if you need to use the ClojureScript compiler directly.
^^^
Library/Formula/clojurescript.rb:19:80: C: Line is too long. [81/79]
For a more integrated workflow, Leiningen with lein-cljsbuild is recommended.
^^
Library/Formula/cloog.rb:3:1: C: Missing top-level class documentation comment.
class Cloog < Formula
^^^^^
Library/Formula/cloog.rb:5:80: C: Line is too long. [88/79]
url 'http://www.bastoul.net/cloog/pages/download/count.php3?url=./cloog-0.18.1.tar.gz'
^^^^^^^^^
Library/Formula/cloog.rb:21:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cloog.rb:21:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:22:27: C: Align the parameters of a method call if they span more than one line.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:22:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-silent-rules",
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:23:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:24:27: C: Align the parameters of a method call if they span more than one line.
"--with-gmp=system",
^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:24:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-gmp=system",
^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:25:27: C: Align the parameters of a method call if they span more than one line.
"--with-gmp-prefix=#{Formula["gmp"].opt_prefix}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:26:27: C: Align the parameters of a method call if they span more than one line.
"--with-isl=system",
^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:26:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--with-isl=system",
^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:27:27: C: Align the parameters of a method call if they span more than one line.
"--with-isl-prefix=#{Formula["isl"].opt_prefix}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cloog.rb:28:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cloog.rb:49:34: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open3.popen3("#{bin}/cloog", "/dev/stdin") do |stdin, stdout, _|
^^^^^^^^^^^^
Library/Formula/cloog.rb:52:20: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
assert_match /Generated from \/dev\/stdin by CLooG/, stdout.read
^
Library/Formula/cloog.rb:52:20: C: Use %r for regular expressions matching more than 1 '/' character.
assert_match /Generated from \/dev\/stdin by CLooG/, stdout.read
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/closure-compiler.rb:3:1: C: Missing top-level class documentation comment.
class ClosureCompiler < Formula
^^^^^
Library/Formula/closure-compiler.rb:5:54: C: Use the new Ruby 1.9 hash syntax.
url 'https://code.google.com/p/closure-compiler/', :using => :git, :tag => 'v20130823'
^^^^^^^^^
Library/Formula/closure-compiler.rb:5:70: C: Use the new Ruby 1.9 hash syntax.
url 'https://code.google.com/p/closure-compiler/', :using => :git, :tag => 'v20130823'
^^^^^^^
Library/Formula/closure-compiler.rb:5:80: C: Line is too long. [88/79]
url 'https://code.google.com/p/closure-compiler/', :using => :git, :tag => 'v20130823'
^^^^^^^^^
Library/Formula/closure-compiler.rb:7:55: C: Use the new Ruby 1.9 hash syntax.
head 'https://code.google.com/p/closure-compiler/', :using => :git
^^^^^^^^^
Library/Formula/closure-compiler.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "ant", "clean"
^^^^^
Library/Formula/closure-compiler.rb:12:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "ant", "clean"
^^^^^^^
Library/Formula/closure-compiler.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "ant"
^^^^^
Library/Formula/closure-compiler.rb:16:33: C: Surrounding space missing for operator '/'.
bin.write_jar_script libexec/'build/compiler.jar', 'closure-compiler'
^
Library/Formula/cloud-watch.rb:3:1: C: Missing top-level class documentation comment.
class CloudWatch < AmazonWebServicesFormula
^^^^^
Library/Formula/cloud-watch.rb:14:31: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
s = standard_instructions "AWS_CLOUDWATCH_HOME"
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cloud-watch.rb:18:5: C: Redundant `return` detected.
return s
^^^^^^
Library/Formula/cloudbees-sdk.rb:3:1: C: Missing top-level class documentation comment.
class CloudbeesSdk < Formula
^^^^^
Library/Formula/cloudbees-sdk.rb:5:80: C: Line is too long. [83/79]
url 'http://cloudbees-downloads.s3.amazonaws.com/sdk/cloudbees-sdk-1.5.2-bin.zip'
^^^^
Library/Formula/cloudbees-sdk.rb:8:19: C: Use def with parentheses when there are parameters.
def shim_script target
^^^^^^
Library/Formula/cloudbees-sdk.rb:20:9: C: Surrounding space missing for operator '+'.
(bin+'bees').write shim_script('bees')
^
Library/Formula/cloudbees-sdk.rb:21:9: C: Surrounding space missing for operator '+'.
(bin+'beesd').write shim_script('beesd')
^
Library/Formula/cloudbees-sdk.rb:22:9: C: Surrounding space missing for operator '+'.
(bin+'stax').write shim_script('stax')
^
Library/Formula/cloudbees-sdk.rb:23:9: C: Surrounding space missing for operator '+'.
(bin+'staxd').write shim_script('staxd')
^
Library/Formula/cloudfoundry-cli.rb:3:1: C: Missing top-level class documentation comment.
class CloudfoundryCli < Formula
^^^^^
Library/Formula/cloudfoundry-cli.rb:5:51: C: Use the new Ruby 1.9 hash syntax.
head 'https://github.com/cloudfoundry/cli.git', :branch => 'master'
^^^^^^^^^^
Library/Formula/cloudfoundry-cli.rb:6:50: C: Use the new Ruby 1.9 hash syntax.
url 'https://github.com/cloudfoundry/cli.git', :tag => 'v6.0.1'
^^^^^^^
Library/Formula/clozure-cl.rb:3:1: C: Missing top-level class documentation comment.
class ClozureCl < Formula
^^^^^
Library/Formula/clozure-cl.rb:9:28: C: Use the new Ruby 1.9 hash syntax.
conflicts_with 'cclive', :because => 'both install a ccl binary'
^^^^^^^^^^^
Library/Formula/clozure-cl.rb:11:3: C: Method has too many lines. [18/10]
def install
^^^
Library/Formula/clozure-cl.rb:15:26: C: Use && instead of and.
if path.directory? and path.basename.to_s == '.svn'
^^^
Library/Formula/clozure-cl.rb:32:80: C: Line is too long. [84/79]
ccl_scripts.map { |path| Pathname.new(File.expand_path(path)) }.each do |script|
^^^^^
Library/Formula/clozure-cl.rb:34:17: W: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
s.gsub! /CCL_DEFAULT_DIRECTORY=.+$/, %Q{CCL_DEFAULT_DIRECTORY="#{ccl_install_dir}"}
^
Library/Formula/clozure-cl.rb:34:80: C: Line is too long. [91/79]
s.gsub! /CCL_DEFAULT_DIRECTORY=.+$/, %Q{CCL_DEFAULT_DIRECTORY="#{ccl_install_dir}"}
^^^^^^^^^^^^
Library/Formula/clozure-cl.rb:41:80: C: Line is too long. [83/79]
# Link the wrapper scripts to prefix/bin, where Homebrew can link them properly
^^^^
Library/Formula/clozure-cl.rb:44:25: C: Surrounding space missing for operator '+'.
ln ccl_install_dir+script, bin+File.basename(script)
^
Library/Formula/clozure-cl.rb:44:37: C: Surrounding space missing for operator '+'.
ln ccl_install_dir+script, bin+File.basename(script)
^
Library/Formula/clozure-cl.rb:48:80: C: Line is too long. [86/79]
# Generates a string to test the ccl scripts that can be passed directly to `system'
^^^^^^^
Library/Formula/clozure-cl.rb:51:80: C: Line is too long. [90/79]
%Q{#{ccl} -e '(progn (format t "Hello world from #{bit}-bit ClozureCL") (ccl::quit))'}
^^^^^^^^^^^
Library/Formula/clpbar.rb:3:1: C: Missing top-level class documentation comment.
class Clpbar < Formula
^^^^^
Library/Formula/clpbar.rb:5:80: C: Line is too long. [92/79]
url 'https://downloads.sourceforge.net/project/clpbar/clpbar/bar-1.11.1/bar_1.11.1.tar.gz'
^^^^^^^^^^^^^
Library/Formula/clpbar.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/clpbar.rb:9:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clpbar.rb:10:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/clpbar.rb:11:27: C: Align the parameters of a method call if they span more than one line.
"--program-prefix='clp'"
^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clpbar.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clucene.rb:3:1: C: Missing top-level class documentation comment.
class Clucene < Formula
^^^^^
Library/Formula/clucene.rb:5:80: C: Line is too long. [114/79]
url 'https://downloads.sourceforge.net/project/clucene/clucene-core-stable/0.9.21b/clucene-core-0.9.21b.tar.bz2'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clucene.rb:19:80: C: Line is too long. [124/79]
'https://gist.github.com/lfranchi/7954811/raw/828176c01a8f2c1c11eff43bf6773242955dabab/CLucene-HEAD-mavericks.patch'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clucene.rb:21:9: C: Space inside { missing.
{:p0 => [
^
Library/Formula/clucene.rb:21:10: C: Use the new Ruby 1.9 hash syntax.
{:p0 => [
^^^^^^
Library/Formula/clucene.rb:22:80: C: Line is too long. [126/79]
'https://gist.github.com/tlvince/7934499/raw/d0859996dbda8f4cf643d091ae6b491f0a64da59/CLucene-LuceneThreads.h.diff',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clucene.rb:23:80: C: Line is too long. [129/79]
'https://gist.github.com/tlvince/7935339/raw/fd78b1ada278eaf1904e1437efa0f2a1265041a9/CLucene-config-repl_tchar.h.diff'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clucene.rb:24:10: C: Space inside } missing.
]}
^
Library/Formula/clucene.rb:31:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^^^^^
Library/Formula/clucene.rb:31:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", ".", *std_cmake_args
^^^
Library/Formula/clucene.rb:33:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/clucene.rb:33:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/clucene.rb:33:48: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clucene.rb:34:29: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/clucene.rb:40:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clusterit.rb:3:1: C: Missing top-level class documentation comment.
class Clusterit < Formula
^^^^^
Library/Formula/clusterit.rb:5:80: C: Line is too long. [104/79]
url 'https://downloads.sourceforge.net/project/clusterit/clusterit/clusterit-2.5/clusterit-2.5.tar.gz'
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clusterit.rb:8:36: C: Use the new Ruby 1.9 hash syntax.
conflicts_with 'couchdb-lucene', :because => 'both install a `run` binary'
^^^^^^^^^^^
Library/Formula/clusterit.rb:9:26: C: Use the new Ruby 1.9 hash syntax.
conflicts_with 'pdsh', :because => 'both install `dshbak`'
^^^^^^^^^^^
Library/Formula/clusterit.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/clusterit.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/clusterit.rb:14:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/clusterit.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/clusterit.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/clutter.rb:3:1: C: Missing top-level class documentation comment.
class Clutter < Formula
^^^^^
Library/Formula/clutter.rb:5:80: C: Line is too long. [81/79]
url 'http://ftp.gnome.org/pub/gnome/sources/clutter/1.14/clutter-1.14.4.tar.xz'
^^
Library/Formula/clutter.rb:19:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :x11 => '2.5.1' if build.with? 'x'
^^^^^^^
Library/Formula/clutter.rb:21:3: C: Method has too many lines. [26/10]
def install
^^^
Library/Formula/cmake.rb:3:1: C: Missing top-level class documentation comment.
class NoExpatFramework < Requirement
^^^^^
Library/Formula/cmake.rb:8:11: C: Use the new Ruby 1.9 hash syntax.
satisfy :build_env => false do
^^^^^^^^^^^^^
Library/Formula/cmake.rb:9:5: C: Use ! instead of not.
not File.exist? expat_framework
^^^
Library/Formula/cmake.rb:23:1: C: Missing top-level class documentation comment.
class Cmake < Formula
^^^^^
Library/Formula/cmake.rb:33:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "e1e50cfd9f421b64365a7a2c34e9e6337f9391b7" => :mavericks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmake.rb:34:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "9c60ed323f8752eb257d1505e33d70e4367e4219" => :mountain_lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmake.rb:35:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "1914f68373cdc8d1c99b4d76e1e1fed85e4303d3" => :lion
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmake.rb:40:3: C: Method has too many lines. [11/10]
def install
^^^
Library/Formula/cmake.rb:50:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./bootstrap", *args
^^^^^^^^^^^^^
Library/Formula/cmake.rb:51:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/cmake.rb:52:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cmake.rb:56:14: C: Surrounding space missing for operator '/'.
(testpath/'CMakeLists.txt').write('find_package(Ruby)')
^
Library/Formula/cmatrix.rb:3:1: C: Missing top-level class documentation comment.
class Cmatrix < Formula
^^^^^
Library/Formula/cmatrix.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/cmatrix.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/cmatrix.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cmigemo.rb:3:1: C: Missing top-level class documentation comment.
class Cmigemo < Formula
^^^^^
Library/Formula/cmigemo.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "chmod +x ./configure"
^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmigemo.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/cmigemo.rb:18:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make osx"
^^^^^^^^^^
Library/Formula/cmigemo.rb:19:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make osx-dict"
^^^^^^^^^^^^^^^
Library/Formula/cmigemo.rb:21:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make utf-8"
^^^^^^^^^^^^
Library/Formula/cmigemo.rb:24:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make osx-install"
^^^^^^^^^^^^^^^^^^
Library/Formula/cmocka.rb:3:1: C: Missing top-level class documentation comment.
class Cmocka < Formula
^^^^^
Library/Formula/cmocka.rb:12:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "..", "-DUNIT_TESTING=On", *std_cmake_args
^^^^^^^
Library/Formula/cmocka.rb:12:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "..", "-DUNIT_TESTING=On", *std_cmake_args
^^^^
Library/Formula/cmocka.rb:12:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "cmake", "..", "-DUNIT_TESTING=On", *std_cmake_args
^^^^^^^^^^^^^^^^^^^
Library/Formula/cmocka.rb:13:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/cmocka.rb:14:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cmockery.rb:3:1: C: Missing top-level class documentation comment.
class Cmockery < Formula
^^^^^
Library/Formula/cmockery.rb:9:80: C: Line is too long. [109/79]
# This patch will be integrated upstream in 0.1.3, this is due to malloc.h being already in stdlib on OSX
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmockery.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/cmockery.rb:17:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cmockery.rb:39:80: C: Line is too long. [104/79]
diff -uNr cmockery-0.1.2.orig/src/example/allocate_module.c cmockery-0.1.2/src/example/allocate_module.c
^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmockery.rb:40:80: C: Line is too long. [89/79]
--- cmockery-0.1.2.orig/src/example/allocate_module.c 2008-08-29 16:23:29.000000000 -0600
^^^^^^^^^^
Library/Formula/cmockery.rb:41:80: C: Line is too long. [84/79]
+++ cmockery-0.1.2/src/example/allocate_module.c 2009-05-31 15:29:48.000000000 -0600
^^^^^
Library/Formula/cmockery.rb:53:1: C: Trailing whitespace detected.
Library/Formula/cmockery.rb:55:80: C: Line is too long. [80/79]
extern void* _test_malloc(const size_t size, const char* file, const int line);
^
Library/Formula/cmockery.rb:56:80: C: Line is too long. [94/79]
diff -uNr cmockery-0.1.2.orig/src/example/calculator.c cmockery-0.1.2/src/example/calculator.c
^^^^^^^^^^^^^^^
Library/Formula/cmockery.rb:57:80: C: Line is too long. [84/79]
--- cmockery-0.1.2.orig/src/example/calculator.c 2008-08-29 16:23:29.000000000 -0600
^^^^^
Library/Formula/cmockery.rb:60:1: C: Trailing whitespace detected.
Library/Formula/cmockery.rb:62:1: C: Trailing whitespace detected.
Library/Formula/cmu-pocketsphinx.rb:3:1: C: Missing top-level class documentation comment.
class CmuPocketsphinx < Formula
^^^^^
Library/Formula/cmu-pocketsphinx.rb:5:80: C: Line is too long. [100/79]
url 'https://downloads.sourceforge.net/project/cmusphinx/pocketsphinx/0.8/pocketsphinx-0.8.tar.gz'
^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmu-pocketsphinx.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cmu-pocketsphinx.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmu-pocketsphinx.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmu-pocketsphinx.rb:14:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cmu-sphinxbase.rb:3:1: C: Missing top-level class documentation comment.
class CmuSphinxbase < Formula
^^^^^
Library/Formula/cmu-sphinxbase.rb:5:80: C: Line is too long. [96/79]
url 'https://downloads.sourceforge.net/project/cmusphinx/sphinxbase/0.8/sphinxbase-0.8.tar.gz'
^^^^^^^^^^^^^^^^^
Library/Formula/cmu-sphinxbase.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^
Library/Formula/cmu-sphinxbase.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug",
^^^^^^^^^^^^^^^^^
Library/Formula/cmu-sphinxbase.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmu-sphinxbase.rb:14:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmu-sphinxbase.rb:15:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmu-sphinxbase.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cmuclmtk.rb:3:1: C: Missing top-level class documentation comment.
class Cmuclmtk < Formula
^^^^^
Library/Formula/cmuclmtk.rb:5:80: C: Line is too long. [92/79]
url 'https://downloads.sourceforge.net/project/cmusphinx/cmuclmtk/0.7/cmuclmtk-0.7.tar.gz'
^^^^^^^^^^^^^
Library/Formula/cmuclmtk.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/cmuclmtk.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmuclmtk.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/cmuclmtk.rb:13:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/cmuclmtk.rb:13:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/cmus.rb:3:1: C: Missing top-level class documentation comment.
class Cmus < Formula
^^^^^
Library/Formula/cmus.rb:22:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "prefix=#{prefix}", "mandir=#{man}"
^^^^^^^^^^^^^
Library/Formula/cmus.rb:23:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cntlm.rb:3:1: C: Missing top-level class documentation comment.
class Cntlm < Formula
^^^^^
Library/Formula/cntlm.rb:5:80: C: Line is too long. [97/79]
url 'https://downloads.sourceforge.net/project/cntlm/cntlm/cntlm%200.92.3/cntlm-0.92.3.tar.bz2'
^^^^^^^^^^^^^^^^^^
Library/Formula/cntlm.rb:9:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure"
^^^^^^^^^^^^^
Library/Formula/cntlm.rb:10:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "CC=#{ENV.cc}", "SYSCONFDIR=#{etc}"
^^^^^^
Library/Formula/cntlm.rb:12:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
bin.install "cntlm"
^^^^^^^
Library/Formula/cntlm.rb:13:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
man1.install "doc/cntlm.1"
^^^^^^^^^^^^^
Library/Formula/cntlm.rb:14:17: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
etc.install "doc/cntlm.conf"
^^^^^^^^^^^^^^^^
Library/Formula/cntlm.rb:21:17: C: Use the new Ruby 1.9 hash syntax.
plist_options :startup => true
^^^^^^^^^^^
Library/Formula/cntlm.rb:23:3: C: Method has too many lines. [21/10]
def plist; <<-EOS.undent
^^^
Library/Formula/cntlm.rb:25:80: C: Line is too long. [115/79]
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:3:1: C: Missing top-level class documentation comment.
class Coccinelle < Formula
^^^^^
Library/Formula/coccinelle.rb:8:14: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "objective-caml"
^^^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:11:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:12:27: C: Align the parameters of a method call if they span more than one line.
"--enable-ocaml",
^^^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:12:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-ocaml",
^^^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:13:27: C: Align the parameters of a method call if they span more than one line.
"--enable-opt",
^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:13:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"--enable-opt",
^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:14:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/coccinelle.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make"
^^^^^^
Library/Formula/coccinelle.rb:16:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^
Library/Formula/coccinelle.rb:16:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make", "install"
^^^^^^^^^
Library/Formula/cocot.rb:3:1: C: Missing top-level class documentation comment.
class Cocot < Formula
^^^^^
Library/Formula/cocot.rb:8:44: C: Use the new Ruby 1.9 hash syntax.
head 'https://github.com/vmi/cocot.git', :branch => 'master'
^^^^^^^^^^
Library/Formula/cocot.rb:11:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--prefix=#{prefix}"
^^^^^^^^^^^^^
Library/Formula/cocot.rb:12:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/coda-cli.rb:3:1: C: Missing top-level class documentation comment.
class CodaCli < Formula
^^^^^
Library/Formula/cogl.rb:3:1: C: Missing top-level class documentation comment.
class Cogl < Formula
^^^^^
Library/Formula/cogl.rb:16:14: C: Use the new Ruby 1.9 hash syntax.
depends_on :x11 => '2.5.1' if build.with? 'x'
^^^^^^^
Library/Formula/cogl.rb:19:80: C: Line is too long. [97/79]
# Patch from MacPorts, reported upstream at https://bugzilla.gnome.org/show_bug.cgi?id=708825
^^^^^^^^^^^^^^^^^^
Library/Formula/cogl.rb:20:80: C: Line is too long. [97/79]
# https://trac.macports.org/browser/trunk/dports/graphics/cogl/files/patch-clock_gettime.diff
^^^^^^^^^^^^^^^^^^
Library/Formula/cogl.rb:24:3: C: Method has too many lines. [11/10]
def install
^^^
Library/Formula/cogl.rb:25:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./autogen.sh" if build.head?
^^^^^^^^^^^^^^
Library/Formula/cogl.rb:35:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/cogl.rb:57:80: C: Line is too long. [88/79]
+ double nseconds = ((double)time * (double)timebase.numer)/((double)timebase.denom);
^^^^^^^^^
Library/Formula/cogl.rb:58:80: C: Line is too long. [93/79]
+ double seconds = ((double)time * (double)timebase.numer)/((double)timebase.denom * 1e9);
^^^^^^^^^^^^^^
Library/Formula/coin.rb:3:1: C: Missing top-level class documentation comment.
class Coin < Formula
^^^^^
Library/Formula/coin.rb:8:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "without-soqt", "Build without SoQt"
^^^^^^^^^^^^^^
Library/Formula/coin.rb:8:26: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
option "without-soqt", "Build without SoQt"
^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:10:18: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "soqt"
^^^^^^
Library/Formula/coin.rb:11:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "pkg-config" => :build
^^^^^^^^^^^^
Library/Formula/coin.rb:12:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
depends_on "qt"
^^^^
Library/Formula/coin.rb:15:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource "soqt" do
^^^^^^
Library/Formula/coin.rb:16:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
url "https://bitbucket.org/Coin3D/coin/downloads/SoQt-1.5.0.tar.gz"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:17:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
sha1 "c64f00f8c219b69f10ddfffe6294fb02be73dd20"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:22:5: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
"https://bitbucket.org/cbuehler/coin/commits/e146a6a93a6b807c28c3d73b3baba80fa41bc5f6/raw"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:22:80: C: Line is too long. [94/79]
"https://bitbucket.org/cbuehler/coin/commits/e146a6a93a6b807c28c3d73b3baba80fa41bc5f6/raw"
^^^^^^^^^^^^^^^
Library/Formula/coin.rb:25:3: C: Method has too many lines. [17/10]
def install
^^^
Library/Formula/coin.rb:27:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "configure", '-fno-for-scoping', '-fno-for-scope'
^^^^^^^^^^^
Library/Formula/coin.rb:30:80: C: Line is too long. [119/79]
# http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/graphics/Coin/patches/patch-include_Inventor_C_base_math-undefs.h
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:31:15: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "include/Inventor/C/base/math-undefs.h", "#ifndef COIN_MATH_UNDEFS_H", "#if false"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:31:56: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "include/Inventor/C/base/math-undefs.h", "#ifndef COIN_MATH_UNDEFS_H", "#if false"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:31:80: C: Line is too long. [96/79]
inreplace "include/Inventor/C/base/math-undefs.h", "#ifndef COIN_MATH_UNDEFS_H", "#if false"
^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:31:86: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "include/Inventor/C/base/math-undefs.h", "#ifndef COIN_MATH_UNDEFS_H", "#if false"
^^^^^^^^^^^
Library/Formula/coin.rb:33:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^
Library/Formula/coin.rb:33:27: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:33:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "./configure", "--disable-debug", "--disable-dependency-tracking",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:34:27: C: Align the parameters of a method call if they span more than one line.
"--prefix=#{prefix}",
^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:35:27: C: Align the parameters of a method call if they span more than one line.
"--with-framework-prefix=#{frameworks}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Library/Formula/coin.rb:36:12: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
system "make install"
^^^^^^^^^^^^^^
Library/Formula/coin.rb:38:20: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
if build.with? "soqt"
^^^^^^
Library/Formula/coin.rb:39:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
resource("soqt").stage do
^^^^^^
Library/Formula/coin.rb:43:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
inreplace "configure", /^(LIBS=\$sim_ac_uniqued_list)$/, "# \\1"
^^^^^^^^^^^
Library/Formula/coin.rb:43:66: C: Prefer single-quo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment