Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.27ms] Passed 4 tests
Analyzing server-side resources used by all-in-one-box-login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.33 ▼2.61 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.25 ▼5.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.91 ▲6.63 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.76 ▼9.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.28 ▲3.95 |
AIOB Login /wp-admin/admin.php?page=aiob_login | 3.21 | 32.13 |
Notifications /wp-admin/admin.php?page=aiob_login_notifications | 3.21 | 32.35 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for all-in-one-box-login
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲183 | 13.61 ▼0.79 | 5.51 ▲3.76 | 37.81 ▼6.74 |
Dashboard /wp-admin | 2,244 ▲58 | 5.04 ▲0.11 | 111.56 ▼6.73 | 40.96 ▼5.34 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.05 ▲0.02 | 39.19 ▲3.79 | 36.50 ▲1.50 |
Add New Post /wp-admin/post-new.php | 1,697 ▲163 | 22.63 ▼0.44 | 617.89 ▼12.97 | 55.03 ▼0.94 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.35 ▲0.11 | 95.39 ▼0.42 | 47.27 ▲3.17 |
AIOB Login /wp-admin/admin.php?page=aiob_login | 891 | 2.07 | 22.64 | 28.20 |
Notifications /wp-admin/admin.php?page=aiob_login_notifications | 898 | 2.08 | 25.64 | 29.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/all-in-one-login/admin/logout.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/all-in-one-login/aiob-login.php:12
- > PHP Fatal error
require_once(): Failed opening required 'AIOB_L_PLUGIN_PATHadmin/include/db_crud.php' (include_path='.:/usr/share/php') in wp-content/plugins/all-in-one-login/admin/admin_menu.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/all-in-one-login/admin/shortcodes.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-login/admin/scripts.php:10
- > PHP Warning
Use of undefined constant AIOB_L_PLUGIN_PATH - assumed 'AIOB_L_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/all-in-one-login/admin/admin_menu.php on line 2
- > PHP Warning
require_once(AIOB_L_PLUGIN_PATHadmin/include/db_crud.php): failed to open stream: No such file or directory in wp-content/plugins/all-in-one-login/admin/admin_menu.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aiob_login_notifications
- > Javascript (severe) in unknown
/wp-content/plugins/all-in-one-login/admin/src/js/bootstrap.js?ver=1 14:10 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== all-in-one-login ===
)
all-in-one-login/aiob-login.php 85% from 13 tests
The main file in "all-in-one-box-login" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("all-in-one-login.php" instead of "aiob-login.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected8,574 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 9 | 8 | 6,760 |
JavaScript | 3 | 583 | 193 | 1,593 |
PHP | 6 | 53 | 25 | 219 |
Markdown | 1 | 0 | 0 | 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.30 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected