Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.88ms] Passed 4 tests
Server-side resources used by Invoice Gateway for WooCommerce - Invoice Payment Gateway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.78 ▼7.70 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.54 ▲3.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.76 ▲1.02 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.18 ▼13.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.85 ▼2.98 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Invoice Gateway for WooCommerce - Invoice Payment Gateway
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲64 | 13.57 ▼1.01 | 1.63 ▼0.73 | 42.76 ▼5.87 |
Dashboard /wp-admin | 2,227 ▲36 | 4.82 ▼0.19 | 107.63 ▼1.25 | 42.47 ▼0.46 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.02 ▼0.04 | 39.15 ▼0.27 | 40.17 ▲4.28 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 17.72 ▼0.57 | 603.95 ▼102.33 | 49.80 ▼9.17 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.28 ▲0.03 | 95.18 ▼21.21 | 42.71 ▼5.02 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
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 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 require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in invoice-gateway-for-woocommerce/assets to your readme.txt
invoice-gateway-for-woocommerce/invoice-gateway-for-woocommerce.php 92% from 13 tests
The principal PHP file in "Invoice Gateway for WooCommerce - Invoice Payment Gateway" v. 1.1.3 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.2" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,021 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 522 | 1,013 | 1,015 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 11.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 1 | 10.00% |
▷ Concrete classes | 9 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 7 | 8.33% |
▷ Public methods | 74 | 88.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 11.90% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin