Benchmarks
Plugin footprint 5% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/all-in-one-analytics/includes/class-all-in-one-analytics.php+504
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.88MB] [CPU: ▼182.34ms] Passed 4 tests
A check of server-side resources used by All In One Analytics
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.75 ▼1.08 | 4.74 ▼18.65 |
Dashboard /wp-admin | 1.77 ▼1.29 | 3.99 ▼35.02 |
Posts /wp-admin/edit.php | 1.77 ▼1.34 | 4.66 ▼27.81 |
Add New Post /wp-admin/post-new.php | 1.77 ▼3.67 | 4.43 ▼647.66 |
Media Library /wp-admin/upload.php | 1.77 ▼1.23 | 4.57 ▼18.87 |
All in One Analytics & Tracking /wp-admin/options-general.php?page=all-in-one-analytics | 1.77 | 3.71 |
Server storage [IO: ▲19.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 954 new files
Database: 1 new table, no new options
New tables |
---|
wp_all_in_one_analytics |
Browser metrics Passed 4 tests
An overview of browser requirements for All In One Analytics
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,023 ▲422 | 18.02 ▲2.04 | 51.54 ▲45.97 | 74.75 ▲0.01 |
Dashboard /wp-admin | 2,998 ▲103 | 7.00 ▲0.85 | 139.87 ▲7.25 | 177.24 ▲6.41 |
Posts /wp-admin/edit.php | 2,809 ▲69 | 3.74 ▲0.52 | 88.72 ▲23.82 | 138.29 ▲5.42 |
Add New Post /wp-admin/post-new.php | 3,754 ▲61 | 18.57 ▲3.15 | 434.10 ▲18.10 | 169.68 ▲4.18 |
Media Library /wp-admin/upload.php | 1,815 ▲63 | 6.33 ▲0.84 | 168.20 ▲24.72 | 185.18 ▲3.03 |
All in One Analytics & Tracking /wp-admin/options-general.php?page=all-in-one-analytics | 3,977 | 5.31 | 117.89 | 155.56 |
Uninstaller [IO: ▲19.71MB] [DB: ▲0.00MB] 0% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following itemsThe plugin did not uninstall successfully, leaving 1 table in the database The uninstall procedure has failed, leaving 1 option in the database
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/all-in-one-analytics/includes/class-all-in-one-analytics.php+504
Trying to access array offset on value of type bool
- Incomplete uninstall procedure, leaving 954 files (19.71MB) in the plugin directory
- (new file) admin/class-all-in-one-analytics-admin.php
- (new file) admin/css/all-in-one-analytics-admin.css
- (new file) admin/exopite-simple-options/assets/chosen-sprite.png
- (new file) README.txt
- (new file) admin/exopite-simple-options/assets/ace-loader.min.js
- (new file) LICENSE.txt
- (new file) README.md
- (new file) admin/exopite-simple-options/assets/chosen-sprite@2x.png
- (new file) admin/exopite-simple-options/assets/ace-loader.min.min.js
- (new file) LICENSE
- ...
- wp_all_in_one_analytics
- recovery_mode_email_last_sent
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
Smoke test failed, please fix the following
- 51 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=all-in-one-analytics
- > POST request to /wp-admin/admin-ajax.php?action=wp_all_in_one_analytics_async_process_clean_db&nonce=85ddab7ce2
- > Notice in wp-content/plugins/all-in-one-analytics/includes/class-all-in-one-analytics.php+424
Trying to access array offset on value of type bool
- 82 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=all-in-one-analytics
- > POST request to /wp-admin/admin-ajax.php?action=wp_all_in_one_analytics_async_process_clean_db&nonce=85ddab7ce2
- > Notice in wp-content/plugins/all-in-one-analytics/includes/class-all-in-one-analytics.php+424
Trying to access array offset on value of type null
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=all-in-one-analytics
- > POST request to /wp-admin/admin-ajax.php?action=wp_all_in_one_analytics_async_process_clean_db&nonce=85ddab7ce2
- > Notice in wp-content/plugins/all-in-one-analytics/admin/exopite-simple-options/exopite-simple-options-framework-class.php+1253
Undefined index: id
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=all-in-one-analytics
- > Notice in wp-content/plugins/all-in-one-analytics/admin/exopite-simple-options/exopite-simple-options-framework-class.php+1611
Undefined index: name
- 32 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=all-in-one-analytics
- > Notice in wp-content/plugins/all-in-one-analytics/admin/exopite-simple-options/exopite-simple-options-framework-class.php+671
Array to string conversion
SRP 50% 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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/all-in-one-analytics/includes/class-all-in-one-analytics-wp-background-process.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/all-in-one-analytics/async/class-all-in-one-analytics-async.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
all-in-one-analytics/all-in-one-analytics.php Passed 13 tests
Analyzing the main PHP file in "All In One Analytics" version 1.0.1
32 characters long description:
All your analytics stuff sorted.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected124,748 lines of code in 903 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 825 | 2,529 | 13,329 | 91,340 |
JSON | 1 | 0 | 0 | 15,622 |
PHP | 60 | 2,739 | 2,613 | 9,403 |
CSS | 14 | 1,211 | 306 | 5,445 |
SVG | 2 | 0 | 0 | 2,877 |
Markdown | 1 | 52 | 0 | 61 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 20.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 385.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 92.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 3 | 4.84% |
▷ Concrete classes | 59 | 95.16% |
▷ Final classes | 0 | 0.00% |
Methods | 334 | |
▷ Static methods | 70 | 20.96% |
▷ Public methods | 288 | 86.23% |
▷ Protected methods | 38 | 11.38% |
▷ Private methods | 8 | 2.40% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.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
17 compressed PNG files occupy 0.09MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/exopite-simple-options/assets/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
admin/exopite-simple-options/assets/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
admin/exopite-simple-options/assets/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/exopite-simple-options/assets/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
admin/exopite-simple-options/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |