Showing 2,441 of 6,157 total issues
Function parseResult
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
result.reduce((slices, slice: any) => {
let form_data = JSON.parse(slice.params);
form_data = {
...form_data,
// force using datasource stored in relational table prop
Function menuItems
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const menuItems = useMemo(() => {
const items: DropDownSelectableProps['menuItems'] = [];
if (isCrossFiltersFeatureEnabled && canEdit) {
items.push({
Function filters
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const filters: Filters = useMemo(() => {
const filters_list = [
{
Header: t('Name'),
id: 'name',
Function loadQueryData
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async loadQueryData(
formData: QueryFormData,
options?: Partial<RequestConfig>,
): Promise<QueryData[]> {
const { viz_type: visType } = formData;
Function boxplotOperator
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const boxplotOperator: PostProcessingFactory<PostProcessingBoxplot> = (
formData,
queryObject,
) => {
const { groupby, whiskerOptions } = formData;
Function sortOperator
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const sortOperator: PostProcessingFactory<PostProcessingSort> = (
formData,
queryObject,
) => {
// the sortOperator only used in the barchart v2
Function retry_call
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def retry_call( # pylint: disable=too-many-arguments
Function prophet
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def prophet( # pylint: disable=too-many-arguments
Function log
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def log( # pylint: disable=too-many-arguments,too-many-locals
Function cache_dashboard_screenshot
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def cache_dashboard_screenshot( # pylint: disable=too-many-arguments
Function rolling
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def rolling( # pylint: disable=too-many-arguments
Function get_sql_results
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_sql_results( # pylint: disable=too-many-arguments
Function select_star
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def select_star( # pylint: disable=too-many-arguments
Function select_star
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def select_star( # pylint: disable=too-many-arguments
Function select_star
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def select_star( # pylint: disable=too-many-arguments
Function select_star
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def select_star( # pylint: disable=too-many-arguments
Function create
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create( # pylint: disable=too-many-arguments
Function __init__
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function mouseout
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mouseout(b, i) {
tooltip.hidden(true);
const $this = d3.select(this);
$this.classed('hover', false);
if (clickId < 0 && !inTransition) {
Function mouseover
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mouseover(b, i) {
tooltip.data(tooltipData(b, i, datum)).hidden(false);
const $this = d3.select(this);
$this.classed('hover', true);
if (clickId < 0 && !inTransition) {