opensheetmusicdisplay/opensheetmusicdisplay

View on GitHub
src/MusicalScore/Graphical/GraphicalLyricEntry.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    constructor(lyricsEntry: LyricsEntry, graphicalStaffEntry: GraphicalStaffEntry, lyricsHeight: number, staffHeight: number) {
        this.lyricsEntry = lyricsEntry;
        this.graphicalStaffEntry = graphicalStaffEntry;
        const lyricsTextAlignment: TextAlignmentEnum = graphicalStaffEntry.parentMeasure.parentSourceMeasure.Rules.LyricsAlignmentStandard;
        // for small notes with long text, use center alignment
Severity: Minor
Found in src/MusicalScore/Graphical/GraphicalLyricEntry.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status