Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲2.39MB] [CPU: ▲11.46ms] Passed 4 tests
A check of server-side resources used by WooCommerce Coupon Popup, SmartBar, Slide In | MyShopKit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.96 ▲2.50 | 56.41 ▲14.66 |
Dashboard /wp-admin | 5.67 ▲2.37 | 62.44 ▲11.07 |
Posts /wp-admin/edit.php | 5.72 ▲2.37 | 61.85 ▲14.64 |
Add New Post /wp-admin/post-new.php | 8.35 ▲2.46 | 114.57 ▲5.47 |
Media Library /wp-admin/upload.php | 5.59 ▲2.37 | 56.24 ▲20.07 |
Add New /wp-admin/post-new.php?post_type=mskpss_smartbar | 5.72 | 61.75 |
All Items /wp-admin/edit.php?post_type=mskpss_smartbar | 5.64 | 49.53 |
Slide In /wp-admin/edit.php?post_type=mskpss_slidein | 5.64 | 49.68 |
Add New /wp-admin/post-new.php?post_type=mskpss_slidein | 5.72 | 58.87 |
All Items /wp-admin/edit.php?post_type=mskpss_popup | 5.64 | 51.00 |
Add New /wp-admin/post-new.php?post_type=mskpss_popup | 5.72 | 62.26 |
Server storage [IO: ▲6.12MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,845 new files
Database: 3 new tables, 10 new options
New tables |
---|
wp_mskpss_view_statistic |
wp_mskpss_click_statistic |
wp_mskpss_subscriber_statistic |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
mskpss_view_statistic |
mskpss_click_statistic |
widget_recent-comments |
can_compress_scripts |
mskpss_subscriber_statistic |
theysaidso_admin_options |
mskpss_auth |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Coupon Popup, SmartBar, Slide In | MyShopKit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,032 ▲286 | 16.65 ▲2.03 | 26.58 ▲24.73 | 76.66 ▲30.91 |
Dashboard /wp-admin | 2,306 ▲118 | 5.90 ▲0.04 | 110.61 ▼1.25 | 45.88 ▲0.45 |
Posts /wp-admin/edit.php | 2,189 ▲97 | 2.13 ▲0.15 | 40.57 ▼1.83 | 36.18 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,623 ▲86 | 22.92 ▼0.46 | 617.56 ▼10.99 | 47.87 ▼6.14 |
Media Library /wp-admin/upload.php | 1,488 ▲100 | 4.27 ▲0.04 | 100.09 ▼10.67 | 45.07 ▼1.65 |
Add New /wp-admin/post-new.php?post_type=mskpss_smartbar | 2,293 | 7.58 | 178.17 | 69.75 |
All Items /wp-admin/edit.php?post_type=mskpss_smartbar | 1,170 | 2.02 | 31.46 | 30.69 |
Slide In /wp-admin/edit.php?post_type=mskpss_slidein | 1,170 | 1.93 | 30.97 | 30.69 |
Add New /wp-admin/post-new.php?post_type=mskpss_slidein | 2,302 | 7.64 | 159.91 | 56.24 |
All Items /wp-admin/edit.php?post_type=mskpss_popup | 1,167 | 2.00 | 30.10 | 28.12 |
Add New /wp-admin/post-new.php?post_type=mskpss_popup | 2,299 | 7.60 | 181.72 | 58.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_mskpss_view_statistic
- wp_mskpss_click_statistic
- wp_mskpss_subscriber_statistic
- Zombie WordPress options detected upon uninstall: 9 options
- mskpss_click_statistic
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- mskpss_view_statistic
- can_compress_scripts
- theysaidso_admin_options
- mskpss_subscriber_statistic
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 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
The following issues need your attention
- 97× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/campaign/get_email_client_usage.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/client/get_lists.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/client/set_payg_billing.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/campaign/get_opens.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/campaign/get_clicks.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/list/get_segments.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_bounces.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/campaign/delete.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/list/delete_custom_field.php
- > /wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/campaignmonitor/createsend-php/samples/segment/clear_rules.php
- 1075× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Client\\Operation\\QueryOperation' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/Shops/Categories/GetCategory/GetCategory.php:7
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Client\\Operation\\QueryOperation' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/Shops/Carts/GetCart/GetCart.php:7
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Client\\Operation\\BaseModel' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/Model/UpsertSingleMetaField.php:6
- > PHP Fatal error
Uncaught Error: Interface 'MyShopKitPopupSmartBarSlideIn\\Shared\\Middleware\\Middlewares\\IMiddleware' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/src/MailServices/Klaviyo/Middlewares/IsValidListIDMiddleware.php:11
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Client\\Operation\\SearchQuery' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/Suppressions/GetSuppressions/GetSuppressionsSearchQuery.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Egulias\\EmailValidator\\Result\\Result' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/egulias/email-validator/src/Result/ValidEmail.php:5
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Client\\Operation\\CommandOperation' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/Shops/Products/Variants/UpdateVariant/UpdateVariant.php:10
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Operation\\Model\\SearchContactSection' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/Model/SectionLast2MonthsSubscriptionDate.php:4
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Client\\Operation\\BaseModel' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/Model/AccountDetailsCountryCode.php:6
- > PHP Fatal error
Uncaught Error: Class 'Getresponse\\Sdk\\Client\\Operation\\QueryOperation' not found in wp-content/plugins/myshopkit-popup-smartbar-slidein/vendor/getresponse/sdk-php/src/Operation/TemplateCategories/Templates/GetTemplate/GetTemplate.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #6 in myshopkit-popup-smartbar-slidein/assets to your readme.txt
myshopkit-popup-smartbar-slidein/myshopkit-popup-smartbar-slidein.php Passed 13 tests
Analyzing the main PHP file in "WooCommerce Coupon Popup, SmartBar, Slide In | MyShopKit" version 1.0.9
26 characters long description:
The one kit to boost sales
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected142,041 lines of code in 1,769 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,567 | 23,808 | 35,830 | 124,851 |
Markdown | 96 | 3,673 | 0 | 9,590 |
JSON | 47 | 9 | 0 | 5,062 |
JavaScript | 1 | 32 | 20 | 1,205 |
YAML | 34 | 233 | 39 | 837 |
Ant | 11 | 44 | 0 | 256 |
XML | 7 | 12 | 2 | 115 |
HTML | 1 | 1 | 2 | 51 |
Bourne Shell | 1 | 13 | 8 | 31 |
reStructuredText | 2 | 23 | 18 | 31 |
make | 1 | 4 | 0 | 9 |
CSS | 1 | 0 | 0 | 3 |
PHP code 0% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,909)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,909.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 347 | |
Interfaces | 68 | |
Traits | 56 | |
Classes | 1,240 | |
▷ Abstract classes | 33 | 2.66% |
▷ Concrete classes | 1,207 | 97.34% |
▷ Final classes | 51 | 4.23% |
Methods | 6,693 | |
▷ Static methods | 697 | 10.41% |
▷ Public methods | 5,841 | 87.27% |
▷ Protected methods | 476 | 7.11% |
▷ Private methods | 376 | 5.62% |
Functions | 266 | |
▷ Named functions | 106 | 39.85% |
▷ Anonymous functions | 160 | 60.15% |
Constants | 733 | |
▷ Global constants | 127 | 17.33% |
▷ Class constants | 606 | 82.67% |
▷ Public constants | 601 | 99.17% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin