odin-detector/odin-data

View on GitHub
tools/imagej/src/Live_View.java

Summary

Maintainability
C
1 day
Test Coverage

Method buildGUI has 111 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private Panel buildGUI()
    {
        panel = new Panel();
        panel.setLayout(new GridBagLayout());
        
Severity: Major
Found in tools/imagej/src/Live_View.java - About 4 hrs to fix

    File Live_View.java has 341 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import java.awt.*;
    import java.awt.event.*;
    
    import java.text.SimpleDateFormat;
    import java.util.Date;
    Severity: Minor
    Found in tools/imagej/src/Live_View.java - About 4 hrs to fix

      Method update has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          @Override
          public void update(Observable o, Object arg)
          {
              switch(arg.toString().toLowerCase())
              {
      Severity: Minor
      Found in tools/imagej/src/Live_View.java - About 1 hr to fix

        Method addComponent has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            private void addComponent(Component item, Panel panel, int x, int y, GridBagConstraints c)
        Severity: Minor
        Found in tools/imagej/src/Live_View.java - About 35 mins to fix

          Method addComponent has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              private void addComponent(Component comp, Component label, Panel panel, int x, GridBagConstraints constraints)
          Severity: Minor
          Found in tools/imagej/src/Live_View.java - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status