Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲4.77MB] [CPU: ▲28.40ms] Passed 4 tests
Server-side resources used by Site Kit by Google - Analytics, Search Console, AdSense, Speed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.12 ▲4.66 | 68.92 ▲26.58 |
Dashboard /wp-admin | 8.14 ▲4.84 | 78.84 ▲28.27 |
Posts /wp-admin/edit.php | 8.18 ▲4.83 | 94.01 ▲42.10 |
Add New Post /wp-admin/post-new.php | 10.78 ▲4.89 | 119.51 ▲23.88 |
Media Library /wp-admin/upload.php | 7.99 ▲4.76 | 69.63 ▲34.87 |
Dashboard /wp-admin/admin.php?page=googlesitekit-splash | 9.51 | 98.02 |
Server storage [IO: ▲10.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 1,287 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
googlesitekit_db_version |
widget_recent-comments |
can_compress_scripts |
googlesitekit_has_connected_admins |
Browser metrics Passed 4 tests
Site Kit by Google - Analytics, Search Console, AdSense, Speed: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲59 | 14.26 ▲0.01 | 1.66 ▲0.03 | 36.91 ▼8.43 |
Dashboard /wp-admin | 2,223 ▲46 | 5.66 ▲0.03 | 96.93 ▲1.09 | 41.72 ▼0.81 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.00 ▲0.05 | 41.20 ▲0.73 | 35.38 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 22.60 ▼1.05 | 637.14 ▲18.33 | 57.87 ▲5.19 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.32 ▲0.12 | 99.13 ▲1.75 | 42.52 ▲0.41 |
Dashboard /wp-admin/admin.php?page=googlesitekit-splash | 996 | 9.37 | 305.36 | 104.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- googlesitekit_has_connected_admins
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- googlesitekit_db_version
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 990× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit_Dependencies\\Google\\Model' not found in wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/FilterRef.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit_Dependencies\\GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/google-site-kit/third-party/guzzlehttp/promises/src/AggregateException.php:8
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit_Dependencies\\Google\\Collection' not found in wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/SearchConsole/WmxSitemap.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit_Dependencies\\Google\\Service' not found in wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/TagManager.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Google\\Site_Kit\\Modules\\Analytics_4\\Report\\Dimension_Filter\\Filter' not found in wp-content/plugins/google-site-kit/includes/Modules/Analytics_4/Report/Dimension_Filter/In_List_Filter.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Google\\Site_Kit\\Core\\Storage\\Options_Interface' not found in wp-content/plugins/google-site-kit/includes/Core/Storage/Encrypted_Options.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit\\Core\\Modules\\Module' not found in wp-content/plugins/google-site-kit/includes/Modules/Site_Verification.php:44
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit_Dependencies\\Google\\Collection' not found in wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaListAccountSummariesResponse.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit_Dependencies\\Google\\Collection' not found in wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/Analytics/Segments.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Site_Kit_Dependencies\\Google\\Model' not found in wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/GoogleAnalyticsAdmin/GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: adsense, tag-manager, search-console, pagespeed-insights, google...
google-site-kit/google-site-kit.php Passed 13 tests
The entry point to "Site Kit by Google - Analytics, Search Console, AdSense, Speed" version 1.114.0 is a PHP file that has certain tags in its header comment area
125 characters long description:
Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin70,947 lines of code in 1,285 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,243 | 6,434 | 68,389 | 70,316 |
JavaScript | 37 | 0 | 420 | 612 |
Dockerfile | 1 | 8 | 0 | 10 |
JSON | 1 | 0 | 0 | 6 |
CSS | 3 | 0 | 0 | 3 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 102 | |
Interfaces | 59 | |
Traits | 24 | |
Classes | 1,149 | |
▷ Abstract classes | 21 | 1.83% |
▷ Concrete classes | 1,128 | 98.17% |
▷ Final classes | 82 | 7.27% |
Methods | 8,323 | |
▷ Static methods | 309 | 3.71% |
▷ Public methods | 7,392 | 88.81% |
▷ Protected methods | 417 | 5.01% |
▷ Private methods | 514 | 6.18% |
Functions | 524 | |
▷ Named functions | 77 | 14.69% |
▷ Anonymous functions | 447 | 85.31% |
Constants | 476 | |
▷ Global constants | 52 | 10.92% |
▷ Class constants | 424 | 89.08% |
▷ Public constants | 424 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin