Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.38ms] Passed 4 tests
A check of server-side resources used by Change Author Link Structure
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.44 ▼3.22 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.51 ▼16.55 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 51.53 ▼1.57 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.13 ▼16.16 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.84 ▲2.68 |
Change Author Link Structure /wp-admin/options-general.php?page=cals_settings | 3.25 | 31.63 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
cals_author_base |
widget_recent-posts |
db_upgraded |
cals_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Change Author Link Structure
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.69 ▼1.00 | 1.74 ▼0.14 | 41.93 ▼6.49 |
Dashboard /wp-admin | 2,228 ▲25 | 4.85 ▼0.08 | 108.00 ▲1.94 | 39.54 ▼3.84 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▲0.03 | 41.67 ▲0.04 | 39.82 ▲2.47 |
Add New Post /wp-admin/post-new.php | 1,550 ▼4 | 23.11 ▲4.72 | 624.57 ▼36.97 | 51.95 ▼0.85 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.22 ▲0.03 | 98.56 ▼2.32 | 43.90 ▼1.97 |
Change Author Link Structure /wp-admin/options-general.php?page=cals_settings | 785 | 2.03 | 26.20 | 26.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- cals_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: author slug, userid, author, permalink, author base...
change-author-link-structure/change-author-link-structure.php Passed 13 tests
This is the main PHP file of "Change Author Link Structure" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
122 characters long description:
To prevent that usernames are publically visible, the username in the author's permalink is replaced with the author's ID.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin283 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 70 | 170 | 283 |
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.46 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 4 | 33.33% |
▷ 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected