Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▲3.34ms] Passed 4 tests
This is a short check of server-side resources used by Splash Sync
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 44.12 ▲3.04 |
Dashboard /wp-admin | 3.61 ▲0.31 | 51.04 ▲0.76 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 51.00 ▲3.39 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 95.72 ▲6.15 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 42.05 ▲8.20 |
Splash Sync /wp-admin/options-general.php?page=splash-wordpress-plugin_settings | 3.91 | 46.85 |
Server storage [IO: ▲6.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 386 new files
Database: no new tables, 7 new options
New WordPress options |
---|
splash-wordpress-plugin_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Splash Sync
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.58 ▼0.72 | 1.72 ▲0.10 | 45.28 ▲3.87 |
Dashboard /wp-admin | 2,219 ▲16 | 4.84 ▼0.98 | 108.36 ▲6.43 | 39.42 ▲0.09 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.02 | 39.79 ▲4.83 | 35.02 ▼3.59 |
Add New Post /wp-admin/post-new.php | 1,552 ▲7 | 23.19 ▲0.07 | 674.28 ▲19.03 | 61.48 ▲8.87 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▲0.02 | 97.68 ▼9.03 | 44.08 ▼2.26 |
Splash Sync /wp-admin/options-general.php?page=splash-wordpress-plugin_settings | 971 | 2.07 | 25.22 | 29.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 14 options
- wpm_use_redirect
- wpm_uninstall_translations
- widget_recent-comments
- widget_recent-posts
- woocommerce_currency
- db_upgraded
- wpm_site_language
- splash-wordpress-plugin_version
- widget_theysaidso_widget
- wpm_show_untranslated_strings
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/splash-connector/vendor/splash/phpcore/soap.php
- 104× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Splash\\Tests\\Tools\\Fields\\OoVarchar' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Tests/Tools/Fields/OoLang.php:25
- > PHP Fatal error
Uncaught Error: Class 'Splash\\Models\\AbstractObject' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Templates/Local/Objects/Dummy.php:32
- > PHP Fatal error
Uncaught Error: Class 'Splash\\Tests\\Tools\\ObjectsCase' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Tests/WsObjects/O03ListTest.php:25
- > PHP Fatal error
Uncaught Error: Class 'Splash\\Templates\\Widgets\\SelfTestTemplate' not found in wp-content/plugins/splash-connector/src/Widgets/SelfTest.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Splash\\Router\\RouterInterface' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Router/Admin.php:26
- > PHP Warning
include_once(vendor/badpixxel/php-sdk/phpcs/headers/splashsync.php): failed to open stream: No such file or directory in wp-content/plugins/splash-connector/vendor/splash/phpcore/Resources/phpcs/cs.splashsync.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Splash\\Tests\\Tools\\AbstractBaseCase' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Tests/WsAdmin/A06InfosTest.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Splash\\Models\\LocalClassInterface' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Templates/Local/Local.php:25
- > PHP Fatal error
Trait 'Splash\\Models\\Objects\\FieldsFactoryTrait' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Models/Objects/IntelParserTrait.php on line 25
- > PHP Fatal error
Uncaught Error: Interface 'Splash\\Tests\\Tools\\Fields\\FieldInterface' not found in wp-content/plugins/splash-connector/vendor/splash/phpcore/Tests/Tools/Fields/OoImage.php:40
- > 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 Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: prestashop, woocommerce, erp, e-commerce, wordpress...
splash-connector/splash.php 77% from 13 tests
Analyzing the main PHP file in "Splash Sync" version 2.0.6
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("6.1" instead of "6.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("splash-connector.php" instead of "splash.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin28,511 lines of code in 316 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 261 | 4,956 | 25,467 | 26,241 |
INI | 17 | 169 | 488 | 813 |
YAML | 9 | 74 | 264 | 669 |
Markdown | 15 | 175 | 0 | 319 |
XML | 5 | 27 | 40 | 176 |
JSON | 4 | 14 | 0 | 160 |
CSS | 1 | 5 | 0 | 60 |
Bourne Shell | 2 | 13 | 57 | 37 |
JavaScript | 1 | 2 | 0 | 19 |
HTML | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 18.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 391.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 48 | |
Interfaces | 13 | |
Traits | 100 | |
Classes | 143 | |
▷ Abstract classes | 6 | 4.20% |
▷ Concrete classes | 137 | 95.80% |
▷ Final classes | 1 | 0.73% |
Methods | 1,487 | |
▷ Static methods | 450 | 30.26% |
▷ Public methods | 1,045 | 70.28% |
▷ Protected methods | 201 | 13.52% |
▷ Private methods | 241 | 16.21% |
Functions | 14 | |
▷ Named functions | 10 | 71.43% |
▷ Anonymous functions | 4 | 28.57% |
Constants | 240 | |
▷ Global constants | 95 | 39.58% |
▷ Class constants | 145 | 60.42% |
▷ Public constants | 145 | 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
6 PNG files occupy 0.26MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Resources/docs/assets/img/screenshot_5.png | 39.48KB | 13.26KB | ▼ 66.42% |
src/Resources/docs/assets/img/screenshot_1.png | 65.10KB | 23.81KB | ▼ 63.43% |
src/Resources/docs/assets/img/screenshot_4.png | 47.04KB | 17.42KB | ▼ 62.98% |
src/Resources/docs/assets/img/screenshot_3.png | 55.11KB | 19.88KB | ▼ 63.92% |
src/Resources/docs/assets/img/screenshot_2.png | 53.52KB | 19.70KB | ▼ 63.20% |