Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.42MB] [CPU: ▼187.26ms] Passed 4 tests
Analyzing server-side resources used by WP Profile Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.22 ▲0.50 | 41.29 ▲22.99 |
Dashboard /wp-admin | 3.23 ▲0.17 | 28.67 ▼82.91 |
Posts /wp-admin/edit.php | 3.23 ▲0.11 | 25.90 ▼27.38 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.20 | 27.76 ▼622.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.23 | 21.01 ▼16.19 |
Settings /wp-admin/admin.php?page=wpup-settings | 3.23 | 27.37 |
Server storage [IO: ▲2.43MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 181 new files
Database: no new tables, 2 new options
New WordPress options |
---|
wpup_members_page_id |
wpup_my_profile_page_id |
Browser metrics Passed 4 tests
A check of browser resources used by WP Profile Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,733 ▲96 | 15.79 ▲0.30 | 8.15 ▼0.27 | 50.89 ▲2.59 |
Dashboard /wp-admin | 3,019 ▲85 | 6.10 ▼0.02 | 144.72 ▼15.25 | 118.59 ▼2.44 |
Posts /wp-admin/edit.php | 2,785 ▲46 | 2.69 ▲0.00 | 74.32 ▲8.08 | 91.03 ▼7.55 |
Add New Post /wp-admin/post-new.php | 1,527 ▼77 | 18.88 ▲0.01 | 381.63 ▼11.09 | 115.95 ▲1.29 |
Media Library /wp-admin/upload.php | 1,853 ▲46 | 5.00 ▼0.01 | 153.99 ▼4.32 | 126.06 ▼2.04 |
Settings /wp-admin/admin.php?page=wpup-settings | 1,158 | 2.05 | 58.74 | 95.90 |
Build Profile /wp-admin/admin.php?page=wpup-profile-builder#/ | 1,769 | 6.29 | 133.46 | 100.92 |
Users /wp-admin/admin.php?page=wpup-profile-builder#/users | 1,413 | 5.82 | 119.17 | 74.75 |
My Profile /wp-admin/admin.php?page=wpup-profile-builder#/my-profile | 1,563 | 5.69 | 119.58 | 75.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5663
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 2 options
- wpup_my_profile_page_id
- wpup_members_page_id
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=wpup-settings
- > User notice in wp-includes/functions.php+5663
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% 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 items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-profile-builder/templates/members/pagination.php
- > /wp-content/plugins/wp-profile-builder/templates/members/members.php
- 45× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-profile-builder/i18n/states/BG.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/wp-profile-builder/i18n/locale-info.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-profile-builder/templates/members/view-individual-user-profile.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-profile-builder/assets/js/components/url-field/url-field.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-profile-builder/i18n/states/JP.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-profile-builder/templates/my-profile/my-profile.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-profile-builder/assets/js/components/text-field/text-field.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-profile-builder/i18n/states/TR.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-profile-builder/i18n/states/ES.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-profile-builder/assets/js/components/profile-header/profile-header.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: user custom field, profile, user profile, wordpress profile, wordpress profile builder...
wp-profile-builder/wpup.php 77% from 13 tests
The primary PHP file in "WP Profile Builder" version 0.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: Required version must match the one declared in readme.txt ("4.4" instead of "4.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-profile-builder.php" instead of "wpup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected24,510 lines of code in 122 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 36 | 2,956 | 3,326 | 16,520 |
PHP | 74 | 764 | 1,401 | 5,222 |
CSS | 7 | 45 | 60 | 1,508 |
SVG | 3 | 0 | 2 | 660 |
JSON | 1 | 0 | 0 | 599 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 1 | 4.35% |
▷ Concrete classes | 22 | 95.65% |
▷ Final classes | 1 | 4.55% |
Methods | 105 | |
▷ Static methods | 61 | 58.10% |
▷ Public methods | 97 | 92.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 7.62% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
37 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/prettyPhoto/prettyPhoto/light_rounded/btnPrevious.png | 1.41KB | 1.19KB | ▼ 15.74% |
assets/css/images/prettyPhoto/prettyPhoto/facebook/btnNext.png | 0.83KB | 0.57KB | ▼ 30.77% |
assets/css/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/css/images/prettyPhoto/prettyPhoto/facebook/contentPatternBottom.png | 0.14KB | 0.11KB | ▼ 21.13% |
assets/css/images/prettyPhoto/prettyPhoto/dark_square/contentPattern.png | 0.12KB | 0.09KB | ▼ 20.66% |