Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.86ms] Passed 4 tests
Analyzing server-side resources used by Eonet Manual User Approve
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.12 ▲1.20 |
Dashboard /wp-admin | 3.48 ▲0.17 | 49.44 ▲0.33 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 52.51 ▲0.85 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 95.79 ▼5.82 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 37.84 ▲1.60 |
Manual User Approve /wp-admin/admin.php?page=?page=eonet&eo_settings=manual-user-approve | 3.17 | 24.01 |
Eonet /wp-admin/admin.php?page=eonet | 3.40 | 36.88 |
Server storage [IO: ▲5.84MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Eonet Manual User Approve
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲217 | 14.25 ▼0.12 | 9.68 ▲7.92 | 32.88 ▼10.09 |
Dashboard /wp-admin | 2,250 ▲59 | 5.41 ▲0.37 | 105.45 ▲1.22 | 95.74 ▲56.48 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.51 ▲0.52 | 42.50 ▲5.84 | 47.77 ▲13.35 |
Add New Post /wp-admin/post-new.php | 1,552 ▲33 | 17.86 ▼5.51 | 696.86 ▲28.88 | 41.93 ▼17.26 |
Media Library /wp-admin/upload.php | 1,426 ▲44 | 4.63 ▲0.42 | 107.21 ▲5.47 | 90.83 ▲47.23 |
Manual User Approve /wp-admin/admin.php?page=?page=eonet&eo_settings=manual-user-approve | 28 | 0.44 | 0.08 | 3.64 |
Eonet /wp-admin/admin.php?page=eonet | 1,214 | 2.23 | 34.13 | 77.13 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 19× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/eonet-manual-user-approve/core/EonetMetaboxes.php
- > /wp-content/plugins/eonet-manual-user-approve/core/admin/pages/EonetPageExtensions.php
- > /wp-content/plugins/eonet-manual-user-approve/core/admin/pages/EonetPageSettings.php
- > /wp-content/plugins/eonet-manual-user-approve/core/EonetGoogleFontLoader.php
- > /wp-content/plugins/eonet-manual-user-approve/core/admin/pages/EonetPageSupport.php
- > /wp-content/plugins/eonet-manual-user-approve/component-manual-user-approve/classes/Eonet_MUA_Sender.php
- > /wp-content/plugins/eonet-manual-user-approve/core/Eonet.php
- > /wp-content/plugins/eonet-manual-user-approve/core/bootstrap.php
- > /wp-content/plugins/eonet-manual-user-approve/core/admin/pages/EonetPageThemes.php
- > /wp-content/plugins/eonet-manual-user-approve/core/EonetOptions.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/eonet-manual-user-approve/core/admin/pages/views/support.php:1
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\Admin\\EonetAdmin' not found in wp-content/plugins/eonet-manual-user-approve/core/admin/pages/views/themes.php:2
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-manual-user-approve/core/admin/pages/views/extensions.php:3
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-manual-user-approve/core/admin/pages/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/eonet-manual-user-approve/component-manual-user-approve/settings.php:13
- > PHP Fatal error
Uncaught Error: Class 'Eonet\\Core\\EonetComponents' not found in wp-content/plugins/eonet-manual-user-approve/core/admin/views/wrapper.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/eonet-manual-user-approve/component-manual-user-approve/templates/members/activate.php:20
- > 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=manual-user-approve
- > Network (severe)
wp-admin/admin.php?page=?page=eonet&eo_settings=manual-user-approve - 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
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
7 plugin tags: login, sign up, registration, users, user management...
eonet-manual-user-approve/init.php 92% from 13 tests
The main PHP file in "Eonet Manual User Approve" ver. 2.1.3 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-manual-user-approve.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin24,019 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,075 | 1,361 | 12,047 |
SVG | 5 | 0 | 3 | 9,167 |
Sass | 14 | 42 | 7 | 1,771 |
JavaScript | 5 | 171 | 161 | 552 |
PO File | 1 | 192 | 232 | 480 |
CSS | 2 | 0 | 63 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 22.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 1 | 5.88% |
▷ Concrete classes | 16 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 165 | |
▷ Static methods | 58 | 35.15% |
▷ Public methods | 128 | 77.58% |
▷ Protected methods | 35 | 21.21% |
▷ Private methods | 2 | 1.21% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.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.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/images/logo_colored.png | 10.13KB | 6.09KB | ▼ 39.85% |
core/assets/images/menu_icon.png | 1.94KB | 1.28KB | ▼ 34.04% |
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/hue.png | 0.49KB | 0.50KB | 0.00% |