Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.16ms] Passed 4 tests
An overview of server-side resources used by Custom Product Tabs for WooCommerce WP All Import Add-on
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 44.65 ▼1.36 |
Dashboard /wp-admin | 3.49 ▲0.18 | 54.18 ▼0.24 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.97 ▲1.53 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 85.46 ▼8.58 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 41.02 ▲5.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Product Tabs for WooCommerce WP All Import Add-on
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.18 ▼1.23 | 4.97 ▲3.11 | 45.39 ▼0.39 |
Dashboard /wp-admin | 2,223 ▲35 | 5.84 ▲0.95 | 100.45 ▼13.58 | 40.21 ▼3.70 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.00 ▲0.01 | 42.37 ▲4.20 | 34.28 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 23.34 ▲0.10 | 648.41 ▲6.61 | 50.09 ▲0.44 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.24 ▲0.04 | 99.29 ▼5.31 | 44.25 ▼4.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-product-tabs-wp-all-import-add-on/custom-product-tabs-wp-all-import-add-on.php on line 28
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/custom-product-tabs-wp-all-import-add-on/custom-product-tabs-wp-all-import-add-on.php on line 28
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/custom-product-tabs-wp-all-import-add-on/custom-product-tabs-wp-all-import-add-on.php on line 28
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: yikes, tab import, tabs, wp all import, custom product tabs...
custom-product-tabs-wp-all-import-add-on/custom-product-tabs-wp-all-import-add-on.php 77% from 13 tests
"Custom Product Tabs for WooCommerce WP All Import Add-on" version 2.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages/")
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.8" instead of "3.0.0")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,021 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 303 | 148 | 1,021 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 202.00 |
▷ Minimum class complexity | 202.00 |
▷ Maximum class complexity | 202.00 |
Average method complexity | 5.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin