Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼5.21ms] Passed 4 tests
This is a short check of server-side resources used by Inline Google Spreadsheet Viewer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 39.91 ▲0.33 |
Dashboard /wp-admin | 3.55 ▲0.21 | 53.88 ▼5.97 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 45.78 ▼0.29 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 83.52 ▼14.91 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 36.45 ▲3.46 |
Inline Google Spreadsheet Viewer /wp-admin/options-general.php?page=gdoc_settings | 3.44 | 31.57 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 73 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
gdoc_settings |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Inline Google Spreadsheet Viewer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲232 | 57.77 ▲43.15 | 379.73 ▲377.92 | 43.12 ▲2.99 |
Dashboard /wp-admin | 2,229 ▲47 | 5.25 ▲0.33 | 106.81 ▲3.56 | 45.32 ▲2.33 |
Posts /wp-admin/edit.php | 2,178 ▲86 | 2.35 ▲0.34 | 36.26 ▼5.25 | 31.69 ▼4.14 |
Add New Post /wp-admin/post-new.php | 1,611 ▲97 | 23.57 ▲6.08 | 642.80 ▼46.32 | 34.21 ▼25.85 |
Media Library /wp-admin/upload.php | 1,472 ▲84 | 4.62 ▲0.40 | 98.74 ▼9.69 | 42.27 ▼4.76 |
Inline Google Spreadsheet Viewer /wp-admin/options-general.php?page=gdoc_settings | 928 | 2.08 | 25.23 | 35.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% 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:
- Tags: You are using too many tags: 16 tag instead of maximum 10
inline-google-spreadsheet-viewer/inline-gdocs-viewer.php 77% from 13 tests
The principal PHP file in "Inline Google Spreadsheet Viewer" v. 0.13.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("inline-google-spreadsheet-viewer.php" instead of "inline-gdocs-viewer.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 553 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 detected4,694 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 303 | 441 | 3,248 |
JSON | 62 | 123 | 0 | 1,257 |
JavaScript | 2 | 11 | 21 | 164 |
CSS | 1 | 0 | 14 | 25 |
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.49 |
Average class complexity | 92.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 248.00 |
Average method complexity | 7.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 29 | 26.36% |
▷ Public methods | 37 | 33.64% |
▷ Protected methods | 9 | 8.18% |
▷ Private methods | 64 | 58.18% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 11 | 78.57% |
▷ Class constants | 3 | 21.43% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin