Plato on Github
Report Home
node_modules/sax/test/trailing-attribute-no-value.js
Maintainability
63.70
Lines of code
9
Difficulty
3.75
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
require(__dirname).test({ xml : "<root attrib>", expect : [ ["attribute", {name:"ATTRIB", value:"attrib"}], ["opentag", {name:"ROOT", attributes:{"ATTRIB":"attrib"}, isSelfClosing: false}] ], opt : { trim : true } });