Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.96ms] Passed 4 tests
Server-side resources used by Growanizer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.47 ▼1.72 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.36 ▼5.11 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 50.83 ▲1.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.01 ▲4.70 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.82 ▲1.19 |
Server storage [IO: ▲4.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 158 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Growanizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.37 | 1.62 ▼0.08 | 41.08 ▼0.36 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.22 | 90.60 ▼2.14 | 40.78 ▼3.40 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.09 | 40.71 ▼1.01 | 36.65 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.01 ▼0.73 | 678.09 ▲50.13 | 57.16 ▼8.65 |
Media Library /wp-admin/upload.php | 1,391 ▼9 | 4.24 ▲0.06 | 104.91 ▼5.03 | 44.87 ▼1.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/growanizer/modules/growanizer-block-attributes/admin/views/renderer/html-shortcode_content.php
- > /wp-content/plugins/growanizer/assets/modal/pro-modal.php
- > /wp-content/plugins/growanizer/modules/growanizer-product-finder/admin/views/renderer/html-shortcode_content.php
- 36× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/growanizer/modules/growanizer-related-products/admin/views/renderer/html-decimal-values.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/growanizer/modules/growanizer-related-products/admin/views/html-rule-location.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/growanizer/modules/growanizer-related-products/templates/linked-products.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/growanizer/modules/growanizer-related-products/admin/views/renderer/html-chooser.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/growanizer/admin/views/general-tabs/modules.php:3
- > PHP Fatal error
Uncaught Error: Class 'Growanizer_Product_Finder' not found in wp-content/plugins/growanizer/modules/growanizer-product-finder/templates/growpf-suggestions-template.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/growanizer/modules/growanizer-related-products/admin/views/renderer/html-number.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/growanizer/modules/growanizer-product-finder/admin/views/renderer/html-hidden.php:2
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/growanizer/modules/growanizer-product-finder/admin/views/renderer/html-shortcode_content.php on line 11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/growanizer/modules/growanizer-product-finder/admin/views/html-rule-default.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7, #8, #9 in growanizer/assets to your readme.txt
growanizer/growanizer.php 85% from 13 tests
The main PHP file in "Growanizer" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.5" instead of "3.0.0")
- Domain Path: The domain path folder does not exist ("/languages/")
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
Good job! No executable or dangerous file extensions detected28,856 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 72 | 1,146 | 560 | 10,417 |
SVG | 3 | 0 | 0 | 9,546 |
JavaScript | 16 | 935 | 1,104 | 5,308 |
CSS | 19 | 381 | 174 | 2,756 |
JSON | 2 | 1 | 0 | 829 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 28.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 174.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 2 | 6.45% |
▷ Concrete classes | 29 | 93.55% |
▷ Final classes | 1 | 3.45% |
Methods | 329 | |
▷ Static methods | 40 | 12.16% |
▷ Public methods | 296 | 89.97% |
▷ Protected methods | 26 | 7.90% |
▷ Private methods | 7 | 2.13% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 38 | |
▷ Global constants | 3 | 7.89% |
▷ Class constants | 35 | 92.11% |
▷ Public constants | 35 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.03MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/lock.png | 0.58KB | 0.47KB | ▼ 20.20% |
modules/growanizer-related-products/assets/css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/css/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
modules/growanizer-related-products/assets/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
modules/growanizer-product-finder/assets/images/spinner.png | 19.95KB | 6.29KB | ▼ 68.47% |