Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.50ms] Passed 4 tests
Server-side resources used by One Click Order Re-Order
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 46.92 ▲6.99 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.36 ▼3.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.69 ▼1.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.54 ▲2.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.45 ▲0.85 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for One Click Order Re-Order
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.31 ▼1.06 | 5.90 ▲4.11 | 43.02 ▼7.13 |
Dashboard /wp-admin | 2,206 ▲18 | 5.03 ▼0.83 | 104.20 ▼15.54 | 39.06 ▼8.80 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▼0.01 | 39.26 ▲4.31 | 35.94 ▲3.52 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 22.99 ▼0.13 | 597.09 ▼73.58 | 51.97 ▼4.32 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.24 ▲0.10 | 94.62 ▼7.07 | 43.98 ▲0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- 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 everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add a description for screenshot #9 in one-click-order-reorder/assets to your readme.txt
one-click-order-reorder/ced-click-n-go.php 92% from 13 tests
The principal PHP file in "One Click Order Re-Order" v. 1.1.9 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("one-click-order-reorder.php" instead of "ced-click-n-go.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,825 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 270 | 216 | 1,540 |
CSS | 5 | 34 | 16 | 596 |
JavaScript | 4 | 68 | 43 | 535 |
PO File | 1 | 65 | 72 | 154 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 142.00 |
▷ Minimum class complexity | 66.00 |
▷ Maximum class complexity | 218.00 |
Average method complexity | 9.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
4 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/not-found.png | 7.32KB | 4.40KB | ▼ 39.87% |
assets/images/icon.png | 9.15KB | 0.80KB | ▼ 91.21% |
assets/images/Re-order-Icon.png | 0.86KB | 0.53KB | ▼ 38.36% |
assets/images/shopping-bag.png | 40.58KB | 21.61KB | ▼ 46.75% |