MiguelMadero/ember-cli-bundle-loader

View on GitHub
addon/lazy-router.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _getHandlerFunction has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  _getHandlerFunction: function() {
    var container = getContainer(this);
    var DefaultRoute = getFactory(this, 'route:basic');
    var LazyLoaderRoute =getFactory(this, 'route:-lazy-loader');
    var lazyLoaderService = container.lookup('service:lazy-loader');
Severity: Minor
Found in addon/lazy-router.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status