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.15MB] [CPU: ▼3.50ms] Passed 4 tests
Analyzing server-side resources used by Sequential Order Number for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.32 ▲3.84 |
Dashboard /wp-admin | 3.46 ▲0.12 | 57.14 ▼7.04 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 47.00 ▼2.86 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 83.77 ▼5.46 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 33.78 ▲1.37 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 87 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
wt_seq_basic_installation_date |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Sequential Order Number for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲54 | 14.40 ▲0.09 | 1.70 ▼0.15 | 47.08 ▼1.48 |
Dashboard /wp-admin | 2,206 ▲29 | 5.61 ▼0.04 | 87.84 ▼10.66 | 41.08 ▼5.49 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.03 ▲0.02 | 35.47 ▼3.38 | 33.93 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.11 ▲0.07 | 672.33 ▲38.02 | 56.84 ▲2.17 |
Media Library /wp-admin/upload.php | 1,414 ▲20 | 4.17 ▲0.01 | 98.46 ▼9.73 | 42.86 ▼2.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- wt_seq_basic_installation_date
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wt-woocommerce-sequential-order-numbers/public/partials/wt-advanced-order-number-public-display.php
- > /wp-content/plugins/wt-woocommerce-sequential-order-numbers/admin/partials/wt-advanced-order-number-admin-display.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wt-woocommerce-sequential-order-numbers/admin/views/wt-advanced-order-number-admin-settings-page.php:2
- > PHP Warning
Use of undefined constant WT_SEQUENCIAL_ORDNUMBER_URL - assumed 'WT_SEQUENCIAL_ORDNUMBER_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wt-woocommerce-sequential-order-numbers/admin/views/wt-goto-pro.php on line 2
- > PHP Warning
Use of undefined constant WT_SEQUENCIAL_ORDNUMBER_URL - assumed 'WT_SEQUENCIAL_ORDNUMBER_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wt-woocommerce-sequential-order-numbers/admin/views/wt-goto-pro.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wt-woocommerce-sequential-order-numbers/admin/views/wt-bottom-banner.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wt-woocommerce-sequential-order-numbers/admin/views/wt-goto-pro.php:71
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
wt-woocommerce-sequential-order-numbers/wt-advanced-order-number.php 85% from 13 tests
Analyzing the main PHP file in "Sequential Order Number for WooCommerce" version 1.5.7
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.0.1" instead of "2.1.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wt-woocommerce-sequential-order-numbers.php" instead of "wt-advanced-order-number.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected4,247 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 339 | 530 | 3,821 |
JavaScript | 3 | 19 | 141 | 350 |
SVG | 7 | 0 | 0 | 76 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 13.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 25 | 27.78% |
▷ Public methods | 81 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 10.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 4 | |
▷ Global constants | 4 | 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
38 PNG files occupy 0.43MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/other_solutions/wt_sdd_logo.png | 4.71KB | 2.67KB | ▼ 43.28% |
admin/images/other_solutions/fbt_plugin.png | 3.35KB | 3.33KB | ▼ 0.73% |
assets/images/tick_icon_yellow.png | 6.57KB | 0.32KB | ▼ 95.14% |
admin/images/other_solutions/pdf-invoice-plugin.png | 18.78KB | 18.56KB | ▼ 1.13% |
assets/images/seq_support.png | 1.40KB | 0.85KB | ▼ 39.48% |