Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.43MB] [CPU: ▼2.68ms] Passed 4 tests
Server-side resources used by Datafeedr WooCommerce Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 35.59 ▼6.49 |
Dashboard /wp-admin | 3.76 ▲0.46 | 46.32 ▼2.06 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 52.57 ▲5.92 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 94.52 ▼5.56 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 37.18 ▲3.41 |
WC Importer /wp-admin/admin.php?page=dfrpswc_options | 3.59 | 30.70 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
dfrpswc_version |
Browser metrics Passed 4 tests
A check of browser resources used by Datafeedr WooCommerce Importer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲55 | 14.69 ▲0.46 | 1.69 ▲0.02 | 35.54 ▼7.98 |
Dashboard /wp-admin | 2,222 ▲48 | 5.61 ▼0.01 | 94.84 ▼9.94 | 39.74 ▼6.88 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.09 ▲0.08 | 40.65 ▲3.12 | 37.48 ▲3.43 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.25 ▼0.11 | 584.58 ▼76.13 | 53.58 ▼1.98 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.18 ▼0.04 | 101.08 ▲6.29 | 42.37 ▲1.85 |
WC Importer /wp-admin/admin.php?page=dfrpswc_options | 934 | 2.17 | 23.57 | 37.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- dfrpswc_version
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tested up to: Version format is invalid
datafeedr-woocommerce-importer/datafeedr-woocommerce-importer.php 85% from 13 tests
The primary PHP file in "Datafeedr WooCommerce Importer" version 1.3.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Please keep the plugin description shorter than 140 characters (currently 365 characters long)
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
No dangerous file extensions were detected1,989 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 646 | 1,539 | 1,989 |
PHP code Passed 2 tests
An overview 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.35 |
Average class complexity | 25.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 52.46% |
▷ Protected methods | 8 | 13.11% |
▷ Private methods | 21 | 34.43% |
Functions | 81 | |
▷ Named functions | 79 | 97.53% |
▷ Anonymous functions | 2 | 2.47% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin