Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.91ms] Passed 4 tests
Server-side resources used by Sequential Order Numbers for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.12 ▼4.78 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.18 ▼19.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.14 ▼2.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.53 ▼24.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.15 ▲0.31 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Sequential Order Numbers for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.55 ▲0.15 | 1.94 ▲0.33 | 45.06 ▲1.94 |
Dashboard /wp-admin | 2,192 ▲21 | 5.63 ▲0.05 | 95.34 ▲4.21 | 42.25 ▲0.82 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.01 | 33.81 ▼1.21 | 33.54 ▲3.55 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.35 ▲0.16 | 584.61 ▼96.07 | 48.39 ▼14.22 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.13 ▼0.05 | 95.90 ▼1.66 | 42.03 ▼3.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: woocommerce orders, woocommerce, order number, sequential order number
woocommerce-sequential-order-numbers/woocommerce-sequential-order-numbers.php 92% from 13 tests
The entry point to "Sequential Order Numbers for WooCommerce" version 1.10.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("5.6" instead of "3.9.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin333 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 177 | 280 | 333 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 83.00 |
▷ Minimum class complexity | 83.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 3 | 12.50% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 2 | 8.33% |
▷ Private methods | 3 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
No PNG files were detected