Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-login-register/wp-login-register.php+133
Undefined variable: wpdb
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.04ms] Passed 4 tests
A check of server-side resources used by WP Login Register
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.84 ▼2.24 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.20 ▲1.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.41 ▼4.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.84 ▼15.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.01 ▼2.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Login Register
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▲0.16 | 1.58 ▼0.13 | 41.13 ▼1.01 |
Dashboard /wp-admin | 2,198 ▲24 | 5.61 ▼0.06 | 86.03 ▼5.67 | 40.00 ▲1.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.03 | 37.35 ▼3.17 | 33.91 ▼5.70 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.33 ▼4.77 | 657.15 ▼28.18 | 77.80 ▲8.84 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.18 ▼0.06 | 98.07 ▼7.47 | 51.01 ▲5.19 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 25% 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 cannot be uninstalled
- > Notice in wp-content/plugins/wp-login-register/wp-login-register.php+133
Undefined variable: wpdb
- The plugin did not uninstall successfully, leaving 2 files (0.01MB) in the plugin directory
- (new file) readme.txt
- (new file) wp-login-register.php
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- recovery_mode_email_last_sent
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-login-register/wp-login-register.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Requires at least: Version not formatted correctly
- Requires php: Version not formatted correctly
wp-login-register/wp-login-register.php 77% from 13 tests
Analyzing the main PHP file in "WP Login Register" version 1.0.2
You should first fix the following items:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("")
- Text Domain: The text domain should only use lowercase characters and dashes
- Domain Path: Prefix the domain path with a forward slash character ("/")
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
No dangerous file extensions were detected186 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 58 | 186 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 28.57% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin