About: DOMPurify is a DOM-only XSS sanitizer for HTML, MathML and SVG (written in JavaScript).
Fossies downloads: /linux/www/ DOMPurify-2.2.6.tar.gz (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 77 (64 files within 13 directories)
The corresponding CLOC output data:63 text files. 63 unique files. 13 files ignored. github.com/AlDanial/cloc v 1.88 T=1.11 s (45.9 files/s, 28757.4 lines/s) ------------------------------------------------------------------------------- Language files blank comment code scale 3rd gen. equiv ------------------------------------------------------------------------------- JavaScript 23 1211 2733 13854 x 1.48 = 20503.92 JSON 3 0 0 11632 x 2.50 = 29080.00 HTML 16 145 109 1335 x 1.90 = 2536.50 Markdown 5 210 0 614 x 1.00 = 614.00 YAML 3 15 24 76 x 0.90 = 68.40 Bourne Shell 1 1 0 2 x 3.81 = 7.62 ------------------------------------------------------------------------------- SUM: 51 1582 2866 27513 x 1.92 = 52810.44 -------------------------------------------------------------------------------
A hint: This "standard" CLOC analysis has included all package contents files (with the exception of files generated by code-production systems such as GNU autotools). But there exists a perhaps more "realistic" alternative CLOC analysis (among others better suited for an optional codespell check rating) that tries additionally to exclude third party code but also files containing fonts, codepage or character set definitions, dictionaries, names, SVG or non-English languages.