Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.14ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce + Masterway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 49.67 ▲8.58 |
Dashboard /wp-admin | 3.51 ▲0.16 | 48.87 ▼14.86 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 48.00 ▼2.97 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 98.03 ▲2.92 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 39.25 ▲2.37 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce + Masterway
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲54 | 13.92 ▼0.48 | 1.83 ▲0.06 | 44.37 ▼2.66 |
Dashboard /wp-admin | 2,195 ▲18 | 5.56 ▼0.05 | 83.74 ▼5.98 | 38.40 ▼2.98 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.01 | 36.18 ▼3.30 | 34.40 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.38 ▼5.46 | 628.33 ▼33.12 | 66.41 ▼2.38 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.20 ▼0.04 | 101.94 ▲7.67 | 42.06 ▼2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.soap_val.php:17
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.soap_transport_http.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.soapclient.php:26
- > PHP Fatal error
require_once(): Failed opening required 'Mail/mimeDecode.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.soap_fault.php:14
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.soap_parser.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.wsdl.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.soap_server.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-masterway/woo-includes/woo-functions.php:305
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woo-masterway/MasterwayRequest-PHP-API/lib/nusoap/class.xmlschema.php:15
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: ecommerce, woocommerce, billing, invoicing, masterway...
woo-masterway/woocommerce-masterway.php 92% from 13 tests
The primary PHP file in "WooCommerce + Masterway" version 1.2.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-masterway.php" instead of "woocommerce-masterway.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin12,831 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 1,113 | 5,382 | 12,704 |
PO File | 1 | 45 | 44 | 125 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
An overview 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.46 |
Average class complexity | 72.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 390.00 |
Average method complexity | 8.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 39 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 375 | |
▷ Static methods | 2 | 0.53% |
▷ Public methods | 375 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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