Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.74ms] Passed 4 tests
Analyzing server-side resources used by Toolbox and Showroom Supercharger
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.33 ▼6.56 |
Dashboard /wp-admin | 3.37 ▲0.03 | 50.06 ▼12.96 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 50.45 ▼3.67 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 87.82 ▼7.77 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 42.93 ▲8.12 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=impcthub-resource | 3.29 | 44.96 |
Add New /wp-admin/post-new.php?post_type=impcthub-member | 3.43 | 53.04 |
Entrepreneur toolbox /wp-admin/edit.php?post_type=impcthub-resource | 3.35 | 41.58 |
Member showroom /wp-admin/edit.php?post_type=impcthub-member | 3.35 | 38.84 |
Add New /wp-admin/post-new.php?post_type=impcthub-resource | 3.45 | 55.43 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=impcthub-member | 3.30 | 39.58 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
category_children |
Browser metrics Passed 4 tests
Checking browser requirements for Toolbox and Showroom Supercharger
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲147 | 14.28 ▼0.09 | 2.16 ▼0.08 | 44.87 ▲2.57 |
Dashboard /wp-admin | 2,260 ▲80 | 5.58 ▼0.03 | 85.89 ▼3.29 | 42.15 ▼2.39 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.03 ▲0.04 | 35.39 ▼3.14 | 34.71 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 23.09 ▼0.08 | 735.96 ▲51.42 | 71.31 ▲4.68 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.14 ▼0.07 | 114.33 ▲11.31 | 47.82 ▲5.04 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=impcthub-resource | 1,517 | 2.13 | 30.59 | 34.83 |
Add New /wp-admin/post-new.php?post_type=impcthub-member | 2,441 | 7.81 | 175.78 | 64.65 |
Entrepreneur toolbox /wp-admin/edit.php?post_type=impcthub-resource | 1,215 | 1.98 | 37.48 | 31.88 |
Member showroom /wp-admin/edit.php?post_type=impcthub-member | 1,181 | 1.94 | 30.89 | 31.61 |
Add New /wp-admin/post-new.php?post_type=impcthub-resource | 2,660 | 7.76 | 180.14 | 58.30 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=impcthub-member | 1,517 | 2.13 | 28.71 | 33.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- category_children
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function impcthub\\plugin_dir_path() in wp-content/plugins/impact-hub-supercharger/index.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function impcthub\\add_filter() in wp-content/plugins/impact-hub-supercharger/includes/other.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function impcthub\\add_filter() in wp-content/plugins/impact-hub-supercharger/includes/user-role.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function impcthub\\add_shortcode() in wp-content/plugins/impact-hub-supercharger/includes/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function impcthub\\add_action() in wp-content/plugins/impact-hub-supercharger/includes/custom-posts.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: impacthub
impact-hub-supercharger/index.php 92% from 13 tests
"Toolbox and Showroom Supercharger" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("impact-hub-supercharger.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin169 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 32 | 14 | 169 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin