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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.27ms] Passed 4 tests
Server-side resources used by Profile Xtra
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 36.33 ▼5.97 |
Dashboard /wp-admin | 3.45 ▲0.14 | 52.25 ▲3.56 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 51.70 ▼0.69 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 87.34 ▼5.98 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.44 ▲4.63 |
Profile Xtra /wp-admin/options-general.php?page=profilextra | 3.31 | 33.34 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Profile Xtra
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.27 ▼1.11 | 4.39 ▲2.23 | 43.04 ▼1.93 |
Dashboard /wp-admin | 2,217 ▲26 | 5.04 ▲0.17 | 111.93 ▲6.88 | 38.76 ▼5.88 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.06 ▲0.04 | 37.33 ▼3.37 | 33.16 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 18.44 ▼5.02 | 637.42 ▼38.75 | 57.47 ▲1.16 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.29 ▲0.08 | 94.31 ▼12.32 | 42.85 ▼4.58 |
Profile Xtra /wp-admin/options-general.php?page=profilextra | 999 | 1.72 | 25.67 | 31.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- > Notice in wp-content/plugins/profile-xtra/uninstall.php+7
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=profilextra
- > Notice in wp-content/plugins/profile-xtra/optionspage.php+110
Undefined index: use_names
- > GET request to /wp-admin/options-general.php?page=profilextra
- > Notice in wp-content/plugins/profile-xtra/optionspage.php+156
Undefined index: alterauthor
- > GET request to /wp-admin/options-general.php?page=profilextra
- > Notice in wp-content/plugins/profile-xtra/optionspage.php+157
Undefined index: multiauthor
- > GET request to /wp-admin/options-general.php?page=profilextra
- > Notice in wp-content/plugins/profile-xtra/optionspage.php+160
Undefined index: m_posts
- > GET request to /wp-admin/options-general.php?page=profilextra
- > Notice in wp-content/plugins/profile-xtra/optionspage.php+162
Undefined index: m_pages
- > GET request to /wp-admin/options-general.php?page=profilextra
- > Notice in wp-content/plugins/profile-xtra/optionspage.php+195
Undefined index: on_uninstall
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profile-xtra/multiauthor.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profile-xtra/optionspage.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profile-xtra/profilextra.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profile-xtra/ajaxes.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/profile-xtra/shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profile-xtra/alterauthor.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: author image, profile, social links, alternative author, multiple authors
profile-xtra/profilextra.php 92% from 13 tests
The entry point to "Profile Xtra" version 2.2.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("profile-xtra.php" instead of "profilextra.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,042 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 58 | 140 | 837 |
JavaScript | 2 | 11 | 20 | 162 |
CSS | 2 | 6 | 7 | 43 |
PHP code Passed 2 tests
A short review 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.44 |
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 | 39 | |
▷ Named functions | 39 | 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
There are no PNG files in this plugin