Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.63ms] Passed 4 tests
An overview of server-side resources used by Slugs Manager: Delete Old Permalinks from WordPress Database
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.98 ▼10.82 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.06 ▼3.22 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.83 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.57 ▼6.88 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.72 ▲3.60 |
Slugs Manager /wp-admin/tools.php?page=alg-slugs-manager | 3.31 | 31.89 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
alg_slugs_manager_plugin_version |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Slugs Manager: Delete Old Permalinks from WordPress Database
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.21 ▼0.13 | 1.53 ▼0.34 | 36.14 ▼7.74 |
Dashboard /wp-admin | 2,205 ▲28 | 5.75 ▲0.17 | 92.73 ▼9.63 | 43.00 ▼3.34 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.03 | 39.06 ▲2.08 | 36.68 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,535 ▲8 | 23.29 ▲0.27 | 628.31 ▼39.63 | 51.52 ▼6.24 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▲0.00 | 104.08 ▲8.79 | 40.65 ▼0.65 |
Slugs Manager /wp-admin/tools.php?page=alg-slugs-manager | 944 | 1.99 | 26.17 | 43.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- alg_slugs_manager_plugin_version
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 | A shallow check that no browser errors were triggered
No browser issues were found
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
Please fix the following attributes:
- Screenshots: Screenshot #1 (Tools > Slugs Manager > Old Slugs.) image not found
remove-old-slugspermalinks/remove-old-slugs.php 92% from 13 tests
The entry point to "Slugs Manager: Delete Old Permalinks from WordPress Database" version 2.6.7 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("remove-old-slugspermalinks.php" instead of "remove-old-slugs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin399 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 68 | 287 | 399 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 12.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin