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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.31ms] Passed 4 tests
Analyzing server-side resources used by Integrate GA4 Google Analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.45 ▲3.63 |
Dashboard /wp-admin | 3.33 ▼0.01 | 52.84 ▼13.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.47 ▼4.86 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.24 ▼7.54 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.35 ▲0.42 |
Integrate GA4 Google Analytics /wp-admin/options-general.php?page=integrate-ga-analytics | 3.22 | 34.50 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Integrate GA4 Google Analytics
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.77 ▲0.02 | 1.89 ▼0.08 | 46.18 ▲1.20 |
Dashboard /wp-admin | 2,213 ▲13 | 5.83 ▼0.05 | 106.34 ▼8.71 | 41.63 ▼2.86 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.02 ▼0.03 | 38.04 ▼0.27 | 38.74 ▲5.23 |
Add New Post /wp-admin/post-new.php | 1,548 ▼1 | 23.16 ▼0.01 | 609.09 ▼82.58 | 69.09 ▼4.64 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▼0.01 | 101.69 ▼15.83 | 46.70 ▲0.64 |
Integrate GA4 Google Analytics /wp-admin/options-general.php?page=integrate-ga-analytics | 854 | 2.02 | 29.16 | 35.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: ga, google analytics plugin, integrate ga4 google analytics, obadiah, tracking...
integrate-ga4-google-analytics/integrate-ga4-google-analytics.php Passed 13 tests
The entry point to "Integrate GA4 Google Analytics" version 1.2 is a PHP file that has certain tags in its header comment area
104 characters long description:
A simple, lightweight plugin to easily integrate Google Analytics GA4 tracking into your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin110 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 24 | 110 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 12 | |
▷ Named functions | 12 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin