Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.55MB] [CPU: ▼3.24ms] Passed 4 tests
A check of server-side resources used by Go Redirects URL Forwarder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 41.49 ▼6.61 |
Dashboard /wp-admin | 3.94 ▲0.60 | 50.12 ▼11.91 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 46.76 ▲0.44 |
Add New Post /wp-admin/post-new.php | 6.54 ▲0.65 | 99.00 ▲7.07 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 39.72 ▲5.14 |
All Redirects /wp-admin/edit.php?post_type=gr_redirect | 3.92 | 38.43 |
Add New /wp-admin/post-new.php?post_type=gr_redirect | 4.13 | 52.33 |
Server storage [IO: ▲2.92MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 380 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Go Redirects URL Forwarder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 14.69 ▲0.07 | 1.72 ▼0.21 | 42.61 ▼1.43 |
Dashboard /wp-admin | 2,230 ▲50 | 5.60 ▼0.01 | 104.17 ▲16.13 | 42.96 ▲6.62 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.03 ▲0.02 | 35.85 ▼0.50 | 32.25 ▼0.58 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.71 ▲0.64 | 599.24 ▼8.08 | 63.75 ▼0.06 |
Media Library /wp-admin/upload.php | 1,441 ▲38 | 4.28 ▲0.08 | 97.70 ▼10.27 | 43.13 ▼5.43 |
All Redirects /wp-admin/edit.php?post_type=gr_redirect | 1,127 | 2.03 | 33.95 | 26.99 |
Add New /wp-admin/post-new.php?post_type=gr_redirect | 1,523 | 2.61 | 60.58 | 71.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 39× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/go-redirects/includes/vendor/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: redirects, affiliate link, affiliate, redirect, url mask
go-redirects/go-redirects.php Passed 13 tests
The primary PHP file in "Go Redirects URL Forwarder" version 2.0.3 is used by WordPress to initiate all plugin functionality
39 characters long description:
A super-simple URL forwarder WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected48,898 lines of code in 231 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,787 | 17,890 | 31,582 |
PHP | 66 | 2,422 | 6,133 | 7,553 |
CSS | 15 | 1,172 | 1,177 | 5,121 |
JavaScript | 12 | 383 | 957 | 2,752 |
Sass | 15 | 291 | 25 | 1,330 |
Markdown | 3 | 191 | 0 | 560 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 8 | 11.76% |
▷ Concrete classes | 60 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 535 | |
▷ Static methods | 81 | 15.14% |
▷ Public methods | 444 | 82.99% |
▷ Protected methods | 88 | 16.45% |
▷ Private methods | 3 | 0.56% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 8 | 57.14% |
▷ Class constants | 6 | 42.86% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/vendor/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/vendor/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/vendor/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/vendor/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/vendor/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |