Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.43ms] Passed 4 tests
This is a short check of server-side resources used by Easy Analytics Tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 32.84 ▼10.38 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.18 ▼2.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.98 ▼0.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.69 ▼0.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.62 ▲2.12 |
Easy Analytics Tracking /wp-admin/admin.php?page=easyanalyticstracking | 3.22 | 27.40 |
Credits /wp-admin/admin.php?page=easyanalyticstracking-credits | 3.21 | 28.08 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Analytics Tracking
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲116 | 13.25 ▼0.98 | 4.00 ▲2.15 | 40.84 ▼5.09 |
Dashboard /wp-admin | 2,235 ▲47 | 5.79 ▼0.27 | 110.71 ▲8.13 | 86.69 ▲44.81 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 1.97 ▼0.02 | 37.35 ▼3.77 | 35.51 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 18.22 ▲0.18 | 693.32 ▲59.86 | 56.95 ▲4.38 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.18 ▲0.00 | 104.77 ▲10.81 | 80.20 ▲37.98 |
Easy Analytics Tracking /wp-admin/admin.php?page=easyanalyticstracking | 948 | 1.89 | 33.21 | 37.36 |
Credits /wp-admin/admin.php?page=easyanalyticstracking-credits | 842 | 2.07 | 24.12 | 38.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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/easy-analytics-tracking/admin/includes/credits.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-analytics-tracking/admin/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-analytics-tracking/admin/includes/ajax/ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-analytics-tracking/admin/includes/ajax/ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/easy-analytics-tracking/admin/includes/dashboard.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% 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
Attributes that require attention:
- Screenshots: Add a description for screenshot #0 in easy-analytics-tracking/assets to your readme.txt
easy-analytics-tracking/easyanalyticstracking.php 77% from 13 tests
The main PHP file in "Easy Analytics Tracking" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-analytics-tracking.php" instead of "easyanalyticstracking.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 166 characters long)
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
Good job! No executable or dangerous file extensions detected441 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 54 | 4 | 212 |
PHP | 5 | 86 | 16 | 187 |
JavaScript | 2 | 15 | 0 | 41 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 5 | |
▷ Named functions | 5 | 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
5 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/includes/images/how_1.png | 1.87KB | 1.17KB | ▼ 37.38% |
admin/includes/images/how_2.png | 1.25KB | 0.31KB | ▼ 75.41% |
admin/includes/images/logoea.png | 4.25KB | 2.01KB | ▼ 52.76% |
admin/includes/images/eat_coffee.png | 1.96KB | 1.33KB | ▼ 32.25% |
admin/includes/images/icon_menu.png | 1.68KB | 0.95KB | ▼ 43.73% |