Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.15MB] [CPU: ▼336.33ms] Passed 4 tests
A check of 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.67 ▲0.16 | 57.58 ▲9.37 |
Dashboard /wp-admin | 3.18 ▼0.22 | 17.53 ▼17.37 |
Posts /wp-admin/edit.php | 3.18 ▼0.45 | 17.64 ▼21.01 |
Add New Post /wp-admin/post-new.php | 3.18 ▼3.81 | 18.04 ▼1,291.66 |
Media Library /wp-admin/upload.php | 3.18 ▼0.12 | 16.82 ▼15.27 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Advanced Sequential Order Number For Woocommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,773 ▲29 | 15.81 ▼0.14 | 5.98 ▼0.58 | 2.10 ▼0.04 |
Dashboard /wp-admin | 2,900 ▲39 | 6.04 ▼0.14 | 118.02 ▼18.68 | 164.79 ▲8.96 |
Posts /wp-admin/edit.php | 2,698 ▲7 | 3.11 ▼0.13 | 61.35 ▼6.07 | 144.39 ▲5.84 |
Add New Post /wp-admin/post-new.php | 1,669 ▲8 | 18.08 ▲1.50 | 412.81 ▼30.10 | 155.56 ▼3.52 |
Media Library /wp-admin/upload.php | 1,705 ▲11 | 5.51 ▼0.04 | 129.43 ▼39.70 | 212.06 ▲30.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+307
Non-static method Phoen_Asonfw_Admin::phoen_asonfw_fv_menu_page() should not be called statically
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 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 must 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
Success! There were no dangerous files found in this plugin881 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
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
18 PNG files occupy 0.32MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/Icon-4.png | 3.99KB | 3.04KB | ▼ 23.83% |
admin/images/Icon-5.png | 3.86KB | 2.99KB | ▼ 22.66% |
admin/images/plugin.png | 4.05KB | 2.72KB | ▼ 32.83% |
admin/images/Icon-9.png | 4.90KB | 3.66KB | ▼ 25.29% |
admin/images/App-1-2.png | 95.77KB | 30.83KB | ▼ 67.81% |