michielbdejong/solid-panes

View on GitHub
src/home/homePane.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render: function (subject, context) {
    const dom = context.dom
    var showContent = async function () {
      var homePaneContext = { div: div, dom: dom, statusArea: div, me: me }
      /*
Severity: Minor
Found in src/home/homePane.ts - About 1 hr to fix

    Function showContent has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        var showContent = async function () {
          var homePaneContext = { div: div, dom: dom, statusArea: div, me: me }
          /*
                div.appendChild(dom.createElement('h4')).textContent = 'Login status'
                var loginStatusDiv = div.appendChild(context.dom.createElement('div'))
    Severity: Minor
    Found in src/home/homePane.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status