Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.68MB] [CPU: ▲32.65ms] Passed 4 tests
This is a short check of server-side resources used by Elite Notification - Sales Popup, Social Proof, FOMO & WooCommerce Notification
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.19 ▲1.73 | 105.22 ▲65.49 |
Dashboard /wp-admin | 5.01 ▲1.66 | 91.70 ▲28.99 |
Posts /wp-admin/edit.php | 5.12 ▲1.76 | 96.93 ▲49.46 |
Add New Post /wp-admin/post-new.php | 7.61 ▲1.72 | 131.48 ▲33.62 |
Media Library /wp-admin/upload.php | 4.85 ▲1.61 | 53.71 ▲18.54 |
Server storage [IO: ▲10.60MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 298 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_apbd_dummy_notification |
New WordPress options |
---|
_appsbd_slnf_sulog |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
apbd_snlf_nt |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
elite-notification_o_APBD_notification_source |
Browser metrics Passed 4 tests
An overview of browser requirements for Elite Notification - Sales Popup, Social Proof, FOMO & WooCommerce Notification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 13.42 ▼0.98 | 9.60 ▲7.94 | 37.13 ▼3.63 |
Dashboard /wp-admin | 2,222 ▲42 | 5.61 ▼0.04 | 81.89 ▼4.78 | 39.86 ▼3.62 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.01 ▼0.01 | 36.09 ▼1.17 | 35.69 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 22.26 ▼0.97 | 597.26 ▼61.39 | 60.02 ▲3.75 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.17 ▼0.02 | 97.85 ▲3.46 | 44.77 ▼1.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_apbd_dummy_notification
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- elite-notification_o_APBD_notification_source
- db_upgraded
- widget_recent-posts
- apbd_snlf_nt
- can_compress_scripts
- widget_theysaidso_widget
- _appsbd_slnf_sulog
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/elite-notification/views/apbd_notification_setting/template.php
- 35× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'APBD_notification_source_base' not found in wp-content/plugins/elite-notification/libs/APBD_notification_easy_digital_downloads.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function APBD_LoadCore() in wp-content/plugins/elite-notification/core/AppsBDModel.php:2
- > PHP Fatal error
Uncaught Error: Class 'AppsBDLiteModule' not found in wp-content/plugins/elite-notification/modules/APBD_notification_source.php:3
- > PHP Fatal error
Uncaught Error: Class 'APBD_notification_source_base' not found in wp-content/plugins/elite-notification/libs/APBD_notification_envato_source.php:2
- > PHP Fatal error
Uncaught Error: Class 'jQGrid' not found in wp-content/plugins/elite-notification/views/apbd_dummy_notification/main.php:3
- > PHP Fatal error
Uncaught Error: Class 'APBD_notification_source_base' not found in wp-content/plugins/elite-notification/libs/APBD_notification_elite_licenser_source.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/elite-notification/views/apbd_notification_source/fastspring_web_url.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function APBD_LoadCore() in wp-content/plugins/elite-notification/core/AppsBDKarnelLiteV1.php:7
- > PHP Fatal error
Uncaught Error: Class 'Apbd_sale_notification_dashboard' not found in wp-content/plugins/elite-notification/views/apbd_sale_notification_dashboard/main.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elite-notification/core/helper_lite.php:450
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: fomo, notification popup, sales notification, woocommerce notification, social proof
elite-notification/elite-notification.php 92% from 13 tests
The main PHP file in "Elite Notification - Sales Popup, Social Proof, FOMO & WooCommerce Notification" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin101,146 lines of code in 232 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 69 | 6,356 | 13,346 | 40,705 |
CSS | 47 | 5,738 | 449 | 28,995 |
PHP | 55 | 1,308 | 889 | 10,520 |
Sass | 26 | 1,201 | 35 | 10,368 |
SVG | 33 | 3 | 1 | 10,101 |
LESS | 2 | 28 | 17 | 457 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 31.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 362.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 4 | 10.00% |
▷ Concrete classes | 36 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 639 | |
▷ Static methods | 70 | 10.95% |
▷ Public methods | 609 | 95.31% |
▷ Protected methods | 22 | 3.44% |
▷ Private methods | 8 | 1.25% |
Functions | 94 | |
▷ Named functions | 78 | 82.98% |
▷ Anonymous functions | 16 | 17.02% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
23 PNG files occupy 0.25MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
uilib/grid/css/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
uilib/grid/css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
images/user_img.png | 5.43KB | 2.78KB | ▼ 48.80% |
uilib/grid/css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
uilib/grid/css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |