Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.95MB] [CPU: ▼30.63ms] Passed 4 tests
Analyzing server-side resources used by Sell Digitial Products with Oronjo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.39 ▲2.03 |
Dashboard /wp-admin | 2.99 ▼0.31 | 23.57 ▼23.20 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 24.50 ▼22.77 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 21.87 ▼69.62 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 23.04 ▼6.91 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
oronjo_lic_msg_sell-digital-products |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
oronjo_license_sell-digital-products |
Browser metrics Passed 4 tests
A check of browser resources used by Sell Digitial Products with Oronjo
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,041 ▲306 | 14.07 ▼0.49 | 22.64 ▲20.94 | 51.95 ▲10.66 |
Dashboard /wp-admin | 2,207 ▲19 | 4.86 ▼0.21 | 94.71 ▼23.61 | 40.64 ▼0.17 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.97 ▼0.03 | 40.19 ▼0.32 | 36.24 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.43 ▼5.03 | 623.36 ▼35.80 | 51.64 ▼17.79 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.10 | 96.36 ▼1.66 | 45.15 ▲2.91 |
Sell digital products /wp-admin/sell-digital-products.php | 26 | 0.44 | 0.10 | 13.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- db_upgraded
- oronjo_lic_msg_sell-digital-products
- oronjo_license_sell-digital-products
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
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 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sell-digital-products/sell-digital-products.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/sell-digital-products.php
- > Network (severe)
wp-admin/sell-digital-products.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: sell with paypal, oronjo, sell digital product, sell, sell content...
sell-digital-products/sell-digital-products.php Passed 13 tests
"Sell Digitial Products with Oronjo" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
85 characters long description:
Automatically populate your Oronjo products into Wordpress, includes a shopping cart.
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
No dangerous file extensions were detected572 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 84 | 44 | 569 |
JavaScript | 1 | 0 | 0 | 2 |
CSS | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-cart-256x256.png | 14.80KB | 5.51KB | ▼ 62.73% |
images/icon-256x256.png | 11.94KB | 4.56KB | ▼ 61.82% |