Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.03ms] Passed 4 tests
Analyzing server-side resources used by Exclude IPs From Google Analytics
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 47.80 ▲4.04 |
Dashboard /wp-admin | 3.33 ▼0.02 | 51.22 ▼13.92 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.60 ▼1.58 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 99.47 ▲0.20 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 38.01 ▲3.18 |
Analytics /wp-admin/options-general.php?page=analytics-plugin-settings | 3.21 | 34.05 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Exclude IPs From Google Analytics
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲43 | 14.27 ▼0.28 | 1.74 ▲0.10 | 43.40 ▼3.26 |
Dashboard /wp-admin | 2,202 ▲21 | 5.60 ▼0.09 | 85.09 ▼20.60 | 39.24 ▼5.29 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.05 ▲0.04 | 39.11 ▲0.50 | 38.88 ▲3.20 |
Add New Post /wp-admin/post-new.php | 1,550 ▲3 | 23.00 ▼0.51 | 616.31 ▼78.73 | 47.15 ▼15.33 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.33 ▲0.06 | 98.88 ▼3.85 | 45.86 ▼1.65 |
Analytics /wp-admin/options-general.php?page=analytics-plugin-settings | 803 | 2.03 | 28.32 | 29.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-includes/option.php+2520
Undefined index: evg_ext_woo_settings_id
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=analytics-plugin-settings
- > Notice in wp-content/plugins/exclude-ips-from-google-analytics/functions.php+61
Trying to access array offset on value of type bool
SRP 50% 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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/exclude-ips-from-google-analytics/index.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/exclude-ips-from-google-analytics/settings_form.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: google analytics, analytics, seo, tracking
exclude-ips-from-google-analytics/index.php 92% from 13 tests
"Exclude IPs From Google Analytics" version 1.00's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("exclude-ips-from-google-analytics.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected124 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 57 | 23 | 124 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin