Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼148.64ms] Passed 4 tests
A check of server-side resources used by Authors List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.10 | 27.98 ▲0.43 |
Dashboard /wp-admin | 3.17 ▲0.10 | 43.10 ▲0.91 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 37.06 ▲0.01 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.09 | 75.17 ▼595.91 |
Media Library /wp-admin/upload.php | 3.11 ▲0.10 | 27.88 ▲3.49 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Authors List: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲64 | 15.68 ▼0.04 | 5.70 ▲0.14 | 73.47 ▼1.71 |
Dashboard /wp-admin | 2,933 ▲34 | 6.07 ▼0.18 | 114.89 ▼12.45 | 165.71 ▼14.86 |
Posts /wp-admin/edit.php | 2,740 ▼0 | 3.23 ▼0.01 | 64.87 ▼0.58 | 130.81 ▼10.88 |
Add New Post /wp-admin/post-new.php | 3,698 ▼8 | 18.57 ▼0.61 | 442.62 ▼0.42 | 159.84 ▼8.53 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.54 ▲0.07 | 145.85 ▲7.00 | 190.34 ▼1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/authors-list/includes/display.php:539
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/authors-list/includes/general.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
6 plugin tags: authors grid, author, authors list, authors, grid...
authors-list/authors-list.php Passed 13 tests
The main PHP file in "Authors List" ver. 1.2.7 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
Display a list of post authors. Need help? Submit support request.
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
Everything looks great! No dangerous files found in this plugin882 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 197 | 132 | 672 |
CSS | 1 | 61 | 18 | 203 |
SVG | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin