Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wide-angle-analytics/types/WideAngleGenerator.php+12
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.87MB] [CPU: ▼51.20ms] Passed 4 tests
An overview of server-side resources used by Wide Angle Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.35 | 5.46 ▼38.17 |
Dashboard /wp-admin | 2.14 ▼1.17 | 7.94 ▼39.72 |
Posts /wp-admin/edit.php | 2.14 ▼1.22 | 7.36 ▼47.96 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.75 | 7.47 ▼78.95 |
Media Library /wp-admin/upload.php | 2.14 ▼1.09 | 6.39 ▼26.23 |
Wide Angle Analytics /wp-admin/options-general.php?page=wide-angle-analytics | 2.14 | 6.94 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Wide Angle Analytics: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.20 ▼1.55 | 4.51 ▲2.50 | 41.46 ▼3.42 |
Dashboard /wp-admin | 2,210 ▲22 | 4.81 ▼0.06 | 107.23 ▼8.54 | 37.71 ▼2.69 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.01 ▲0.04 | 39.15 ▲1.59 | 34.18 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 23.44 ▲0.27 | 670.81 ▼3.98 | 51.07 ▼7.26 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.16 ▼0.05 | 94.42 ▼4.47 | 42.83 ▼2.59 |
Wide Angle Analytics /wp-admin/options-general.php?page=wide-angle-analytics | 1,036 | 2.05 | 25.84 | 42.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wide-angle-analytics/types/WideAngleGenerator.php+12
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 14 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wide-angle-analytics
- > Notice in wp-content/plugins/wide-angle-analytics/types/WideAngleGenerator.php+18
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× 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/wide-angle-analytics/wide-angle-analytics.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_unslash() in wp-content/plugins/wide-angle-analytics/views/admin_settings.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wide-angle-analytics/types/WideAngleHelpers.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: web traffic, statistics, stats, analytics, web analytics...
wide-angle-analytics/wide-angle-analytics.php Passed 13 tests
This is the main PHP file of "Wide Angle Analytics" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
71 characters long description:
Easily enable and configure Wide Angle Analytics on your Wordpress site
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 plugin675 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 79 | 50 | 675 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 9 | 75.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
No PNG images were found in this plugin