Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.52ms] Passed 4 tests
Server-side resources used by Embed and Integrate Etsy Shop
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.20 ▲1.62 |
Dashboard /wp-admin | 3.37 ▲0.06 | 44.41 ▼1.10 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 43.46 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 79.87 ▼13.45 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.00 ▲0.30 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Embed and Integrate Etsy Shop
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲169 | 13.57 ▼1.02 | 8.72 ▲6.82 | 42.48 ▲2.12 |
Dashboard /wp-admin | 2,221 ▲29 | 6.04 ▲1.11 | 101.25 ▼20.54 | 82.69 ▲37.86 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.02 ▼0.03 | 33.13 ▼6.09 | 29.51 ▼4.28 |
Add New Post /wp-admin/post-new.php | 1,681 ▲139 | 21.94 ▲3.75 | 679.69 ▲19.33 | 54.21 ▼4.51 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.21 ▼0.03 | 108.69 ▲9.45 | 43.52 ▼2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/embed-and-integrate-etsy-shop/admin/partials/embed-integrate-etsy-shop-admin-display.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
4 plugin tags: integrate, etsy, shop, embed
embed-and-integrate-etsy-shop/embed-integrate-etsy-shop.php 77% from 13 tests
Analyzing the main PHP file in "Embed and Integrate Etsy Shop" version 1.0.1
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 161 characters long)
- 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("embed-and-integrate-etsy-shop.php" instead of "embed-integrate-etsy-shop.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin677 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 54 | 4 | 352 |
PHP | 12 | 153 | 499 | 306 |
JavaScript | 2 | 8 | 27 | 19 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/imgs/icon-34x34.png | 0.60KB | 0.26KB | ▼ 55.81% |
admin/imgs/logo.png | 15.53KB | 6.28KB | ▼ 59.56% |
admin/imgs/icon-16x16.png | 0.29KB | 0.20KB | ▼ 30.85% |