Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.91ms] Passed 4 tests
This is a short check of server-side resources used by 410 Delete Pages SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 47.89 ▲1.58 |
Dashboard /wp-admin | 3.36 ▲0.01 | 52.38 ▼12.82 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.86 ▼4.96 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.06 ▼11.33 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.89 ▼2.51 |
410 Deleted Pages /wp-admin/plugins.php?page=deletepages_410_settings | 3.25 | 37.51 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_410_links |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
deletepages_410_options_version |
db_upgraded |
theysaidso_admin_options |
deletepages_410_max_404s |
Browser metrics Passed 4 tests
A check of browser resources used by 410 Delete Pages SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.73 ▲0.51 | 1.85 ▼0.01 | 44.52 ▲1.51 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▲0.05 | 95.21 ▲0.90 | 42.41 ▼1.44 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.01 ▼0.02 | 34.80 ▼3.88 | 35.11 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.42 ▼0.03 | 691.99 ▲24.36 | 54.80 ▼8.61 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▼0.01 | 99.33 ▼12.59 | 45.56 ▼0.59 |
410 Deleted Pages /wp-admin/plugins.php?page=deletepages_410_settings | 885 | 2.03 | 26.62 | 33.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- 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
"410 Delete Pages SEO" version 0.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected336 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
This plugin has no cyclomatic complexity issues
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin