Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼306.42ms] Passed 4 tests
An overview of server-side resources used by 404 to 301 - Redirect, Log and Notify 404 Errors
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.17 | 55.87 ▲8.72 |
Dashboard /wp-admin | 3.66 ▲0.26 | 33.40 ▼1.26 |
Posts /wp-admin/edit.php | 3.87 ▲0.23 | 38.01 ▲0.80 |
Add New Post /wp-admin/post-new.php | 7.51 ▲0.54 | 85.39 ▼1,222.90 |
Media Library /wp-admin/upload.php | 3.61 ▲0.31 | 24.27 ▼2.33 |
404 Settings /wp-admin/admin.php?page=jj4t3-settings | 3.52 | 24.05 |
404 Errors /wp-admin/admin.php?page=jj4t3-logs | 3.49 | 24.79 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: 1 new table, 3 new options
New tables |
---|
wp_404_to_301 |
New WordPress options |
---|
i4t3_db_version |
i4t3_review_notice |
i4t3_gnrl_options |
Browser metrics Passed 4 tests
404 to 301 - Redirect, Log and Notify 404 Errors: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,028 ▲274 | 15.85 ▲0.07 | 5.77 ▼0.67 | 3.15 ▲0.15 |
Dashboard /wp-admin | 3,122 ▲268 | 6.04 ▼0.13 | 117.54 ▼15.93 | 156.82 ▼2.33 |
Posts /wp-admin/edit.php | 2,932 ▲244 | 3.26 ▲0.03 | 63.13 ▼0.42 | 142.81 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,909 ▲241 | 21.24 ▲3.17 | 433.08 ▲39.88 | 151.75 ▼5.38 |
Media Library /wp-admin/upload.php | 1,945 ▲250 | 5.63 ▲0.06 | 142.87 ▲3.84 | 186.13 ▼3.68 |
404 Settings /wp-admin/admin.php?page=jj4t3-settings | 1,600 | 2.57 | 59.80 | 140.83 |
404 Errors /wp-admin/admin.php?page=jj4t3-logs | 1,586 | 2.78 | 56.25 | 99.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_404_to_301
- The uninstall procedure has failed, leaving 3 options in the database
- i4t3_db_version
- i4t3_review_notice
- i4t3_gnrl_options
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
404-to-301/404-to-301.php 92% from 13 tests
The main PHP file in "404 to 301 - Redirect, Log and Notify 404 Errors" ver. 3.1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 209 characters long)
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
Everything looks great! No dangerous files found in this plugin1,522 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 396 | 1,964 | 1,194 |
PO File | 1 | 165 | 330 | 171 |
CSS | 1 | 2 | 16 | 68 |
JavaScript | 2 | 22 | 38 | 53 |
Sass | 1 | 7 | 0 | 29 |
XML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 81 | |
▷ Static methods | 8 | 9.88% |
▷ Public methods | 49 | 60.49% |
▷ Protected methods | 2 | 2.47% |
▷ Private methods | 30 | 37.04% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected