Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼141.06ms] Passed 4 tests
An overview of server-side resources used by Quick 301 Redirects for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 42.61 ▲21.89 |
Dashboard /wp-admin | 3.12 ▲0.07 | 47.39 ▼1.07 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 41.89 ▼5.67 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 89.75 ▼558.92 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 35.49 ▲1.43 |
Quick 301 Redirects /wp-admin/options-general.php?page=quick-301-redirects | 3.03 | 30.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Quick 301 Redirects for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,728 ▲132 | 16.63 ▲1.02 | 12.34 ▲0.39 | 45.51 ▼1.67 |
Dashboard /wp-admin | 2,995 ▲58 | 6.95 ▲0.98 | 189.80 ▲45.90 | 107.24 ▼7.61 |
Posts /wp-admin/edit.php | 2,767 ▲28 | 2.78 ▲0.06 | 79.77 ▲8.40 | 98.36 ▲9.56 |
Add New Post /wp-admin/post-new.php | 1,689 ▲6 | 18.86 ▲0.59 | 409.07 ▼3.18 | 124.29 ▲20.43 |
Media Library /wp-admin/upload.php | 1,835 ▲28 | 5.21 ▲0.19 | 138.61 ▼15.66 | 114.07 ▼2.45 |
Quick 301 Redirects /wp-admin/options-general.php?page=quick-301-redirects | 1,275 | 2.52 | 64.14 | 109.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-301-redirects/quick-301-redirects.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
10 plugin tags: 301 redirect, htaccess, seo redirects, redirects, url redirects...
quick-301-redirects/quick-301-redirects.php Passed 13 tests
The main PHP script in "Quick 301 Redirects for WordPress" version 1.1.6 is automatically included on every request by WordPress
48 characters long description:
The fastest and easiest way to do 301 redirects.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected497 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 67 | 100 | 388 |
JavaScript | 1 | 23 | 1 | 108 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/external-link-16.png | 0.33KB | 0.38KB | 0.00% |