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
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼12.45ms] Passed 4 tests
An overview of server-side resources used by About Me Image Widget by Angie Makes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.32 ▼4.77 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.29 ▼21.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.99 ▼0.72 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.30 ▼22.53 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.18 ▲3.28 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_wpc_about_me_image |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for About Me Image Widget by Angie Makes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.72 ▲0.10 | 1.67 ▼0.02 | 40.04 ▼5.71 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.08 | 95.60 ▲1.20 | 41.56 ▼0.60 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.02 | 38.82 ▼1.42 | 34.50 ▼4.23 |
Add New Post /wp-admin/post-new.php | 1,530 ▼8 | 23.29 ▲0.11 | 655.10 ▼37.95 | 52.92 ▲0.21 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.22 ▲0.01 | 102.36 ▼11.39 | 40.14 ▼4.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_wpc_about_me_image
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
4 plugin tags: image widget, about me image, about me, about me image widget
about-me-image-widget/about-me-image-widget.php Passed 13 tests
The main PHP file in "About Me Image Widget by Angie Makes" ver. 1.4.3 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
Add "About Me" image widget, with caption and link, to any widget area.
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
There were no executable files found in this plugin330 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 30 | 19 | 150 |
PHP | 2 | 29 | 10 | 138 |
Markdown | 1 | 15 | 0 | 25 |
CSS | 1 | 2 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected