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.30MB] [CPU: ▼0.60ms] Passed 4 tests
A check of server-side resources used by WDES Responsive Popup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 38.25 ▼3.19 |
Dashboard /wp-admin | 3.67 ▲0.36 | 51.38 ▲3.41 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 55.73 ▲8.03 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 94.41 ▼5.62 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 38.23 ▲3.00 |
All Shortcodes /wp-admin/edit.php?post_type=wdespopup | 3.57 | 40.98 |
Add Shortcode /wp-admin/post-new.php?post_type=wdespopup | 3.62 | 50.32 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WDES Responsive Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲258 | 15.16 ▲0.76 | 1.75 ▼0.11 | 41.19 ▼2.13 |
Dashboard /wp-admin | 2,399 ▲208 | 6.65 ▲1.78 | 128.58 ▲24.66 | 39.36 ▼6.31 |
Posts /wp-admin/edit.php | 2,308 ▲219 | 3.57 ▲1.58 | 57.29 ▲19.42 | 34.02 ▲1.22 |
Add New Post /wp-admin/post-new.php | 6,313 ▲4,777 | 26.26 ▲3.15 | 897.49 ▲218.34 | 38.28 ▼12.21 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.24 ▲0.07 | 87.47 ▼5.13 | 43.96 ▲3.34 |
All Shortcodes /wp-admin/edit.php?post_type=wdespopup | 1,297 | 3.51 | 50.78 | 26.20 |
Add Shortcode /wp-admin/post-new.php?post_type=wdespopup | 3,266 | 8.25 | 227.16 | 91.26 |
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
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wdes_popup_meta() in wp-content/plugins/wdes-responsive-popup/lib/view/title.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wdes_popup_attr_id() in wp-content/plugins/wdes-responsive-popup/lib/view/content.php:9
- > 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 83% 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 #4, #5, #6 in wdes-responsive-popup/assets to your readme.txt
wdes-responsive-popup/wdes-popup.php 69% from 13 tests
"WDES Responsive Popup" version 1.3.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wdes-responsive-popup.php" instead of "wdes-popup.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 1123 characters long)
- Domain Path: The domain path folder does not exist ("/i18n/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin3,439 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 115 | 32 | 1,650 |
SVG | 1 | 0 | 0 | 655 |
JavaScript | 4 | 2 | 3 | 614 |
CSS | 4 | 0 | 2 | 520 |
PHP code Passed 2 tests
A short 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.46 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 69.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 30.77% |
Functions | 71 | |
▷ Named functions | 70 | 98.59% |
▷ Anonymous functions | 1 | 1.41% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/page-editor-settings.png | 95.86KB | 29.64KB | ▼ 69.08% |