Skip to content

Latest commit

 

History

History
640 lines (379 loc) · 12.3 KB

REPORT_STRUCTURE.md

File metadata and controls

640 lines (379 loc) · 12.3 KB

Report Structure

size

  • source - number

  • gzipSource - number

Back to top

comments

  • total - number

  • length - Record<string, number>

    • total - number
    • longest - number
    • shortest - number (Number.MAX_SAFE_INTEGER if there are no comments in a stylesheet)
    • average - number
  • sizeRatio - number

  • sizeRatioPercent - string | null

Back to top

atRules

  • total - number

  • unique - number

  • usage - Record<string, number>

  • empty - number

  • prefixed - number

  • unknown - Record<string, any>

    • total - number
    • unique - number
    • usage - Record<string, number>
  • descriptors - Record<string, any>

    • total - number
    • unique - number
    • usage - Record<string, number>

Back to top

imports

  • total - number

  • unique - number

  • usage - Record<string, number>

  • urls - Record<string, number>

Back to top

mediaQueries

  • total - number

  • unique - number

  • usage - Record<string, number>

  • onlyKeyword - number

  • types - Record<string, any>

    • total - number
    • unique - number
    • deprecated - Record<string, any>
      • total - number
      • unique - number
      • usage - Record<string, number>
    • usage - Record<string, number>
  • features - Record<string, any>

    • total - number
    • unique - number
    • prefixed - number
    • deprecated - Record<string, any>
      • total - number
      • unique - number
      • usage - Record<string, number>
    • usage - Record<string, number>

Back to top

keyframes

  • stepsChains - Record<string, number>

  • longestStepsChain - string | null

  • longestStepsChainLength - number

  • longestStepsChainAnimation - string | null

  • shortestStepsChain - string | null

  • shortestStepsChainLength - number (Number.MAX_SAFE_INTEGER if there are no @keyframes in a stylesheet)

  • shortestStepsChainAnimation - string | null

  • animatableProperties - Array<string>

  • definedAnimations - Array<string>

Back to top

rules

  • total - number

  • empty - number

  • withoutTrailingSemicolon - number

Back to top

selectors

  • total - number

  • unique - number

  • usage - Record<string, number>

  • baseUsage - Record<string, number>

    • attribute - number
    • class - number
    • id - number
    • pseudoClass - number
    • pseudoElement - number
    • tag - number
    • universal - number
  • pseudoClassesUsage - Record<string, number>

  • pseudoElementsUsage - Record<string, number>

  • attributesUsage - Record<string, number>

  • combinators - Record<string, number>

    • total - number
    • adjacentSibling - number
    • child - number
    • descendant - number
    • generalSibling - number
  • complex - number

  • maxPerRule - number

  • maxPerRuleList - Array<string>

  • averagePerRule - number

  • length - Record<string, number | null>

    • total - number
    • longest - number
    • longestSelector - string | null
    • average - number
  • specificity - Record<string, any>

    • total - [number, number, number]
    • average - [number, number, number]
    • highest - [number, number, number]
    • highestSelector - string | null
    • highest10 - Array<Record<'selector' | 'specificity', string | [number, number, number]>
    • graphData - Array<[number, number, number]>
  • sizeRatio - number

  • sizeRatioPercent - string | null

Back to top

declarations

  • total - number

  • unique - number

  • uniqueRatio - number

  • important - number

  • averagePerRule - number

  • length - Record<string, number | null>

    • total - number
    • longest - number
    • longestDeclaration - string | null
    • average - number
  • sizeRatio - number

  • sizeRatioPercent - string | null

  • inAtRules - Record<string, number>

  • list - Array<string>

Back to top

properties

  • total - number

  • unique - number

  • uniqueRatio - number

  • usage - Record<string, number>

  • shorthands - number

  • shorthandsRatio - number

  • prefixed - number

  • unitless - number

  • resetsViaAll - number

  • negativeMargins - number

  • anonymousReplacedElements - number

  • performanceHacks - Record<string, number>

  • autoKeyword - number

  • inheritKeyword - number

  • initialKeyword - number

  • revertKeyword - number

  • unsetKeyword - number

  • engineTriggers - Record<'composite' | 'layout' | 'paint', any>

    • composite - Record<string, number>
      • blink - number
      • edgehtml - number
      • gecko - number
      • webkit - number
    • layout - Record<string, number>
      • blink - number
      • edgehtml - number
      • gecko - number
      • webkit - number
    • paint - Record<string, number>
      • blink - number
      • edgehtml - number
      • gecko - number
      • webkit - number

Back to top

displays

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

positions

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

zIndices

  • total - number

  • unique - number

  • usage - Record<string, number>

  • invalid - Record<string, number>

Back to top

floats

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

borderRadiuses

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

widths

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

heights

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

letterSpacings

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

fontSizes

  • total - number

  • unique - number

  • usage - Record<string, number>

  • keywords - Record<string, number | Record<string, number>>

    • total - number
    • unique - number
    • usage - Record<string, number>

Back to top

lineHeights

  • total - number

  • unique - number

  • usage - Record<string, number>

  • hardCoded - number

Back to top

fontFamilies

  • total - number

  • unique - number

  • usage - Record<string, number>

  • generic - Record<string, number>

  • system - Record<string, number>

  • withoutFallbackFonts - number

  • imageReplacementHacks - number

Back to top

colors

  • total - number

  • unique - number

  • usage - Record<string, number>

  • currentColorKeyword - number

  • transparentKeyword - number

  • models - Record<'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hwb', number>

  • named - Record<string, number>

  • system - Record<string, number>

Back to top

backgroundColors

  • total - number

  • unique - number

  • usage - Record<string, number>

  • currentColorKeyword - number

  • transparentKeyword - number

  • models - Record<'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hwb', number>

  • named - Record<string, number>

  • system - Record<string, number>

Back to top

allColors

  • total - number

  • unique - number

  • usage - Record<string, number>

  • currentColorKeyword - number

  • transparentKeyword - number

  • models - Record<'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hwb', number>

  • named - Record<string, number>

  • system - Record<string, number>

Back to top

transitions

  • properties - Record<string, number>

  • longestDuration - number

  • shortestDuration - number (Number.MAX_SAFE_INTEGER if there are no transition durations in a stylesheet)

  • longestDelay - number

  • shortestDelay - number (Number.MAX_SAFE_INTEGER if there are no transition delays in a stylesheet)

  • timingFunctions - Record<string, number>

  • invalidTimingFunctions - Record<string, number>

Back to top

animations

  • total - number (NOTE: total animation names)

  • unique - number (NOTE: unique animation names)

  • usage - Record<string, number> (NOTE: animation names usage)

  • infinite - number

  • withoutDefinitions - Array<string>

  • longestDuration - number

  • shortestDuration - number (Number.MAX_SAFE_INTEGER if there are no animation durations in a stylesheet)

  • longestDelay - number

  • shortestDelay - number (Number.MAX_SAFE_INTEGER if there are no animation delays in a stylesheet)

  • timingFunctions - Record<string, number>

  • invalidTimingFunctions - Record<string, number>

Back to top

functions

  • total - number

  • unique - number

  • usage - Record<string, number>

  • prefixed - number

Back to top

filters

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

gradients

  • total - number

  • unique - number

  • usage - Record<string, number>

Back to top

dataUris

  • total - number

  • unique - number

  • usage - Record<string, number>

  • length - Record<string, number | null>

    • total - number
    • longest - number
    • longestDataUri - string | null
    • average - number
  • sizeRatio - number

  • sizeRatioPercent - string | null

Back to top

units

  • total - number

  • unique - number

  • usage - Record<string, number>

  • excessive - Record<string, any>

    • total - number
    • unique - number
    • usage - Record<string, number>
  • unknown - Record<string, any>

    • total - number
    • unique - number
    • usage - Record<string, number>

Back to top

variables

  • total - number

  • unique - number

  • usage - Record<string, number>

  • valuesMap - Record<string, number>

Back to top

vendorPrefixes

  • total - number

  • unique - number

  • unknown - Record<string, any>

    • total - number
    • unique - number
    • usage - Record<string, number>
  • usage - Record<string, number>

Back to top

browserHacks

  • total - number

  • usage - Record<string, any>

    • supports - Record<string, number>
    • media - Record<string, number>

Back to top