Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.75ms] Passed 4 tests
Server-side resources used by 1ON1 URL REDIRECTS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 55.57 ▲13.97 |
Dashboard /wp-admin | 3.45 ▲0.15 | 53.88 ▲2.22 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.42 ▲0.91 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 85.79 ▼10.85 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.07 ▲4.73 |
1ON1 URL Redirects /wp-admin/admin.php?page=redirect-updates | 3.32 | 39.15 |
Redirect Summary /wp-admin/admin.php?page=redirect-summary | 3.30 | 37.89 |
Import/Export /wp-admin/admin.php?page=redirect-import-export | 3.30 | 37.03 |
Tag Redirection setting /wp-admin/admin.php?page=tag_redirection_setting | 3.30 | 39.26 |
Meta Options /wp-admin/admin.php?page=meta_addon | 3.30 | 38.13 |
Redirect Options /wp-admin/admin.php?page=redirect-options | 3.30 | 37.15 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for 1ON1 URL REDIRECTS
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲75 | 14.25 ▼0.11 | 2.10 ▲0.39 | 40.01 ▼7.45 |
Dashboard /wp-admin | 2,227 ▲50 | 5.51 ▼0.16 | 88.74 ▼9.92 | 80.87 ▲36.98 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 1.97 ▼0.03 | 39.08 ▲2.94 | 32.84 ▼0.99 |
Add New Post /wp-admin/post-new.php | 6,416 ▲4,888 | 25.74 ▲2.67 | 924.64 ▲225.48 | 174.24 ▲120.46 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.31 ▲0.09 | 111.42 ▼2.82 | 75.39 ▲28.71 |
1ON1 URL Redirects /wp-admin/admin.php?page=redirect-updates | 1,239 | 2.22 | 25.37 | 36.92 |
Redirect Summary /wp-admin/admin.php?page=redirect-summary | 877 | 2.17 | 25.17 | 30.33 |
Import/Export /wp-admin/admin.php?page=redirect-import-export | 999 | 2.18 | 23.40 | 36.54 |
Tag Redirection setting /wp-admin/admin.php?page=tag_redirection_setting | 827 | 2.00 | 24.25 | 24.67 |
Meta Options /wp-admin/admin.php?page=meta_addon | 969 | 2.00 | 22.85 | 47.08 |
Redirect Options /wp-admin/admin.php?page=redirect-options | 1,180 | 2.00 | 25.10 | 45.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=redirect-import-export
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/1on1-url-redirects/0.5/1ON1_URL_Redirects.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/1on1-url-redirects/1ON1_URL_Redirects.php:54
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=redirect-options
- > Network (severe)
wp-content/plugins/1ON1_URL_Redirects/image/Logo-Picture-Large.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
1on1-url-redirects/1ON1_URL_Redirects.php 85% from 13 tests
The main PHP file in "1ON1 URL REDIRECTS" ver. 0.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("1on1-url-redirects.php" instead of "1ON1_URL_Redirects.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 197 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected6,704 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 294 | 478 | 4,612 |
PO File | 2 | 432 | 456 | 1,526 |
JavaScript | 7 | 17 | 1 | 401 |
CSS | 1 | 1 | 1 | 149 |
SVG | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 549.00 |
▷ Minimum class complexity | 549.00 |
▷ Maximum class complexity | 549.00 |
Average method complexity | 10.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 118 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 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
2 PNG files occupy 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
0.5/image/Logo-Picture-Large.png | 14.73KB | 0.67KB | ▼ 95.42% |
image/Logo-Picture-Large.png | 14.73KB | 0.67KB | ▼ 95.42% |