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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.17ms] Passed 4 tests
An overview of server-side resources used by WP Custom Author URL
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.64 ▼1.49 |
Dashboard /wp-admin | 3.40 ▲0.05 | 49.05 ▼15.30 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 52.17 ▼1.17 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 85.25 ▼18.70 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.36 ▲0.15 |
Custom Author URL /wp-admin/options-general.php?page=wp-custom-author-url-settings | 3.29 | 34.69 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Custom Author URL
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,787 ▲41 | 14.36 ▲0.01 | 1.70 ▼0.02 | 38.99 ▼5.41 |
Dashboard /wp-admin | 2,193 ▲29 | 5.66 ▲0.06 | 100.85 ▲0.56 | 40.24 ▼1.37 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.03 ▲0.02 | 35.50 ▼6.60 | 33.88 ▼6.00 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 18.15 ▼5.57 | 650.23 ▼2.12 | 66.72 ▲10.73 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.20 ▲0.01 | 101.75 ▼0.99 | 45.69 ▼1.34 |
Custom Author URL /wp-admin/options-general.php?page=wp-custom-author-url-settings | 817 | 2.03 | 26.97 | 44.54 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-custom-author-url/admin/partials/wp-custom-author-url-admin-display.php
- > /wp-content/plugins/wp-custom-author-url/public/partials/wp-custom-author-url-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: author url, custom link, profile url, banner, profile...
wp-custom-author-url/wp-custom-author-url.php Passed 13 tests
The main PHP file in "WP Custom Author URL" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
89 characters long description:
Choose a custom URL for your author links, instead of the standard WordPress author page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin360 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 180 | 650 | 346 |
CSS | 2 | 1 | 8 | 8 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 31 | 88.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 11.43% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin