weacast/weacast-core

View on GitHub
src/application.js

Summary

Maintainability
A
2 hrs
Test Coverage
B
80%

Function auth has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

function auth () {
  const app = this
  const config = app.get('authentication')
  if (!config) return
Severity: Major
Found in src/application.js - About 1 hr to fix

    Function createService has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function createService (name, app, modelsPath, servicesPath, options) {
    Severity: Minor
    Found in src/application.js - About 35 mins to fix

      Function createElementService has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      export function createElementService (forecast, element, app, servicesPath, options) {
      Severity: Minor
      Found in src/application.js - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status