Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼11.08ms] Passed 4 tests
Server-side resources used by Easy Popup Announcement
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 36.22 ▼5.96 |
Dashboard /wp-admin | 3.38 ▲0.04 | 44.09 ▼23.73 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.10 ▲6.09 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 80.54 ▼15.45 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.94 ▲0.82 |
All Popups /wp-admin/edit.php?post_type=epapopup | 3.35 | 37.13 |
Add New /wp-admin/post-new.php?post_type=epapopup | 6.03 | 78.50 |
Options /wp-admin/edit.php?post_type=epapopup&page=epaoptions | 3.25 | 33.45 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Popup Announcement
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲170 | 13.94 ▼0.41 | 8.29 ▲6.57 | 37.47 ▼7.51 |
Dashboard /wp-admin | 2,250 ▲70 | 5.81 ▲0.14 | 98.79 ▲1.48 | 41.65 ▼2.63 |
Posts /wp-admin/edit.php | 2,157 ▲54 | 2.48 ▲0.45 | 40.76 ▲3.99 | 34.39 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 23.22 ▲0.06 | 697.10 ▲9.84 | 37.60 ▼15.38 |
Media Library /wp-admin/upload.php | 1,455 ▲52 | 4.49 ▲0.27 | 96.51 ▼6.66 | 39.58 ▼11.81 |
All Popups /wp-admin/edit.php?post_type=epapopup | 1,127 | 2.23 | 36.54 | 30.49 |
Add New /wp-admin/post-new.php?post_type=epapopup | 6,183 | 19.18 | 882.16 | 35.92 |
Options /wp-admin/edit.php?post_type=epapopup&page=epaoptions | 1,151 | 2.57 | 51.89 | 30.77 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=epapopup&page=epaoptions
- > Notice in wp-content/plugins/easy-popup-announcement/inc/options.php+31
Undefined index: settings-updated
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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-popup-announcement/easy-popup-announcement.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-popup-announcement/inc/shortcode.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-popup-announcement/inc/options.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=epapopup&page=epaoptions
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- > GET request to /wp-admin/edit.php?post_type=epapopup&page=epaoptions
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- > GET request to /wp-admin/edit.php?post_type=epapopup&page=epaoptions
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultString is deprecated since version 5.5.0! Use wp.i18n instead.
- > GET request to /wp-admin/edit.php?post_type=epapopup&page=epaoptions
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== easy-popup-announcement ===
)
easy-popup-announcement/easy-popup-announcement.php 92% from 13 tests
The principal PHP file in "Easy Popup Announcement" v. 1.0.5 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin454 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 55 | 267 |
PO File | 1 | 26 | 26 | 75 |
JavaScript | 4 | 1 | 10 | 64 |
CSS | 2 | 0 | 1 | 48 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 18 | |
▷ Named functions | 18 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/close-button.png | 1.80KB | 0.68KB | ▼ 62.41% |