Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/sheets2table/admin/class-sheets2table-admin.php+16
Function create_function() is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.46ms] Passed 4 tests
A check of server-side resources used by Sheets2Table
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.94 ▼32.45 |
Dashboard /wp-admin | 2.10 ▼1.24 | 5.44 ▼52.21 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.55 ▼41.81 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.27 ▼95.37 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.59 ▼29.13 |
Sheets2Table /wp-admin/options-general.php?page=sheets2table-admin | 2.10 | 5.76 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sheets2Table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.35 ▲0.00 | 1.68 ▼0.09 | 43.89 ▲3.09 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▲0.01 | 84.82 ▼1.94 | 39.15 ▼4.91 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.00 ▲0.02 | 34.11 ▼2.54 | 36.27 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.80 ▲0.63 | 601.63 ▼50.63 | 46.24 ▼6.67 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.19 ▼0.00 | 95.12 ▼12.12 | 41.85 ▼4.75 |
Sheets2Table /wp-admin/options-general.php?page=sheets2table-admin | 840 | 2.03 | 24.14 | 30.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/sheets2table/admin/class-sheets2table-admin.php+16
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sheets2table-admin
- > Deprecated in wp-content/plugins/sheets2table/admin/class-sheets2table-admin.php+16
Function create_function() is deprecated
SRP 50% 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 items
- 16× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/sheets2table/admin/sheets2table-admin-shortcodes.php
- > /wp-content/plugins/sheets2table/core/sheets2table-shortcodes.php
- > /wp-content/plugins/sheets2table/admin/sheets2table-admin-file-management.php
- > /wp-content/plugins/sheets2table/includes/class-sheets2table-shortcode-options.php
- > /wp-content/plugins/sheets2table/sheets2table.php
- > /wp-content/plugins/sheets2table/includes/sheets2table-functions.php
- > /wp-content/plugins/sheets2table/admin/sheets2table-admin-sheets.php
- > /wp-content/plugins/sheets2table/class-sheets2table.php
- > /wp-content/plugins/sheets2table/includes/class-sheets2table-save-as-file.php
- > /wp-content/plugins/sheets2table/includes/class-sheets2table-resources.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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: These screenshots lack descriptions #5, #6, #7 in sheets2table/assets to your readme.txt
sheets2table/sheets2table.php Passed 13 tests
The entry point to "Sheets2Table" version 0.4.1 is a PHP file that has certain tags in its header comment area
53 characters long description:
Sheets2Table builds an HTML table from a Google Sheet
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,052 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 416 | 1,155 | 904 |
CSS | 1 | 19 | 4 | 84 |
SVG | 1 | 0 | 0 | 64 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 13 | 20.00% |
▷ Public methods | 55 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 15.38% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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