Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.11ms] Passed 4 tests
Server-side resources used by Simple 301 Redirects - Addon - Bulk Uploader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.50 ▼1.59 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.67 ▼3.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.15 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.21 ▼4.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.72 ▼2.94 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Simple 301 Redirects - Addon - Bulk Uploader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.54 ▼0.68 | 1.67 ▼0.29 | 47.44 ▲3.62 |
Dashboard /wp-admin | 2,212 ▲24 | 4.84 ▼1.06 | 109.83 ▼5.81 | 38.92 ▼4.82 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.01 | 40.91 ▲3.19 | 35.78 ▲3.52 |
Add New Post /wp-admin/post-new.php | 1,539 ▼3 | 23.40 ▲4.99 | 669.83 ▲28.72 | 55.15 ▼10.46 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.26 ▲0.12 | 105.75 ▲5.75 | 47.87 ▲4.73 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 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 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/simple-301-redirects-addon-bulk-uploader/simple-301-bulk-uploader.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: csv, bulk upload, 301, redirects, simple 301 redirects
simple-301-redirects-addon-bulk-uploader/simple-301-bulk-uploader.php 85% from 13 tests
"Simple 301 Redirects - Addon - Bulk Uploader" version 1.2.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("simple-301-redirects-addon-bulk-uploader.php" instead of "simple-301-bulk-uploader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin540 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 115 | 190 | 397 |
PO File | 1 | 18 | 18 | 74 |
CSS | 1 | 11 | 0 | 69 |
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.49 |
Average class complexity | 34.50 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 15 | 51.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 48.28% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin