Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-includes/functions.php+650
unserialize(): Error at offset 2944 of 2944 bytes
Server metrics [RAM: ▲0.58MB] [CPU: ▼1.12ms] Passed 4 tests
An overview of server-side resources used by Catch Popup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.66 | 56.45 ▲19.07 |
Dashboard /wp-admin | 3.85 ▲0.54 | 45.88 ▼2.57 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 51.57 ▲2.46 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 92.73 ▼8.69 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 35.14 ▲4.34 |
All Popup /wp-admin/edit.php?post_type=catch_popup | 3.81 | 36.35 |
All Popup Themes /wp-admin/edit.php?post_type=catch_popup_theme | 3.88 | 42.96 |
Add New /wp-admin/post-new.php?post_type=catch_popup | 6.57 | 88.39 |
Server storage [IO: ▲0.28MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
_catch_popup_installed_themes |
theysaidso_admin_options |
widget_recent-comments |
catch-popup-has-cached-css |
catch-popup-has-cached-js |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Catch Popup: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲180 | 13.83 ▼0.31 | 8.92 ▲7.12 | 38.01 ▼6.32 |
Dashboard /wp-admin | 2,229 ▲49 | 5.63 ▼0.01 | 90.50 ▼2.61 | 43.14 ▲3.35 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▲0.00 | 40.25 ▲1.45 | 36.17 ▼0.14 |
Add New Post /wp-admin/post-new.php | 6,400 ▲4,874 | 27.63 ▲4.84 | 929.42 ▲261.05 | 72.41 ▲7.79 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.15 ▼0.17 | 95.31 ▼16.47 | 41.67 ▼6.25 |
All Popup /wp-admin/edit.php?post_type=catch_popup | 1,157 | 1.93 | 33.21 | 32.71 |
All Popup Themes /wp-admin/edit.php?post_type=catch_popup_theme | 1,996 | 1.93 | 37.29 | 32.99 |
Add New /wp-admin/post-new.php?post_type=catch_popup | 7,054 | 20.01 | 844.88 | 75.43 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-posts
- can_compress_scripts
- _catch_popup_installed_themes
- theysaidso_admin_options
- widget_theysaidso_widget
- catch-popup-has-cached-js
- catch-popup-has-cached-css
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/catch-popup/inc/catch-popup-block/index.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in catch-popup/assets to your readme.txt
catch-popup/catch-popup.php 92% from 13 tests
The principal PHP file in "Catch Popup" v. 1.4.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 168 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 plugin5,682 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 333 | 244 | 2,757 |
JavaScript | 6 | 150 | 21 | 1,660 |
CSS | 3 | 252 | 50 | 1,265 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 78 | |
▷ Named functions | 78 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |