belgattitude/httpx

View on GitHub
examples/nextjs-app/src/components/prime/NodeService.ts

Summary

Maintainability
C
1 day
Test Coverage

File NodeService.ts has 480 lines of code (exceeds 300 allowed). Consider refactoring.
Open

/* eslint-disable sonarjs/no-duplicate-string */
export const NodeService = {
  getTreeNodesData() {
    return [
      {
Severity: Minor
Found in examples/nextjs-app/src/components/prime/NodeService.ts - About 6 hrs to fix

    Function getTreeTableNodesData has 350 lines of code (exceeds 300 allowed). Consider refactoring.
    Open

      getTreeTableNodesData() {
        return [
          {
            key: '0',
            data: {
    Severity: Major
    Found in examples/nextjs-app/src/components/prime/NodeService.ts - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status