Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.26ms] Passed 4 tests
An overview of server-side resources used by Engauge Analytics
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 39.17 ▼4.42 |
Dashboard /wp-admin | 3.40 ▲0.09 | 54.91 ▲0.36 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.09 ▼3.47 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 95.00 ▼18.82 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.35 ▼6.33 |
Engauge Analytics /wp-admin/options-general.php?page=engauge-analytics | 3.31 | 36.67 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Engauge Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.23 ▲0.12 | 2.25 ▼0.42 | 44.10 ▼0.99 |
Dashboard /wp-admin | 2,199 ▲19 | 5.57 ▼0.12 | 94.82 ▼2.25 | 43.83 ▲2.91 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.00 | 41.12 ▲1.27 | 37.12 ▲5.20 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.23 ▲0.09 | 669.14 ▼7.27 | 50.17 ▲0.57 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.16 ▼0.01 | 111.13 ▲3.50 | 48.86 ▲2.10 |
Engauge Analytics /wp-admin/options-general.php?page=engauge-analytics | 1,016 | 1.70 | 24.89 | 37.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Contributors: The plugin contributors field is missing
engauge-analytics/engauge-analytics.php Passed 13 tests
"Engauge Analytics" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
65 characters long description:
Adds your Engauge Analytics Tracking Code to your WordPress site.
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 detected465 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 279 | 34 | 424 |
CSS | 1 | 8 | 1 | 32 |
JavaScript | 1 | 9 | 1 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.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
There are no PNG files in this plugin