Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.95ms] Passed 4 tests
An overview of server-side resources used by Plugin for Google Analytics by IO technologies
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.68 ▼2.55 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.02 ▼11.61 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.64 ▲3.18 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.95 ▼4.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.74 ▼1.39 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_io_stats_daily |
wp_io_stats_rt |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Plugin for Google Analytics by IO technologies: 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,927 ▲166 | 13.53 ▼0.82 | 11.89 ▲9.70 | 42.87 ▼9.77 |
Dashboard /wp-admin | 2,226 ▲46 | 5.63 ▼0.21 | 90.03 ▲5.99 | 40.87 ▲2.25 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.03 ▼0.01 | 38.65 ▼3.14 | 36.10 ▲2.71 |
Add New Post /wp-admin/post-new.php | 1,560 ▲24 | 18.12 ▼0.19 | 602.40 ▲1.70 | 66.53 ▼1.06 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.20 ▼0.02 | 93.75 ▼6.09 | 43.25 ▲0.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: wordpress analytics, analytics, google analytics widget, google analytics dashboard, google analytics
io-engagement-analytics/io.php 85% from 13 tests
"Plugin for Google Analytics by IO technologies" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("io-engagement-analytics.php" instead of "io.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,009 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 157 | 46 | 635 |
CSS | 1 | 73 | 7 | 320 |
JavaScript | 2 | 12 | 6 | 54 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 14 | |
▷ Named functions | 8 | 57.14% |
▷ Anonymous functions | 6 | 42.86% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.84MB with 0.71MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/._screenshot-2.png | 0.67KB | 0.00KB | ▼ 100.00% |
assets/screenshot-2.png | 517.53KB | 195.15KB | ▼ 62.29% |
assets/screenshot-1.png | 344.71KB | 93.07KB | ▼ 73.00% |
(invalid) assets/._screenshot-1.png | 0.67KB | 0.00KB | ▼ 100.00% |