Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.85ms] Passed 4 tests
Analyzing server-side resources used by Change Core Slugs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.03 ▼0.69 |
Dashboard /wp-admin | 3.40 ▲0.10 | 51.12 ▼7.75 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.64 ▲4.04 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 86.49 ▼3.01 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 36.98 ▲4.50 |
Change Core Slugs /wp-admin/options-general.php?page=change-core-slugs | 3.29 | 33.59 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Change Core Slugs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.48 ▲0.08 | 1.96 ▲0.22 | 40.55 ▼0.97 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▼0.07 | 100.23 ▼5.21 | 38.27 ▼3.95 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 34.97 ▼6.09 | 36.46 ▼3.19 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.07 ▼0.42 | 641.01 ▲12.47 | 59.75 ▲5.68 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.03 | 98.50 ▼7.30 | 42.28 ▲1.13 |
Change Core Slugs /wp-admin/options-general.php?page=change-core-slugs | 928 | 2.06 | 22.84 | 27.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Trait 'dimadin\\WP\\Plugin\\ChangeCoreSlugs\\SingletonTrait' not found in wp-content/plugins/change-core-slugs/inc/Admin/Page/Settings.php on line 19
- > PHP Fatal error
Trait 'dimadin\\WP\\Plugin\\ChangeCoreSlugs\\SingletonTrait' not found in wp-content/plugins/change-core-slugs/inc/Main.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/change-core-slugs/change-core-slugs.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: permalink, url, slug
change-core-slugs/change-core-slugs.php 92% from 13 tests
This is the main PHP file of "Change Core Slugs" version 1.0.0, 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:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin333 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 74 | 262 | 288 |
XML | 1 | 6 | 9 | 45 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 10 | 52.63% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 1 | 5.26% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin