slm-lang/slm

View on GitHub
lib/filters/code_attributes.js

Summary

Maintainability
A
1 hr
Test Coverage

Function on_html_attr has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

p.on_html_attr = function(exps) {
  var name = exps[2], value = exps[3];
  if (value[0] === 'slm' && value[1] === 'attrvalue' && !this._mergeAttrs[name]) {
    // We handle the attribute as a boolean attribute
    var escape = value[2], code = value[3];
Severity: Minor
Found in lib/filters/code_attributes.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status