Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.24ms] Passed 4 tests
Analyzing server-side resources used by Wp Blended photos
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.34 ▼5.25 |
Dashboard /wp-admin | 3.31 ▼0.04 | 53.42 ▼15.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.19 ▼7.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.80 ▼17.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.56 ▲4.90 |
Wp Blended Photos /wp-admin/options-general.php?page=blendedphotos | 3.30 | 34.17 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Wp Blended photos
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.23 ▼0.12 | 1.98 ▲0.13 | 45.53 ▼2.16 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▲0.02 | 96.58 ▲1.36 | 42.13 ▼0.46 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.01 | 36.23 ▼8.17 | 34.09 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.06 ▲0.11 | 689.13 ▲51.44 | 52.13 ▼11.63 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.21 ▲0.02 | 101.18 ▼2.21 | 46.97 ▼0.27 |
Wp Blended Photos /wp-admin/options-general.php?page=blendedphotos | 1,069 | 1.79 | 30.79 | 55.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=blendedphotos
- > Network (severe)
wp-admin/images/upload-page-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=blendedphotos
- > Network (severe)
wp-content/plugins/wp-blended-images/image/js/jquery-ui/jquery-ui.css - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=blendedphotos
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: satSlider.slider is not a function" "TypeError: satSlider.slider is not a function\n at Object.init (/wp-content/plugins/wp-blended-images/image/js/image_tandoor.js:711:23)\n at helper.init (/wp-content/plugins/wp-blended-images/image/js/image_tandoor.js:614:51)\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=blendedphotos:611:15)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=blendedphotos
- > Network (severe)
wp-admin/images/overlay-img.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=blendedphotos
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: satSlider.slider is not a function
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
10 plugin tags: grayscale, blended, effects, photos, image...
wp-blended-images/wp-blended-images.php Passed 13 tests
The main file in "Wp Blended photos" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
93 characters long description:
This plugin can convert selected portions of image into grayscale and create bleneded effect.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin3,200 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 0 | 11 | 1,182 |
JavaScript | 1 | 233 | 191 | 1,110 |
PHP | 3 | 185 | 81 | 620 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/images/icons/brush_gray_20.png | 0.53KB | 0.34KB | ▼ 36.01% |
image/images/icons/brush_color_4.png | 0.16KB | 0.17KB | 0.00% |
image/images/icons/brush_gray_4.png | 0.12KB | 0.12KB | ▼ 4.07% |
image/images/upload-img-icon.png | 6.60KB | 3.46KB | ▼ 47.64% |
image/images/icons/brush_gray_12.png | 0.37KB | 0.29KB | ▼ 23.76% |