Showing 23 of 1,045 total issues
Consider simplifying this complex logical expression. Open
Open
if (option.value === props.value) {
return (
<React.Fragment>
{ renderMst && <div>
<Checkbox
Consider simplifying this complex logical expression. Open
Open
if (currentType === 'SendInitialNotificationLetterTask') {
return (
<React.Fragment>
<div className="cc_mark_complete">
{taskConfiguration && StringUtil.nl2br(taskConfiguration.modal_body)}
Consider simplifying this complex logical expression. Open
Open
if (props.task.type === 'SendInitialNotificationLetterTask' ||
props.task.type === 'PostSendInitialNotificationLetterHoldingTask' ||
props.task.type === 'SendFinalNotificationLetterTask') {
return (
<QueueFlowModal
Method email_request
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def email_request(participant_id, notification_id, email_template_id, first_name, docket_number, status)
Method send_email_notifications
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
participant_id,
notification_id,
email_template_id,
first_name,
docket_number,
Method send_sms_notifications
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
participant_id,
notification_id,
sms_template_id,
first_name,
docket_number,
Method distribute_nonpriority_appeals
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.distribute_nonpriority_appeals(judge, genpop, range, limit, bust_backlog, dry_run = false)
Method send_email_notifications
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
participant_id,
notification_id,
email_template_id,
first_name,
docket_number,
Method sms_request
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def sms_request(participant_id, notification_id, sms_template_id, first_name, docket_number, status)
Method send_sms_notifications
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def send_sms_notifications(participant_id, notification_id, sms_template_id, first_name, docket_number, status = "")
Consider simplifying this complex logical expression. Open
Open
if @va_notify_email && @va_notify_sms && event_type != "Quarterly Notification" ||
@va_notify_email && @va_notify_quarterly_sms && event_type == "Quarterly Notification"
"Email and SMS"
elsif @va_notify_email
"Email"
Method get_dates_between
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_dates_between(start_date, end_date, num_of_dates,
exclude_weekends = true, max_same_date = 4)
Method distribute_nonpriority_appeals
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def distribute_nonpriority_appeals(judge, genpop, range, limit, bust_backlog)
Method cancel_end_product
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def cancel_end_product(veteran_file_number, end_product_code, end_product_modifier, payee_code, benefit_type)
Method cancel_end_product
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def cancel_end_product(file_number, end_product_code, end_product_modifier, payee_code, _benefit_type)
Method log_info
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def log_info(start_time, task_count_for, error_count, hearing_ids, err = nil)
Avoid too many return
statements within this method. Open
Open
return :pending_certification
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return {
x,
y
};
Avoid too many return
statements within this method. Open
Open
return false if ancestor_task_of_type(EvidenceSubmissionWindowTask).present?