static_src/components/usage_and_limits.jsx
Function render
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
let content = <div />;
let controls;
controls = (
File usage_and_limits.jsx
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import PropTypes from "prop-types";
import React from "react";
import Action from "./action.jsx";
import { Form, FormNumber } from "./form";
Function memory
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
get memory() {
const memory = this.state.editing
? this.state.form.fields.memory.value
: this.props.app.memory;
const maxMemory = Math.floor(
Function scale
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
get scale() {
const instanceCount = this.state.editing
? this.state.form.fields.instances.value
: this.props.app.instances;