Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲11.30ms] Passed 4 tests
Server-side resources used by WP Window Shopper - Review & Product Boxes For Affiliate Websites
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 51.53 ▲12.25 |
Dashboard /wp-admin | 3.37 ▲0.07 | 60.44 ▲13.60 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 67.38 ▲19.52 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 96.64 ▼0.18 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 52.41 ▲20.83 |
Server storage [IO: ▲4.93MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 118 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_wpws_categories |
wp_wpws_templates |
wp_wpws_product_boxes |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Window Shopper - Review & Product Boxes For Affiliate Websites
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 13.22 ▼1.39 | 2.17 ▲0.38 | 36.46 ▼7.98 |
Dashboard /wp-admin | 2,222 ▲73 | 5.85 ▲0.23 | 101.64 ▼13.52 | 39.92 ▼1.70 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▼0.15 | 33.98 ▼7.23 | 31.69 ▼5.68 |
Add New Post /wp-admin/post-new.php | 1,555 ▲35 | 18.23 ▼4.70 | 652.45 ▼4.80 | 51.75 ▼2.41 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.21 ▼0.02 | 95.14 ▼9.64 | 44.21 ▼0.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
wp-window-shopper/wp-window-shopper.php Passed 13 tests
This is the main PHP file of "WP Window Shopper - Review & Product Boxes For Affiliate Websites" version 1.0.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
103 characters long description:
WP Window Shopper allows you to create and manage beautiful product boxes without any coding knowledge.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin20,622 lines of code in 99 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 16,047 |
JavaScript | 88 | 278 | 107 | 4,190 |
PHP | 3 | 21 | 32 | 370 |
HTML | 2 | 3 | 20 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 37 | |
▷ Named functions | 37 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.60MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpp-admin/public/wpws_banner.png | 46.21KB | 24.25KB | ▼ 47.51% |
assets/previews.png | 94.62KB | 34.98KB | ▼ 63.03% |
wpp-admin/build/wpws_icon.png | 10.19KB | 5.65KB | ▼ 44.52% |
wpp-admin/build/wpws_banner.png | 46.21KB | 24.25KB | ▼ 47.51% |
assets/templates.png | 191.54KB | 65.86KB | ▼ 65.61% |