BuddhaNexus/buddhanexus-frontend

View on GitHub
src/views/textview/text-view-header.js

Summary

Maintainability
A
3 hrs
Test Coverage

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

  static get styles() {
    return [
      sharedDataViewStyles,
      css`
        #text-view-header {
Severity: Major
Found in src/views/textview/text-view-header.js - About 2 hrs to fix

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

      render() {
        const renderSwitchButton =
          this.renderSwitchButton && this.rightFileName !== '';
    
        //prettier-ignore
    Severity: Minor
    Found in src/views/textview/text-view-header.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status