BookStackApp/BookStack

View on GitHub

Showing 1,485 of 1,485 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php

namespace BookStack\References\ModelResolvers;

use BookStack\App\Model;
Severity: Major
Found in app/References/ModelResolvers/BookLinkModelResolver.php and 1 other location - About 3 hrs to fix
app/References/ModelResolvers/BookshelfLinkModelResolver.php on lines 1..31

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 161.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Function moveNativeSelectionBackward has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.
Open

function moveNativeSelectionBackward() {
  const domSelection = window.getSelection()!;
  let anchorNode = domSelection.anchorNode!;
  let anchorOffset = domSelection.anchorOffset!;

Severity: Minor
Found in resources/js/wysiwyg/lexical/selection/__tests__/utils/index.ts - About 3 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function $applyAllTransforms has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.
Open

function $applyAllTransforms(
  editorState: EditorState,
  editor: LexicalEditor,
): void {
  const dirtyLeaves = editor._dirtyLeaves;
Severity: Minor
Found in resources/js/wysiwyg/lexical/core/LexicalUpdates.ts - About 3 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

export const copyColumn: EditorButtonDefinition = {
    label: 'Copy column',
    format: 'long',
    action(context: EditorUiContext) {
        context.editor.getEditorState().read(() => {
Severity: Major
Found in resources/js/wysiwyg/ui/defaults/buttons/tables.ts and 1 other location - About 3 hrs to fix
resources/js/wysiwyg/ui/defaults/buttons/tables.ts on lines 197..211

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

      setupTestCase((selection) => {
        selection.insertParagraph();

        expect(selection.anchor).toEqual(
          expect.objectContaining({
resources/js/wysiwyg/lexical/selection/__tests__/unit/LexicalSelectionHelpers.test.ts on lines 1395..1413

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

export const copyRow: EditorButtonDefinition = {
    label: 'Copy row',
    format: 'long',
    action(context: EditorUiContext) {
        context.editor.getEditorState().read(() => {
Severity: Major
Found in resources/js/wysiwyg/ui/defaults/buttons/tables.ts and 1 other location - About 3 hrs to fix
resources/js/wysiwyg/ui/defaults/buttons/tables.ts on lines 261..275

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

      setupTestCase((selection) => {
        selection.insertParagraph();

        expect(selection.anchor).toEqual(
          expect.objectContaining({
resources/js/wysiwyg/lexical/selection/__tests__/unit/LexicalSelectionHelpers.test.ts on lines 191..209

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

File SearchRunner.php has 328 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace BookStack\Search;

use BookStack\Entities\EntityProvider;
Severity: Minor
Found in app/Search/SearchRunner.php - About 3 hrs to fix

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

          test('LexicalNode.replace(): token', async () => {
            const {editor} = testEnv;
    
            expect(testEnv.outerHTML).toBe(
              '<div contenteditable="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p><span data-lexical-text="true">foo</span></p></div>',
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1151..1166
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1240..1255
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1257..1272
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1421..1436
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1438..1453

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 112.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

          test('LexicalNode.replace(): segmented', async () => {
            const {editor} = testEnv;
    
            expect(testEnv.outerHTML).toBe(
              '<div contenteditable="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p><span data-lexical-text="true">foo</span></p></div>',
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1134..1149
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1240..1255
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1257..1272
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1421..1436
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1438..1453

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 112.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

          test('LexicalNode.insertBefore(): segmented', async () => {
            const {editor} = testEnv;
    
            expect(testEnv.outerHTML).toBe(
              '<div contenteditable="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p><span data-lexical-text="true">foo</span></p></div>',
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1134..1149
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1151..1166
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1240..1255
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1257..1272
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1421..1436

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 112.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

          test('LexicalNode.insertBefore(): token', async () => {
            const {editor} = testEnv;
    
            expect(testEnv.outerHTML).toBe(
              '<div contenteditable="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p><span data-lexical-text="true">foo</span></p></div>',
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1134..1149
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1151..1166
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1240..1255
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1257..1272
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1438..1453

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 112.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

          test('LexicalNode.insertAfter(): token', async () => {
            const {editor} = testEnv;
    
            expect(testEnv.outerHTML).toBe(
              '<div contenteditable="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p><span data-lexical-text="true">foo</span></p></div>',
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1134..1149
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1151..1166
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1257..1272
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1421..1436
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1438..1453

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 112.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

          test('LexicalNode.insertAfter(): segmented', async () => {
            const {editor} = testEnv;
    
            expect(testEnv.outerHTML).toBe(
              '<div contenteditable="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p><span data-lexical-text="true">foo</span></p></div>',
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1134..1149
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1151..1166
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1240..1255
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1421..1436
    resources/js/wysiwyg/lexical/core/__tests__/unit/LexicalNode.test.ts on lines 1438..1453

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 112.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Function $insertTableColumn__EXPERIMENTAL has 94 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function $insertTableColumn__EXPERIMENTAL(insertAfter = true): void {
      const selection = $getSelection();
      invariant(
        $isRangeSelection(selection) || $isTableSelection(selection),
        'Expected a RangeSelection or TableSelection',
    Severity: Major
    Found in resources/js/wysiwyg/lexical/table/LexicalTableUtils.ts - About 3 hrs to fix

      Function $internalResolveSelectionPoint has 94 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function $internalResolveSelectionPoint(
        dom: Node,
        offset: number,
        lastPoint: null | PointType,
        editor: LexicalEditor,
      Severity: Major
      Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 3 hrs to fix

        Function formatText has 94 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          formatText(formatType: TextFormatType): void {
            if (this.isCollapsed()) {
              this.toggleFormat(formatType);
              // When changing format, we should stop composition
              $setCompositionKey(null);
        Severity: Major
        Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 3 hrs to fix

          Function buildCellMap has a Cognitive Complexity of 26 (exceeds 5 allowed). Consider refactoring.
          Open

              protected buildCellMap(table: CustomTableNode) {
                  const rowsAndCells: CustomTableCellNode[][] = [];
                  const setCell = (x: number, y: number, cell: CustomTableCellNode) => {
                      if (typeof rowsAndCells[y] === 'undefined') {
                          rowsAndCells[y] = [];
          Severity: Minor
          Found in resources/js/wysiwyg/utils/table-map.ts - About 3 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Function syncChildrenFromLexical has a Cognitive Complexity of 26 (exceeds 5 allowed). Consider refactoring.
          Open

            syncChildrenFromLexical(
              binding: Binding,
              nextLexicalNode: ElementNode,
              prevNodeMap: null | NodeMap,
              dirtyElements: null | Map<NodeKey, IntentionallyMarkedAsDirtyElement>,
          Severity: Minor
          Found in resources/js/wysiwyg/lexical/yjs/CollabElementNode.ts - About 3 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Function $setListThemeClassNames has a Cognitive Complexity of 26 (exceeds 5 allowed). Consider refactoring.
          Open

          function $setListThemeClassNames(
            dom: HTMLElement,
            editorThemeClasses: EditorThemeClasses,
            node: ListNode,
          ): void {
          Severity: Minor
          Found in resources/js/wysiwyg/lexical/list/LexicalListNode.ts - About 3 hrs to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Severity
          Category
          Status
          Source
          Language