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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.09ms] Passed 4 tests
Server-side resources used by Nodeless for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.17 ▼0.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.85 ▼2.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.13 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.96 ▼0.13 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.79 ▼0.97 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Nodeless for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.68 ▼0.53 | 1.78 ▲0.09 | 43.12 ▲5.11 |
Dashboard /wp-admin | 2,209 ▲23 | 5.90 ▼0.10 | 105.99 ▼1.83 | 41.59 ▲1.57 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▼0.02 | 39.20 ▲5.67 | 34.43 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.29 ▲4.75 | 700.68 ▲67.86 | 51.41 ▼6.33 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▲0.06 | 103.91 ▲4.71 | 43.39 ▼2.27 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 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 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
Almost there! Just fix the following items
- 29× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\Response\\AbstractResponse' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Response/PaywallWebhookResponse.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Settings_Page' not found in wp-content/plugins/nodeless-for-woocommerce/src/Admin/GlobalSettings.php:12
- > PHP Fatal error
Uncaught Error: Interface 'NodelessIO\\Http\\ResponseInterface' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Http/Response.php:7
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\Response\\AbstractListResponse' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Response/PaywallListResponse.php:7
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\Response\\AbstractResponse' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Response/StoreWebhookResponse.php:7
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\WC\\Gateway\\AbstractGateway' not found in wp-content/plugins/nodeless-for-woocommerce/src/Gateway/DefaultGateway.php:8
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\Exception\\RequestException' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Exception/BadRequestException.php:7
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\Exception\odelessIOException' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Exception/RequestException.php:9
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\Response\\AbstractListResponse' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Response/StoreInvoiceListResponse.php:7
- > PHP Fatal error
Uncaught Error: Class 'NodelessIO\\Client\\AbstractClient' not found in wp-content/plugins/nodeless-for-woocommerce/vendor/nodeless-io/nodeless-php/src/Client/StoreClient.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: cryptocurrency, bitcoin plugin, payment gateway, accept bitcoin, woocommerce...
nodeless-for-woocommerce/nodeless-for-woocommerce.php 92% from 13 tests
"Nodeless for WooCommerce" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.9" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,873 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 584 | 657 | 2,733 |
JSON | 1 | 0 | 0 | 59 |
JavaScript | 2 | 3 | 2 | 46 |
XML | 1 | 0 | 0 | 15 |
SVG | 1 | 0 | 1 | 14 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 3 | 7.50% |
▷ Concrete classes | 37 | 92.50% |
▷ Final classes | 0 | 0.00% |
Methods | 215 | |
▷ Static methods | 34 | 15.81% |
▷ Public methods | 199 | 92.56% |
▷ Protected methods | 12 | 5.58% |
▷ Private methods | 4 | 1.86% |
Functions | 13 | |
▷ Named functions | 1 | 7.69% |
▷ Anonymous functions | 12 | 92.31% |
Constants | 27 | |
▷ Global constants | 5 | 18.52% |
▷ Class constants | 22 | 81.48% |
▷ Public constants | 22 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/icon-256x256.png | 16.46KB | 6.79KB | ▼ 58.78% |
assets/images/bitcoin-logo.png | 3.56KB | 1.90KB | ▼ 46.73% |
.wordpress-org/banner-772x250.png | 41.09KB | 13.01KB | ▼ 68.34% |
.wordpress-org/banner-1544x500.png | 88.74KB | 30.13KB | ▼ 66.05% |
.wordpress-org/icon-128x128.png | 6.52KB | 2.93KB | ▼ 55.01% |