Creates a frequency graph of html tags
Total tags found: 1729
Tags: div, a, span, path, img, svg, script, style, li, input, ellipse, meta, ul,button,
footer, template, i, b, form, header, body, title, br, noscript, base, head, html
---------------------------------------------------------------------------------
Tag | qty | % | graphical representation
---------------------------------------------------------------------------------
div 1014 58.65% ..................................................
a 247 14.29% ............
span 127 7.35% ......
path 104 6.02% .....
img 103 5.96% .....
svg 52 3.01% ..
script 45 2.6% ..
style 6 0.35% .
li 4 0.23% .
input 4 0.23% .
ellipse 3 0.17% .
meta 3 0.17% .
ul 2 0.12% .
button 2 0.12% .
footer 1 0.06% .
template 1 0.06% .
i 1 0.06% .
b 1 0.06% .
form 1 0.06% .
header 1 0.06% .
body 1 0.06% .
title 1 0.06% .
br 1 0.06% .
noscript 1 0.06% .
base 1 0.06% .
head 1 0.06% .
html 1 0.06% .
---------------------------------------------------------------------------------
- Install groovy
git clone git@github.com:dmitrijs-voronovs/groovy-html-frequenct-graph.git && cd groovy-html-frequenct-graph
- Insert page source code to
inputHTML.txt
- run
groovy main