Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼186.15ms] Passed 4 tests
An overview of server-side resources used by Insert Google Analytics Id
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 38.25 ▼2.34 |
Dashboard /wp-admin | 3.06 ▲0.01 | 51.36 ▼7.00 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 47.50 ▼3.12 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 93.49 ▼732.15 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 31.55 ▼1.32 |
Insert Google Analytics Id /wp-admin/options-general.php?page=arvs-unique-identifier | 2.97 | 32.94 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Insert Google Analytics Id: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 16.05 ▲0.40 | 9.84 ▼1.91 | 47.71 ▼2.54 |
Dashboard /wp-admin | 2,997 ▲63 | 5.98 ▲0.02 | 142.33 ▼8.72 | 127.43 ▼1.00 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▲0.00 | 69.67 ▲0.39 | 85.63 ▼15.14 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.48 ▼0.16 | 367.44 ▼42.55 | 115.41 ▲1.03 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.02 ▲0.02 | 159.64 ▲5.15 | 133.92 ▲7.67 |
Insert Google Analytics Id /wp-admin/options-general.php?page=arvs-unique-identifier | 1,093 | 2.06 | 62.68 | 72.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/insert-google-analytics-id/insert-google-analytics-id.php:32
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=arvs-unique-identifier
- > Network (severe)
https://aarvis.com/new-logo-3/ - Failed to load resource: net::ERR_CONNECTION_CLOSED
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (The plugin Menu), #2 (Input your Tracking Code)
insert-google-analytics-id/insert-google-analytics-id.php Passed 13 tests
"Insert Google Analytics Id" version 1.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
137 characters long description:
This is a simple plugin to insert your Google Analytics Tracking Id. This plugin hooks the analytic code directly to the header section.
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 plugin69 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 22 | 69 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 42.10KB | 20.52KB | ▼ 51.25% |
screenshot-2.png | 20.74KB | 10.66KB | ▼ 48.60% |