Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

401 / Исправлена ошибка удаления тестовых данных при создании объекта #405

Merged
merged 5 commits into from
Sep 4, 2024

Conversation

alkoleft
Copy link
Member

@alkoleft alkoleft commented Sep 3, 2024

Описание изменений


  • Добавлены тесты
  • Изменения отражены в документации (при необходимости)

Close #401

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Quality Gate failed! failed

bug 0 Bugs
vulnerability 0 Vulnerabilities
code_smell 5 Code Smells

No data Coverage
duplication_lt_3 0.00% Duplication

КонецЦикла;

Возврат НоваяТаблицаЗначений;
Возврат ЮТСравнениеСлужебныйСервер.ТабличныеДокументыРавны(ТабличныйДокумент1, ТабличныйДокумент2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔗Пропущена точка с запятой в конце выражения

CODE_SMELL Codesmell  MINOR Minor

standard badpractice  Why is this an issue?


// https://github.com/vanessa-opensource/add
// перенесен из Functest
Функция ПолучитьТаблицуЗначенийИзТабличногоДокумента(ТабличныйДокумент, УчитыватьТолькоВидимыеКолонки = Ложь, УчитыватьТолькоВидимыеСтроки = Ложь)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔗Добавьте описание возвращаемого значения функции

CODE_SMELL Codesmell  MAJOR Major

standard badpractice parameters  Why is this an issue?


// https://github.com/vanessa-opensource/add
// перенесен из Functest
Функция ПолучитьТаблицуЗначенийИзТабличногоДокумента(ТабличныйДокумент, УчитыватьТолькоВидимыеКолонки = Ложь, УчитыватьТолькоВидимыеСтроки = Ложь)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔗Уменьшите когнитивную сложность "ПолучитьТаблицуЗначенийИзТабличногоДокумента" с 17 до 15

CODE_SMELL Codesmell  CRITICAL Critical

brainoverload parameters  Why is this an issue?


// https://github.com/vanessa-opensource/add
// перенесен из Functest
Функция ПолучитьТаблицуЗначенийИзТабличногоДокумента(ТабличныйДокумент, УчитыватьТолькоВидимыеКолонки = Ложь, УчитыватьТолькоВидимыеСтроки = Ложь)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔗Необходимо добавить описание всех параметров метода

CODE_SMELL Codesmell  MAJOR Major

standard badpractice  Why is this an issue?

Колонки = НоваяТаблицаЗначений.Колонки;
ТипСтрока = Новый ОписаниеТипов("Строка");

// TODO При определении видимости не учитывается наличие нескольких форматов строк, сейчас видимость колонки определяется по формату первой строки
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔗Найден служебный тег "// TODO"

CODE_SMELL Codesmell  INFO Info

badpractice parameters  Why is this an issue?

@alkoleft alkoleft merged commit e31086d into develop Sep 4, 2024
1 of 4 checks passed
@alkoleft alkoleft deleted the feature/401 branch September 4, 2024 14:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Не удаляются тестовые данные
1 participant