Showing 455 of 793 total issues
Function dropins
has 1970 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function dropins() {
(function (e, o) {
for (const t in o) e[t] = o[t];
})(
window,
File dropins.js
has 1972 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* eslint-disable */
export default function dropins() {
(function (e, o) {
for (const t in o) e[t] = o[t];
})(
Function LandingPage
has 846 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const LandingPage = (): JSX.Element => {
const { ref: observerSection1, inView: inView1 } = useInView({
rootMargin: ROOT_MARGIN,
});
const scrollSection1 = useRef<HTMLDivElement>(null);
Function Privacy
has 655 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Privacy = (): JSX.Element => {
return (
<Layout>
<CommonStyle>
<PrivacyStyle>
File wheresMyGene.ts
has 1163 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { useContext, useMemo } from "react";
import { useQuery, UseQueryResult } from "react-query";
import { API_URL } from "src/configs/configs";
import { FMG_GENE_STRENGTH_THRESHOLD } from "src/views/WheresMyGeneV2/common/constants";
import {
File constants.ts
has 1099 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { EVENTS } from "src/common/analytics/events";
import {
ANALYTICS_PAYLOAD_KEY,
CATEGORY_FILTER_ID,
CATEGORY_FILTER_PANEL_ID,
File business.py
has 982 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import copy
import logging
import os
from collections import defaultdict
from datetime import datetime
File persistence.py
has 935 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import contextlib
import json
import logging
import uuid
from contextlib import contextmanager
File index.tsx
has 895 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useMemo, useRef } from "react";
import { useInView } from "react-intersection-observer";
File multiPanelOntologyUtils.ts
has 854 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { Filters, Row } from "react-table";
import { track } from "src/common/analytics";
import { EMPTY_ARRAY } from "src/common/constants/utils";
import {
buildNextSelectCategoryFilters,
File index.tsx
has 835 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React, { useMemo, useEffect, useState, useRef } from "react";
import { Group } from "@visx/group";
import { Global } from "@emotion/react";
import { useTooltip, useTooltipInPortal } from "@visx/tooltip";
import { Tree, hierarchy } from "@visx/hierarchy";
Function initModule
has 396 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(o.initModule = function () {
let e;
n.initModule(),
null == Dropbox.appKey &&
(Dropbox.appKey =
File filter.ts
has 750 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { useMemo } from "react";
import { QueryStatus, useQuery, UseQueryResult } from "react-query";
import { API } from "src/common/API";
import {
ACCESS_TYPE,
File portal_api.py
has 709 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import dataclasses
import itertools
from datetime import datetime
from typing import Iterable, List, Optional, Tuple
from urllib.parse import urlparse
File tree_builder.py
has 697 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import copy
import logging
from dataclasses import dataclass
from typing import Any, Dict, Tuple
Function Content
has 314 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Content: FC<Props> = (props) => {
const isEditCollection = !!props.id;
const initialBooleanState = isEditCollection;
const [isValid, setIsValid] = useState(initialBooleanState);
const [isLoading, setIsLoading] = useState(false);
File index.tsx
has 677 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* eslint-disable react/no-unescaped-entities */
import React, {
Dispatch,
ReactElement,
ReactNode,
File privacy.tsx
has 667 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import Head from "next/head";
import Image from "next/image";
import { ROUTES } from "src/common/constants/routes";
import rawCellxgeneLogo from "src/components/common/staticPages/cellxgene.png";
import {
Function ToS
has 291 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const ToS = (): JSX.Element => {
return (
<Layout>
<CommonStyle>
<TOSStyle>
Function Datasets
has 289 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function Datasets(): JSX.Element {
const { mode, status } = useViewMode();
/* Pop toast if user has come from Explorer with work in progress */
useExplainNewTab(