Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.52ms] Passed 4 tests
An overview of server-side resources used by Edit Author Slug
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 46.83 ▲5.73 |
Dashboard /wp-admin | 3.54 ▲0.19 | 47.86 ▼10.28 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 45.42 ▼1.40 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 92.41 ▼1.97 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 37.07 ▲3.57 |
Edit Author Slug /wp-admin/options-general.php?page=edit-author-slug | 3.43 | 31.51 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 13 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
_ba_eas_db_version |
_ba_eas_role_slugs |
_ba_eas_author_base |
db_upgraded |
widget_theysaidso_widget |
_ba_eas_do_role_based |
_ba_eas_default_user_nicename |
_ba_eas_remove_front |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Edit Author Slug
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲68 | 14.37 ▼0.27 | 2.08 ▲0.23 | 44.58 ▼3.80 |
Dashboard /wp-admin | 2,199 ▲22 | 5.48 ▼0.14 | 85.07 ▼3.42 | 36.29 ▼4.00 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.09 | 35.85 ▼1.06 | 37.25 ▲4.38 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.15 ▲0.06 | 646.62 ▼115.40 | 50.96 ▲1.67 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.04 | 96.98 ▼2.01 | 39.60 ▼6.36 |
Edit Author Slug /wp-admin/options-general.php?page=edit-author-slug | 1,096 | 2.04 | 25.03 | 49.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
edit-author-slug/edit-author-slug.php 92% from 13 tests
The principal PHP file in "Edit Author Slug" v. 1.9.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 233 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,518 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 414 | 1,186 | 1,110 |
Markdown | 2 | 108 | 0 | 338 |
JavaScript | 2 | 9 | 14 | 70 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 9 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 25.00% |
Functions | 57 | |
▷ Named functions | 57 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin