Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼456.17ms] Passed 4 tests
A check of server-side resources used by Disable Author Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.04 | 48.25 ▲8.98 |
Dashboard /wp-admin | 3.10 ▲0.05 | 55.25 ▲4.74 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 41.99 ▼13.00 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.04 | 85.08 ▼1,798.43 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 36.66 ▼17.99 |
Author Pages /wp-admin/options-general.php?page=disable-author-pages/class-disable-author-pages.php | 3.02 | 26.09 |
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: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Disable Author Pages
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,653 ▲71 | 15.50 ▼0.25 | 7.80 ▼3.46 | 59.61 ▲2.82 |
Dashboard /wp-admin | 2,957 ▲104 | 6.14 ▲0.30 | 170.11 ▼21.90 | 133.77 ▼0.26 |
Posts /wp-admin/edit.php | 2,711 ▲5 | 2.70 ▲0.02 | 95.66 ▲9.41 | 121.09 ▲13.01 |
Add New Post /wp-admin/post-new.php | 1,659 ▲180 | 18.22 ▲0.09 | 352.27 ▼54.92 | 108.20 ▼50.66 |
Media Library /wp-admin/upload.php | 1,777 ▲5 | 5.04 ▲0.03 | 156.23 ▼8.47 | 117.33 ▼33.82 |
Author Pages /wp-admin/options-general.php?page=disable-author-pages/class-disable-author-pages.php | 1,120 | 2.11 | 55.07 | 101.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/disable-author-pages/disable-author-pages.php:46
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== disable-author-pages ===
)
disable-author-pages/disable-author-pages.php 85% from 13 tests
The main PHP file in "Disable Author Pages" ver. 0.11 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin252 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 88 | 141 |
PO File | 2 | 37 | 85 | 111 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 8 | |
▷ Static methods | 7 | 87.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin