Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.31ms] Passed 4 tests
Server-side resources used by WE - Google Analytics
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 41.50 ▼6.19 |
Dashboard /wp-admin | 3.40 ▲0.10 | 50.52 ▼1.21 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 55.17 ▼0.98 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.41 ▼16.85 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.14 ▲2.72 |
Google Analytics /wp-admin/options-general.php?page=ga-google-analytics | 3.32 | 36.32 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WE - Google Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▼0.31 | 1.60 ▲0.13 | 43.38 ▲2.24 |
Dashboard /wp-admin | 2,199 ▲31 | 5.65 ▲0.08 | 84.11 ▼8.74 | 38.35 ▼2.90 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.02 | 44.32 ▲7.81 | 37.75 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.01 ▲4.49 | 678.08 ▼24.84 | 64.74 ▼2.89 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▼0.02 | 95.25 ▼15.57 | 44.91 ▲2.53 |
Google Analytics /wp-admin/options-general.php?page=ga-google-analytics | 1,065 | 1.66 | 26.87 | 31.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
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
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (WE - GA Google Analytics: Plugin Settings (default)), #2 (WE - GA Google Analytics: Plugin Settings (expanded))
ga-google-analytics-by-esteem-host/ga-google-analytics.php 92% from 13 tests
"WE - Google Analytics" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ga-google-analytics-by-esteem-host.php" instead of "ga-google-analytics.php")
Code Analysis Passed 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 plugin610 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 337 | 42 | 573 |
CSS | 1 | 7 | 1 | 28 |
JavaScript | 1 | 9 | 1 | 9 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
There were not PNG files found in your plugin