Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼198.77ms] Passed 4 tests
Analyzing server-side resources used by Custom Product Taxonomy To woo Exporter/importer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 30.93 ▲13.95 |
Dashboard /wp-admin | 3.10 ▲0.04 | 36.85 ▼10.03 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 38.49 ▼5.23 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.02 | 71.93 ▼784.43 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 28.31 ▲4.62 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Custom Product Taxonomy To woo Exporter/importer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲77 | 15.88 ▼0.18 | 8.80 ▼1.37 | 76.99 ▲2.96 |
Dashboard /wp-admin | 2,939 ▲43 | 6.11 ▼0.13 | 114.58 ▼20.71 | 167.44 ▼10.75 |
Posts /wp-admin/edit.php | 2,755 ▲18 | 3.23 ▼0.01 | 64.87 ▲0.82 | 134.24 ▲0.05 |
Add New Post /wp-admin/post-new.php | 3,706 ▼101 | 18.04 ▼0.46 | 422.24 ▼21.66 | 159.64 ▲0.06 |
Media Library /wp-admin/upload.php | 1,764 ▲12 | 5.54 ▲0.12 | 144.21 ▼0.25 | 191.47 ▲3.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (Set Custom Taxonomy after activation) image missing
- Donate link: Please fix this invalid URI: ""
add-custom-taxonomy-to-woo-exporter-importer/custom-taxonomy-to-woo-exporter-importer.php 85% from 13 tests
The entry point to "Custom Product Taxonomy To woo Exporter/importer" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("add-custom-taxonomy-to-woo-exporter-importer.php" instead of "custom-taxonomy-to-woo-exporter-importer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected240 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 78 | 78 | 231 |
Markdown | 1 | 5 | 0 | 9 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 PNG file occupies 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 78.84KB | 22.15KB | ▼ 71.91% |