-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
288 / Проброс параметров по умолчанию #362
Conversation
При вызове метода и при настройке мокито
Если Не ДобавитьНеПоследнее(Значения, Значение10) Тогда | ||
Возврат Значения; | ||
КонецЕсли; | ||
Функция ЗначениеВМассиве(Значение1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Уменьшите количество необязательных параметров c 9 до допустимого 3 Why is this an issue?
Если Не ДобавитьНеПоследнее(Значения, Значение10) Тогда | ||
Возврат Значения; | ||
КонецЕсли; | ||
Функция ЗначениеВМассиве(Значение1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Добавьте описание возвращаемого значения функции Why is this an issue?
Если Не ДобавитьНеПоследнее(Значения, Значение10) Тогда | ||
Возврат Значения; | ||
КонецЕсли; | ||
Функция ЗначениеВМассиве(Значение1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Уменьшите количество параметров c 10 до допустимого 7 Why is this an issue?
Возврат Значения; | ||
КонецЕсли; | ||
Функция ЗначениеВМассиве(Значение1, | ||
Значение2 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо избавиться от многократного использования строкового литерала "_!%*" Why is this an issue?
ФлагПустогоЗначения = "_!%*"; | ||
Значения = Неопределено; | ||
|
||
Для Инд = -10 По -1 Цикл |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Справа от '-' не хватает пробела Why is this an issue?
Значение4 = "_!%*", | ||
Значение5 = "_!%*", | ||
Значение6 = "_!%*", | ||
Значение7 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение7" Why is this an issue?
Значение5 = "_!%*", | ||
Значение6 = "_!%*", | ||
Значение7 = "_!%*", | ||
Значение8 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение8" Why is this an issue?
Значение6 = "_!%*", | ||
Значение7 = "_!%*", | ||
Значение8 = "_!%*", | ||
Значение9 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение9" Why is this an issue?
ФлагПустогоЗначения = "_!%*"; | ||
Значения = Неопределено; | ||
|
||
Для Инд = -10 По -1 Цикл |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Справа от '-' не хватает пробела Why is this an issue?
Значение = ЗначениеПоУмолчанию; | ||
КонецЕсли; | ||
|
||
Значения[-Инд - 1] = Значение; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Слева от '-' не хватает пробела Why is this an issue?
SonarQube Code AnalyticsQuality Gate passedAdditional informationThe following metrics might not affect the Quality Gate status but improving them will improve your project code quality. IssuesCoverage and DuplicationsNo data Coverage |
Значения = Новый Массив(- Инд); | ||
КонецЕсли; | ||
|
||
Значения[- Инд - 1] = Значение; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Слева от '-' не хватает пробела Why is this an issue?
// BSLLS:DuplicateStringLiteral-off | ||
Функция ЗначениеВМассивеПоУмолчанию(ЗначениеПоУмолчанию, | ||
Значение1, | ||
Значение2 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение2" Why is this an issue?
Функция ЗначениеВМассивеПоУмолчанию(ЗначениеПоУмолчанию, | ||
Значение1, | ||
Значение2 = "_!%*", | ||
Значение3 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение3" Why is this an issue?
Значение1, | ||
Значение2 = "_!%*", | ||
Значение3 = "_!%*", | ||
Значение4 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение4" Why is this an issue?
Значение2 = "_!%*", | ||
Значение3 = "_!%*", | ||
Значение4 = "_!%*", | ||
Значение5 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение5" Why is this an issue?
Значение3 = "_!%*", | ||
Значение4 = "_!%*", | ||
Значение5 = "_!%*", | ||
Значение6 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение6" Why is this an issue?
Значение4 = "_!%*", | ||
Значение5 = "_!%*", | ||
Значение6 = "_!%*", | ||
Значение7 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение7" Why is this an issue?
Значение5 = "_!%*", | ||
Значение6 = "_!%*", | ||
Значение7 = "_!%*", | ||
Значение8 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение8" Why is this an issue?
Значение6 = "_!%*", | ||
Значение7 = "_!%*", | ||
Значение8 = "_!%*", | ||
Значение9 = "_!%*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Необходимо добавить описание параметра "Значение9" Why is this an issue?
Значение = ЗначениеПоУмолчанию; | ||
КонецЕсли; | ||
|
||
Значения[- Инд - 1] = Значение; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Слева от '-' не хватает пробела Why is this an issue?
Описание изменений
Проброс параметров по умолчанию
Close #288