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
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲0.56ms] Passed 4 tests
A check of server-side resources used by WPP Elementor Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.01 ▲2.39 |
Dashboard /wp-admin | 3.41 ▲0.10 | 45.32 ▼2.39 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.25 ▼0.58 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.99 ▲2.82 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.86 ▲8.43 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=portfolio | 3.33 | 33.66 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 3.37 | 33.80 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.43 | 44.85 |
Portfolio Cats /wp-admin/edit-tags.php?taxonomy=portfolio_cat&post_type=portfolio | 3.32 | 31.41 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WPP Elementor Addons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 13.66 ▼0.73 | 1.81 ▲0.15 | 52.10 ▲12.22 |
Dashboard /wp-admin | 2,253 ▲65 | 4.95 ▼0.09 | 97.11 ▼5.71 | 80.59 ▲37.72 |
Posts /wp-admin/edit.php | 2,142 ▲50 | 2.05 ▼0.01 | 36.77 ▼7.12 | 33.96 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,719 ▲197 | 24.67 ▲1.57 | 690.47 ▲40.08 | 57.33 ▼1.60 |
Media Library /wp-admin/upload.php | 1,435 ▲44 | 4.22 ▼0.06 | 95.32 ▼3.23 | 68.86 ▲22.48 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=portfolio | 1,357 | 2.15 | 25.57 | 32.64 |
Portfolio /wp-admin/edit.php?post_type=portfolio | 1,119 | 1.98 | 34.13 | 28.51 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,587 | 7.74 | 172.58 | 122.33 |
Portfolio Cats /wp-admin/edit-tags.php?taxonomy=portfolio_cat&post_type=portfolio | 1,312 | 2.27 | 25.01 | 26.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+235
Undefined index: field_1_name
- 20 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+263
Trying to access array offset on value of type null
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+236
Undefined index: field_1_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+238
Undefined index: field_2_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+239
Undefined index: field_2_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+241
Undefined index: field_3_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+242
Undefined index: field_3_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+244
Undefined index: field_4_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+245
Undefined index: field_4_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+247
Undefined index: field_5_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+248
Undefined index: field_5_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+250
Undefined index: field_6_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+251
Undefined index: field_6_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+253
Undefined index: field_7_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+254
Undefined index: field_7_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+256
Undefined index: field_8_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+257
Undefined index: field_8_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+259
Undefined index: field_9_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+260
Undefined index: field_9_value
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+262
Undefined index: field_10_name
- > GET request to /wp-admin/post-new.php?post_type=portfolio
- > Notice in wp-content/plugins/wpp-elementor-addons/index.php+263
Undefined index: field_10_value
SRP 50% 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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpp-elementor-addons/index.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function WPC\\add_action() in wp-content/plugins/wpp-elementor-addons/elementor-widget.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: animated cd cover, animated album grid, portfolio filter gallery, responsive grid for woocommerce, elementor addons...
wpp-elementor-addons/index.php 69% from 13 tests
"WPP Elementor Addons" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.2.1" instead of "5.2")
- Domain Path: The domain path should use only dashes and lowercase characters ("https://wordpresspioneers.com")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("wpp-elementor-addons.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin2,395 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 113 | 25 | 1,234 |
PHP | 5 | 380 | 118 | 1,161 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 19 | 70.37% |
▷ Protected methods | 7 | 25.93% |
▷ Private methods | 1 | 3.70% |
Functions | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.43MB with 0.18MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 185.43KB | 198.16KB | 0.00% |
index_files/wct_grid_assets/star-rating-2.png | 27.06KB | 5.02KB | ▼ 81.47% |
index_files/wct_grid_assets/star-rating.png | 66.29KB | 11.30KB | ▼ 82.96% |
screenshot-1.png | 160.75KB | 174.55KB | 0.00% |