Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.13ms] Passed 4 tests
An overview of server-side resources used by Super Simple Google Analytics Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.99 ▼13.66 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.81 ▼10.35 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.19 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.50 ▲1.71 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.95 ▼2.22 |
Super Simple Google Analytics /wp-admin/options-general.php?page=ssga | 3.18 | 32.57 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
ssga_tracking_code |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Super Simple Google Analytics Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.77 ▲0.21 | 25.05 ▲23.45 | 42.81 ▼8.52 |
Dashboard /wp-admin | 2,196 ▲22 | 5.59 ▲0.06 | 94.88 ▲6.57 | 42.35 ▼0.54 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.04 | 39.77 ▲5.12 | 35.96 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.35 ▼0.38 | 632.24 ▼16.81 | 56.10 ▲0.44 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.14 ▲0.00 | 105.93 ▼10.87 | 44.06 ▼4.08 |
Super Simple Google Analytics /wp-admin/options-general.php?page=ssga | 817 | 1.99 | 28.61 | 28.28 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- ssga_tracking_code
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ssga
- > 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=ssga
- > 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-simple-google-analytics-lite/super-simple-google-analytics-lite.php:17
- > 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: simple google analytics, easy google analytics, super simple google analytics, google analytics, super easy google analytics...
super-simple-google-analytics-lite/super-simple-google-analytics-lite.php Passed 13 tests
This is the main PHP file of "Super Simple Google Analytics Lite" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
68 characters long description:
The simplest way to add Google analytics to your site with no bloat.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin41 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 12 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin