# All files / blue-button/lib/parser/cda cleanup.js

64.7% Statements 11/17
50% Branches 1/2
100% Functions 1/1
64.7% Lines 11/17

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    181x
    1x
    1x
    1x
    1x
    1x
    1x
    8x
    8x

    8x
    8x
     "use strict";

    var includeCleanup = require("../common/cleanup");

    var cleanup = module.exports = Object.create(includeCleanup);

    cleanup.augmentObservation = function () {

      if (this.js.problem_text) {
        if (this.js.problem_text.js) {
          if (!this.js.code.js.name) {
            this.js.code.js.name = this.js.problem_text.js;
          }
        }
      }

    };