ckeditor/ckeditor5-engine

View on GitHub

Showing 372 of 564 total issues

Avoid too many return statements within this function.
Open

        return true;
Severity: Major
Found in src/view/selection.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return this.mapDomToView( domNode );
    Severity: Major
    Found in src/view/domconverter.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                          return true;
      Severity: Major
      Found in src/utils/bindtwostepcarettoattribute.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return viewElement;
        Severity: Major
        Found in src/view/domconverter.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return this._next();
          Severity: Major
          Found in src/view/treewalker.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return this._formatReturnValue( 'elementEnd', parent, previousPosition, position );
            Severity: Major
            Found in src/view/treewalker.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return this._formatReturnValue( 'text', item, previousPosition, position, charactersCount );
              Severity: Major
              Found in src/view/treewalker.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return new ViewPosition( viewParent, offset );
                Severity: Major
                Found in src/view/domconverter.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return this._breakAttributes( newPosition, forceSplitText );
                  Severity: Major
                  Found in src/view/downcastwriter.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return this._breakAttributes( newPosition, forceSplitText );
                    Severity: Major
                    Found in src/view/downcastwriter.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return false;
                      Severity: Major
                      Found in src/view/renderer.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return [ a ];
                        Severity: Major
                        Found in src/model/operation/transform.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return formatReturnValue( 'elementStart', node, previousPosition, position, 1 );
                          Severity: Major
                          Found in src/model/treewalker.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                            return false;
                            Severity: Major
                            Found in src/view/element.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return;
                              Severity: Major
                              Found in src/model/utils/modifyselection.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return true;
                                Severity: Major
                                Found in src/view/element.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return formatReturnValue( 'text', item, previousPosition, position, charactersCount );
                                  Severity: Major
                                  Found in src/model/treewalker.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return formatReturnValue( 'elementEnd', parent, previousPosition, position );
                                    Severity: Major
                                    Found in src/model/treewalker.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return this._attrs.delete( key );
                                      Severity: Major
                                      Found in src/view/element.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return get( styles, toPath( name ) );
                                        Severity: Major
                                        Found in src/view/stylesmap.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language