Metrics
All you need to know about the variety of metrics that Project Wallace generates about your CSS. Here is a top-level list of all sections that the CSS Analyzer provides:
Stylesheet
All metrics related to the stylesheet as a whole, like filesize, lines of code, etc.
Atrules
CSS can contain a lot of at-rules.
@keyframes
and@media
are some examples, but there are many more.- Total `@charset` atrules
- Total unique @charset rules
- Unique `@charset` rules
- Total @document rules
- Total unique @document rules
- Unique `@document` rules
- Total `@font-face` atrules
- Total unique `@font-face` atrules
- Unique `@font-face` atrules
- Total @import atrules
- Total unique `@import` atrules
- Unique `@import` atrules
- Prefixed `@keyframes` ratio
- Total prefixed `@keyframes` atrules
- Total unique prefixed `@keyframes` atrules
- Unique prefixed `@keyframes` atrules
- Total `@keyframes` rules
- Total unique `@keyframes` rules
- Unique prefixed `@keyframes` atrules
- Total `@media` atrule browserhacks
- Total unique `@media` atrule browserhacks
- Unique `@media` atrule browserhacks
- Total `@media` atrules
- Total unique `@media` rules
- Unique prefixed `@media` atrules
- Total `@namespace` atrules
- Total unique `@namespace` rules
- Unique prefixed `@namespace` atrules
- Total `@page` atrules
- Total unique `@page` rules
- Unique prefixed `@page` atrules
- Total `@supports` atrules browserhacks
- Total unique `@supports` atrule browserhacks
- Unique `@supports` atrule browserhacks
- Total `@supports` atrules
- Total unique `@supports` rules
- Unique prefixed `@supports` atrules
Rules
A rule consists of one more selectors and a block of zero or more declarations.
Selectors
A selector tells the browser which element(s) in the DOM to target.
- Total accessibility selectors
- Total unique accessibility selectors
- Unique accessibility selectors
- Total browserhack selectors
- Total unique browserhack selectors
- Unique browserhack selectors
- Average selector complexity
- Total selectors having maximum complexity
- Maximum complexity selectors
- Maximum selector complexity
- Total selector complexity
- Total unique selector complexities
- Unique selector complexities
- Total id selectors
- Total unique id selectors
- Unique id selectors
- Total js selectors
- Total unique js selectors
- Unique js selectors
- Total selectors having maximum specificity
- Maximum specificity selectors
- Maximum selector specificity
- Top specificity selectors
- Total selectors
- Total unique selectors
- Total universal selectors
- Total unique universal selectors
- Unique universal selectors
Declarations
A declaration has a property, a value and optionally an
!important
flag.Properties
A property tells the browser which styling feature to apply. Properties can also contain vendor prefixes or browser hacks.
Values
A value tells the browser how the browser should style the given styling feature. Project Wallace primarily focuses on branding-related values, like colors, fonts, shadows and animations.
- Total animation durations
- Total unique animation durations
- Unique animation durations
- Total animation timing functions
- Total unique animation timing functions
- Unique animation timing functions
- Total box-shadows
- Total unique box-shadows
- Unique box-shadows
- Total value browserhacks
- Total unique value browserhacks
- Unique value browserhacks
- Total color duplicates
- Total unique color duplicates
- Unique color duplicates
- Total colors
- Total unique colors
- Unique colors
- Total font-families
- Total unique font-families
- Unique font-families
- Total font-sizes
- Total unique font-sizes
- Unique font-sizes
- Vendor prefixed values ratio
- Total vendor prefixed values
- Total unique value vendor prefixes
- Unique prefixed values
- Total text-shadows
- Total unique text-shadows
- Unique text-shadows
- Total values
- Total z-indexes
- Total unique z-indexes
- Unique z-indexes