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
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲1.15ms] Passed 4 tests
This is a short check of server-side resources used by Grow for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 35.97 ▼0.04 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.04 ▼3.83 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.42 ▲1.97 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 98.72 ▲18.48 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 36.07 ▲6.50 |
Server storage [IO: ▲1.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 89 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Grow for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲52 | 14.36 ▲0.12 | 1.95 ▲0.22 | 38.56 ▼2.56 |
Dashboard /wp-admin | 2,223 ▲46 | 5.66 ▲0.06 | 92.10 ▼9.43 | 41.34 ▼1.00 |
Posts /wp-admin/edit.php | 2,124 ▲21 | 2.00 ▲0.03 | 39.98 ▼0.68 | 35.45 ▼0.06 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.25 ▲0.20 | 575.64 ▼69.74 | 46.59 ▼14.39 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.20 ▼0.03 | 104.78 ▲8.76 | 46.13 ▲5.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/grow-for-wp/inc/Grow/Views/admin-page-view.php
- > /wp-content/plugins/grow-for-wp/constants.php
- > /wp-content/plugins/grow-for-wp/grow-for-wp.php
- 19× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\ContentResolverInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/GenericPostResolver.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\EnvironmentInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/Environment.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\HasWordpressHooksInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/Content.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\PluginConfigInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/PluginConfig.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\HasWordpressHooksInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/SettingsAPIController.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\WordPressLifecycleInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/WordPressLifecycle.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\OptionProviderInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/WordPress.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\HasWordpressHooksInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/AssetLoader.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\HookArgumentsInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/HookArguments.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Grow\\HookInterface' not found in wp-content/plugins/grow-for-wp/inc/Grow/Hook.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
These attributes need to be fixed:
- Screenshots: A description for screenshot #4 is missing in grow-for-wp/assets to your readme.txt
grow-for-wp/grow-for-wp.php Passed 13 tests
The main file in "Grow for WordPress" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
39 characters long description:
Integrate your WordPress Site with Grow
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,565 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 542 | 1,617 | 2,079 |
TypeScript | 7 | 51 | 17 | 467 |
JavaScript | 1 | 0 | 0 | 13 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 12 | |
Traits | 1 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 215 | |
▷ Static methods | 61 | 28.37% |
▷ Public methods | 193 | 89.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 10.23% |
Functions | 14 | |
▷ Named functions | 3 | 21.43% |
▷ Anonymous functions | 11 | 78.57% |
Constants | 40 | |
▷ Global constants | 4 | 10.00% |
▷ Class constants | 36 | 90.00% |
▷ Public constants | 23 | 63.89% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 0.88MB with 0.51MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/feature-mailerlite.1.0.0.png | 10.79KB | 5.63KB | ▼ 47.79% |
assets/dist/feature-spotlight.1.0.0.png | 8.36KB | 4.42KB | ▼ 47.19% |
assets/dist/feature-header-carousel.1.0.0.png | 27.46KB | 10.20KB | ▼ 62.86% |
assets/dist/feature-bookmarks.1.0.0.png | 335.82KB | 96.58KB | ▼ 71.24% |
assets/dist/feature-recipe-integration.1.0.0.png | 33.30KB | 12.08KB | ▼ 63.73% |