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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.96ms] Passed 4 tests
Analyzing server-side resources used by UM Profile Form Tutorial
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.02 | 47.65 ▼1.38 |
Dashboard /wp-admin | 3.59 ▲0.02 | 56.01 ▲2.26 |
Posts /wp-admin/edit.php | 3.70 ▲0.02 | 48.96 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.02 | 87.96 ▼7.07 |
Media Library /wp-admin/upload.php | 3.51 ▲0.02 | 40.24 ▲3.33 |
UM Tutorial Form /wp-admin/options-general.php?page=um-profile-form-tutorial | 3.48 | 35.40 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for UM Profile Form Tutorial
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.44 ▼0.94 | 10.59 ▲8.39 | 43.59 ▼3.60 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▼0.02 | 95.52 ▲2.33 | 43.15 ▼2.10 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.05 ▼0.02 | 33.54 ▼3.42 | 34.85 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.00 ▲5.48 | 672.85 ▲50.91 | 65.91 ▲19.77 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.25 ▲0.05 | 102.10 ▼2.84 | 43.12 ▼3.32 |
UM Tutorial Form /wp-admin/options-general.php?page=um-profile-form-tutorial | 979 | 2.02 | 26.03 | 33.16 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/um-profile-form-tutorial/um-profile-form-tutorial.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Screenshot #2 (Screenshot-2.png, screenshot-3.png, screenshot-4.png, all show the pop ups for the tour.) image not found
um-profile-form-tutorial/um-profile-form-tutorial.php 92% from 13 tests
The entry point to "UM Profile Form Tutorial" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 453 characters long)
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 detected1,720 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 3,007 | 774 | 1,616 |
PHP | 2 | 37 | 12 | 103 |
CSS | 1 | 36 | 16 | 1 |
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.09 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.37MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/um-cover-default-icon.png | 8.85KB | 4.03KB | ▼ 54.43% |
assets/screenshot-1.png | 222.73KB | 67.24KB | ▼ 69.81% |
assets/screenshot-4.png | 9.65KB | 3.99KB | ▼ 58.68% |
img/navy-blue-sprite.png | 13.74KB | 5.44KB | ▼ 60.45% |
assets/screenshot-3.png | 38.21KB | 10.79KB | ▼ 71.76% |