department-of-veterans-affairs/vets-website

View on GitHub
src/platform/site-wide/medallia-feedback-button.js

Summary

Maintainability
A
1 hr
Test Coverage

Function bodyObserver has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const bodyObserver = new MutationObserver(bodyMutationsList => {
    bodyMutationsList.forEach(bodyMutation => {
      if (bodyMutation.addedNodes.length > 0) {
        bodyMutation.addedNodes.forEach(bodyNode => {
          if (bodyNode.id === 'kampyleButtonContainer') {
Severity: Minor
Found in src/platform/site-wide/medallia-feedback-button.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status