Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+34
Undefined index: v
Server metrics [RAM: ▼0.18MB] [CPU: ▼187.51ms] Passed 4 tests
Analyzing server-side resources used by Seraphinite Alternative Slugs Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲1.32 | 41.38 ▲6.48 |
Dashboard /wp-admin | 3.46 ▲0.41 | 13.66 ▼35.50 |
Posts /wp-admin/edit.php | 3.46 ▲0.36 | 11.90 ▼36.57 |
Add New Post /wp-admin/post-new.php | 3.46 ▼1.97 | 11.72 ▼655.43 |
Media Library /wp-admin/upload.php | 3.46 ▲0.46 | 11.20 ▼22.54 |
Alternative Slugs /wp-admin/options-general.php?page=seraph_osm_settings | 3.47 | 11.81 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 3 new options
New WordPress options |
---|
seraph_osm_RmtCfg |
seraph_osm_Sett |
seraph_osm_State |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Seraphinite Alternative Slugs Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 15.79 ▲0.26 | 11.88 ▲0.50 | 44.55 ▼2.74 |
Dashboard /wp-admin | 2,980 ▲46 | 5.91 ▼0.21 | 147.54 ▼0.31 | 116.41 ▼15.78 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.71 ▼0.01 | 65.19 ▼1.24 | 92.98 ▲1.61 |
Add New Post /wp-admin/post-new.php | 1,628 ▼55 | 18.19 ▲0.26 | 396.13 ▲17.32 | 131.33 ▲20.62 |
Media Library /wp-admin/upload.php | 1,814 ▲81 | 5.04 ▲0.02 | 153.67 ▲2.34 | 118.11 ▼8.49 |
Alternative Slugs /wp-admin/options-general.php?page=seraph_osm_settings | 1,856 | 3.10 | 83.90 | 117.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: State
- Zombie WordPress options detected upon uninstall: 3 options
- seraph_osm_Sett
- seraph_osm_RmtCfg
- seraph_osm_State
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: State
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+369
Undefined index: seraph_osm_settingsOp
- 153 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+58
Trying to access array offset on value of type null
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1751
Undefined index: seraph_osm_postOpsRes
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1267
Undefined index: warnChangeVer
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1269
Undefined index: changeVerCheck
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1270
Undefined index: changePkCheck
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1523
Undefined index: js
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1523
Undefined index: Gen
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1523
Undefined index: Ui
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1523
Undefined index: Net
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+1523
Undefined index: AdminUi
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: Sett
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: Settings-en_US
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: Settings-en
- 19 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+2045
Undefined index: en_US
- 19 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+2045
Undefined index: en
- 19 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+2045
Undefined index:
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+22
Undefined index: linkPreContent
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+58
Undefined index: linkAfterContent
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductFeatures-en_US
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductFeatures-en
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Plugin.php+593
Undefined index: eulaAcceptedVer
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlEula-en_US
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlEula-en
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductInfo-en_US
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductInfo-en
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlMorePlugins-en_US
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlMorePlugins-en
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+228
Undefined index: class
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlRatingAboutUs-en_US
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlRatingAboutUs-en
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+228
Undefined index: wrap
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+847
Undefined index: header
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+868
Undefined index: body
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: postTypes
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+150
Undefined index: disabled
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+409
Undefined index: masked
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductDocs-en_US
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductDocs-en
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductSupport-en_US
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlProductSupport-en
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+16
Undefined index: showIfNoHref
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Ui.php+512
Undefined index: afterContent
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlMain-en_US
- > GET request to /wp-admin/options-general.php?page=seraph_osm_settings
- > Notice in wp-content/plugins/seraphinite-old-slugs-mgr/Cmn/Gen.php+170
Undefined index: UrlMain-en
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: manager, slug, editor, alternative slugs, old slug
seraphinite-old-slugs-mgr/plugin_root.php 92% from 13 tests
The main PHP script in "Seraphinite Alternative Slugs Manager" version 1.3 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("seraphinite-old-slugs-mgr.php" instead of "plugin_root.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 plugin5,697 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 1,596 | 20 | 5,596 |
JavaScript | 5 | 0 | 0 | 98 |
JSON | 2 | 0 | 0 | 2 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing 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.43 |
Average class complexity | 67.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 228.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 387 | |
▷ Static methods | 380 | 98.19% |
▷ Public methods | 343 | 88.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 44 | 11.37% |
Functions | 52 | |
▷ Named functions | 10 | 19.23% |
▷ Anonymous functions | 42 | 80.77% |
Constants | 71 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 71 | 100.00% |
▷ Public constants | 71 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Images/ProductLogo.png | 1.83KB | 1.42KB | ▼ 22.43% |
Images/VendorLogo.png | 1.47KB | 1.45KB | ▼ 1.40% |