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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.90ms] Passed 4 tests
A check of server-side resources used by Woo Alltobill Payment Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.01 ▼4.64 |
Dashboard /wp-admin | 3.35 ▲0.04 | 53.01 ▲1.81 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.21 ▲1.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.93 ▼0.39 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.59 ▲0.42 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 99 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Alltobill Payment Gateway
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.19 ▼1.55 | 2.09 ▲0.27 | 44.92 ▲6.13 |
Dashboard /wp-admin | 2,206 ▲3 | 5.84 ▲0.98 | 105.06 ▼34.02 | 40.87 ▼1.61 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.03 ▼0.01 | 44.09 ▲4.23 | 34.90 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.19 ▼0.04 | 646.51 ▼38.74 | 55.27 ▲3.81 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▼0.01 | 95.53 ▼5.67 | 41.44 ▼1.06 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% 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)
Everything seems fine, however 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
Almost there! Just fix the following items
- 13× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/GatewayDelete.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/InvoiceGetOne.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/PageGetOne.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/AuthTokenCreate.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/SubscriptionCancel.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/InvoiceDelete.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/SubscriptionUpdate.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/GatewayGetOne.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/PageGetAll.php
- > /wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/examples/InvoiceCreate.php
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\Models\\Base' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/Models/Request/Gateway.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/woo-alltobill-gateway/woo-alltobill-gateway.php:12
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\Models\\Base' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/Models/Request/Invoice.php:14
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\CommunicationAdapter\\AbstractCommunication' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/CommunicationAdapter/CurlCommunication.php:26
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\Models\\Request\\Subscription' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/Models/Response/Subscription.php:14
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\Models\\Base' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/Models/Request/Subscription.php:14
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\Models\\Request\\Invoice' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/Models/Response/AuthToken.php:14
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\Models\\Base' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/Models/Request/Page.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/woo-alltobill-gateway/includes/settings-alltobill.php:2
- > PHP Fatal error
Uncaught Error: Class 'Alltobill\\Models\\Request\\Gateway' not found in wp-content/plugins/woo-alltobill-gateway/alltobill-php-master/lib/Alltobill/Models/Response/Gateway.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: A description for screenshot #5 is missing in woo-alltobill-gateway/assets to your readme.txt
- Tags: Please delete some tags, you are using 25 tag instead of maximum 10
woo-alltobill-gateway/woo-alltobill-gateway.php Passed 13 tests
The main file in "Woo Alltobill Payment Gateway" v. 1.6.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
67 characters long description:
Accept many different payment methods on your store using Alltobill
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
Everything looks great! No dangerous files found in this plugin4,209 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 60 | 10 | 46 | 2,672 |
PHP | 31 | 328 | 1,067 | 1,453 |
Markdown | 1 | 20 | 0 | 59 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 2 | 11.76% |
▷ Concrete classes | 15 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 162 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 158 | 97.53% |
▷ Protected methods | 4 | 2.47% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 2 | 11.76% |
▷ Anonymous functions | 15 | 88.24% |
Constants | 14 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 14 | 100.00% |
▷ Public constants | 14 | 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
There are no PNG files in this plugin