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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.93ms] Passed 4 tests
A check of server-side resources used by Smart PopUp Blaster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.06 ▼1.74 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.81 ▼7.16 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.28 ▼1.28 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 82.18 ▼8.78 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.89 ▼2.03 |
Add New PopUp /wp-admin/post-new.php?post_type=spb | 3.39 | 50.24 |
All PopUps /wp-admin/edit.php?post_type=spb | 3.30 | 36.59 |
Help /wp-admin/edit.php?post_type=spb&page=submenu-handle | 3.23 | 30.57 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smart PopUp Blaster
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲212 | 13.70 ▼0.68 | 6.70 ▲4.90 | 43.52 ▼6.45 |
Dashboard /wp-admin | 2,237 ▲46 | 5.85 ▼0.06 | 102.22 ▼0.29 | 39.72 ▼1.87 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.01 ▼0.03 | 38.85 ▲1.18 | 35.57 ▲2.95 |
Add New Post /wp-admin/post-new.php | 1,559 ▲40 | 23.29 ▼0.00 | 652.18 ▼11.05 | 56.38 ▼1.59 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.18 ▲0.04 | 97.66 ▼8.79 | 43.62 ▼1.08 |
Add New PopUp /wp-admin/post-new.php?post_type=spb | 3,739 | 8.27 | 237.60 | 86.56 |
All PopUps /wp-admin/edit.php?post_type=spb | 1,116 | 1.93 | 30.52 | 29.34 |
Help /wp-admin/edit.php?post_type=spb&page=submenu-handle | 903 | 1.99 | 23.46 | 43.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/smart-popup-blaster/admin/shortcodes.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-popup-blaster/admin/popup_setup.php:76
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/smart-popup-blaster/assets/css/custom.css.php:45
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=spb
- > Network (severe)
wp-content/plugins/smart-popup-blaster/assets/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=spb
- > Network (severe)
wp-content/plugins/smart-popup-blaster/assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=spb
- > Network (severe)
wp-content/plugins/smart-popup-blaster/assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: subscribe, popups, blaster, popup, add...
smart-popup-blaster/smart-popup-blaster.php 92% from 13 tests
The main PHP file in "Smart PopUp Blaster" ver. 1.4.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 165 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,249 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 484 | 62 | 3,043 |
PHP | 7 | 121 | 31 | 876 |
JavaScript | 2 | 68 | 7 | 330 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 0 | |
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 | 23 | |
▷ Named functions | 23 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin