Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.39ms] Passed 4 tests
Analyzing server-side resources used by Easy Web Analytics Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.43 ▼2.86 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.05 ▼1.33 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.98 ▼5.69 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.30 ▼15.67 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.71 ▲1.76 |
Easy Web Analytics Integration /wp-admin/options-general.php?page=googleanalyticsad | 3.20 | 30.10 |
Server storage [IO: ▲0.26MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
web_property_tc |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Web Analytics Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.23 | 4.41 ▲2.84 | 40.79 ▲2.72 |
Dashboard /wp-admin | 2,210 ▲18 | 5.83 ▲0.89 | 94.93 ▼19.12 | 38.74 ▼0.55 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.01 | 36.57 ▼3.03 | 41.53 ▲5.91 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.38 ▲0.33 | 679.94 ▲14.76 | 52.72 ▼5.17 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▲0.02 | 96.62 ▼0.35 | 45.48 ▲3.43 |
Easy Web Analytics Integration /wp-admin/options-general.php?page=googleanalyticsad | 892 | 2.05 | 26.93 | 27.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/easy-web-analytics-integration/options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-web-analytics-integration/googleanalytics.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Easy Web Analytics Integration Menu.), #2 (Easy Web Analytics Integration settings page.)
easy-web-analytics-integration/googleanalytics.php 92% from 13 tests
Analyzing the main PHP file in "Easy Web Analytics Integration" version 1.0.0
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-web-analytics-integration.php" instead of "googleanalytics.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin88 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 8 | 88 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
4 PNG files occupy 0.26MB with 0.13MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/step-2.png | 8.65KB | 8.54KB | ▼ 1.37% |
images/step-1.png | 76.09KB | 31.35KB | ▼ 58.81% |
Screenshot-02.png | 138.82KB | 40.63KB | ▼ 70.73% |
Screenshot-01.png | 37.70KB | 11.41KB | ▼ 69.75% |