Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.86MB] [CPU: ▼37.86ms] Passed 4 tests
Analyzing server-side resources used by Advanced Sequential Order Number For Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.06 ▼1.09 |
Dashboard /wp-admin | 3.08 ▼0.22 | 26.18 ▼25.19 |
Posts /wp-admin/edit.php | 3.08 ▼0.27 | 23.78 ▼35.50 |
Add New Post /wp-admin/post-new.php | 3.08 ▼2.81 | 24.64 ▼81.76 |
Media Library /wp-admin/upload.php | 3.08 ▼0.15 | 28.86 ▼8.98 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Sequential Order Number For Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.18 ▼1.21 | 1.74 ▲0.09 | 42.51 ▲0.91 |
Dashboard /wp-admin | 2,220 ▲32 | 5.86 ▼0.01 | 108.01 ▲1.82 | 90.37 ▲47.48 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 1.98 ▼0.01 | 42.53 ▼0.25 | 37.26 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,687 ▲173 | 24.45 ▲6.86 | 699.22 ▲34.95 | 64.15 ▲9.39 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.15 ▲0.01 | 108.79 ▲2.71 | 51.06 ▲4.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Phoen_Asonfw_Admin::phoen_asonfw_fv_menu_page() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
advanced-sequential-order-number-for-woocommerce/phoen-asonfw.php 77% from 13 tests
This is the main PHP file of "Advanced Sequential Order Number For Woocommerce" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "2.6.0")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("advanced-sequential-order-number-for-woocommerce.php" instead of "phoen-asonfw.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected881 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 194 | 363 | 881 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 4 | 17.39% |
▷ Public methods | 20 | 86.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 13.04% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 0.32MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/Free-order identifier.png | 18.67KB | 6.59KB | ▼ 64.68% |
admin/images/Icon-2.png | 4.42KB | 3.36KB | ▼ 24.17% |
admin/images/Counter-type.png | 87.44KB | 25.87KB | ▼ 70.42% |
admin/images/Icon-5.png | 3.86KB | 2.99KB | ▼ 22.66% |
admin/images/App-1-2.png | 95.77KB | 30.83KB | ▼ 67.81% |