sebastian-software/core

View on GitHub
source/class/core/bom/Fragment.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function build has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    build : function(elems, context, scripts)
    {
      if (context == null) {
        context = document;
      }
Severity: Major
Found in source/class/core/bom/Fragment.js - About 2 hrs to fix

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

        execute : function(nodes, context)
        {
          if (context == null) {
            context = document;
          }
    Severity: Minor
    Found in source/class/core/bom/Fragment.js - About 1 hr to fix

      Avoid deeply nested control flow statements.
      Open

                  while (j--) {
                    wrapper = wrapper.lastChild;
                  }
      Severity: Major
      Found in source/class/core/bom/Fragment.js - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status