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: ▼0.00MB] [CPU: ▼11.90ms] Passed 4 tests
This is a short check of server-side resources used by DoubleDome - Google Analytics Setup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.76 ▼5.37 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.23 ▼13.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.58 ▼5.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 77.98 ▼23.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.23 ▼2.08 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for DoubleDome - Google Analytics Setup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.10 ▼0.46 | 1.55 ▼0.09 | 40.93 ▲1.29 |
Dashboard /wp-admin | 2,210 ▲30 | 5.52 ▼0.07 | 84.69 ▼3.87 | 68.77 ▲25.29 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▼0.03 | 38.07 ▼2.36 | 34.12 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,554 ▲20 | 23.10 ▲4.59 | 657.44 ▲65.23 | 62.80 ▼1.53 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.08 ▼0.14 | 94.66 ▼28.00 | 80.53 ▲27.26 |
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: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: ga4, google analytics 4, ga, google analytics
doubledome-google-analytics/google-analytics-dd.php 92% from 13 tests
The main file in "DoubleDome - Google Analytics Setup" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("doubledome-google-analytics.php" instead of "google-analytics-dd.php")
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
Success! There were no dangerous files found in this plugin329 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 19 | 267 |
CSS | 1 | 2 | 0 | 47 |
JavaScript | 1 | 0 | 0 | 14 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
6 PNG files occupy 0.22MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dd-ga4-overview-icon.png | 5.97KB | 2.85KB | ▼ 52.21% |
assets/icon-128x128.png | 5.97KB | 2.85KB | ▼ 52.21% |
assets/doubledome.png | 0.52KB | 0.74KB | 0.00% |
assets/icon-256x256.png | 13.40KB | 5.41KB | ▼ 59.62% |
assets/banner-772x250.png | 58.01KB | 21.79KB | ▼ 62.44% |