Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/beeketing-for-woocommerce/vendor/sentry/sentry/lib/Raven/Client.php+326
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.50MB] [CPU: ▼51.16ms] Passed 4 tests
Analyzing server-side resources used by Beeketing for WooCommerce - Marketing Automation to Boost Sales
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.49 ▼0.97 | 7.33 ▼32.64 |
Dashboard /wp-admin | 2.51 ▼0.80 | 6.89 ▼42.20 |
Posts /wp-admin/edit.php | 2.51 ▼0.85 | 10.48 ▼36.49 |
Add New Post /wp-admin/post-new.php | 2.51 ▼3.38 | 8.56 ▼93.29 |
Media Library /wp-admin/upload.php | 2.51 ▼0.72 | 7.22 ▼28.36 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 290 new files
Database: no new tables, 7 new options
New WordPress options |
---|
beeketing_woocommerce_settings |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Beeketing for WooCommerce - Marketing Automation to Boost Sales
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,143 ▲408 | 16.16 ▲1.57 | 3.49 ▲1.85 | 28.24 ▼12.01 |
Dashboard /wp-admin | 2,544 ▲356 | 7.01 ▲1.94 | 202.65 ▲101.01 | 76.49 ▲32.43 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.01 ▼0.05 | 38.27 ▼3.15 | 33.19 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,681 ▲147 | 22.51 ▼0.69 | 672.20 ▲15.79 | 55.78 ▼3.28 |
Media Library /wp-admin/upload.php | 1,403 ▲24 | 4.24 ▲0.04 | 102.32 ▼3.96 | 45.79 ▲0.10 |
Uninstaller [IO: ▲1.60MB] [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 8 options in the database
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/beeketing-for-woocommerce/vendor/sentry/sentry/lib/Raven/Client.php+326
Array and string offset access syntax with curly braces is deprecated
- The plugin did not uninstall successfully, leaving 290 files (1.60MB) in the plugin directory
- (new file) config.php
- (new file) beeketing-woocommerce.php
- (new file) composer.lock
- (new file) sentry/SentryClient.php
- (new file) composer.json
- (new file) sentry.php
- (new file) readme.txt
- (new file) images/icon/icon_menu.png
- (new file) sentry/RavenBreadcrumbsErrorHandler.php
- (new file) index.php
- ...
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- recovery_mode_email_last_sent
- beeketing_woocommerce_settings
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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 fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/beeketing-for-woocommerce/src/Platforms/WooCommerce/Views/admin_index.php
- > /wp-content/plugins/beeketing-for-woocommerce/src/Platforms/WooCommerce/Views/sdk_snippet.php
- 149× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Buzz\\Exception\\ExceptionInterface' not found in wp-content/plugins/beeketing-for-woocommerce/vendor/kriswallsmith/buzz/lib/Buzz/Exception/RuntimeException.php:5
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\AbstractProxy' not found in wp-content/plugins/beeketing-for-woocommerce/vendor/symfony/http-foundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/beeketing-for-woocommerce/src/Platforms/WooCommerce/Views/widget.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Buzz\\Listener\\ListenerInterface' not found in wp-content/plugins/beeketing-for-woocommerce/vendor/kriswallsmith/buzz/lib/Buzz/Listener/DigestAuthListener.php:8
- > PHP Notice
Undefined variable: scriptPath in wp-content/plugins/beeketing-for-woocommerce/src/Platforms/WooCommerce/Views/sdk_snippet.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\AbstractProxy' not found in wp-content/plugins/beeketing-for-woocommerce/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:19
- > PHP Notice
Undefined variable: shopApiKey in wp-content/plugins/beeketing-for-woocommerce/src/Platforms/WooCommerce/Views/sdk_snippet.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'Buzz\\Client\\AbstractCurl' not found in wp-content/plugins/beeketing-for-woocommerce/vendor/kriswallsmith/buzz/lib/Buzz/Client/MultiCurl.php:10
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/beeketing-for-woocommerce/vendor/symfony/http-foundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php:26
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FileException' not found in wp-content/plugins/beeketing-for-woocommerce/vendor/symfony/http-foundation/File/Exception/FileNotFoundException.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #27, #28, #3, #4, #5, #6, #7, #8, #9 in beeketing-for-woocommerce/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
beeketing-for-woocommerce/beeketing-woocommerce.php 85% from 13 tests
"Beeketing for WooCommerce - Marketing Automation to Boost Sales" version 3.8.16's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("beeketing-for-woocommerce.php" instead of "beeketing-woocommerce.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 362 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin26,671 lines of code in 269 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 251 | 5,531 | 11,052 | 25,475 |
JSON | 6 | 0 | 0 | 429 |
Markdown | 5 | 151 | 0 | 426 |
XML | 4 | 22 | 0 | 263 |
YAML | 2 | 9 | 0 | 63 |
make | 1 | 6 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 10.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 219.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 42 | |
Interfaces | 18 | |
Traits | 0 | |
Classes | 222 | |
▷ Abstract classes | 18 | 8.11% |
▷ Concrete classes | 204 | 91.89% |
▷ Final classes | 4 | 1.96% |
Methods | 2,002 | |
▷ Static methods | 144 | 7.19% |
▷ Public methods | 1,767 | 88.26% |
▷ Protected methods | 106 | 5.29% |
▷ Private methods | 129 | 6.44% |
Functions | 84 | |
▷ Named functions | 37 | 44.05% |
▷ Anonymous functions | 47 | 55.95% |
Constants | 213 | |
▷ Global constants | 17 | 7.98% |
▷ Class constants | 196 | 92.02% |
▷ Public constants | 196 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon/icon_menu.png | 1.05KB | 1.04KB | ▼ 1.21% |