cnap-cobre/synapse

View on GitHub
frontend/src/components/ContextMenu/JupyterHubLink.js

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

Function JupyterHubLink has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
Open

const JupyterHubLink = (props: Props) => {
const {
disabled, file, url, jupyterUserName,
} = props;
console.log(file);
Severity: Minor
Found in frontend/src/components/ContextMenu/JupyterHubLink.js - About 1 hr to fix

Function JupyterHubLink has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const JupyterHubLink = (props: Props) => {
const {
disabled, file, url, jupyterUserName,
} = props;
console.log(file);
Severity: Minor
Found in frontend/src/components/ContextMenu/JupyterHubLink.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status