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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.08ms] Passed 4 tests
A check of server-side resources used by Popular Authors
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 26.31 ▼14.11 |
Dashboard /wp-admin | 3.46 ▲0.15 | 49.00 ▼1.54 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 44.76 ▼3.32 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 79.84 ▼9.01 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 33.64 ▼1.89 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_widget_wzpa_popular_authors |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Popular Authors
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,463 ▼298 | 14.11 ▼0.10 | 0.54 ▼1.24 | 17.66 ▼25.88 |
Dashboard /wp-admin | 2,207 ▲27 | 5.55 ▼0.12 | 99.09 ▼3.49 | 49.08 ▲6.23 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.94 ▼0.00 | 37.59 ▼6.80 | 34.14 ▼8.04 |
Add New Post /wp-admin/post-new.php | 6,209 ▲4,683 | 18.92 ▼4.69 | 954.07 ▲253.35 | 78.96 ▲22.68 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▼0.02 | 98.08 ▼8.27 | 45.41 ▼0.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_widget_wzpa_popular_authors
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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)
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
6 plugin tags: top 10, views, author, top authors, popular authors...
popular-authors/popular-authors.php Passed 13 tests
The principal PHP file in "Popular Authors" v. 1.2.0 is loaded by WordPress automatically on each request
71 characters long description:
Display a list of the popular authors. A Top 10 WordPress plugin addon.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,538 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 194 | 662 | 778 |
JavaScript | 3 | 11 | 41 | 326 |
PO File | 1 | 75 | 81 | 186 |
CSS | 5 | 18 | 0 | 126 |
JSON | 1 | 0 | 0 | 75 |
Markdown | 1 | 28 | 0 | 42 |
Sass | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 29 | |
▷ Static methods | 14 | 48.28% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG images were found in this plugin