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
You still need to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/eswp-popup-notifications/eswp-popup-notifications.php+21
copy(wp-content/languages/plugins/eswp-popup-notifications-pl_PL.mo): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.19MB] [CPU: ▼10.50ms] Passed 4 tests
A check of server-side resources used by ESWP Popup Notifications
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 25.47 ▼14.99 |
Dashboard /wp-admin | 3.52 ▲0.18 | 49.49 ▼12.02 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 48.24 ▼2.93 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 83.14 ▼12.05 |
Media Library /wp-admin/upload.php | 3.59 ▲0.37 | 37.36 ▼1.12 |
ESWP Popup Notifications /wp-admin/options-general.php?page=eswp-popup-notifications-settings | 3.51 | 34.55 |
Server storage [IO: ▲0.11MB] [DB: ▲0.05MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for ESWP Popup Notifications
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲164 | 13.42 ▼0.98 | 11.70 ▲9.77 | 59.48 ▲15.95 |
Dashboard /wp-admin | 2,204 ▲27 | 5.68 ▼0.00 | 100.72 ▲1.04 | 42.93 ▼1.26 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.17 ▲0.22 | 38.11 ▼1.67 | 33.01 ▲1.54 |
Add New Post /wp-admin/post-new.php | 1,537 ▲2 | 23.17 ▲4.90 | 606.94 ▼37.13 | 85.17 ▼5.10 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.24 ▲0.02 | 97.85 ▼32.27 | 42.57 ▼9.44 |
ESWP Popup Notifications /wp-admin/options-general.php?page=eswp-popup-notifications-settings | 1,329 | 2.03 | 26.47 | 34.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=eswp-popup-notifications-settings
- > Notice in wp-content/plugins/eswp-popup-notifications/inc/eswp-popup-notifications-style.php+100
Undefined index: popup_popup_text_align
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: notice, popup, simple, notification
eswp-popup-notifications/eswp-popup-notifications.php Passed 13 tests
"ESWP Popup Notifications" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
It is a very simple pupup notifications plugin to display notices to visitors.
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 plugin1,235 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 50 | 21 | 678 |
JavaScript | 4 | 14 | 6 | 396 |
PO File | 1 | 39 | 58 | 102 |
SVG | 1 | 0 | 0 | 59 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin