Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▲10,626.40ms] 75% from 4 tests
Server-side resources used by Data Soap Validation
Please fix the following
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 10,626.40ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.01 ▼0.45 | 42,560.40 ▲42,520.59 |
Dashboard /wp-admin | 3.01 ▼0.29 | 43,030.14 ▲42,976.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.63 ▼4.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.59 ▼10.54 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.46 ▼0.35 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Data Soap Validation: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 14.47 ▲0.09 | 1.69 ▼0.17 | 42.52 ▲0.33 |
Dashboard /wp-admin | 2,218 ▲27 | 4.84 ▼0.02 | 98.17 ▼4.43 | 38.21 ▼6.52 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.00 ▼0.02 | 34.01 ▼2.49 | 34.89 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 18.37 ▼0.03 | 610.87 ▼12.32 | 48.54 ▼3.03 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.16 ▼0.08 | 94.73 ▼7.11 | 41.88 ▼2.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/data-soap-validation/includes/dsv_header.php
- > /wp-content/plugins/data-soap-validation/includes/dsv_instructions.php
- > /wp-content/plugins/data-soap-validation/includes/dsv_footer.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/data-soap-validation/plugin_interface.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/data-soap-validation/includes/dsvcf7-validation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/data-soap-validation/plugin_interface.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/data-soap-validation/includes/dsvwc-validation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/data-soap-validation/includes/dsvgf-validation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/data-soap-validation/includes/dsvep-validation.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/data-soap-validation/includes/dsvwpf-validation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/data-soap-validation/includes/dsv_settings.php:2
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (17 tag instead of maximum 10)
data-soap-validation/datasoap-validation.php 85% from 13 tests
The main file in "Data Soap Validation" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("data-soap-validation.php" instead of "datasoap-validation.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.5" instead of "2.2.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected727 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 165 | 24 | 727 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 18 | |
▷ Named functions | 18 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin