Plato on Github
Report Home
node_modules/sax/test/issue-47.js
Maintainability
64.50
Lines of code
10
Difficulty
3.88
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
// https://github.com/isaacs/sax-js/issues/47 require(__dirname).test ( { xml : '<a href="query.svc?x=1&y=2&z=3"/>' , expect : [ [ "attribute", { name:'HREF', value:"query.svc?x=1&y=2&z=3"} ], [ "opentag", { name: "A", attributes: { HREF:"query.svc?x=1&y=2&z=3"}, isSelfClosing: true } ], [ "closetag", "A" ] ] , opt : {} } )