Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.73ms] Passed 4 tests
A check of server-side resources used by Trusted Shops Easy Integration for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.49 ▼5.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.39 ▼2.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.92 ▼0.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.45 ▲2.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.54 ▼2.09 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 97 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ts_easy_integration_version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Trusted Shops Easy Integration for WooCommerce: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.72 ▲0.10 | 1.71 ▼0.27 | 40.42 ▼6.69 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.04 | 92.40 ▼8.07 | 41.07 ▼1.05 |
Posts /wp-admin/edit.php | 2,079 ▼21 | 2.01 ▲0.07 | 35.11 ▼1.36 | 34.12 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.64 ▲0.58 | 650.18 ▼7.16 | 56.28 ▲1.69 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.23 ▼0.12 | 97.65 ▼2.31 | 43.61 ▲0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(wp-content/plugins/trusted-shops-easy-integration-for-woocommerce/vendor/automattic/jetpack-autoloader/src/jetpack-autoloader/class-autoloader.php): failed to open stream: No such file or directory in wp-content/plugins/trusted-shops-easy-integration-for-woocommerce/vendor/automattic/jetpack-autoloader/src/autoload.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function Automattic\\Jetpack\\Autoloader\\jpa7a3e8752713c32bd5690fafec0f6861\\wp_normalize_path() in wp-content/plugins/trusted-shops-easy-integration-for-woocommerce/vendor/jetpack-autoloader/class-path-processor.php:73
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/trusted-shops-easy-integration-for-woocommerce/vendor/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php:29
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/trusted-shops-easy-integration-for-woocommerce/vendor/automattic/jetpack-autoloader/src/jetpack-autoloader/class-autoloader.php' (include_path='.:/usr/share/php') in wp-content/plugins/trusted-shops-easy-integration-for-woocommerce/vendor/automattic/jetpack-autoloader/src/autoload.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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
8 plugin tags: trusted shops, woocommerce, badge, business reviews, integration...
trusted-shops-easy-integration-for-woocommerce/trusted-shops-easy-integration-for-woocommerce.php Passed 13 tests
The main file in "Trusted Shops Easy Integration for WooCommerce" v. 1.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
47 characters long description:
Trusted Shops Easy Integration for WooCommerce.
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
No dangerous file extensions were detected5,593 lines of code in 89 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 61 | 1,280 | 2,522 | 4,546 |
TypeScript | 22 | 78 | 1 | 663 |
PO File | 3 | 51 | 51 | 305 |
JSON | 1 | 0 | 0 | 68 |
XML | 1 | 0 | 0 | 10 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 16.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 48 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 348 | |
▷ Static methods | 186 | 53.45% |
▷ Public methods | 286 | 82.18% |
▷ Protected methods | 26 | 7.47% |
▷ Private methods | 36 | 10.34% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected