Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/eewee-admincustom/controllers/BreadcrumbController.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; BreadcrumbController has a deprecated constructor
Server metrics [RAM: ▼1.82MB] [CPU: ▼53.83ms] Passed 4 tests
This is a short check of server-side resources used by eewee admin custom
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 6.43 ▼41.23 |
Dashboard /wp-admin | 2.18 ▼1.12 | 8.33 ▼38.95 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 6.57 ▼44.11 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.70 | 7.35 ▼91.01 |
Media Library /wp-admin/upload.php | 2.18 ▼1.04 | 9.18 ▼21.69 |
Breadcrumb /wp-admin/admin.php?page=idSousMenuAC6 | 2.18 | 7.94 |
Admin Bar /wp-admin/admin.php?page=idSousMenuAC4 | 2.18 | 7.16 |
Dashboard /wp-admin/admin.php?page=idSousMenuAC2 | 2.18 | 7.87 |
Help Tab /wp-admin/admin.php?page=idSousMenuAC3 | 2.18 | 7.01 |
Admin Custom /wp-admin/admin.php?page=idAdminCustom | 2.18 | 10.55 |
General /wp-admin/admin.php?page=idSousMenuAC1 | 2.18 | 6.80 |
Role /wp-admin/admin.php?page=idSousMenuAC5 | 2.18 | 8.88 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for eewee admin custom
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲120 | 14.47 ▼0.17 | 2.03 ▼0.10 | 41.90 ▼3.16 |
Dashboard /wp-admin | 2,257 ▲69 | 5.88 ▲0.99 | 102.94 ▼0.88 | 82.51 ▲37.89 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.01 ▼0.01 | 35.63 ▼6.75 | 34.20 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,706 ▲164 | 21.34 ▲3.07 | 704.18 ▲86.62 | 61.41 ▲11.97 |
Media Library /wp-admin/upload.php | 1,433 ▲48 | 4.17 ▼0.00 | 101.95 ▼0.08 | 63.62 ▲20.45 |
Breadcrumb /wp-admin/admin.php?page=idSousMenuAC6 | 882 | 2.06 | 26.84 | 27.99 |
Admin Bar /wp-admin/admin.php?page=idSousMenuAC4 | 840 | 2.06 | 26.94 | 27.18 |
Dashboard /wp-admin/admin.php?page=idSousMenuAC2 | 1,067 | 2.08 | 24.66 | 28.57 |
Help Tab /wp-admin/admin.php?page=idSousMenuAC3 | 858 | 2.02 | 25.98 | 25.52 |
Admin Custom /wp-admin/admin.php?page=idAdminCustom | 1,026 | 2.02 | 35.13 | 38.89 |
General /wp-admin/admin.php?page=idSousMenuAC1 | 985 | 2.04 | 25.04 | 29.62 |
Role /wp-admin/admin.php?page=idSousMenuAC5 | 910 | 2.01 | 24.44 | 26.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 cannot be uninstalled
- > Deprecated in wp-content/plugins/eewee-admincustom/controllers/BreadcrumbController.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; BreadcrumbController has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuAC5
- > Deprecated in wp-content/plugins/eewee-admincustom/controllers/BreadcrumbController.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; BreadcrumbController has a deprecated constructor
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=idSousMenuAC5
- > Deprecated in wp-content/plugins/eewee-admincustom/controllers/AdminBarController.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; AdminBarController has a deprecated constructor
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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/eewee-admincustom/view/manuel.php
- > /wp-content/plugins/eewee-admincustom/view/roleDelete.php
- 38× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant EEWEE_ADMINCUSTOM_PLUGIN_DIR - assumed 'EEWEE_ADMINCUSTOM_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/eewee-admincustom/view/generalRoot.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-admincustom/forms/FHelptabEdit.php:3
- > PHP Warning
include(EEWEE_ADMINCUSTOM_PLUGIN_DIR/view/dashboard.php): failed to open stream: No such file or directory in wp-content/plugins/eewee-admincustom/view/dashboardRoot.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/eewee-admincustom/view/adminbar.php:24
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-admincustom/forms/FRoleAdd.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-admincustom/forms/FRoleEdit.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-admincustom/forms/FDashboardEdit.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-admincustom/forms/FGeneralEdit.php:3
- > PHP Warning
Use of undefined constant TMenu - assumed 'TMenu' (this will throw an Error in a future version of PHP) in wp-content/plugins/eewee-admincustom/models/TGeneral.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-admincustom/forms/FAdminbarEdit.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
5 plugin tags: manager, admin, manage, logo, custom
eewee-admincustom/index.php 92% from 13 tests
The main PHP script in "eewee admin custom" version 1.8.2.4 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eewee-admincustom.php" instead of "index.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
There were no executable files found in this plugin1,556 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 396 | 524 | 1,403 |
PO File | 1 | 126 | 281 | 127 |
CSS | 1 | 5 | 10 | 26 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 1 | 1.67% |
▷ Public methods | 60 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icones/logo.png | 0.75KB | 0.73KB | ▼ 2.46% |
images/icones/download.png | 0.70KB | 0.79KB | 0.00% |