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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▲2.52ms] Passed 4 tests
An overview of server-side resources used by Image Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.49 | 43.92 ▼0.34 |
Dashboard /wp-admin | 3.81 ▲0.47 | 54.88 ▲7.61 |
Posts /wp-admin/edit.php | 3.93 ▲0.54 | 55.43 ▲5.91 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.44 | 90.91 ▼3.12 |
Media Library /wp-admin/upload.php | 3.73 ▲0.47 | 43.29 ▲9.52 |
Library /wp-admin/edit.php?post_type=image_plus | 3.78 | 47.40 |
Settings /wp-admin/edit.php?post_type=image_plus&page=imgwb-settings | 3.70 | 40.14 |
Server storage [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: no files
Database: no new tables, 9 new options
New WordPress options |
---|
imgwb_updated |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
imgwb_api_counter |
imgwb_words_activation_id |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Image Plus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲226 | 13.49 ▼0.80 | 7.38 ▲5.55 | 40.34 ▲1.32 |
Dashboard /wp-admin | 2,300 ▲109 | 4.92 ▼0.98 | 98.45 ▼12.73 | 82.33 ▲41.08 |
Posts /wp-admin/edit.php | 2,195 ▲106 | 2.04 ▲0.04 | 38.33 ▼1.56 | 34.23 ▼1.80 |
Add New Post /wp-admin/post-new.php | 6,283 ▲4,750 | 19.87 ▼3.19 | 869.81 ▲169.39 | 35.07 ▼21.01 |
Media Library /wp-admin/upload.php | 1,491 ▲100 | 4.24 ▲0.08 | 101.54 ▲2.15 | 71.69 ▲26.36 |
Library /wp-admin/edit.php?post_type=image_plus | 1,457 | 2.05 | 37.03 | 31.53 |
Settings /wp-admin/edit.php?post_type=image_plus&page=imgwb-settings | 980 | 1.72 | 26.39 | 34.62 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- imgwb_words_activation_id
- can_compress_scripts
- widget_theysaidso_widget
- imgwb_api_counter
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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 server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function show_admin_bar() in wp-content/plugins/image-plus/template.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=image_plus
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=image_plus - Access to script at 'https://embed.tawk.to/646bf9c7ad80445890ee79fe/1h12sfd44' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=image_plus&page=imgwb-settings
- > Network (severe)
https://embed.tawk.to/646bf9c7ad80445890ee79fe/1h12sfd44 - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/edit.php?post_type=image_plus&page=imgwb-settings
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=image_plus&page=imgwb-settings - Access to script at 'https://embed.tawk.to/646bf9c7ad80445890ee79fe/1h12sfd44' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6 in image-plus/assets to your readme.txt
image-plus/image-plus.php Passed 13 tests
Analyzing the main PHP file in "Image Plus" version 1.2.5
62 characters long description:
Generate more clicks, leads and sales using AI-powered images.
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
Success! There were no dangerous files found in this plugin3,280 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 506 | 692 | 2,346 |
JavaScript | 3 | 142 | 67 | 554 |
CSS | 3 | 19 | 0 | 232 |
JSON | 1 | 0 | 0 | 75 |
SVG | 1 | 0 | 0 | 73 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 293.00 |
▷ Minimum class complexity | 293.00 |
▷ Maximum class complexity | 293.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 72 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 52 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 27.78% |
Functions | 14 | |
▷ Named functions | 1 | 7.14% |
▷ Anonymous functions | 13 | 92.86% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin