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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.08MB] [CPU: ▼15.33ms] Passed 4 tests
A check of server-side resources used by SIDEUP Shipping for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.19 ▼7.91 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.06 ▼20.34 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 28.43 ▼20.57 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 97.79 ▼3.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 30.73 ▼12.49 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
SIDEUP Shipping for WooCommerce: 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,805 ▲44 | 14.72 ▲0.14 | 1.91 ▼0.22 | 39.72 ▼7.75 |
Dashboard /wp-admin | 2,209 ▲35 | 5.57 ▼0.01 | 85.49 ▼24.35 | 80.31 ▲34.24 |
Posts /wp-admin/edit.php | 46 ▼2,054 | 0.42 ▼1.53 | 0.08 ▼37.66 | 12.77 ▼20.15 |
Add New Post /wp-admin/post-new.php | 1,565 ▲34 | 18.02 ▼4.94 | 607.45 ▼64.65 | 104.23 ▲49.10 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.13 ▼0.08 | 97.63 ▼25.91 | 72.44 ▲24.13 |
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
- Zombie WordPress options were found after uninstall: 7 options
- recovery_mode_email_last_sent
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/sideup-ksa/sideup-woocommerce.php
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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
sideup-ksa/sideup-woocommerce.php 77% from 13 tests
The principal PHP file in "SIDEUP Shipping for WooCommerce" v. 1.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sideup-ksa.php" instead of "sideup-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected975 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 52 | 60 | 467 |
JavaScript | 3 | 36 | 29 | 435 |
SVG | 4 | 2 | 0 | 71 |
CSS | 2 | 0 | 6 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sideup-icon.png | 0.85KB | 0.70KB | ▼ 18.14% |
assets/images/refresh.png | 19.03KB | 8.83KB | ▼ 53.61% |
assets/images/sideup.png | 8.49KB | 5.38KB | ▼ 36.65% |