Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'WindowsAzureEndUserAnalytics' does not have a method 'activate'
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.68ms] Passed 4 tests
A check of server-side resources used by Windows Azure End User Analytics for WordPress (Unofficial)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.61 ▲4.13 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.97 ▼15.90 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.97 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.35 ▼9.63 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.92 ▼1.09 |
Windows Azure End User Analytics (Unofficial) for WordPress Settings /wp-admin/options-general.php?page=windows-azure-end-user-analytics-unofficial_settings | 3.21 | 28.90 |
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 |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Windows Azure End User Analytics for WordPress (Unofficial)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲38 | 14.48 ▲0.15 | 1.86 ▼0.02 | 43.77 ▼0.91 |
Dashboard /wp-admin | 2,210 ▲25 | 5.85 ▲0.00 | 100.08 ▼3.96 | 39.76 ▼0.14 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.00 | 36.63 ▼2.24 | 34.99 ▲2.30 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.63 ▼5.45 | 589.95 ▼88.46 | 46.61 ▼20.78 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▼0.06 | 92.29 ▼11.88 | 42.10 ▼4.70 |
Windows Azure End User Analytics (Unofficial) for WordPress Settings /wp-admin/options-general.php?page=windows-azure-end-user-analytics-unofficial_settings | 690 | 1.35 | 6.76 | 17.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'WindowsAzureEndUserAnalytics' does not have a method 'deactivate'
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=windows-azure-end-user-analytics-unofficial_settings
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/windows-azure-end-user-analytics-unofficial/templates/settings.php on line 5 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/windows-azure-end-user-analytics-unofficial/templates/settings.php(5): do_settings_fields()
#1 wp-content/plugins/windows-azure-end-user-analytics-unofficial/windows-azure-end-user-analytics-unofficial.php(82): include('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): WindowsAzureEndUserAnalytics->plugin_settings_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#7 {m
SRP 0% from 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/windows-azure-end-user-analytics-unofficial/windows-azure-end-user-analytics-unofficial.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/windows-azure-end-user-analytics-unofficial/templates/settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== windows-azure-end-user-analytics-unofficial ===
)
windows-azure-end-user-analytics-unofficial/windows-azure-end-user-analytics-unofficial.php Passed 13 tests
The main PHP script in "Windows Azure End User Analytics for WordPress (Unofficial)" version 1.0 is automatically included on every request by WordPress
57 characters long description:
Adds Windows Azure End User Analytics to WordPress pages.
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
Everything looks great! No dangerous files found in this plugin135 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 24 | 88 |
JavaScript | 1 | 5 | 0 | 47 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 3 | 37.50% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin