Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-tracker/Console/FixData.php

Summary

Maintainability
D
1 day
Test Coverage

Showing 2 of 2 total issues

Function execute has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

protected function execute(InputInterface $input, OutputInterface $output)
{
$progressIndicator = new ProgressIndicator($output, 'verbose', 100, ['⠏', '⠛', '⠹', '⢸', '⣰', '⣤', '⣆', '⡇']);
$progressIndicator->start('Processing...');
 
 
Severity: Minor
Found in src/module-elasticsuite-tracker/Console/FixData.php - About 25 mins to fix

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
/**
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade to newer versions in the future.
Severity: Major
Found in src/module-elasticsuite-tracker/Console/FixData.php and 1 other location - About 1 day to fix
src/module-elasticsuite-tracker/Console/CheckData.php on lines 1..100
Category
Status