Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼143.06ms] Passed 4 tests
An overview of server-side resources used by Disable Author Archive Redirection
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 36.73 ▲15.46 |
Dashboard /wp-admin | 3.09 ▲0.04 | 44.58 ▼1.02 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 46.42 ▲6.13 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 88.71 ▼575.39 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 32.23 ▼1.95 |
Disable Author Archive Redirection Settings /wp-admin/options-general.php?page=disable-author-archive-redirection/includes/admin.php | 3.00 | 30.58 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Disable Author Archive Redirection
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲102 | 15.93 ▲0.20 | 9.55 ▼0.58 | 44.73 ▼3.20 |
Dashboard /wp-admin | 2,997 ▲66 | 5.99 ▼0.01 | 132.17 ▼8.66 | 111.81 ▼0.61 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.00 | 67.69 ▲2.62 | 93.82 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,503 ▼169 | 18.56 ▼0.29 | 386.99 ▲19.69 | 108.64 ▲2.66 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.03 ▼0.01 | 149.82 ▼9.02 | 121.07 ▲3.78 |
Disable Author Archive Redirection Settings /wp-admin/options-general.php?page=disable-author-archive-redirection/includes/admin.php | 1,109 | 2.08 | 60.84 | 66.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/disable-author-archive-redirection/disable-author-archive-redirection.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: author, security
disable-author-archive-redirection/disable-author-archive-redirection.php 92% from 13 tests
Analyzing the main PHP file in "Disable Author Archive Redirection" version 2.0
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
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
Good job! No executable or dangerous file extensions detected261 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 37 | 31 | 261 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin