martijnversluis/ChordSheetJS

View on GitHub

Showing 5 of 91 total issues

Song has 33 functions (exceeds 20 allowed). Consider refactoring.
Open

class Song extends MetadataAccessors {
  /**
   * The {@link Line} items of which the song consists
   * @member {Line[]}
   */
Severity: Minor
Found in src/chord_sheet/song.ts - About 4 hrs to fix

    File song.ts has 324 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import Line from './line';
    import Paragraph from './paragraph';
    import Key from '../key';
    import ChordLyricsPair from './chord_lyrics_pair';
    import Metadata from './metadata';
    Severity: Minor
    Found in src/chord_sheet/song.ts - About 3 hrs to fix

      File tag.ts has 311 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
       * Album meta directive. See https://www.chordpro.org/chordpro/directives-album/
       * @type {string}
       */
      import AstComponent from './ast_component';
      Severity: Minor
      Found in src/chord_sheet/tag.ts - About 3 hrs to fix

        Tag has 27 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class Tag extends AstComponent {
          _isMetaTag = false;
        
          _originalName = '';
        
        
        Severity: Minor
        Found in src/chord_sheet/tag.ts - About 3 hrs to fix

          Line has 23 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class Line {
            /**
             * The items ({@link ChordLyricsPair} or {@link Tag} or {@link Comment}) of which the line consists
             * @type {Array.<(ChordLyricsPair|Tag|Comment)>}
             */
          Severity: Minor
          Found in src/chord_sheet/line.ts - About 2 hrs to fix
            Severity
            Category
            Status
            Source
            Language