Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.56ms] Passed 4 tests
An overview of server-side resources used by GRIT Taxonomy Filter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 44.43 ▲2.17 |
Dashboard /wp-admin | 3.39 ▲0.08 | 51.82 ▲0.35 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.69 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 97.68 ▼10.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.88 ▲1.00 |
GRIT Taxonomy Filter /wp-admin/options-general.php?page=grit_taxonomy_filter | 3.28 | 33.66 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GRIT Taxonomy Filter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲97 | 13.51 ▼0.87 | 8.75 ▲6.62 | 41.16 ▲0.54 |
Dashboard /wp-admin | 2,206 ▲32 | 5.65 ▼0.03 | 85.92 ▼3.82 | 38.05 ▼2.47 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.99 ▼0.01 | 39.25 ▲3.57 | 36.07 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.36 ▲5.91 | 661.20 ▼15.70 | 52.67 ▼8.24 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.20 ▼0.00 | 99.76 ▼1.46 | 45.83 ▼5.74 |
GRIT Taxonomy Filter /wp-admin/options-general.php?page=grit_taxonomy_filter | 830 | 2.05 | 24.64 | 27.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=grit_taxonomy_filter
- > Notice in wp-content/plugins/grit-taxonomy-filter/admin/partials/grit-taxonomy-filter-admin-display.php+31
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/grit-taxonomy-filter/public/partials/grit-taxonomy-public-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/grit-taxonomy-filter/admin/partials/grit-taxonomy-filter-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Donate link: Please fix this invalid url: "paypal.me/miishraa"
grit-taxonomy-filter/grit-taxonomy-filter.php Passed 13 tests
"GRIT Taxonomy Filter" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
76 characters long description:
It adds a taxonomy filter upto three levels in page or post using shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected426 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 215 | 572 | 356 |
JavaScript | 2 | 31 | 41 | 38 |
CSS | 2 | 1 | 8 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 2.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin