Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.88ms] Passed 4 tests
An overview of server-side resources used by WP Ajax Register Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.26 ▲2.48 |
Dashboard /wp-admin | 3.38 ▲0.07 | 46.55 ▼6.07 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.94 ▲4.35 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.39 ▼11.12 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.27 ▼0.82 |
WP ARL /wp-admin/options-general.php?page=wparl | 3.26 | 30.82 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Ajax Register Login
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,115 ▲369 | 14.17 ▼0.48 | 10.02 ▲8.23 | 45.50 ▲1.72 |
Dashboard /wp-admin | 2,210 ▲22 | 4.82 ▼0.09 | 112.40 ▼3.63 | 43.05 ▼0.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.16 | 40.89 ▲3.87 | 34.53 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,522 ▼7 | 23.21 ▲4.88 | 632.57 ▲10.34 | 54.99 ▼3.78 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▼0.00 | 99.77 ▼2.87 | 44.12 ▼0.18 |
WP ARL /wp-admin/options-general.php?page=wparl | 785 | 2.07 | 23.38 | 27.10 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ajax-register-login/wp-arl.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Login), #2 (Register)
- Plugin Name: You should set the name of your plugin on the first line (
=== wp-ajax-register-login ===
)
wp-ajax-register-login/wp-arl.php 85% from 13 tests
The principal PHP file in "WP Ajax Register Login" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-ajax-register-login.php" instead of "wp-arl.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin641 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 114 | 66 | 262 |
CSS | 2 | 14 | 10 | 159 |
PO File | 1 | 51 | 52 | 129 |
JavaScript | 2 | 16 | 16 | 91 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 55.52KB | 14.84KB | ▼ 73.26% |
screenshot-2.png | 52.55KB | 13.65KB | ▼ 74.03% |