Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.79MB] [CPU: ▼29.39ms] Passed 4 tests
Server-side resources used by Ajax BootModal Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 35.44 ▼5.60 |
Dashboard /wp-admin | 3.16 ▼0.15 | 26.06 ▼20.17 |
Posts /wp-admin/edit.php | 3.16 ▼0.20 | 25.07 ▼20.51 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.73 | 27.13 ▼66.70 |
Media Library /wp-admin/upload.php | 3.16 ▼0.07 | 22.61 ▼10.18 |
BootModal Login Settings /wp-admin/options-general.php?page=ajax-bootmodal-login/inc/settings.php | 3.16 | 24.94 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 52 new files
Database: no new tables, 22 new options
New WordPress options |
---|
theysaidso_admin_options |
enable_register_captcha |
widget_recent-comments |
widget_theysaidso_widget |
enable_login_captcha |
can_register_option |
db_upgraded |
lable_setting |
modal_theme |
enable_lostpass_captcha |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ajax BootModal Login
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲145 | 13.83 ▼0.44 | 10.72 ▲8.59 | 42.87 ▲0.33 |
Dashboard /wp-admin | 2,210 ▲25 | 4.87 ▼0.99 | 108.01 ▲10.37 | 43.14 ▼0.39 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.03 ▼0.01 | 41.08 ▲4.12 | 34.37 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 22.92 ▼0.19 | 652.32 ▼30.15 | 64.26 ▲10.44 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.13 ▼0.11 | 96.68 ▼6.62 | 43.39 ▼1.20 |
BootModal Login Settings /wp-admin/options-general.php?page=ajax-bootmodal-login/inc/settings.php | 1,171 | 1.70 | 29.10 | 29.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_ajax_bootmodal
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=ajax-bootmodal-login/inc/settings.php
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/ajax-bootmodal-login/tmp/captcha/lost-captcha.php
- > /wp-content/plugins/ajax-bootmodal-login/tmp/captcha/log-captcha.php
- > /wp-content/plugins/ajax-bootmodal-login/tmp/captcha/reg-captcha.php
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-bootmodal-login/tmp/login-form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/ajax-bootmodal-login/alimir-bootmodal-login.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-bootmodal-login/tmp/registrer-form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-bootmodal-login/tmp/lostpass-form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-bootmodal-login/inc/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-bootmodal-login/inc/scripts.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-bootmodal-login/inc/functions.php:97
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ajax-bootmodal-login/inc/shortcode.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ajax-bootmodal-login/tmp/inc/recent-comments.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ajax-bootmodal-login/inc/widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: abm login, wp ajax login, wordpress modal login, wordpress abm-login plugin, custom login widget...
ajax-bootmodal-login/alimir-bootmodal-login.php 85% from 13 tests
The entry point to "Ajax BootModal Login" version 1.4.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 248 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("ajax-bootmodal-login.php" instead of "alimir-bootmodal-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,810 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 6 | 692 | 1,733 | 1,456 |
PHP | 18 | 144 | 71 | 887 |
CSS | 5 | 85 | 35 | 368 |
JavaScript | 3 | 0 | 14 | 99 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin