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 gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▼2.63ms] Passed 4 tests
Server-side resources used by Blog Authors
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 46.69 ▲4.87 |
Dashboard /wp-admin | 3.60 ▲0.29 | 53.70 ▼0.60 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 47.72 ▼1.65 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 86.19 ▼9.40 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 38.39 ▲1.13 |
Blog Authors /wp-admin/admin.php?page=blog-authors | 3.49 | 33.49 |
Embed Settings /wp-admin/admin.php?page=blog-authors-embed-code | 3.49 | 35.17 |
Authors Page /wp-admin/admin.php?page=blog-authors-manage | 3.50 | 37.89 |
Author Card /wp-admin/admin.php?page=blog-authors-author-card | 3.50 | 41.57 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 38 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_blog_authors |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Blog Authors
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.37 ▲0.02 | 1.70 ▼0.31 | 43.98 ▼0.33 |
Dashboard /wp-admin | 2,236 ▲62 | 5.63 ▼0.02 | 84.68 ▼17.77 | 39.39 ▼5.02 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.01 ▲0.07 | 36.26 ▲1.10 | 36.42 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.21 ▲0.15 | 684.41 ▼5.98 | 53.16 ▼1.53 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.16 ▲0.02 | 95.73 ▼20.71 | 44.52 ▼2.32 |
Blog Authors /wp-admin/admin.php?page=blog-authors | 916 | 2.00 | 25.51 | 37.18 |
Embed Settings /wp-admin/admin.php?page=blog-authors-embed-code | 853 | 2.00 | 25.05 | 31.75 |
Authors Page /wp-admin/admin.php?page=blog-authors-manage | 1,447 | 2.93 | 54.29 | 33.54 |
Author Card /wp-admin/admin.php?page=blog-authors-author-card | 1,611 | 2.97 | 57.27 | 31.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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)
Everything seems fine, however 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 take a closer look at the following
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/blog-authors/includes/shortcodehandler.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blog-authors/includes/authorcards.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blog-authors/includes/adminpage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blog-authors/includes/adminpage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blog-authors/includes/embedsettings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/blog-authors/includes/cardhandler.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blog-authors/includes/functions.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: team page, authors, profile, blog, embed...
blog-authors/blogauthors.php 92% from 13 tests
The main PHP script in "Blog Authors" version 1.5 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("blog-authors.php" instead of "blogauthors.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
Good job! No executable or dangerous file extensions detected2,461 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 22 | 43 | 1,699 |
CSS | 2 | 69 | 1 | 491 |
JavaScript | 5 | 63 | 64 | 271 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 73 | |
▷ Named functions | 73 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/hexagon.png | 14.92KB | 4.48KB | ▼ 69.99% |
includes/images/squares.png | 3.61KB | 2.12KB | ▼ 41.38% |
includes/images/rows.png | 4.34KB | 3.27KB | ▼ 24.68% |
includes/images/64circle.png | 1.84KB | 0.73KB | ▼ 60.33% |
includes/images/squares-retina.png | 7.21KB | 3.09KB | ▼ 57.14% |