Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.02ms] Passed 4 tests
A check of server-side resources used by Google URL Creator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.08 ▼3.18 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.53 ▼7.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.59 ▼0.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.84 ▼1.18 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.38 ▲3.39 |
URL Creator /wp-admin/tools.php?page=google-url-creator | 3.19 | 28.20 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Google URL Creator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.28 ▼1.31 | 4.27 ▲2.44 | 43.09 ▼3.03 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▼0.03 | 98.13 ▼9.20 | 40.45 ▼6.58 |
Posts /wp-admin/edit.php | 2,093 ▲22 | 2.05 ▲0.03 | 39.99 ▲3.71 | 37.10 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,539 ▲8 | 23.15 ▼0.03 | 652.58 ▲55.95 | 53.82 ▲3.69 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.23 ▲0.05 | 94.90 ▼5.36 | 42.22 ▼2.71 |
URL Creator /wp-admin/tools.php?page=google-url-creator | 971 | 2.14 | 23.17 | 32.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/tools.php?page=google-url-creator
- > Notice in wp-content/plugins/google-url-creator/google-url-creator.php+24
Undefined index: source
- > GET request to /wp-admin/tools.php?page=google-url-creator
- > Notice in wp-content/plugins/google-url-creator/google-url-creator.php+25
Undefined index: medium
- > GET request to /wp-admin/tools.php?page=google-url-creator
- > Notice in wp-content/plugins/google-url-creator/google-url-creator.php+26
Undefined index: term
- > GET request to /wp-admin/tools.php?page=google-url-creator
- > Notice in wp-content/plugins/google-url-creator/google-url-creator.php+27
Undefined index: content
- > GET request to /wp-admin/tools.php?page=google-url-creator
- > Notice in wp-content/plugins/google-url-creator/google-url-creator.php+28
Undefined index: name
- > GET request to /wp-admin/tools.php?page=google-url-creator
- > Notice in wp-content/plugins/google-url-creator/google-url-creator.php+36
Undefined index: select-page
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 add_action() in wp-content/plugins/google-url-creator/google-url-creator.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: keywords, ppc, seo, google adwords, sem...
google-url-creator/google-url-creator.php Passed 13 tests
The main PHP script in "Google URL Creator" version 1.0.1 is automatically included on every request by WordPress
84 characters long description:
Generate custom URL strings that can be used to track campaigns in Google Analytics.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin143 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 14 | 143 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 2 | |
▷ Named functions | 2 | 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
No PNG files were detected