Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼7.32ms] Passed 4 tests
This is a short check of server-side resources used by WP Post Redirection - 301, 404 Redirects
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 40.89 ▼7.02 |
Dashboard /wp-admin | 3.46 ▲0.15 | 47.58 ▼0.60 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 47.76 ▼4.99 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 87.36 ▼16.68 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.19 ▲1.39 |
Advance WP Redirect /wp-admin/admin.php?page=xsawrlite_page | 3.40 | 32.82 |
Support /wp-admin/admin.php?page=xsawrlite_support | 3.35 | 34.59 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Post Redirection - 301, 404 Redirects
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲162 | 13.61 ▼0.79 | 10.39 ▲8.32 | 35.60 ▼3.97 |
Dashboard /wp-admin | 2,226 ▲38 | 5.89 ▲1.02 | 99.74 ▼6.87 | 40.00 ▼3.19 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.03 ▲0.04 | 39.50 ▼4.19 | 35.30 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,532 ▼10 | 17.63 ▼0.48 | 658.24 ▲62.77 | 56.45 ▲6.61 |
Media Library /wp-admin/upload.php | 1,408 ▲26 | 4.14 ▼0.07 | 98.83 ▼2.05 | 40.60 ▼2.68 |
Advance WP Redirect /wp-admin/admin.php?page=xsawrlite_page | 1,210 | 1.80 | 28.79 | 47.75 |
Support /wp-admin/admin.php?page=xsawrlite_support | 918 | 1.79 | 26.46 | 30.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in advance-wp-redirect/assets to your readme.txt
advance-wp-redirect/advance-wp-redirect.php 77% from 13 tests
"WP Post Redirection - 301, 404 Redirects" version 0.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "4.4.0")
- Description: The description should be shorter than 140 characters (currently 210 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin1,773 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 52 | 142 | 1,021 |
PO File | 1 | 119 | 168 | 260 |
JavaScript | 3 | 7 | 10 | 247 |
CSS | 2 | 18 | 2 | 245 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin