Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.84MB] [CPU: ▼34.90ms] Passed 4 tests
Server-side resources used by OS WooCommerce Shop Design
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.31 ▼0.79 |
Dashboard /wp-admin | 3.12 ▼0.23 | 22.93 ▼35.19 |
Posts /wp-admin/edit.php | 3.12 ▼0.24 | 23.94 ▼23.14 |
Add New Post /wp-admin/post-new.php | 3.12 ▼2.77 | 23.28 ▼71.72 |
Media Library /wp-admin/upload.php | 3.12 ▼0.11 | 24.91 ▼9.54 |
About /wp-admin/edit.php?post_type=os-our-team&page=about-developer | 3.12 | 24.16 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
OS WooCommerce Shop Design: 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,821 ▲86 | 13.69 ▼0.70 | 3.05 ▲1.35 | 38.15 ▼3.15 |
Dashboard /wp-admin | 2,208 ▲17 | 5.86 ▲0.96 | 108.84 ▲3.37 | 38.88 ▼6.66 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.02 ▼0.00 | 39.66 ▼0.61 | 34.59 ▼3.08 |
Add New Post /wp-admin/post-new.php | 1,530 ▼12 | 23.30 ▲5.06 | 624.14 ▼12.23 | 49.47 ▼3.01 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.21 ▼0.08 | 93.83 ▼5.89 | 41.61 ▼3.08 |
About /wp-admin/edit.php?post_type=os-our-team&page=about-developer | 28 | 0.44 | 0.09 | 3.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/os-wc-shop-design/includes/admin/os-wc-shop-design-about.php+36
Use of undefined constant OT_TEXT_DOMAIN - assumed 'OT_TEXT_DOMAIN' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=os-our-team&page=about-developer
- > Warning in wp-content/plugins/os-wc-shop-design/includes/admin/os-wc-shop-design-about.php+36
Use of undefined constant OT_TEXT_DOMAIN - assumed 'OT_TEXT_DOMAIN' (this will throw an Error in a future version of PHP)
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/os-wc-shop-design/woocommerce/loop/loop-start.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=os-our-team&page=about-developer
- > Network (severe)
wp-admin/edit.php?post_type=os-our-team&page=about-developer - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (OS WC Shop Design admin interface), #2 (OS WC Shop Design shop page)
os-wc-shop-design/os-wc-shop-design.php Passed 13 tests
This is the main PHP file of "OS WooCommerce Shop Design" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
97 characters long description:
OS WC Shop Design is giving some additional features and effects to the default woocommerce shop.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,466 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 70 | 469 | 814 |
PHP | 8 | 167 | 346 | 504 |
CSS | 3 | 33 | 22 | 148 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.71% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
5 PNG files occupy 0.26MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 180.38KB | 63.46KB | ▼ 64.82% |
images/select-arrow.png | 0.24KB | 0.24KB | ▼ 0.82% |
images/social.png | 1.61KB | 1.12KB | ▼ 30.45% |
plugins/bxslider/icons.png | 22.29KB | 9.12KB | ▼ 59.08% |
screenshot-1.png | 60.37KB | 23.75KB | ▼ 60.65% |