Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/user-identification/user-identification.php+288
Undefined variable: pagenow
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.04ms] Passed 4 tests
A check of server-side resources used by User Identification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.56 ▼2.40 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.44 ▼2.45 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.55 ▲0.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.96 ▼13.94 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.81 ▼1.35 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for User Identification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.19 ▼1.23 | 5.29 ▲3.29 | 42.79 ▼3.43 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▼0.02 | 104.57 ▲2.14 | 39.07 ▼6.06 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.98 ▼0.02 | 36.24 ▲1.70 | 30.22 ▼5.40 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.28 ▲0.18 | 679.04 ▼18.40 | 53.01 ▼4.56 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.03 | 95.99 ▼14.86 | 40.56 ▼7.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- 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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/user-identification/views/settings-field.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-identification/user-identification.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/user-identification/views/output.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/user-identification/views/input.php:1
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: identification
user-identification/user-identification.php Passed 13 tests
The entry point to "User Identification" version 1.0.0 is a PHP file that has certain tags in its header comment area
43 characters long description:
Upload the Identification file with safety.
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
Everything looks great! No dangerous files found in this plugin200 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 43 | 73 | 200 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin