Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.86MB] [CPU: ▲35.01ms] 75% from 4 tests
Analyzing server-side resources used by NotificationX - Best FOMO, Social Proof, WooCommerce Sales Popup & Notification Bar Plugin With Elementor
Please take the time to fix the following items
- RAM: The total memory usage must be kept under 10MB (currently 10.01MB on /wp-admin/admin.php?page=nx-analytics)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.37 ▲4.90 | 71.50 ▲30.74 |
Dashboard /wp-admin | 8.28 ▲4.97 | 80.85 ▲28.40 |
Posts /wp-admin/edit.php | 8.21 ▲4.85 | 85.34 ▲39.69 |
Add New Post /wp-admin/post-new.php | 10.73 ▲4.83 | 138.62 ▲41.21 |
Media Library /wp-admin/upload.php | 8.08 ▲4.85 | 85.80 ▲49.90 |
All NotificationX /wp-admin/admin.php?page=nx-admin | 10.01 | 85.80 |
Add New /wp-admin/admin.php?page=nx-edit | 10.01 | 87.16 |
Quick Builder /wp-admin/admin.php?page=nx-builder | 10.01 | 88.10 |
Settings /wp-admin/admin.php?page=nx-settings | 10.01 | 82.49 |
Analytics /wp-admin/admin.php?page=nx-analytics | 10.01 | 81.25 |
Server storage [IO: ▲7.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 483 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_nx_entries |
wp_nx_stats |
wp_nx_posts |
New WordPress options |
---|
widget_recent-posts |
nx_db_version |
widget_theysaidso_widget |
widget_recent-comments |
nx_free_version |
theysaidso_admin_options |
notificationx_2x_upgraded |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NotificationX - Best FOMO, Social Proof, WooCommerce Sales Popup & Notification Bar Plugin With Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲186 | 14.34 ▲0.17 | 1.71 ▲0.13 | 36.84 ▼8.62 |
Dashboard /wp-admin | 2,429 ▲249 | 5.60 ▼0.05 | 98.17 ▼3.06 | 95.15 ▲42.45 |
Posts /wp-admin/edit.php | 2,242 ▲142 | 2.13 ▲0.17 | 39.71 ▼0.50 | 38.26 ▲6.52 |
Add New Post /wp-admin/post-new.php | 6,414 ▲4,888 | 29.19 ▲5.97 | 979.89 ▲323.61 | 73.50 ▲22.41 |
Media Library /wp-admin/upload.php | 1,542 ▲142 | 4.21 ▲0.04 | 99.46 ▼5.62 | 70.01 ▲23.17 |
All NotificationX /wp-admin/admin.php?page=nx-admin | 1,422 | 13.85 | 408.76 | 65.72 |
Add New /wp-admin/admin.php?page=nx-edit | 1,762 | 11.89 | 439.48 | 129.48 |
Quick Builder /wp-admin/admin.php?page=nx-builder | 1,871 | 14.26 | 328.40 | 120.50 |
Settings /wp-admin/admin.php?page=nx-settings | 1,991 | 16.25 | 240.75 | 88.19 |
Analytics /wp-admin/admin.php?page=nx-analytics | 1,257 | 12.22 | 131.26 | 101.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_nx_posts
- wp_nx_stats
- wp_nx_entries
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- notificationx_2x_upgraded
- widget_recent-comments
- nx_db_version
- db_upgraded
- can_compress_scripts
- nx_free_version
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 99× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Trait 'NotificationX\\GetInstance' not found in wp-content/plugins/notificationx/includes/ThirdParty/WPML.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'NotificationX\\Extensions\\Extension' not found in wp-content/plugins/notificationx/includes/Extensions/Zapier/ZapierEmailSubscription.php:17
- > PHP Fatal error
Uncaught Error: Class 'NotificationX\\Extensions\\Extension' not found in wp-content/plugins/notificationx/includes/Extensions/Zapier/ZapierConversions.php:17
- > PHP Fatal error
Trait 'NotificationX\\GetInstance' not found in wp-content/plugins/notificationx/includes/Features/ShortcodeInline.php on line 14
- > PHP Fatal error
Trait 'NotificationX\\GetInstance' not found in wp-content/plugins/notificationx/includes/Core/PostType.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'NotificationX\\Extensions\\Extension' not found in wp-content/plugins/notificationx/includes/Extensions/WPF/WPForms.php:22
- > PHP Fatal error
Trait 'NotificationX\\GetInstance' not found in wp-content/plugins/notificationx/includes/Types/TypesFactory.php on line 15
- > PHP Fatal error
Trait 'NotificationX\\GetInstance' not found in wp-content/plugins/notificationx/includes/Features/Inline.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'NotificationX\\Extensions\\Extension' not found in wp-content/plugins/notificationx/includes/Extensions/Google/YouTube.php:18
- > PHP Fatal error
Uncaught Error: Class 'NotificationX\\Types\\Types' not found in wp-content/plugins/notificationx/includes/Types/Reviews.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=nx-analytics
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
wp.date.__experimentalGetSettings is deprecated since version 6.1. Please use wp.date.getSettings instead.
- > GET request to /wp-admin/admin.php?page=nx-edit
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
`position` prop in wp.components.Dropdown is deprecated since version 6.2. Please use `popoverProps.placement` prop instead. Note: Note that the `position` prop will override any values passed through the `popoverProps.placement` prop.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 30 tag instead of maximum 10
notificationx/notificationx.php Passed 13 tests
The primary PHP file in "NotificationX - Best FOMO, Social Proof, WooCommerce Sales Popup & Notification Bar Plugin With Elementor" version 2.7.9 is used by WordPress to initiate all plugin functionality
115 characters long description:
Social Proof & Recent Sales Popup, Comment Notification, Subscription Notification, Notification Bar and many more.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected24,736 lines of code in 322 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 140 | 3,567 | 6,949 | 22,640 |
JSON | 6 | 0 | 0 | 1,269 |
JavaScript | 145 | 30 | 18 | 361 |
CSS | 8 | 22 | 16 | 311 |
SVG | 22 | 1 | 1 | 141 |
XML | 1 | 2 | 0 | 14 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 152)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 24.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 308.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 152.00 |
Code structure | ||
---|---|---|
Namespaces | 43 | |
Interfaces | 0 | |
Traits | 6 | |
Classes | 121 | |
▷ Abstract classes | 3 | 2.48% |
▷ Concrete classes | 118 | 97.52% |
▷ Final classes | 2 | 1.69% |
Methods | 1,096 | |
▷ Static methods | 160 | 14.60% |
▷ Public methods | 1,027 | 93.70% |
▷ Protected methods | 35 | 3.19% |
▷ Private methods | 34 | 3.10% |
Functions | 31 | |
▷ Named functions | 4 | 12.90% |
▷ Anonymous functions | 27 | 87.10% |
Constants | 28 | |
▷ Global constants | 16 | 57.14% |
▷ Class constants | 12 | 42.86% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
100 compressed PNG files occupy 1.36MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/public/image/reports/youtube.png | 0.34KB | 0.35KB | 0.00% |
assets/admin/images/extensions/sources/wistia.png | 8.80KB | 10.55KB | 0.00% |
assets/admin/images/extensions/sources/freemius.png | 3.10KB | 3.21KB | 0.00% |
assets/admin/images/extensions/themes/elearning/elearning-theme-5.png | 5.64KB | 6.22KB | 0.00% |
assets/admin/images/usa.png | 56.27KB | 21.31KB | ▼ 62.13% |