Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.89MB] [CPU: ▼32.45ms] Passed 4 tests
Analyzing server-side resources used by Stylish Google Sheet Reader - Embed Google Sheets As Responsive Data Tables
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.79 ▼4.74 |
Dashboard /wp-admin | 3.05 ▼0.25 | 23.01 ▼25.46 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 26.56 ▼20.85 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 25.10 ▼69.06 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 19.66 ▼14.44 |
Manage Sheets /wp-admin/admin.php?page=SGSR_ManageSheets | 3.05 | 24.59 |
Upgrade to Pro /wp-admin/admin.php?page=SGSR_upgrade | 3.05 | 30.40 |
Stylish Google Sheet Reader /wp-admin/admin.php?page=MAINMENUSGSR | 3.05 | 25.84 |
Support /wp-admin/admin.php?page=SupportSGSR | 3.05 | 24.50 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 42 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_stylish_gsr1 |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Stylish Google Sheet Reader - Embed Google Sheets As Responsive Data Tables
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲103 | 14.79 ▲0.41 | 2.06 ▲0.11 | 40.26 ▼4.93 |
Dashboard /wp-admin | 2,238 ▲50 | 5.83 ▲0.93 | 98.23 ▼5.69 | 41.87 ▼1.16 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.06 ▲0.05 | 40.19 ▼2.40 | 36.91 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 23.25 ▲4.78 | 657.47 ▲32.78 | 53.96 ▼3.10 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.15 ▼0.06 | 95.17 ▼2.74 | 44.50 ▲3.34 |
Manage Sheets /wp-admin/admin.php?page=SGSR_ManageSheets | 2,057 | 2.09 | 42.97 | 74.23 |
Upgrade to Pro /wp-admin/admin.php?page=SGSR_upgrade | 1,030 | 2.55 | 40.83 | 43.90 |
Stylish Google Sheet Reader /wp-admin/admin.php?page=MAINMENUSGSR | 884 | 2.07 | 35.88 | 35.98 |
Support /wp-admin/admin.php?page=SupportSGSR | 978 | 2.20 | 34.74 | 34.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SupportSGSR
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% from 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
Please fix the following
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/stylish-google-sheet-reader/Pages/activation.php
- > /wp-content/plugins/stylish-google-sheet-reader/Pages/manage_sheets.php
- > /wp-content/plugins/stylish-google-sheet-reader/Pages/pro.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/stylish-google-sheet-reader/SGSR.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/stylish-google-sheet-reader/Pages/info/info.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function SGSR_GETAllData() in wp-content/plugins/stylish-google-sheet-reader/Pages/manage_sheets.php:313
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/stylish-google-sheet-reader/Pages/support.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SupportSGSR
- > Javascript (severe) in unknown
/wp-content/plugins/stylish-google-sheet-reader/JS/pages.js?ver=2 2:55 Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')
- > GET request to /wp-admin/admin.php?page=SGSR_ManageSheets
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=SGSR_ManageSheets - Access to XMLHttpRequest at 'https://wppluginbox.com/API/SGSR/starter/update.php' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SupportSGSR
- > Network (severe)
https://wppluginbox.com/API/SGSR/starter/update.php - Failed to load resource: net::ERR_FAILED
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=SupportSGSR
- > Javascript (severe) in unknown
/wp-content/plugins/stylish-google-sheet-reader/JS/info.js?ver=2 15:13 Uncaught TypeError: Cannot set properties of undefined (setting 'onclick')
- > GET request to /wp-admin/admin.php?page=SGSR_upgrade
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=SGSR_upgrade - Access to XMLHttpRequest at 'https://wppluginbox.com/API/SGSR/starter/update.php' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=MAINMENUSGSR
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=MAINMENUSGSR - Access to XMLHttpRequest at 'https://wppluginbox.com/API/SGSR/starter/update.php' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=SupportSGSR
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=SupportSGSR - Access to XMLHttpRequest at 'https://wppluginbox.com/API/SGSR/starter/update.php' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 86% 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
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
stylish-google-sheet-reader/SGSR.php 77% from 13 tests
The main PHP script in "Stylish Google Sheet Reader - Embed Google Sheets As Responsive Data Tables" version 3.6 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("stylish-google-sheet-reader.php" instead of "SGSR.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,494 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 153 | 59 | 1,607 |
PHP | 9 | 253 | 31 | 717 |
JavaScript | 10 | 24 | 0 | 165 |
SVG | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 18 | |
▷ Named functions | 18 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 1.45MB with 0.84MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Pages/info/info-1.PNG | 45.57KB | 16.22KB | ▼ 64.41% |
Pages/info/screenshot-4.png | 308.32KB | 105.08KB | ▼ 65.92% |
skin/icon/searchicon.png | 0.84KB | 0.46KB | ▼ 45.23% |
JS/tipx/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
Pages/info/clear-cache-2.PNG | 879.51KB | 237.26KB | ▼ 73.02% |