Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.65ms] Passed 4 tests
Analyzing server-side resources used by CSV to 301 Redirects
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.16 ▼0.53 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.90 ▼4.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.35 ▼3.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.51 ▼10.62 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.92 ▲4.34 |
CSV to 301 /wp-admin/options-general.php?page=csv-to-301-redirects-options | 3.18 | 32.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for CSV to 301 Redirects
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,785 ▲24 | 14.29 ▼0.04 | 1.85 ▲0.04 | 41.98 ▼3.87 |
Dashboard /wp-admin | 2,191 ▲11 | 5.63 ▲0.06 | 85.69 ▼2.74 | 42.38 ▼0.26 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.01 ▲0.01 | 35.80 ▼0.16 | 35.99 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 18.31 ▼4.75 | 644.61 ▼39.61 | 69.20 ▲7.23 |
Media Library /wp-admin/upload.php | 1,396 ▼4 | 4.16 ▼0.14 | 95.44 ▼10.12 | 43.00 ▼3.24 |
CSV to 301 /wp-admin/options-general.php?page=csv-to-301-redirects-options | 803 | 2.01 | 26.57 | 25.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=csv-to-301-redirects-options
- > Notice in wp-content/plugins/csv-to-301-redirects/csv-to-301-redirects.php+216
Trying to access array offset on value of type bool
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/csv-to-301-redirects/csv-to-301-redirects.php:57
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: seo, redirection, csv, bulk, redirect...
csv-to-301-redirects/csv-to-301-redirects.php 92% from 13 tests
"CSV to 301 Redirects" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected192 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 102 | 118 | 192 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin