Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.44ms] Passed 4 tests
Analyzing server-side resources used by Invoicing with InvoiceXpress for WooCommerce - Free
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.33 ▼1.09 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.88 ▼11.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.93 ▲0.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.52 ▼20.35 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.45 ▼4.54 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Invoicing with InvoiceXpress for WooCommerce - Free
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲68 | 14.67 ▲0.21 | 1.90 ▲0.23 | 41.05 ▼0.11 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.04 | 92.35 ▼12.32 | 42.00 ▼0.50 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.02 | 38.65 ▼8.18 | 36.04 ▼4.86 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 25.13 ▲1.72 | 605.61 ▼27.36 | 66.00 ▲11.15 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.02 | 97.88 ▲0.43 | 42.70 ▼0.26 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\Settings\\Tabs' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Settings/Tabs/Invoices.php:13
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\Settings\\Tabs' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Settings/Tabs/General.php:13
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\BaseController' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Modules/Taxes/TaxController.php:10
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\Settings\\Tabs' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Settings/Tabs/Taxes.php:14
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\BaseMenu' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Menu/Menu.php:15
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\BaseSettings' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Settings/Settings.php:16
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\BaseController' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Modules/Invoice/InvoiceController.php:13
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\BaseController' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Modules/SimplifiedInvoice/SimplifiedInvoiceController.php:13
- > PHP Fatal error
Uncaught Error: Class 'Webdados\\InvoiceXpressWooCommerce\\Settings\\Tabs' not found in wp-content/plugins/woo-billing-with-invoicexpress/src/Settings/Tabs/API.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (29 tag instead of maximum 10)
woo-billing-with-invoicexpress/woocommerce-billing-invoicexpress-standard-edition.php 92% from 13 tests
The primary PHP file in "Invoicing with InvoiceXpress for WooCommerce - Free" version 4.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-billing-with-invoicexpress.php" instead of "woocommerce-billing-invoicexpress-standard-edition.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
No dangerous file extensions were detected4,772 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 710 | 1,573 | 4,723 |
JSON | 2 | 0 | 0 | 26 |
SVG | 2 | 1 | 1 | 16 |
JavaScript | 1 | 2 | 7 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 26.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 5.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 1 | 3.70% |
▷ Concrete classes | 26 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 174 | |
▷ Static methods | 12 | 6.90% |
▷ Public methods | 156 | 89.66% |
▷ Protected methods | 4 | 2.30% |
▷ Private methods | 14 | 8.05% |
Functions | 9 | |
▷ Named functions | 2 | 22.22% |
▷ Anonymous functions | 7 | 77.78% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/invoicexpress.png | 4.09KB | 2.74KB | ▼ 33.07% |