Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.15ms] Passed 4 tests
An overview of server-side resources used by Eonet Live Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.98 ▼1.49 |
Dashboard /wp-admin | 3.45 ▲0.14 | 44.96 ▼1.70 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.71 ▼1.77 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.13 ▼7.63 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.25 ▲8.80 |
Eonet /wp-admin/admin.php?page=eonet | 3.38 | 39.76 |
Live Search /wp-admin/admin.php?page=?page=eonet&eo_settings=live-search | 3.14 | 21.94 |
Server storage [IO: ▲3.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 77 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Eonet Live Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲231 | 14.18 ▼0.20 | 8.26 ▲5.95 | 38.70 ▼6.67 |
Dashboard /wp-admin | 2,235 ▲44 | 5.32 ▲0.43 | 108.34 ▲0.53 | 105.41 ▲62.19 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.06 ▲0.07 | 43.34 ▼0.22 | 48.36 ▲12.88 |
Add New Post /wp-admin/post-new.php | 1,708 ▲194 | 23.25 ▲5.75 | 675.61 ▲28.62 | 32.82 ▼30.19 |
Media Library /wp-admin/upload.php | 1,426 ▲47 | 4.75 ▲0.56 | 107.23 ▲8.88 | 76.39 ▲25.96 |
Eonet /wp-admin/admin.php?page=eonet | 1,145 | 2.18 | 31.52 | 72.51 |
Live Search /wp-admin/admin.php?page=?page=eonet&eo_settings=live-search | 28 | 0.44 | 0.10 | 3.12 |
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 were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 15× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/eonet-live-search/init.php
- > /wp-content/plugins/eonet-live-search/core/EonetMetaboxes.php
- > /wp-content/plugins/eonet-live-search/core/admin/EonetAdmin.php
- > /wp-content/plugins/eonet-live-search/core/helpers.php
- > /wp-content/plugins/eonet-live-search/core/admin/pages/EonetPageThemes.php
- > /wp-content/plugins/eonet-live-search/core/admin/EonetAdminPages.php
- > /wp-content/plugins/eonet-live-search/core/bootstrap.php
- > /wp-content/plugins/eonet-live-search/core/EonetComponents.php
- > /wp-content/plugins/eonet-live-search/core/EonetGoogleFontLoader.php
- > /wp-content/plugins/eonet-live-search/core/admin/pages/EonetPageSettings.php
- 7× 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-search/core/admin/pages/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\Admin\\EonetAdmin' not found in wp-content/plugins/eonet-live-search/core/admin/pages/views/themes.php:2
- > PHP Fatal error
Uncaught Error: Class 'ComponentLiveSearch\\EonetLiveSearch' not found in wp-content/plugins/eonet-live-search/component-live-search/views/results.php:7
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetOptions' not found in wp-content/plugins/eonet-live-search/component-live-search/settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/eonet-live-search/core/admin/pages/views/support.php:1
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-live-search/core/admin/views/wrapper.php:3
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-live-search/core/admin/pages/views/extensions.php:3
- > 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)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=eonet
- > Network (severe)
wp-content/plugins/eonet-live-search/core/assets/js/bootstrap.min.js?ver=1.0.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=?page=eonet&eo_settings=live-search
- > Network (severe)
wp-admin/admin.php?page=?page=eonet&eo_settings=live-search - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: ajax, buddypress, members, posts, products...
eonet-live-search/init.php 85% from 13 tests
The main PHP file in "Eonet Live Search" ver. 1.1.6 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eonet-live-search.php" instead of "init.php")
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected19,227 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 727 | 940 | 11,579 |
SVG | 2 | 0 | 3 | 4,898 |
Sass | 15 | 42 | 8 | 2,061 |
JavaScript | 5 | 228 | 204 | 685 |
CSS | 4 | 3 | 82 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 21.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.69 |
▷ 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 | 102 | |
▷ Static methods | 43 | 42.16% |
▷ Public methods | 78 | 76.47% |
▷ Protected methods | 21 | 20.59% |
▷ Private methods | 3 | 2.94% |
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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 compressed PNG files occupy 0.53MB
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/colorpicker/hue-horizontal.png | 0.47KB | 0.47KB | 0.00% |
core/assets/images/colorpicker/alpha-horizontal.png | 0.54KB | 1.62KB | 0.00% |
core/assets/images/connections_left.png | 32.13KB | 15.77KB | ▼ 50.90% |
core/assets/images/colorpicker/saturation.png | 4.05KB | 5.13KB | 0.00% |