Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.68MB] [CPU: ▼52.58ms] Passed 4 tests
This is a short check of server-side resources used by Authors based on recent posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.31 ▼1.15 | 9.37 ▼38.42 |
Dashboard /wp-admin | 2.32 ▼0.98 | 11.60 ▼35.68 |
Posts /wp-admin/edit.php | 2.32 ▼1.03 | 10.22 ▼40.79 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.56 | 11.80 ▼95.44 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 11.20 ▼22.76 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_abrp_blog_authors |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Authors based on recent posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.29 ▼1.00 | 1.79 ▼0.06 | 38.33 ▼1.21 |
Dashboard /wp-admin | 2,208 ▲20 | 5.86 ▲0.94 | 101.17 ▼11.54 | 40.19 ▼2.11 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.04 ▲0.04 | 36.92 ▼4.25 | 31.51 ▼5.51 |
Add New Post /wp-admin/post-new.php | 1,526 ▲12 | 23.29 ▲5.75 | 658.39 ▼35.18 | 56.33 ▲3.27 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.23 ▲0.04 | 95.73 ▼17.81 | 41.41 ▼3.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in abrp_Blog_Authors is deprecated since version 4.3.0! Use __construct() instead.
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_abrp_blog_authors
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/authors-list-based-on-recent-posts/abrp.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: recent posts, authors widget, list authors, widget, posts...
authors-list-based-on-recent-posts/abrp.php 92% from 13 tests
Analyzing the main PHP file in "Authors based on recent posts" version 1.0.1
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("authors-list-based-on-recent-posts.php" instead of "abrp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin211 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 30 | 142 |
CSS | 1 | 1 | 3 | 69 |
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.15 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin