Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▲3.23ms] Passed 4 tests
Server-side resources used by Ultimate 410 Gone Status Code
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.39 ▲5.04 |
Dashboard /wp-admin | 3.62 ▲0.32 | 76.14 ▲15.71 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 53.54 ▲7.50 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 95.54 ▼15.35 |
Media Library /wp-admin/upload.php | 3.48 ▲0.26 | 49.11 ▲17.12 |
Ultimate 410 /wp-admin/options-general.php?page=ultimate-410 | 3.49 | 44.54 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ultimate_410 |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
ultimate_410_db_version |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate 410 Gone Status Code
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.39 ▲0.45 | 2.52 ▲0.25 | 55.16 ▲10.98 |
Dashboard /wp-admin | 2,207 ▲19 | 5.89 ▼0.01 | 119.16 ▲0.24 | 49.83 ▲9.89 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.14 ▲0.13 | 40.72 ▼6.52 | 37.12 ▼8.59 |
Add New Post /wp-admin/post-new.php | 1,536 ▲7 | 21.00 ▲2.71 | 692.03 ▲19.55 | 59.09 ▼18.83 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.20 ▼0.03 | 121.44 ▲4.40 | 62.64 ▼8.25 |
Ultimate 410 /wp-admin/options-general.php?page=ultimate-410 | 1,028 | 1.76 | 30.69 | 34.18 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 74× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-410/views/field/ultimate-410-upload.php on line 37
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/ultimate-410/views/page/ultimate-410.php on line 15
- > PHP Notice
Undefined variable: args in wp-content/plugins/ultimate-410/views/field/ultimate-410-regex.php on line 8
- > PHP Notice
Undefined variable: messages in wp-content/plugins/ultimate-410/views/admin-notice.php on line 6
- > PHP Notice
Undefined variable: args in wp-content/plugins/ultimate-410/views/field/ultimate-410-upload.php on line 26
- > PHP Notice
Undefined variable: args in wp-content/plugins/ultimate-410/views/field/ultimate-410-upload.php on line 30
- > PHP Notice
Undefined variable: args in wp-content/plugins/ultimate-410/views/field/ultimate-410-upload.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-410/views/field/ultimate-410-upload.php on line 27
- > PHP Notice
Undefined variable: args in wp-content/plugins/ultimate-410/views/field/ultimate-410-upload.php on line 37
- > PHP Notice
Undefined variable: args in wp-content/plugins/ultimate-410/views/field/ultimate-410-upload.php on line 6
- > PHP Notice
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: 410, http-status
ultimate-410/ultimate-410.php Passed 13 tests
"Ultimate 410 Gone Status Code" version 1.1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
37 characters long description:
Ultimate 410 HTTP Status Code plugin.
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
No dangerous file extensions were detected1,569 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 331 | 358 | 1,569 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 6 | 46.15% |
Methods | 103 | |
▷ Static methods | 4 | 3.88% |
▷ Public methods | 90 | 87.38% |
▷ Protected methods | 6 | 5.83% |
▷ Private methods | 7 | 6.80% |
Functions | 15 | |
▷ Named functions | 3 | 20.00% |
▷ Anonymous functions | 12 | 80.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.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
PNG images were not found in this plugin