Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.20MB] [CPU: ▲3.30ms] Passed 4 tests
A check of server-side resources used by Sheets To WP Table Live Sync
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.66 ▲1.19 | 42.49 ▼0.45 |
Dashboard /wp-admin | 4.51 ▲1.16 | 56.09 ▼5.31 |
Posts /wp-admin/edit.php | 4.62 ▲1.25 | 62.98 ▲13.08 |
Add New Post /wp-admin/post-new.php | 7.13 ▲1.24 | 109.27 ▲5.86 |
Media Library /wp-admin/upload.php | 4.44 ▲1.21 | 45.62 ▲13.61 |
Server storage [IO: ▲25.05MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- Filesystem usage must be lower than 25MB (currently using 25.05MB)
Filesystem: 310 new files
Database: 2 new tables, 18 new options
New tables |
---|
wp_gswpts_tabs |
wp_gswpts_tables |
New WordPress options |
---|
deafaultAffiliateInterval |
gswptsAffiliateNotice |
deafaultNoticeInterval |
can_compress_scripts |
deafaultUpgradeInterval |
link_support_mode |
widget_theysaidso_widget |
img_link_pro_support_has_run |
widget_recent-comments |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sheets To WP Table Live Sync
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,112 ▲325 | 14.31 ▼0.04 | 1.73 ▼0.09 | 27.32 ▼18.53 |
Dashboard /wp-admin | 2,480 ▲303 | 5.56 ▼0.08 | 95.99 ▼0.87 | 80.17 ▲33.29 |
Posts /wp-admin/edit.php | 2,399 ▲302 | 2.13 ▲0.12 | 38.74 ▲3.44 | 36.81 ▲4.24 |
Add New Post /wp-admin/post-new.php | 6,668 ▲5,134 | 28.55 ▲3.29 | 825.25 ▲214.96 | 79.24 ▲12.43 |
Media Library /wp-admin/upload.php | 1,689 ▲289 | 4.12 ▼0.08 | 101.65 ▲4.88 | 81.23 ▲41.38 |
Settings /wp-admin/admin.php?page=gswpts-dashboard#/settings | 1,236 | 7.73 | 423.14 | 75.21 |
Dashboard /wp-admin/admin.php?page=gswpts-dashboard#/ | 1,180 | 7.33 | 340.36 | 46.61 |
Get Started /wp-admin/admin.php?page=gswpts-dashboard#/doc | 1,422 | 7.29 | 350.68 | 55.76 |
Manage Tab /wp-admin/admin.php?page=gswpts-dashboard#/tabs | 1,211 | 7.51 | 322.18 | 50.38 |
Recommended Plugins /wp-admin/admin.php?page=gswpts-dashboard#/recommendation | 1,170 | 7.26 | 359.37 | 43.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 12 options in the database
- widget_recent-comments
- link_support_code_has_run
- link_support_mode
- widget_theysaidso_widget
- widget_recent-posts
- gswptsManageTabs
- img_link_pro_support_has_run
- deafaultUpgradeInterval
- theysaidso_admin_options
- can_compress_scripts
- ...
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/sheets-to-wp-table-live-sync/app/templates/documentation_page.php:23
- > 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 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in sheets-to-wp-table-live-sync/assets to your readme.txt
sheets-to-wp-table-live-sync/sheets-to-wp-table-live-sync.php 85% from 13 tests
The primary PHP file in "Sheets To WP Table Live Sync" version 3.3.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 195 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin115,246 lines of code in 217 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 21 | 12,903 | 25,612 | 76,045 |
Sass | 32 | 1,744 | 59 | 10,389 |
CSS | 17 | 805 | 806 | 10,103 |
PHP | 54 | 1,873 | 3,349 | 8,610 |
TypeScript | 36 | 489 | 78 | 4,894 |
SVG | 50 | 5 | 13 | 3,901 |
PO File | 1 | 372 | 400 | 960 |
Markdown | 1 | 65 | 0 | 179 |
JSON | 3 | 0 | 0 | 76 |
XML | 1 | 16 | 38 | 64 |
JSX | 1 | 3 | 0 | 25 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 28.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 71.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 359 | |
▷ Static methods | 32 | 8.91% |
▷ Public methods | 284 | 79.11% |
▷ Protected methods | 13 | 3.62% |
▷ Private methods | 62 | 17.27% |
Functions | 9 | |
▷ Named functions | 3 | 33.33% |
▷ Anonymous functions | 6 | 66.67% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.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
42 PNG files occupy 5.60MB with 2.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/wppool/halloween.png | 309.68KB | 124.62KB | ▼ 59.76% |
.wordpress-org/screenshot-2.png | 348.71KB | 161.44KB | ▼ 53.70% |
react/build/images/theme-three-dark-table.5eed58c6.png | 10.19KB | 4.89KB | ▼ 52.03% |
assets/public/common/datatables/tables/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
.wordpress-org/screenshot-4.png | 349.19KB | 152.06KB | ▼ 56.45% |