Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.74ms] Passed 4 tests
Server-side resources used by EmbedTables - Embed Google Sheets on website
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.37 ▼4.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.32 ▼1.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.01 ▲1.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.35 ▼22.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.83 ▼2.55 |
Server storage [IO: ▲3.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
EmbedTables - Embed Google Sheets on website: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲134 | 13.39 ▼1.01 | 11.35 ▲8.88 | 50.39 ▲4.65 |
Dashboard /wp-admin | 2,224 ▲36 | 5.89 ▲0.08 | 129.36 ▲19.57 | 67.61 ▲8.50 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.00 ▲0.01 | 35.73 ▼3.90 | 32.89 ▼6.42 |
Add New Post /wp-admin/post-new.php | 1,530 ▲16 | 23.13 ▼0.64 | 746.43 ▲24.21 | 51.81 ▼3.91 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.18 ▼0.00 | 94.78 ▼22.70 | 81.07 ▲31.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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 no errors were found, this is by no means 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/embedtables-embed-google-sheets-on-a-website/admin/view.php:74
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/embedtables-embed-google-sheets-on-a-website/embed-tables.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: google sheets, airtable
embedtables-embed-google-sheets-on-a-website/embed-tables.php 92% from 13 tests
The primary PHP file in "EmbedTables - Embed Google Sheets on website" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("embedtables-embed-google-sheets-on-a-website.php" instead of "embed-tables.php")
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
No dangerous file extensions were detected181 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 10 | 8 | 181 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 3.24MB with 2.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/new/step-3.png | 64.29KB | 27.77KB | ▼ 56.80% |
admin/images/already-have/step-2.png | 64.29KB | 27.77KB | ▼ 56.80% |
admin/images/already-have/step-1.png | 173.18KB | 41.55KB | ▼ 76.01% |
admin/images/new/step-1.png | 266.35KB | 68.38KB | ▼ 74.33% |
admin/images/new/step-2.png | 567.37KB | 163.80KB | ▼ 71.13% |