Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.65ms] Passed 4 tests
An overview of server-side resources used by WP Author Profile Box Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.57 ▲5.74 |
Dashboard /wp-admin | 3.39 ▲0.08 | 58.20 ▲8.78 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.78 ▼2.94 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 102.79 ▲1.87 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.23 ▼2.05 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Author Profile Box Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 14.36 ▲0.06 | 6.28 ▲4.55 | 50.49 ▲4.47 |
Dashboard /wp-admin | 2,212 ▲24 | 5.14 ▼0.76 | 119.95 ▲11.46 | 46.61 ▲3.54 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.34 ▲0.34 | 41.51 ▲2.70 | 42.62 ▲4.23 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 23.34 ▼0.37 | 706.83 ▲46.33 | 53.34 ▼1.91 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.35 ▲0.14 | 103.76 ▼16.81 | 47.64 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-author-profile-box-lite/admin/partials/wp-author-profile-box-lite-admin-display.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Wp_Author_Profile_Box_Lite_Loader' not found in wp-content/plugins/wp-author-profile-box-lite/admin/class-wp-author-profile-box-lite-admin-view.php:128
- > PHP Fatal error
Uncaught Error: Class 'Wp_Author_Profile_Box_Lite_Loader' not found in wp-content/plugins/wp-author-profile-box-lite/public/class-wp-author-profile-box-lite-public-view.php:125
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/wp-author-profile-box-lite/public/partials/wp-author-profile-box-lite-public-display.php:14
- > 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 Passed 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
10 plugin tags: author box, author profile fields, profile fields, author social icons, author description...
wp-author-profile-box-lite/wp-author-profile-box-lite.php Passed 13 tests
The entry point to "WP Author Profile Box Lite" version 1.0.2 is a PHP file that has certain tags in its header comment area
86 characters long description:
WP Author Profile Box Lite is an easy way to highlight author of your WordPress posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin8,702 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,130 | 302 | 4,384 |
CSS | 6 | 86 | 38 | 3,243 |
SVG | 1 | 0 | 0 | 685 |
PHP | 14 | 170 | 564 | 390 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 3 | 9.09% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin