Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.46ms] Passed 4 tests
Analyzing server-side resources used by Custom Registration ajax shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.82 ▼5.74 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.49 ▼3.56 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 60.07 ▲6.69 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.58 ▼4.60 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.88 ▲0.07 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Registration ajax shortcode
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.66 ▼0.72 | 3.08 ▲1.24 | 37.62 ▼1.10 |
Dashboard /wp-admin | 2,218 ▲30 | 5.81 ▲0.90 | 94.63 ▼20.08 | 37.26 ▼8.26 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.00 | 36.73 ▼1.23 | 31.93 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,524 ▲5 | 17.65 ▼5.81 | 678.25 ▼5.59 | 61.09 ▼2.72 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.20 ▼0.03 | 113.60 ▲2.88 | 47.33 ▼0.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in custom-registration-ajax-shortcode/assets to your readme.txt
custom-registration-ajax-shortcode/custom-registration-ajax-shortcode.php Passed 13 tests
This is the main PHP file of "Custom Registration ajax shortcode" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
50 characters long description:
Customer registration and login process with ajax.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected309 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 10 | 68 | 143 |
CSS | 1 | 19 | 46 | 92 |
JavaScript | 2 | 4 | 10 | 74 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
There were not PNG files found in your plugin