Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'EAPSGT_Plugin' does not have a method 'active'
Server metrics [RAM: ▲0.32MB] [CPU: ▼1.26ms] Passed 4 tests
An overview of server-side resources used by Easy Animated Popup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 47.13 ▲5.19 |
Dashboard /wp-admin | 3.62 ▲0.32 | 53.06 ▲4.77 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 50.91 ▲0.31 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 88.57 ▼12.11 |
Media Library /wp-admin/upload.php | 3.54 ▲0.32 | 39.01 ▲2.00 |
All PopUps /wp-admin/edit.php?post_type=eapsgt | 3.59 | 37.79 |
Add New PopUp /wp-admin/post-new.php?post_type=eapsgt | 3.63 | 48.84 |
Server storage [IO: ▲6.41MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 108 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Animated Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.40 ▼0.79 | 1.91 ▲0.24 | 42.88 ▲3.59 |
Dashboard /wp-admin | 2,248 ▲60 | 5.19 ▲0.27 | 121.19 ▲8.32 | 43.72 ▼0.47 |
Posts /wp-admin/edit.php | 2,142 ▲50 | 2.35 ▲0.32 | 37.51 ▲1.36 | 31.91 ▼4.79 |
Add New Post /wp-admin/post-new.php | 1,561 ▲32 | 23.24 ▲4.88 | 687.33 ▲23.80 | 36.24 ▼23.50 |
Media Library /wp-admin/upload.php | 1,439 ▲54 | 4.43 ▲0.24 | 106.16 ▲1.61 | 39.79 ▼9.18 |
All PopUps /wp-admin/edit.php?post_type=eapsgt | 1,114 | 2.30 | 36.95 | 30.89 |
Add New PopUp /wp-admin/post-new.php?post_type=eapsgt | 3,057 | 3.39 | 86.43 | 97.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-animated-popup/includes/popup/popup_setup.php:91
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-animated-popup/easy-animated-popup-admin.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #0, #0, #0, #0, #0 in easy-animated-popup/assets to your readme.txt
- Screenshots: These screenshots do not have images: #1 (screenshot1.png You can pick a template of your choice.), #2 (screenshot2.png You can customize many elements in the template.), #3 (screenshot3.png Pick a good animation you like.), #4 (screenshot4.png Customize how and where the popup will be appear.), #5 (screenshot5.png Create and edit as much as the popup you need.)
- Requires at least: Version format is invalid
easy-animated-popup/easy-animated-popup.php Passed 13 tests
"Easy Animated Popup" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
91 characters long description:
Setup and create animated popup in seconds, increase lead and conversions for your website.
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
There were no executable files found in this plugin3,548 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 166 | 124 | 1,809 |
CSS | 7 | 385 | 54 | 1,578 |
JSON | 10 | 0 | 0 | 141 |
SVG | 1 | 0 | 0 | 12 |
JavaScript | 8 | 0 | 2 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 6 | 46.15% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
43 PNG files occupy 4.65MB with 2.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bg_top_popup02.png | 604.25KB | 381.42KB | ▼ 36.88% |
assets/img/img_top_after_popup02.png | 8.11KB | 3.69KB | ▼ 54.52% |
assets/img/close_popup09.png | 0.23KB | 0.21KB | ▼ 9.09% |
assets/img/logo_09.png | 17.68KB | 8.75KB | ▼ 50.52% |
screenshot2.png | 175.08KB | 56.98KB | ▼ 67.45% |