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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼2.33ms] Passed 4 tests
Server-side resources used by Saphali Woocommerce Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 52.86 ▲8.48 |
Dashboard /wp-admin | 3.70 ▲0.40 | 54.21 ▲0.87 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 59.11 ▲6.69 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 87.38 ▼19.51 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 42.18 ▲2.63 |
Server storage [IO: ▲2.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Saphali Woocommerce Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.27 ▼0.08 | 1.86 ▲0.26 | 41.33 ▼3.26 |
Dashboard /wp-admin | 2,195 ▲21 | 5.51 ▼0.14 | 91.91 ▼5.02 | 37.62 ▼0.73 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.07 | 39.21 ▼2.20 | 38.82 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.28 ▲0.20 | 639.94 ▼32.87 | 53.96 ▲2.42 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.26 ▲0.08 | 103.03 ▼28.85 | 44.19 ▼10.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Requires at least: Version format is invalid
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Возможность выводить поле в зависимости от метода доставки или оплаты.), #2 (Управление полями на странице заказа и на странице профиля. Функция позволяет настроить заказную форму регистрации, чтобы настроить магазин на упрощение оформления заказа. Вы можете сделать некоторые поля необязательными при регистрации/оформлении заказа либо удалить их полностью.), #3 (Управление полями (перемещение в нужную позицию).), #4 (Как выглядит на странице.), #5 (Управление количеством колонок в каталоге товаров и рубриках.)
saphali-woocommerce-lite/saphali-woocommerce-lite.php 92% from 13 tests
The principal PHP file in "Saphali Woocommerce Lite" v. 1.9.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 208 characters long)
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
Everything looks great! No dangerous files found in this plugin14,924 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 3 | 5,309 | 8,303 | 11,953 |
PHP | 3 | 135 | 91 | 2,744 |
JavaScript | 1 | 28 | 127 | 227 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.08 |
Average class complexity | 715.00 |
▷ Minimum class complexity | 715.00 |
▷ Maximum class complexity | 715.00 |
Average method complexity | 11.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.73MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 243.48KB | 86.04KB | ▼ 64.66% |
screenshot-1.png | 56.27KB | 27.45KB | ▼ 51.22% |
screenshot-2.png | 398.21KB | 150.87KB | ▼ 62.11% |
screenshot-4.png | 12.90KB | 5.51KB | ▼ 57.24% |
screenshot-5.png | 37.67KB | 16.59KB | ▼ 55.95% |