[Query Analyser ]Implement Rule: Excessive Field Selection

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
api

Research direction

The issue provides no file, test, or entry point to start from. First locate the query analyser and its existing rules, then determine how field-count thresholds are represented; done means the new rule detects unusually large selections from one type and has coverage for that behavior.

Written by the indexing model from the issue text.

Description

topic: performance

Create a rule that identifies queries selecting an unusually large number of fields from a single type, signaling possible over-fetching.

Dominant language
PHP
Stars
47
Forks
3
Avg merge
1m
Merged PRs (30d)
19

Contributor guide

Open the contributing guide

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.

More from wpengine/hwptoolkit

All issues in wpengine/hwptoolkit

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.