metricio/metricio

View on GitHub

Showing 2 of 6 total issues

Function start has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default async function start(io) {
  // Handle socket/client events
  handleSocketConnections(io);

  // Start and connect worker
Severity: Minor
Found in lib/jobs.js - About 1 hr to fix

    Function renderSVG has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      renderSVG(progress) {
        return (
          <svg className="progress" viewBox="0 0 400 400" width="100%" height="100%">
            <VictoryPie
              standalone={false}
    Severity: Minor
    Found in src/widgets/progress/widget.jsx - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language