Assignment Branch Condition size for generic_message is too high. [23.49/15] Open
def generic_message(defn)
@partial_name = defn[:body][:partial_name]
@user = defn[:body][:user]
@first_name = defn[:body][:first_name]
@password = defn[:body][:password]
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric
Assignment Branch Condition size for request_user_message is too high. [21.28/15] Open
def request_user_message(defn)
@user = defn[:body][:user]
@super_user = defn[:body][:super_user]
@first_name = defn[:body][:first_name]
@new_pct = defn[:body][:new_pct]
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric
Assignment Branch Condition size for notify_grade_conflict_message is too high. [18.97/15] Open
def notify_grade_conflict_message(defn)
@body = defn[:body]
@assignment = @body[:assignment]
@reviewer_name = @body[:reviewer_name]
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric
Assignment Branch Condition size for sync_message is too high. [17.2/15] Open
def sync_message(defn)
@body = defn[:body]
@type = defn[:body][:type]
@obj_name = defn[:body][:obj_name]
@first_name = defn[:body][:first_name]
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric