Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.14ms] Passed 4 tests
This is a short check of server-side resources used by Ajax Login Registration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 47.52 ▲2.40 |
Dashboard /wp-admin | 3.46 ▲0.15 | 54.19 ▼2.96 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 53.68 ▼0.30 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 94.19 ▼7.69 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 44.20 ▲5.15 |
Signup / Signin /wp-admin/admin.php?page=ajax-login-registration | 3.42 | 42.59 |
Documentation /wp-admin/admin.php?page=ajax-login-registration-documentation | 3.34 | 35.08 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Ajax Login Registration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.49 ▼0.86 | 11.73 ▲9.54 | 42.44 ▲0.94 |
Dashboard /wp-admin | 2,222 ▲45 | 5.64 ▼0.03 | 87.43 ▼8.49 | 46.06 ▲8.65 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.02 ▲0.03 | 41.00 ▲4.66 | 41.78 ▲4.23 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.23 ▲0.25 | 687.62 ▼19.38 | 53.54 ▼6.00 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.14 ▼0.07 | 116.35 ▲7.87 | 47.37 ▲2.64 |
Signup / Signin /wp-admin/admin.php?page=ajax-login-registration | 2,202 | 9.96 | 191.07 | 67.24 |
Documentation /wp-admin/admin.php?page=ajax-login-registration-documentation | 832 | 2.02 | 24.40 | 37.34 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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)
Good news, no errors were detected
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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ajax-login-registration/admin/partials/ajax-login-registration-setting-documentation.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: REDIRECT_URL in wp-content/plugins/ajax-login-registration/public/templates/ajax-registration-form.php on line 12
- > PHP Notice
Undefined index: REDIRECT_URL in wp-content/plugins/ajax-login-registration/public/templates/ajax-login-form.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ajax-login-registration/public/templates/ajax-login-form.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/ajax-login-registration/admin/partials/ajax-login-registration-setting.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ajax-login-registration/public/templates/ajax-registration-form.php:96
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% 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:
- Screenshots: A description for screenshot #3 is missing in ajax-login-registration/assets to your readme.txt
ajax-login-registration/ajax-login-registration.php Passed 13 tests
The principal PHP file in "Ajax Login Registration" v. 1.0.1 is loaded by WordPress automatically on each request
58 characters long description:
Ajax login & registration with email template confirmation
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,465 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 244 | 183 | 1,518 |
PHP | 14 | 101 | 420 | 938 |
CSS | 1 | 0 | 1 | 9 |
PHP code Passed 2 tests
A short review 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.20 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 32 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.51% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin