Debian Codegraph @

fmts/testdata/reek.in

raw
1 Inspecting 101 file(s):
2 ...SS.SSSSSS.S....SSSS..S.......S...................................S.....SSSSSSSSSSSSSSSSSSSSSSSSS..
3
4 app/controllers/api_controller.rb -- 1 warning:
5 app/controllers/api_controller.rb:3: IrresponsibleModule: ApiController has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
6 app/controllers/application_controller.rb -- 1 warning:
7 app/controllers/application_controller.rb:3: IrresponsibleModule: ApplicationController has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
8 app/controllers/concerns/respondable.rb -- 4 warnings:
9 app/controllers/concerns/respondable.rb:8: FeatureEnvy: Respondable#render_result refers to 'result' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Feature-Envy.md]
10 app/controllers/concerns/respondable.rb:46: UtilityFunction: Respondable#error_serializer_for doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Utility-Function.md]
11 app/controllers/concerns/respondable.rb:33: UtilityFunction: Respondable#serialize doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Utility-Function.md]
12 app/controllers/concerns/respondable.rb:42: UtilityFunction: Respondable#to_json doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Utility-Function.md]
13 app/controllers/countries_controller.rb -- 1 warning:
14 app/controllers/countries_controller.rb:3: IrresponsibleModule: CountriesController has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
15 app/controllers/open_api_controller.rb -- 1 warning:
16 app/controllers/open_api_controller.rb:3: IrresponsibleModule: OpenApiController has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
17 app/controllers/password_controller.rb -- 1 warning:
18 app/controllers/password_controller.rb:3: IrresponsibleModule: PasswordController has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
19 app/controllers/session_controller.rb -- 1 warning:
20 app/controllers/session_controller.rb:3: IrresponsibleModule: SessionController has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
21 app/controllers/users_controller.rb -- 1 warning:
22 app/controllers/users_controller.rb:3: IrresponsibleModule: UsersController has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
23 app/errors/invalid_credentials_error.rb -- 1 warning:
24 app/errors/invalid_credentials_error.rb:3: IrresponsibleModule: InvalidCredentialsError has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
25 app/jobs/geocode_user_ip_job.rb -- 2 warnings:
26 app/jobs/geocode_user_ip_job.rb:3: IrresponsibleModule: GeocodeUserIpJob has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
27 app/jobs/geocode_user_ip_job.rb:6: UtilityFunction: GeocodeUserIpJob#perform doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Utility-Function.md]
28 app/mailers/application_mailer.rb -- 1 warning:
29 app/mailers/application_mailer.rb:3: IrresponsibleModule: ApplicationMailer has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
30 app/mailers/notifications_mailer.rb -- 3 warnings:
31 app/mailers/notifications_mailer.rb:11: DuplicateMethodCall: NotificationsMailer#password_reset calls 'user.email' 2 times [https://github.com/troessner/reek/blob/v5.4.0/docs/Duplicate-Method-Call.md]
32 app/mailers/notifications_mailer.rb:5: DuplicateMethodCall: NotificationsMailer#signup calls 'user.email' 2 times [https://github.com/troessner/reek/blob/v5.4.0/docs/Duplicate-Method-Call.md]
33 app/mailers/notifications_mailer.rb:3: IrresponsibleModule: NotificationsMailer has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
34 app/models/admin_user.rb -- 1 warning:
35 app/models/admin_user.rb:3: IrresponsibleModule: AdminUser has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
36 app/models/country.rb -- 1 warning:
37 app/models/country.rb:3: IrresponsibleModule: Country has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
38 config/application.rb -- 1 warning:
39 config/application.rb:41: IrresponsibleModule: EasygorussiaApi::Application has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
40 spec/support/api_test_helpers.rb -- 1 warning:
41 spec/support/api_test_helpers.rb:3: IrresponsibleModule: ApiTestHelpers has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
42 lib/docs/public/operations/country.rb -- 1 warning:
43 lib/docs/public/operations/country.rb:6: IrresponsibleModule: Docs::Public::Operations::Country has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
44 lib/docs/public/operations/session.rb -- 1 warning:
45 lib/docs/public/operations/session.rb:6: IrresponsibleModule: Docs::Public::Operations::Session has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
46 lib/docs/public/operations/user.rb -- 1 warning:
47 lib/docs/public/operations/user.rb:6: IrresponsibleModule: Docs::Public::Operations::User has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
48 lib/docs/public/root.rb -- 1 warning:
49 lib/docs/public/root.rb:5: IrresponsibleModule: Docs::Public::Root has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
50 lib/docs/public/schemas/api_key.rb -- 1 warning:
51 lib/docs/public/schemas/api_key.rb:6: IrresponsibleModule: Docs::Public::Schemas::ApiKey has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
52 lib/docs/public/schemas/country.rb -- 1 warning:
53 lib/docs/public/schemas/country.rb:6: IrresponsibleModule: Docs::Public::Schemas::Country has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
54 lib/docs/public/schemas/errors.rb -- 1 warning:
55 lib/docs/public/schemas/errors.rb:6: IrresponsibleModule: Docs::Public::Schemas::Errors has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
56 lib/docs/public/schemas/session.rb -- 1 warning:
57 lib/docs/public/schemas/session.rb:6: IrresponsibleModule: Docs::Public::Schemas::Session has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
58 lib/docs/public/schemas/user.rb -- 1 warning:
59 lib/docs/public/schemas/user.rb:6: IrresponsibleModule: Docs::Public::Schemas::User has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
60 lib/operations/auth/authenticate.rb -- 2 warnings:
61 lib/operations/auth/authenticate.rb:7: IrresponsibleModule: Operations::Auth::Authenticate has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
62 lib/operations/auth/authenticate.rb:17: UtilityFunction: Operations::Auth::Authenticate#find_user doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Utility-Function.md]
63 lib/operations/auth/sign_in.rb -- 1 warning:
64 lib/operations/auth/sign_in.rb:7: IrresponsibleModule: Operations::Auth::SignIn has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
65 lib/operations/password/request_reset_token.rb -- 3 warnings:
66 lib/operations/password/request_reset_token.rb:7: IrresponsibleModule: Operations::Password::RequestResetToken has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
67 lib/operations/password/request_reset_token.rb:19: UtilityFunction: Operations::Password::RequestResetToken#find_user doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Utility-Function.md]
68 lib/operations/password/request_reset_token.rb:23: UtilityFunction: Operations::Password::RequestResetToken#generate_and_deliver_token doesn't depend on instance state (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Utility-Function.md]
69 lib/operations/password/reset.rb -- 2 warnings:
70 lib/operations/password/reset.rb:13: DuplicateMethodCall: Operations::Password::Reset#call calls 'user.api_keys' 2 times [https://github.com/troessner/reek/blob/v5.4.0/docs/Duplicate-Method-Call.md]
71 lib/operations/password/reset.rb:7: IrresponsibleModule: Operations::Password::Reset has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
72 lib/operations/users/confirm.rb -- 1 warning:
73 lib/operations/users/confirm.rb:7: IrresponsibleModule: Operations::Users::Confirm has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
74 lib/operations/users/sign_up.rb -- 2 warnings:
75 lib/operations/users/sign_up.rb:11: FeatureEnvy: Operations::Users::SignUp#call refers to 'input' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Feature-Envy.md]
76 lib/operations/users/sign_up.rb:7: IrresponsibleModule: Operations::Users::SignUp has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
77 db/migrate/20191022095734_enable_extension_for_uuid.rb -- 1 warning:
78 db/migrate/20191022095734_enable_extension_for_uuid.rb:3: IrresponsibleModule: EnableExtensionForUuid has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
79 db/migrate/20191022104039_create_users.rb -- 4 warnings:
80 db/migrate/20191022104039_create_users.rb:6: FeatureEnvy: CreateUsers#change refers to 't' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Feature-Envy.md]
81 db/migrate/20191022104039_create_users.rb:3: IrresponsibleModule: CreateUsers has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
82 db/migrate/20191022104039_create_users.rb:4: TooManyStatements: CreateUsers#change has approx 12 statements [https://github.com/troessner/reek/blob/v5.4.0/docs/Too-Many-Statements.md]
83 db/migrate/20191022104039_create_users.rb:5: UncommunicativeVariableName: CreateUsers#change has the variable name 't' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Variable-Name.md]
84 db/migrate/20191022105647_create_api_keys.rb -- 4 warnings:
85 db/migrate/20191022105647_create_api_keys.rb:6: FeatureEnvy: CreateApiKeys#change refers to 't' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Feature-Envy.md]
86 db/migrate/20191022105647_create_api_keys.rb:3: IrresponsibleModule: CreateApiKeys has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
87 db/migrate/20191022105647_create_api_keys.rb:4: TooManyStatements: CreateApiKeys#change has approx 6 statements [https://github.com/troessner/reek/blob/v5.4.0/docs/Too-Many-Statements.md]
88 db/migrate/20191022105647_create_api_keys.rb:5: UncommunicativeVariableName: CreateApiKeys#change has the variable name 't' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Variable-Name.md]
89 db/migrate/20191028114856_devise_create_admin_users.rb -- 4 warnings:
90 db/migrate/20191028114856_devise_create_admin_users.rb:7: FeatureEnvy: DeviseCreateAdminUsers#change refers to 't' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Feature-Envy.md]
91 db/migrate/20191028114856_devise_create_admin_users.rb:3: IrresponsibleModule: DeviseCreateAdminUsers has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
92 db/migrate/20191028114856_devise_create_admin_users.rb:4: TooManyStatements: DeviseCreateAdminUsers#change has approx 14 statements [https://github.com/troessner/reek/blob/v5.4.0/docs/Too-Many-Statements.md]
93 db/migrate/20191028114856_devise_create_admin_users.rb:5: UncommunicativeVariableName: DeviseCreateAdminUsers#change has the variable name 't' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Variable-Name.md]
94 db/migrate/20191028114859_create_active_admin_comments.rb -- 3 warnings:
95 db/migrate/20191028114859_create_active_admin_comments.rb:3: IrresponsibleModule: CreateActiveAdminComments has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
96 db/migrate/20191028114859_create_active_admin_comments.rb:4: TooManyStatements: CreateActiveAdminComments#self.up has approx 7 statements [https://github.com/troessner/reek/blob/v5.4.0/docs/Too-Many-Statements.md]
97 db/migrate/20191028114859_create_active_admin_comments.rb:5: UncommunicativeVariableName: CreateActiveAdminComments#self.up has the variable name 't' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Variable-Name.md]
98 db/migrate/20191105114613_create_countries.rb -- 3 warnings:
99 db/migrate/20191105114613_create_countries.rb:6: FeatureEnvy: CreateCountries#change refers to 't' more than self (maybe move it to another class?) [https://github.com/troessner/reek/blob/v5.4.0/docs/Feature-Envy.md]
100 db/migrate/20191105114613_create_countries.rb:3: IrresponsibleModule: CreateCountries has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
101 db/migrate/20191105114613_create_countries.rb:5: UncommunicativeVariableName: CreateCountries#change has the variable name 't' [https://github.com/troessner/reek/blob/v5.4.0/docs/Uncommunicative-Variable-Name.md]
102 db/migrate/20191108095330_add_country_to_user.rb -- 1 warning:
103 db/migrate/20191108095330_add_country_to_user.rb:3: IrresponsibleModule: AddCountryToUser has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
104 db/migrate/20191108100743_update_users.rb -- 1 warning:
105 db/migrate/20191108100743_update_users.rb:3: IrresponsibleModule: UpdateUsers has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
106 db/migrate/20191108101216_update_api_keys.rb -- 1 warning:
107 db/migrate/20191108101216_update_api_keys.rb:3: IrresponsibleModule: UpdateApiKeys has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
108 db/migrate/20191110224523_rename_country_on_users.rb -- 1 warning:
109 db/migrate/20191110224523_rename_country_on_users.rb:3: IrresponsibleModule: RenameCountryOnUsers has no descriptive comment [https://github.com/troessner/reek/blob/v5.4.0/docs/Irresponsible-Module.md]
110 65 total warnings