workcraft/workcraft

View on GitHub
workcraft/WtgPlugin/src/org/workcraft/plugins/wtg/commands/StructureWaveformTransformationCommand.java

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

                        if (maxX == null || maxX < newX) {
                            maxX = newX;
                        }

    Avoid deeply nested control flow statements.
    Open

                            if (dependencies == 0) {
                                if (nextEvent.getVisualSignal() != visitingEvent.getVisualSignal()) {
                                    nodesX.put(nextEvent, nodesX.get(visitingEvent) - DtdSettings.getTransitionSeparation());
                                }
                                toVisit.add(nextEvent);

      There are no issues that match your filters.

      Category
      Status