Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.08ms] Passed 4 tests
A check of server-side resources used by Ultimate member addon to enable frontend validations
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.46 ▲4.75 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.46 ▲1.61 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.77 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 84.39 ▼14.54 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.56 ▼1.51 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate member addon to enable frontend validations
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.25 ▼0.09 | 1.84 ▲0.11 | 42.98 ▼4.06 |
Dashboard /wp-admin | 2,189 ▲8 | 5.55 ▼0.21 | 86.27 ▼16.67 | 43.67 ▲0.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.05 | 37.87 ▼6.27 | 32.09 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.19 ▲0.21 | 706.20 ▲49.61 | 53.63 ▼4.06 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.17 ▲0.01 | 107.47 ▲2.40 | 48.81 ▲6.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ultimate-member-addon-to-enable-frontend-validations/ultimate-member-frontend-validations.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== ultimate-member-addon-to-enable-frontend-validations ===
)
ultimate-member-addon-to-enable-frontend-validations/ultimate-member-frontend-validations.php 69% from 13 tests
The primary PHP file in "Ultimate member addon to enable frontend validations" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-member-addon-to-enable-frontend-validations.php" instead of "ultimate-member-frontend-validations.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected337 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 4 | 0 | 0 | 162 |
PHP | 4 | 50 | 82 | 147 |
Markdown | 1 | 12 | 0 | 28 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.53% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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 are no PNG files in this plugin