Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.35ms] Passed 4 tests
This is a short check of server-side resources used by Easy Author Image
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.47 ▼4.12 |
Dashboard /wp-admin | 3.34 ▼0.01 | 44.91 ▼14.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.78 ▼1.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.45 ▼1.84 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.26 ▼0.31 |
Server storage [IO: ▲0.21MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Author Image
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,781 ▲35 | 14.58 ▼0.00 | 1.58 ▼0.15 | 36.86 ▼7.74 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.02 | 83.40 ▼3.13 | 69.72 ▲23.58 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.00 ▼0.02 | 40.15 ▼2.29 | 34.61 ▼2.56 |
Add New Post /wp-admin/post-new.php | 1,689 ▲156 | 24.44 ▲1.41 | 693.72 ▲26.65 | 64.73 ▲9.65 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.01 | 94.58 ▼10.38 | 67.68 ▲19.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-author-image/easy-author-image.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: author image, avatar, profile
easy-author-image/easy-author-image.php Passed 13 tests
The main file in "Easy Author Image" v. 1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
131 characters long description:
Adds an author image uploader to your profile page. Upload an author image right from your profile page with the click of a button.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected194 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 37 | 137 |
CSS | 1 | 2 | 0 | 33 |
JavaScript | 1 | 9 | 9 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.19MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-6.png | 69.33KB | 20.00KB | ▼ 71.16% |
assets/screenshot-5.png | 11.98KB | 1.58KB | ▼ 86.78% |
assets/screenshot-1.png | 17.66KB | 3.58KB | ▼ 79.72% |
assets/screenshot-4.png | 13.43KB | 2.15KB | ▼ 83.97% |
assets/screenshot-3.png | 47.64KB | 12.68KB | ▼ 73.39% |