Plato on Github
Report Home
node_modules/sax/test/xmlns-xml-default-prefix.js
Maintainability
61.92
Lines of code
20
Difficulty
3.54
Estimated Errors
0.09
Function weight
By Complexity
By SLOC
require(__dirname).test( { xml : "<xml:root/>" , expect : [ [ "opentag" , { name: "xml:root" , uri: "http://www.w3.org/XML/1998/namespace" , prefix: "xml" , local: "root" , attributes: {} , ns: {} , isSelfClosing: true } ] , ["closetag", "xml:root"] ] , strict : true , opt : { xmlns: true } } )