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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.37ms] Passed 4 tests
A check of server-side resources used by GINBOX for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 32.81 ▼15.96 |
Dashboard /wp-admin | 3.33 ▲0.02 | 42.69 ▼5.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.82 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.02 ▼20.17 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.85 ▲2.45 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by GINBOX for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.63 ▼0.96 | 1.47 ▼0.48 | 38.69 ▼6.19 |
Dashboard /wp-admin | 2,213 ▲22 | 4.85 ▼0.06 | 111.79 ▲12.01 | 43.66 ▼0.75 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.00 | 40.41 ▲6.22 | 38.63 ▲3.46 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 18.35 ▲0.68 | 617.40 ▼88.21 | 53.83 ▼5.12 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.05 | 98.62 ▼6.17 | 42.36 ▼7.59 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- 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 | 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
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Ginbox_API' not found in wp-content/plugins/ginbox-for-woocommerce/includes/class-wc-ginbox-public.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ginbox-for-woocommerce/includes/class-wc-ginbox-admin.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: shipping address, ginbox, autofill address, woocommerce ginbox, billing address
ginbox-for-woocommerce/ginbox-for-woocommerce.php 92% from 13 tests
The main PHP script in "GINBOX for WooCommerce" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("5.2.4" instead of "5.2")
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
Good job! No executable or dangerous file extensions detected573 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 93 | 224 | 288 |
CSS | 4 | 1 | 2 | 149 |
JavaScript | 2 | 7 | 24 | 136 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 11 | 45.83% |
▷ Public methods | 21 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin