Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.36ms] Passed 4 tests
Server-side resources used by Embed Google Datastudio
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 45.38 ▲1.37 |
Dashboard /wp-admin | 3.35 ▲0.01 | 52.37 ▼13.38 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 55.92 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 87.09 ▼18.88 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 43.01 ▲4.53 |
All GDS /wp-admin/edit.php?post_type=gds | 3.32 | 39.19 |
Add New /wp-admin/post-new.php?post_type=gds | 3.31 | 42.96 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Embed Google Datastudio
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 14.26 ▼0.11 | 1.84 ▼0.10 | 44.42 ▲2.47 |
Dashboard /wp-admin | 2,222 ▲51 | 5.62 ▲0.02 | 90.12 ▲1.53 | 42.77 ▲0.22 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.04 ▲0.07 | 39.49 ▼5.55 | 36.45 ▼4.21 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.69 ▲0.06 | 656.93 ▼15.09 | 58.80 ▼1.89 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.23 ▲0.09 | 96.52 ▼5.15 | 47.00 ▼2.53 |
All GDS /wp-admin/edit.php?post_type=gds | 1,083 | 1.93 | 31.93 | 28.00 |
Add New /wp-admin/post-new.php?post_type=gds | 1,530 | 2.53 | 55.83 | 69.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: google data studio report, embed google data studio, google data studio
embed-google-data-studio/embed-google-data-studio.php 92% from 13 tests
The main PHP file in "Embed Google Datastudio" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected147 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 44 | 147 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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