Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼291.23ms] Passed 4 tests
A check of server-side resources used by 410 Delete Pages SEO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.09 | 58.18 ▲6.90 |
Dashboard /wp-admin | 3.46 ▲0.06 | 34.19 ▲0.17 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 35.57 ▼1.94 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 94.76 ▼1,164.63 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 25.03 ▲1.49 |
410 Deleted Pages /wp-admin/plugins.php?page=deletepages_410_settings | 3.32 | 27.57 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_410_links |
New WordPress options |
---|
deletepages_410_max_404s |
deletepages_410_options_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 410 Delete Pages SEO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲66 | 15.87 ▲0.12 | 6.15 ▲0.68 | 2.00 ▼0.12 |
Dashboard /wp-admin | 2,893 ▲32 | 6.15 ▼0.04 | 114.51 ▼23.41 | 150.97 ▼11.79 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.23 ▲0.00 | 62.00 ▼2.42 | 142.14 ▲1.11 |
Add New Post /wp-admin/post-new.php | 1,759 ▲98 | 17.18 ▲0.77 | 410.60 ▼11.77 | 154.04 ▲4.68 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.53 ▲0.02 | 150.67 ▲9.79 | 277.88 ▲96.57 |
410 Deleted Pages /wp-admin/plugins.php?page=deletepages_410_settings | 1,123 | 2.38 | 55.30 | 123.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #1 in 410-delete-pages-seo/assets to your readme.txt
410-delete-pages-seo/deletedpages-410.php 92% from 13 tests
This is the main PHP file of "410 Delete Pages SEO" version 0.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("410-delete-pages-seo.php" instead of "deletedpages-410.php")
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
Everything looks great! No dangerous files found in this plugin336 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 29 | 336 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 40.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 60.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.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