12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-09-11T08:19:02.892081 #1] WARN -- : Skipping app/models/organization.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:02.892116 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.161397 #1] WARN -- : Skipping app/lib/depreciation.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.161434 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.179152 #1] WARN -- : Skipping app/lib/depreciation/methods/straight_line_depreciation.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.179190 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.181136 #1] WARN -- : Skipping app/lib/depreciation/init_depreciation.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.181167 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.183023 #1] WARN -- : Skipping app/lib/depreciation/calculate_depreciation.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.183052 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.191725 #1] WARN -- : Skipping app/lib/authentication/token_decoder.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.191754 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.193748 #1] WARN -- : Skipping app/lib/authentication/token_validator.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.193776 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.195915 #1] WARN -- : Skipping app/lib/authentication/token_generator.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.195941 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.207091 #1] WARN -- : Skipping app/lib/search_query/builder.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.207123 #1] WARN -- : Response status: 422
W, [2024-09-11T08:19:03.212685 #1] WARN -- : Skipping app/lib/authentication.rb due to CC::Parser::Client::HTTPError
W, [2024-09-11T08:19:03.212714 #1] WARN -- : Response status: 422
|
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-09-11T08:19:06.133130 #1] INFO -- : Skipping file ./app/models/system_attribute.rb due to exception (Racc::ParseError): ./app/models/system_attribute.rb:19 :: parse error on value ":" (tCOLON)
I, [2024-09-11T08:19:06.144461 #1] INFO -- : Skipping file ./app/models/organization.rb due to exception (Racc::ParseError): ./app/models/organization.rb:23 :: parse error on value ":" (tCOLON)
I, [2024-09-11T08:19:06.252264 #1] INFO -- : Skipping file ./app/lib/depreciation.rb due to exception (Racc::ParseError): ./app/lib/depreciation.rb:4 :: parse error on value "..." (tDOT3)
I, [2024-09-11T08:19:06.262942 #1] INFO -- : Skipping file ./app/lib/depreciation/methods/straight_line_depreciation.rb due to exception (Racc::ParseError): ./app/lib/depreciation/methods/straight_line_depreciation.rb:10 :: parse error on value "..." (tDOT3)
I, [2024-09-11T08:19:06.263033 #1] INFO -- : Skipping file ./app/lib/depreciation/init_depreciation.rb due to exception (Racc::ParseError): ./app/lib/depreciation/init_depreciation.rb:5 :: parse error on value ":" (tSYMBEG)
I, [2024-09-11T08:19:06.273151 #1] INFO -- : Skipping file ./app/lib/depreciation/calculate_depreciation.rb due to exception (Racc::ParseError): ./app/lib/depreciation/calculate_depreciation.rb:9 :: parse error on value "..." (tDOT3)
I, [2024-09-11T08:19:06.276186 #1] INFO -- : Skipping file ./app/lib/authentication/token_decoder.rb due to exception (Racc::ParseError): ./app/lib/authentication/token_decoder.rb:10 :: parse error on value "..." (tDOT3)
I, [2024-09-11T08:19:06.282531 #1] INFO -- : Skipping file ./app/lib/authentication/token_validator.rb due to exception (Racc::ParseError): ./app/lib/authentication/token_validator.rb:5 :: parse error on value ":" (tSYMBEG)
I, [2024-09-11T08:19:06.289727 #1] INFO -- : Skipping file ./app/lib/authentication/token_generator.rb due to exception (Racc::ParseError): ./app/lib/authentication/token_generator.rb:12 :: parse error on value "..." (tDOT3)
I, [2024-09-11T08:19:06.302876 #1] INFO -- : Skipping file ./app/lib/search_query/builder.rb due to exception (Racc::ParseError): ./app/lib/search_query/builder.rb:9 :: parse error on value "..." (tDOT3)
I, [2024-09-11T08:19:06.307904 #1] INFO -- : Skipping file ./app/lib/authentication.rb due to exception (Racc::ParseError): ./app/lib/authentication.rb:12 :: parse error on value "..." (tDOT3)
|
!!!
Source 'app/lib/authentication/token_decoder.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/authentication/token_generator.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/authentication/token_validator.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/authentication.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/depreciation/calculate_depreciation.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/depreciation/init_depreciation.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/depreciation/methods/straight_line_depreciation.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/depreciation.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/lib/search_query/builder.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tDOT3>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
!!!
Source 'app/models/organization.rb' cannot be processed by Reek due to a syntax error in the source file.
This is a problem that is outside of Reek's scope and should be fixed by you, the
user, in order for Reek being able to continue.
Things you can try:
- Check the syntax of the problematic file
- If the file is not in fact a Ruby file, exclude it in your .reek.yml file
Exception message:
#<Parser::SyntaxError: unexpected token tEQL>
Original backtrace:
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
/usr/src/app/lib/reek/examiner.rb:93:in `run'
/usr/src/app/lib/reek/examiner.rb:61:in `smells'
/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
/usr/src/app/bin/code_climate_reek:68:in `<main>'
!!!
|