36% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have
checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that
someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.
Loading history...
13
#
14
# Table name: web_hooks
15
#
16
# id :integer not null, primary key
17
# url :string(255)
18
# project_id :integer
19
# created_at :timestamp
20
# updated_at :timestamp
21
# type :string(255) default("ProjectHook")
22
# service_id :integer
23
# push_events :boolean default(TRUE), not null
24
# issues_events :boolean default(FALSE), not null
25
# pull_requests_events :boolean default(FALSE), not null
26
# tag_push_events :boolean default(FALSE)
27
# comment_events :boolean default(FALSE), not null
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.