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: ▼1.78MB] [CPU: ▼50.76ms] Passed 4 tests
An overview of server-side resources used by uProc for Wordpress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.27 | 7.67 ▼30.80 |
Dashboard /wp-admin | 2.24 ▼1.10 | 10.90 ▼51.34 |
Posts /wp-admin/edit.php | 2.24 ▼1.11 | 10.79 ▼37.01 |
Add New Post /wp-admin/post-new.php | 2.24 ▼3.64 | 11.59 ▼83.90 |
Media Library /wp-admin/upload.php | 2.24 ▼0.99 | 10.16 ▼26.37 |
UProc for Wordpress /wp-admin/options-general.php?page=uproc_form_validator | 2.24 | 10.37 |
Server storage [IO: ▲0.23MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
upfvp-auth-invalid |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by uProc for Wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 14.24 ▼0.01 | 1.80 ▲0.06 | 43.84 ▼1.31 |
Dashboard /wp-admin | 2,211 ▲34 | 5.63 ▲0.02 | 93.81 ▲4.06 | 43.05 ▲3.55 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 2.01 ▲0.06 | 40.00 ▲4.81 | 37.47 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.07 ▲0.18 | 636.62 ▼44.09 | 68.90 ▲15.39 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.13 ▼0.04 | 95.24 ▲3.63 | 41.41 ▼1.67 |
UProc for Wordpress /wp-admin/options-general.php?page=uproc_form_validator | 940 | 1.91 | 23.88 | 28.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/uproc-form-validator/src/class-upfvp-plugin.php+170
Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=uproc_form_validator
- > Warning in wp-content/plugins/uproc-form-validator/src/class-upfvp-plugin.php+170
Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=uproc_form_validator
- > Notice in wp-content/plugins/uproc-form-validator/src/class-upfvp-plugin.php+171
Trying to get property 'checkout' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=uproc_form_validator
- > Notice in wp-content/plugins/uproc-form-validator/src/class-upfvp-plugin.php+171
Trying to get property 'posted' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=uproc_form_validator
- > Notice in wp-content/plugins/uproc-form-validator/src/class-upfvp-plugin.php+171
Trying to access array offset on value of type null
SRP 50% 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uproc-form-validator/plugin.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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 need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Plugin admin page.), #2 (Free email form detection.), #3 (Wordpress install page.)
- Tags: You are using too many tags: 11 tag instead of maximum 10
uproc-form-validator/plugin.php 85% from 13 tests
The main file in "uProc for Wordpress" v. 1.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("uproc-form-validator.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,022 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 320 | 918 | 821 |
JavaScript | 2 | 23 | 0 | 183 |
CSS | 2 | 3 | 0 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 6.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 101 | |
▷ Static methods | 2 | 1.98% |
▷ Public methods | 95 | 94.06% |
▷ Protected methods | 4 | 3.96% |
▷ Private methods | 2 | 1.98% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/uproc_logo_298_working.png | 2.58KB | 1.56KB | ▼ 39.55% |
assets/img/uproc_logo_298.png | 2.58KB | 1.56KB | ▼ 39.55% |