t32k / stylestats

StyleStats is a library to collect CSS statistics.
MIT License
1.83k stars 70 forks source link

Metrics for Specificity #85

Open davidkpiano opened 9 years ago

davidkpiano commented 9 years ago

It doesn't seem there are metrics for specificity, which would be very important for CSS style statistics. I don't believe "Most Identifier" [sic] and "Lowest Cohesion" follow specificity rules, so it would be good to have a separate metric for highest/lowest specificity selectors.