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.98MB] [CPU: ▼301.69ms] Passed 4 tests
This is a short check of server-side resources used by Cimy User Extra Fields
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.20 ▲0.69 | 64.90 ▲8.80 |
Dashboard /wp-admin | 4.60 ▲1.20 | 44.88 ▼32.24 |
Posts /wp-admin/edit.php | 4.67 ▲1.03 | 49.27 ▲6.37 |
Add New Post /wp-admin/post-new.php | 7.97 ▲1.01 | 104.25 ▼1,189.67 |
Media Library /wp-admin/upload.php | 4.60 ▲1.31 | 44.06 ▲14.35 |
Cimy User Extra Fields /wp-admin/options-general.php?page=user_extra_fields | 4.60 | 41.86 |
Users Extended /wp-admin/users.php?page=users_extended | 4.61 | 71.47 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- You have illegally modified 1 file (0.00KB) outside of "wp-content/plugins/cimy-user-extra-fields/" and "wp-content/uploads/"
- (new file) wp-content/Cimy_User_Extra_Fields/.empty
Filesystem: 145 new files
Database: 3 new tables, 1 new option
New tables |
---|
wp_cimy_uef_wp_fields |
wp_cimy_uef_fields |
wp_cimy_uef_data |
New WordPress options |
---|
cimy_uef_options |
Browser metrics Passed 4 tests
Checking browser requirements for Cimy User Extra Fields
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,759 ▲15 | 15.62 ▼0.12 | 5.99 ▼0.17 | 2.27 ▼0.01 |
Dashboard /wp-admin | 2,888 ▲27 | 6.13 ▼0.10 | 115.65 ▼18.90 | 154.53 ▼14.90 |
Posts /wp-admin/edit.php | 2,698 ▲10 | 3.24 ▼0.13 | 70.76 ▲5.05 | 144.56 ▼36.00 |
Add New Post /wp-admin/post-new.php | 1,672 ▼18 | 20.39 ▲1.93 | 428.45 ▲21.19 | 161.21 ▲7.21 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.47 ▼0.01 | 148.86 ▲7.29 | 188.62 ▲11.99 |
Cimy User Extra Fields /wp-admin/options-general.php?page=user_extra_fields | 2,852 | 2.53 | 58.92 | 215.09 |
Users Extended /wp-admin/users.php?page=users_extended | 1,251 | 2.43 | 55.14 | 110.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_cimy_uef_fields
- wp_cimy_uef_wp_fields
- wp_cimy_uef_data
- Zombie WordPress options detected upon uninstall: 1 option
- cimy_uef_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=users_extended
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=users_extended
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 take a closer look at the following
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cimy-user-extra-fields/securimage/securimage_show_captcha.php
- > /wp-content/plugins/cimy-user-extra-fields/securimage/example_form.php
- > /wp-content/plugins/cimy-user-extra-fields/securimage/securimage_show.php
- > /wp-content/plugins/cimy-user-extra-fields/securimage/example_form.ajax.php
- > /wp-content/plugins/cimy-user-extra-fields/securimage/securimage_play.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cimy-user-extra-fields/cimy_uef_email_handler.php:47
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php on line 43
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cimy-user-extra-fields/cimy_uef_mu_activation.php on line 27
- > PHP Warning
opendir(wp-content/plugins/cimy-user-extra-fields/securimage/audio/noise/): failed to open dir: No such file or directory in /var/www/wordpress/wp-content/plugins/cimy-user-extra-fields/securimage/securimage.php on line 3005
- > PHP Warning
constant(): Couldn't find constant VHOST in wp-content/plugins/cimy-user-extra-fields/cimy_uef_mu_activation.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Registration form with extra fields), #2 (User's profile with extra fields), #3 (Main options page), #4 (Add a new field form)
cimy-user-extra-fields/cimy_user_extra_fields.php 92% from 13 tests
The main PHP file in "Cimy User Extra Fields" ver. 2.7.2 adds more information about the plugin and also serves as the entry point for this plugin
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 ("cimy-user-extra-fields.php" instead of "cimy_user_extra_fields.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected22,543 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 4,713 | 7,064 | 12,288 |
PHP | 19 | 2,214 | 2,587 | 9,500 |
JavaScript | 7 | 66 | 35 | 400 |
Markdown | 1 | 69 | 0 | 175 |
CSS | 6 | 7 | 0 | 98 |
HTML | 2 | 26 | 29 | 82 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 81.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 360.00 |
Average method complexity | 5.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 136 | |
▷ Static methods | 9 | 6.62% |
▷ Public methods | 85 | 62.50% |
▷ Protected methods | 51 | 37.50% |
▷ Private methods | 0 | 0.00% |
Functions | 115 | |
▷ Named functions | 115 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 52 | |
▷ Global constants | 6 | 11.54% |
▷ Class constants | 46 | 88.46% |
▷ Public constants | 46 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.32MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 81.82KB | 29.74KB | ▼ 63.66% |
securimage/images/audio_icon.png | 1.64KB | 2.04KB | 0.00% |
screenshot-4.png | 75.55KB | 25.29KB | ▼ 66.52% |
securimage/images/refresh.png | 4.72KB | 2.44KB | ▼ 48.36% |
securimage/backgrounds/bg6.png | 41.88KB | 29.04KB | ▼ 30.64% |