Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.40ms] Passed 4 tests
This is a short check of server-side resources used by Login Widget for Ultimate Member
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.92 ▼1.43 |
Dashboard /wp-admin | 3.37 ▲0.06 | 44.37 ▼1.79 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.30 ▼3.22 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.93 ▼11.16 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.05 ▲3.30 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_um_login_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Login Widget for Ultimate Member
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.53 ▼0.72 | 1.97 ▲0.22 | 45.83 ▲4.68 |
Dashboard /wp-admin | 2,206 ▲18 | 4.82 ▼1.00 | 107.52 ▲0.19 | 42.10 ▼3.97 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 33.37 ▼4.96 | 34.82 ▲2.70 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.11 ▲0.05 | 676.26 ▼23.23 | 52.24 ▼6.22 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▲0.05 | 97.43 ▼4.16 | 44.03 ▲2.54 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_um_login_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/login-widget-for-ultimate-member/templates/login-widget/login-view.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/login-widget-for-ultimate-member/templates/login-widget/login-form.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/login-widget-for-ultimate-member/login-widget-for-ultimate-member.php:12
- > 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 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
7 plugin tags: ultimate member, login form ultimate member, login widget, ultimate member widget, login form...
login-widget-for-ultimate-member/login-widget-for-ultimate-member.php Passed 13 tests
The main PHP file in "Login Widget for Ultimate Member" ver. 1.0.9.7 adds more information about the plugin and also serves as the entry point for this plugin
35 characters long description:
A login widget for Ultimate Member.
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
Good job! No executable or dangerous file extensions detected429 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 42 | 69 | 349 |
PO File | 2 | 24 | 28 | 80 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.09MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 96.50KB | 24.89KB | ▼ 74.20% |