Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Error in wp-content/plugins/holded-integration/src/Services/Settings.php+7
Uncaught Error: Class 'WC_Settings_API' not found in wp-content/plugins/holded-integration/src/Services/Settings.php:7
Stack trace:
#0 wp-content/plugins/holded-integration/vendor/composer/ClassLoader.php(576): include()
#1 wp-content/plugins/holded-integration/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 wp-content/plugins/holded-integration/holded-integration.php(57): spl_autoload_call()
#4 wp-includes/class-wp-hook.php(310): holdedWC_activate()
#5 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 wp-includes/plugin.php(517): WP_Hook->do_action()
#7 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.24ms] Passed 4 tests
An overview of server-side resources used by Holded integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.53 ▼5.02 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.50 ▼15.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.06 ▲4.80 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.04 ▼23.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.41 ▼1.12 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 173 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Holded integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.31 ▼0.04 | 1.68 ▲0.07 | 41.01 ▼1.34 |
Dashboard /wp-admin | 2,195 ▲17 | 5.55 ▼0.11 | 88.36 ▼16.73 | 37.25 ▼11.14 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.09 | 35.85 ▼3.14 | 30.31 ▼6.80 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.42 ▲0.33 | 671.22 ▲62.99 | 50.77 ▼6.07 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.15 ▼0.03 | 95.83 ▼6.27 | 41.47 ▼1.28 |
Uninstaller [IO: ▲0.50MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attentionThis plugin does not fully uninstall, leaving 7 options in the database
- The plugin did not uninstall gracefully
- > Error in wp-content/plugins/holded-integration/src/Services/Settings.php+7
Uncaught Error: Class 'WC_Settings_API' not found in wp-content/plugins/holded-integration/src/Services/Settings.php:7
Stack trace:
#0 wp-content/plugins/holded-integration/vendor/composer/ClassLoader.php(576): include()
#1 wp-content/plugins/holded-integration/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 wp-content/plugins/holded-integration/uninstall.php(18): spl_autoload_call()
#4 wp-admin/includes/plugin.php(1245): include_once('/var/www/wordpr...')
#5 wp-admin/includes/plugin.php(960): uninstall_plugin() - The plugin did not uninstall correctly, leaving 173 files (0.50MB) in the plugin directory
- (new file) sdk/DTOs/Order/Item.php
- (new file) manifest.json
- (new file) index.php
- (new file) README.txt
- (new file) holded-integration.php
- (new file) sdk/Clients/ProductsClient.php
- (new file) public/js/holdedWC-WCConfigPanel-ajaxsync.js
- (new file) sdk/Clients/OrdersClient.php
- (new file) public/css/holdedWC-WCConfigPanel.css
- (new file) sdk/Clients/ShopsClient.php
- ...
- recovery_mode_email_last_sent
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 64× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' not found in wp-content/plugins/holded-integration/vendor/symfony/http-client-contracts/Exception/ServerExceptionInterface.php:21
- > PHP Fatal error
Cannot declare class JsonException, because the name is already in use in wp-content/plugins/holded-integration/vendor/symfony/polyfill-php73/Resources/stubs/JsonException.php on line 12
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' not found in wp-content/plugins/holded-integration/vendor/symfony/http-client/Exception/ClientException.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Contracts\\HttpClient\\ResponseInterface' not found in wp-content/plugins/holded-integration/vendor/symfony/http-client/Response/MockResponse.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerInterface' not found in wp-content/plugins/holded-integration/vendor/symfony/service-contracts/ServiceProviderInterface.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Contracts\\HttpClient\\ResponseInterface' not found in wp-content/plugins/holded-integration/vendor/symfony/http-client/Response/CurlResponse.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' not found in wp-content/plugins/holded-integration/vendor/symfony/http-client-contracts/Exception/DecodingExceptionInterface.php:21
- > PHP Fatal error
Uncaught Error: Class 'Holded\\Woocommerce\\Hooks\\AbstractHook' not found in wp-content/plugins/holded-integration/src/Hooks/OrderCompleted.php:9
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/holded-integration/src/Views/ConfigPanel.php:15
- > PHP Fatal error
Uncaught Error: Class 'Holded\\Woocommerce\\Endpoints\\AbstractEndpoint' not found in wp-content/plugins/holded-integration/src/Endpoints/PaymentMethodsEndpoint.php:9
- > 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: holded, woocommerce, erp
holded-integration/holded-integration.php 92% from 13 tests
This is the main PHP file of "Holded integration" version 3.4.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/lang")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin9,800 lines of code in 161 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 142 | 2,258 | 2,970 | 8,817 |
JSON | 9 | 0 | 0 | 790 |
Markdown | 8 | 40 | 0 | 119 |
CSS | 1 | 7 | 0 | 41 |
JavaScript | 1 | 6 | 1 | 33 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 21 | |
Traits | 7 | |
Classes | 103 | |
▷ Abstract classes | 8 | 7.77% |
▷ Concrete classes | 95 | 92.23% |
▷ Final classes | 37 | 38.95% |
Methods | 545 | |
▷ Static methods | 93 | 17.06% |
▷ Public methods | 469 | 86.06% |
▷ Protected methods | 9 | 1.65% |
▷ Private methods | 67 | 12.29% |
Functions | 89 | |
▷ Named functions | 13 | 14.61% |
▷ Anonymous functions | 76 | 85.39% |
Constants | 29 | |
▷ Global constants | 7 | 24.14% |
▷ Class constants | 22 | 75.86% |
▷ Public constants | 19 | 86.36% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin