Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.10ms] Passed 4 tests
This is a short check of server-side resources used by WP Slugify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 44.12 ▼1.52 |
Dashboard /wp-admin | 3.42 ▲0.11 | 51.74 ▼7.08 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.95 ▼6.17 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 91.11 ▼13.61 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 44.38 ▲7.68 |
WP Slugify /wp-admin/options-general.php?page=wp-slugify | 3.31 | 36.54 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
wp-slugify-options |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
WP Slugify: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.34 ▼0.30 | 1.73 ▼0.33 | 41.64 ▼4.37 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.02 | 84.88 ▼11.59 | 42.94 ▼4.21 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.01 ▲0.03 | 39.71 ▲1.57 | 35.96 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.16 ▼0.49 | 670.93 ▼11.05 | 56.81 ▲7.92 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.17 ▲0.02 | 96.50 ▼6.22 | 47.51 ▼2.58 |
WP Slugify /wp-admin/options-general.php?page=wp-slugify | 896 | 2.00 | 21.80 | 27.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-slugify/wp-slugify.php:10
- > 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 errors were detected
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
wp-slugify/wp-slugify.php Passed 13 tests
"WP Slugify" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
50 characters long description:
Change default wordpress automatic generation slug
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
There were no executable files found in this plugin808 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 24 | 36 | 808 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin