Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.76ms] Passed 4 tests
A check of server-side resources used by Eonet Live Notifications
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.99 ▼6.14 |
Dashboard /wp-admin | 3.43 ▲0.08 | 44.60 ▼19.47 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 44.29 ▼3.84 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 98.26 ▼9.58 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.82 ▲6.62 |
Live Notifications /wp-admin/admin.php?page=?page=eonet&eo_settings=live-notifications | 3.12 | 23.72 |
Eonet /wp-admin/admin.php?page=eonet | 3.36 | 33.35 |
Server storage [IO: ▲6.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 95 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Eonet Live Notifications
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲213 | 14.31 ▲0.09 | 7.77 ▲5.98 | 32.78 ▼9.90 |
Dashboard /wp-admin | 2,235 ▲47 | 5.46 ▲0.59 | 105.28 ▲4.67 | 90.65 ▲45.66 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.41 ▲0.37 | 37.88 ▼3.48 | 46.96 ▲12.33 |
Add New Post /wp-admin/post-new.php | 1,708 ▲188 | 23.30 ▼0.02 | 806.74 ▲181.86 | 35.41 ▼19.88 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.84 ▲0.72 | 100.82 ▼12.43 | 84.76 ▲40.60 |
Live Notifications /wp-admin/admin.php?page=?page=eonet&eo_settings=live-notifications | 28 | 0.44 | 0.07 | 3.89 |
Eonet /wp-admin/admin.php?page=eonet | 1,116 | 2.08 | 31.27 | 75.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 15× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/eonet-live-notifications/core/bootstrap.php
- > /wp-content/plugins/eonet-live-notifications/core/helpers.php
- > /wp-content/plugins/eonet-live-notifications/core/admin/pages/EonetPageSupport.php
- > /wp-content/plugins/eonet-live-notifications/core/admin/EonetAdminPages.php
- > /wp-content/plugins/eonet-live-notifications/init.php
- > /wp-content/plugins/eonet-live-notifications/core/admin/pages/EonetPageSettings.php
- > /wp-content/plugins/eonet-live-notifications/core/EonetGoogleFontLoader.php
- > /wp-content/plugins/eonet-live-notifications/core/admin/pages/EonetPageExtensions.php
- > /wp-content/plugins/eonet-live-notifications/core/EonetComponents.php
- > /wp-content/plugins/eonet-live-notifications/core/EonetMetaboxes.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-live-notifications/core/admin/pages/views/extensions.php:3
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\Admin\\EonetAdmin' not found in wp-content/plugins/eonet-live-notifications/core/admin/pages/views/themes.php:2
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-live-notifications/core/admin/views/wrapper.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/eonet-live-notifications/core/admin/pages/views/support.php:1
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-live-notifications/core/admin/pages/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'ComponentLiveNotifications\\EonetLiveNotifications' not found in wp-content/plugins/eonet-live-notifications/component-live-notifications/settings.php:21
- > 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)
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=?page=eonet&eo_settings=live-notifications
- > Network (severe)
wp-admin/admin.php?page=?page=eonet&eo_settings=live-notifications - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: activity, buddypress, notifications, real time, groups...
eonet-live-notifications/init.php 92% from 13 tests
The main PHP script in "Eonet Live Notifications" version 1.0.11 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("eonet-live-notifications.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin23,405 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 684 | 909 | 11,367 |
SVG | 5 | 0 | 3 | 9,167 |
Sass | 14 | 42 | 7 | 1,771 |
JavaScript | 6 | 194 | 176 | 618 |
PO File | 1 | 192 | 232 | 480 |
CSS | 2 | 0 | 63 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 19.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 42 | 42.00% |
▷ Public methods | 77 | 77.00% |
▷ Protected methods | 21 | 21.00% |
▷ Private methods | 2 | 2.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.53MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/images/colorpicker/hue.png | 0.49KB | 0.50KB | 0.00% |
core/assets/images/logo.png | 10.69KB | 6.80KB | ▼ 36.38% |
core/assets/images/themes/woffice.png | 446.42KB | 194.26KB | ▼ 56.48% |
core/assets/images/colorpicker/alpha-horizontal.png | 0.54KB | 1.62KB | 0.00% |
core/assets/images/logo_colored.png | 10.13KB | 6.09KB | ▼ 39.85% |