Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲3.88MB] [CPU: ▲18.86ms] Passed 4 tests
An overview of server-side resources used by Analytify - Google Analytics Dashboard For WordPress (GA4 analytics made easy)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.31 ▲3.85 | 58.14 ▲17.74 |
Dashboard /wp-admin | 7.20 ▲3.90 | 71.61 ▲24.53 |
Posts /wp-admin/edit.php | 7.25 ▲3.89 | 87.06 ▲37.64 |
Add New Post /wp-admin/post-new.php | 9.78 ▲3.90 | 102.15 ▲6.86 |
Media Library /wp-admin/upload.php | 7.10 ▲3.87 | 62.21 ▲26.29 |
Analytify Logs /wp-admin/admin.php?page=analytify-logs | 7.18 | 60.84 |
PRO vs FREE /wp-admin/admin.php?page=analytify-go-pro | 7.10 | 56.24 |
Dashboards /wp-admin/admin.php?page=analytify-dashboard | 6.88 | 46.13 |
Settings /wp-admin/admin.php?page=analytify-settings | 6.93 | 44.04 |
Activate /wp-admin/admin.php?page=analytify-optin | 7.23 | 59.30 |
Add-ons /wp-admin/admin.php?page=analytify-addons | 6.88 | 41.94 |
Analytify Promo /wp-admin/admin.php?page=analytify-promo | 7.13 | 55.06 |
Server storage [IO: ▲21.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2,202 new files
Database: no new tables, 19 new options
New WordPress options |
---|
wp-analytify-advanced |
wp-analytify-dashboard |
wp-analytify-admin |
analytify_default_settings |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
wp_analytify_modules |
db_upgraded |
analytify_current_version |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Analytify - Google Analytics Dashboard For WordPress (GA4 analytics made easy)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,296 ▲534 | 15.08 ▲0.69 | 5.51 ▲3.68 | 37.42 ▼9.84 |
Dashboard /wp-admin | 2,553 ▲379 | 6.51 ▲0.93 | 121.92 ▲21.64 | 120.14 ▲77.27 |
Posts /wp-admin/edit.php | 2,435 ▲335 | 3.93 ▲1.91 | 70.96 ▲34.56 | 84.39 ▲47.79 |
Add New Post /wp-admin/post-new.php | 1,644 ▲113 | 23.58 ▲0.74 | 665.83 ▼18.93 | 108.05 ▲54.70 |
Media Library /wp-admin/upload.php | 1,547 ▲150 | 4.34 ▲0.20 | 97.64 ▼5.01 | 83.83 ▲40.49 |
Analytify Logs /wp-admin/admin.php?page=analytify-logs | 1,118 | 3.06 | 42.50 | 67.74 |
PRO vs FREE /wp-admin/admin.php?page=analytify-go-pro | 1,282 | 3.05 | 45.04 | 93.12 |
Dashboards /wp-admin/admin.php?page=analytify-dashboard | 1,566 | 3.12 | 45.75 | 144.55 |
Settings /wp-admin/admin.php?page=analytify-settings | 1,569 | 3.12 | 49.57 | 115.35 |
Activate /wp-admin/admin.php?page=analytify-optin | 1,573 | 3.13 | 39.26 | 107.93 |
Add-ons /wp-admin/admin.php?page=analytify-addons | 1,578 | 3.12 | 44.46 | 137.84 |
Analytify Promo /wp-admin/admin.php?page=analytify-promo | 1,294 | 3.59 | 46.61 | 79.80 |
Help /wp-admin/admin.php?page=analytify-settings#wp-analytify-help | 1,569 | 3.13 | 44.40 | 121.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 19 options
- analytify_logs_setup
- theysaidso_admin_options
- WP_ANALYTIFY_PLUGIN_VERSION
- wp-analytify-profile
- analytify_default_settings
- wp-analytify-advanced
- widget_theysaidso_widget
- wp_analytify_modules
- wp-analytify-admin
- analytify_free_upgrade_routine
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-analytify/inc/analytify-optin-form.php
- 1287× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/apiclient-services/src/Analytics/Goal.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/common-protos/src/Rpc/Help.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/analytics-data/src/V1beta/PropertyQuota.php:17
- > PHP Fatal error
Uncaught Error: Class 'Google\\Protobuf\\Internal\\Message' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/common-protos/src/Api/MonitoredResourceDescriptor.php:22
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/apiclient-services/src/Analytics/ExperimentParentLink.php:20
- > PHP Fatal error
Uncaught Error: Class 'Analytify\\phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS1.php:27
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/apiclient-services/src/Analytics/RemarketingAudienceStateBasedAudienceDefinition.php:20
- > PHP Fatal error
Uncaught Error: Class 'Google\\Service\\Resource' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/apiclient-services/src/SearchConsole/Resource/UrlInspection.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Analytify\\Psr\\Cache\\CacheException' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/psr/cache/src/InvalidArgumentException.php:11
- > PHP Fatal error
Uncaught Error: Class 'Google\\Model' not found in wp-content/plugins/wp-analytify/lib/Google-GA4/vendor/google/apiclient-services/src/Analytics/IncludeConditions.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: There are too many tags (18 tag instead of maximum 10)
wp-analytify/wp-analytify.php Passed 13 tests
"Analytify - Google Analytics Dashboard For WordPress (GA4 analytics made easy)" version 5.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
109 characters long description:
Analytify brings a brand new and modern feeling of Google Analytics superbly integrated within the WordPress.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected272,925 lines of code in 2,050 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,923 | 27,039 | 147,699 | 242,369 |
PO File | 8 | 4,116 | 7,178 | 11,664 |
Markdown | 49 | 2,082 | 0 | 5,939 |
CSS | 7 | 415 | 227 | 5,849 |
JSON | 34 | 0 | 0 | 3,610 |
JavaScript | 16 | 661 | 406 | 3,208 |
SVG | 6 | 0 | 5 | 157 |
Protocol Buffers | 2 | 14 | 38 | 64 |
XML | 3 | 0 | 1 | 51 |
Bourne Shell | 2 | 4 | 0 | 14 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 670.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 104.00 |
Code structure | ||
---|---|---|
Namespaces | 198 | |
Interfaces | 57 | |
Traits | 28 | |
Classes | 4,019 | |
▷ Abstract classes | 229 | 5.70% |
▷ Concrete classes | 3,790 | 94.30% |
▷ Final classes | 66 | 1.74% |
Methods | 29,130 | |
▷ Static methods | 1,297 | 4.45% |
▷ Public methods | 27,916 | 95.83% |
▷ Protected methods | 469 | 1.61% |
▷ Private methods | 745 | 2.56% |
Functions | 287 | |
▷ Named functions | 111 | 38.68% |
▷ Anonymous functions | 176 | 61.32% |
Constants | 1,253 | |
▷ Global constants | 32 | 2.55% |
▷ Class constants | 1,221 | 97.45% |
▷ Public constants | 1,183 | 96.89% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
58 compressed PNG files occupy 0.55MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
assets/img/admin-end.png | 29.28KB | 29.85KB | 0.00% |
assets/img/authenticate2.png | 7.72KB | 8.13KB | 0.00% |
assets/img/blue.png | 25.85KB | 26.31KB | 0.00% |
assets/img/aa.png | 13.27KB | 13.94KB | 0.00% |