Benchmarks
Plugin footprint 58% 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
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/tiny-google-analytics/tiny-google-analytics.php+63
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.44ms] Passed 4 tests
A check of server-side resources used by Tiny Google Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.34 ▼5.71 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.25 ▼2.95 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.39 ▲3.97 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.72 ▼15.15 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.44 ▲2.07 |
Tiny Google Analytics /wp-admin/options-general.php?page=tiny-google-analytics/tiny-google-analytics.php | 3.20 | 31.13 |
Server storage [IO: ▲0.01MB] [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: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
gap_options |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Tiny Google Analytics
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.49 ▼0.90 | 14.14 ▲12.29 | 37.11 ▼7.02 |
Dashboard /wp-admin | 2,210 ▲19 | 5.77 ▲0.68 | 96.81 ▼20.45 | 40.58 ▼3.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.01 | 39.87 ▲3.92 | 34.59 ▼0.30 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.68 ▼5.46 | 645.48 ▼60.74 | 55.93 ▲2.19 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▼0.08 | 99.15 ▲2.41 | 44.52 ▲1.25 |
Tiny Google Analytics /wp-admin/options-general.php?page=tiny-google-analytics/tiny-google-analytics.php | 777 | 2.06 | 23.03 | 29.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- gap_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=tiny-google-analytics/tiny-google-analytics.php
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=tiny-google-analytics/tiny-google-analytics.php
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tiny-google-analytics/tiny-google-analytics.php:12
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 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
4 plugin tags: google analytics multiste, small google analytics, optimized google analytics, tiny google analytics
tiny-google-analytics/tiny-google-analytics.php 92% from 13 tests
The main PHP file in "Tiny Google Analytics" ver. 20130416... adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "20130416...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin94 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 11 | 94 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected