Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼31.14ms] Passed 4 tests
An overview of server-side resources used by ProfilePro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 40.40 ▲0.03 |
Dashboard /wp-admin | 3.06 ▼0.25 | 26.24 ▼25.33 |
Posts /wp-admin/edit.php | 3.06 ▼0.30 | 24.81 ▼23.68 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.83 | 24.24 ▼67.70 |
Media Library /wp-admin/upload.php | 3.06 ▼0.17 | 27.05 ▼7.84 |
ProfilePro /wp-admin/admin.php?page=profilepro | 3.06 | 29.30 |
Forms /wp-admin/edit.php?post_type=profilepro_form | 3.06 | 26.32 |
Server storage [IO: ▲0.67MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
profilepro_pages |
profilepro_default_profile |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
profilepro_default_login |
profilepro |
widget_recent-comments |
Browser metrics Passed 4 tests
ProfilePro: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲187 | 14.04 ▼0.30 | 13.69 ▲11.89 | 45.34 ▲0.54 |
Dashboard /wp-admin | 2,260 ▲86 | 5.75 ▲0.07 | 107.90 ▲11.42 | 54.21 ▲8.69 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.29 ▲0.31 | 39.65 ▲0.23 | 42.15 ▲7.01 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 23.77 ▲0.73 | 675.70 ▼12.21 | 36.15 ▼22.71 |
Media Library /wp-admin/upload.php | 1,458 ▲58 | 4.49 ▲0.29 | 113.49 ▲10.03 | 49.51 ▲3.90 |
ProfilePro /wp-admin/admin.php?page=profilepro | 957 | 2.33 | 33.89 | 36.04 |
Forms /wp-admin/edit.php?post_type=profilepro_form | 1,877 | 2.27 | 36.34 | 35.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- profilepro
- profilepro_default_login
- widget_theysaidso_widget
- profilepro_default_profile
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=profilepro_form
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric 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 | 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/profilepro/admin/templates/form/profilepro-admin-form-shortcode.php
- 28× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: atts in wp-content/plugins/profilepro/templates/edit.php on line 1
- > PHP Notice
Undefined variable: atts in wp-content/plugins/profilepro/templates/login.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/profilepro/templates/edit.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/profilepro/templates/forgot.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_meta() in wp-content/plugins/profilepro/templates/profile.php:5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/profilepro/admin/admin.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/profilepro/templates/profile.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/profilepro/admin/templates/form/profilepro-admin-form-autologin.php:2
- > PHP Notice
Undefined variable: atts in wp-content/plugins/profilepro/templates/profile.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/profilepro/admin/templates/form/profilepro-admin-form-builder.php:5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
profilepro/profilepro.php Passed 13 tests
Analyzing the main PHP file in "ProfilePro" version 1.3
64 characters long description:
The easiest way to create beautiful user profiles with WordPress
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
There were no executable files found in this plugin4,147 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 509 | 32 | 2,297 |
CSS | 5 | 155 | 50 | 1,118 |
JavaScript | 4 | 67 | 19 | 370 |
SVG | 1 | 0 | 0 | 362 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 22.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/profiledefault.png | 5.52KB | 3.60KB | ▼ 34.74% |