BuddhaNexus/buddhanexus-frontend

View on GitHub
src/views/data/data-view-subheader.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function minimumLengthText has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const minimumLengthText = language => {
  let minLength;
  let languageFull;
  let charOrSyl;
  switch (language) {
Severity: Minor
Found in src/views/data/data-view-subheader.js - About 1 hr to fix

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

      static get styles() {
        return [
          css`
            .data-view-subheader {
              display: flex;
    Severity: Minor
    Found in src/views/data/data-view-subheader.js - About 1 hr to fix

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

        render() {
          if (!this.fileName) {
            //prettier-ignore
            return html`
              <div class="data-view-subheader">
      Severity: Minor
      Found in src/views/data/data-view-subheader.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status