Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼31.76ms] Passed 4 tests
An overview of server-side resources used by Oronjo Wordpress Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.18 ▼4.02 |
Dashboard /wp-admin | 2.99 ▼0.31 | 22.03 ▼26.61 |
Posts /wp-admin/edit.php | 2.99 ▼0.36 | 23.41 ▼23.48 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 24.71 ▼62.91 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 22.40 ▼14.04 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Oronjo Wordpress Plugin: 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,913 ▲167 | 14.22 ▼0.39 | 10.40 ▲8.54 | 52.35 ▲8.56 |
Dashboard /wp-admin | 2,210 ▲36 | 5.83 ▼0.05 | 119.59 ▲5.64 | 53.60 ▼4.27 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.98 ▼0.02 | 39.79 ▲3.41 | 45.19 ▲8.85 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.27 ▼4.80 | 614.15 ▼54.39 | 60.45 ▲1.73 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.15 ▼0.09 | 96.69 ▼12.54 | 43.26 ▼2.63 |
Oronjo Plugin /wp-admin/oronjowordpressplugin.php | 26 | 0.44 | 0.09 | 15.11 |
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
- This plugin did not uninstall without warnings or errors
- > 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.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/oronjowordpressplugin/oronjowordpressplugin.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/oronjowordpressplugin.php
- > Network (severe)
wp-admin/oronjowordpressplugin.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
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: bitcoins, ecommerce, sell content, sell downloads, sell with paypal...
oronjowordpressplugin/oronjowordpressplugin.php Passed 13 tests
"Oronjo Wordpress Plugin" version 3.9.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
59 characters long description:
Automatically populate your Oronjo products into Wordpress.
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
There were no executable files found in this plugin572 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
This plugin's cyclomatic complexity and code structure detailed below
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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-256x256.png | 11.94KB | 4.56KB | ▼ 61.82% |
images/icon-cart-256x256.png | 14.80KB | 5.51KB | ▼ 62.73% |