projectwallace / projectwallace/css-analyzer

Report at-rule sizes

Open
#320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

✨ enhancement
Dominant language
TypeScript
Stars
366
Forks
15
Avg merge
3h 23m
Merged PRs (30d)
3

Description

  • At-rule Ruleset count
  • At-rule declaration count
  • At-rule selector count
  • At-rule descriptor count
  • At-rule total size (declarations + selectors)
  • Aggregate sizes too? Like avg. declarations/rules/selectors per at-rule

If we ditch CSSTree's walker and use our own walking implementation instead, we can also measure sizes quite well.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current CSSTree walker and the analyzer's existing metric collection entry point. Clarify whether the change includes only the listed at-rule counts and sizes or also aggregate averages; done means the agreed metrics are reported consistently for at-rules and aggregates, if included.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
analytics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.