Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > User deprecated in wp-content/plugins/front-desk/classes/vendor/symfony/class-loader/Psr4ClassLoader.php+14
The Symfony\Component\ClassLoader\Psr4ClassLoader class is deprecated since version 3.3 and will be removed in 4.0. Use Composer instead.
Server metrics [RAM: ▼1.84MB] [CPU: ▼47.79ms] Passed 4 tests
An overview of server-side resources used by Front Desk
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.22 ▼36.42 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.78 ▼41.79 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.22 ▼35.56 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.11 ▼77.37 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 5.97 ▼26.43 |
Menu Integration /wp-admin/admin.php?page=front-desk-menu | 2.17 | 5.69 |
Theme /wp-admin/admin.php?page=front-desk | 2.17 | 6.51 |
Pages /wp-admin/admin.php?page=front-desk-pages | 2.17 | 5.87 |
Settings /wp-admin/admin.php?page=front-desk-settings | 2.17 | 6.82 |
Server storage [IO: ▲0.29MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Front Desk
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.34 ▼0.45 | 1.81 ▲0.14 | 43.69 ▼6.40 |
Dashboard /wp-admin | 2,226 ▲52 | 5.68 ▲0.09 | 85.24 ▼17.01 | 37.86 ▼5.66 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.02 ▲0.06 | 33.69 ▼1.25 | 33.66 ▼4.64 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 18.56 ▼4.49 | 622.74 ▼42.70 | 73.14 ▲15.03 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.16 ▼0.05 | 99.27 ▲3.60 | 41.74 ▼3.47 |
Menu Integration /wp-admin/admin.php?page=front-desk-menu | 898 | 2.02 | 23.79 | 23.94 |
Theme /wp-admin/admin.php?page=front-desk | 1,212 | 2.02 | 22.94 | 36.89 |
Pages /wp-admin/admin.php?page=front-desk-pages | 947 | 2.04 | 25.28 | 27.56 |
Settings /wp-admin/admin.php?page=front-desk-settings | 875 | 2.02 | 23.86 | 27.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > User deprecated in wp-content/plugins/front-desk/classes/vendor/symfony/class-loader/Psr4ClassLoader.php+14
The Symfony\Component\ClassLoader\Psr4ClassLoader class is deprecated since version 3.3 and will be removed in 4.0. Use Composer instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=front-desk-settings
- > User deprecated in wp-content/plugins/front-desk/classes/vendor/symfony/class-loader/Psr4ClassLoader.php+14
The Symfony\Component\ClassLoader\Psr4ClassLoader class is deprecated since version 3.3 and will be removed in 4.0. Use Composer instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/front-desk/front-desk.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/front-desk/views/admin/settings.php:9
- > PHP Fatal error
Uncaught Error: Class 'Alekhin\\FrontDesk\\Profile' not found in wp-content/plugins/front-desk/views/profile.php:6
- > PHP Fatal error
Uncaught Error: Class 'auth_twostep' not found in wp-content/plugins/front-desk/views/verify.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_registered_nav_menus() in wp-content/plugins/front-desk/views/admin/menu.php:5
- > PHP Fatal error
Uncaught Error: Class 'Theme' not found in wp-content/plugins/front-desk/views/reset.php:6
- > PHP Fatal error
Uncaught Error: Class 'Alekhin\\FrontDesk\\Admin\\Pages' not found in wp-content/plugins/front-desk/views/admin/pages.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/front-desk/classes/Alekhin/FrontDesk/TwoStep.php:217
- > PHP Fatal error
Uncaught Error: Class 'Alekhin\\FrontDesk\\Admin\\Pages' not found in wp-content/plugins/front-desk/views/admin/theme.php:6
- > PHP Fatal error
Uncaught Error: Class 'Alekhin\\FrontDesk\\Admin\\Theme' not found in wp-content/plugins/front-desk/views/recover.php:7
- > PHP Fatal error
Uncaught Error: Class 'Alekhin\\FrontDesk\\Admin\\Theme' not found in wp-content/plugins/front-desk/views/login.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: reset password, register, registration sign-up, front-end, sign-in...
front-desk/front-desk.php 92% from 13 tests
This is the main PHP file of "Front Desk" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
There were no executable files found in this plugin4,081 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 641 | 786 | 3,198 |
SVG | 4 | 4 | 4 | 422 |
JSON | 5 | 0 | 0 | 223 |
CSS | 2 | 1 | 0 | 165 |
Markdown | 5 | 13 | 0 | 45 |
XML | 1 | 3 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 198 | |
▷ Static methods | 132 | 66.67% |
▷ Public methods | 186 | 93.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 6.06% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 48 | |
▷ Global constants | 14 | 29.17% |
▷ Class constants | 34 | 70.83% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin