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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.56ms] Passed 4 tests
Analyzing server-side resources used by WPC Variation Duplicator for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.59 ▲0.87 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.42 ▼3.52 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.22 ▼1.74 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 80.65 ▼12.21 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.73 ▼0.75 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 32.23 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.21 | 31.73 |
Server storage [IO: ▲0.08MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPC Variation Duplicator for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.15 ▼1.28 | 1.74 ▼0.08 | 42.96 ▼4.68 |
Dashboard /wp-admin | 2,283 ▲92 | 4.85 ▼0.06 | 109.42 ▲2.61 | 83.95 ▲47.39 |
Posts /wp-admin/edit.php | 2,166 ▲77 | 2.05 ▲0.05 | 35.75 ▼2.22 | 34.78 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,598 ▲64 | 23.25 ▲0.11 | 793.24 ▲115.96 | 54.66 ▼3.92 |
Media Library /wp-admin/upload.php | 1,462 ▲74 | 4.26 ▲0.07 | 98.19 ▼2.95 | 80.56 ▲37.73 |
About /wp-admin/admin.php?page=wpclever | 1,393 | 2.11 | 31.66 | 35.94 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,723 | 2.16 | 36.88 | 56.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wpc-variation-duplicator/wpc-variation-duplicator.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in wpc-variation-duplicator/assets to your readme.txt
wpc-variation-duplicator/wpc-variation-duplicator.php Passed 13 tests
Analyzing the main PHP file in "WPC Variation Duplicator for WooCommerce" version 1.0.4
93 characters long description:
WPC Variation Duplicator helps you duplicate a variation with all properties in just 1-click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,831 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 208 | 147 | 946 |
PHP | 5 | 97 | 25 | 655 |
JavaScript | 3 | 31 | 4 | 172 |
SVG | 1 | 0 | 0 | 29 |
Sass | 1 | 3 | 0 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 14.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
There were not PNG files found in your plugin