Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.79MB] [CPU: ▼0.59ms] Passed 4 tests
This is a short check of server-side resources used by Image Quality Control | Still BE
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.77 | 44.32 ▲3.68 |
Dashboard /wp-admin | 4.12 ▲0.77 | 54.51 ▼7.48 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 48.92 ▲2.24 |
Add New Post /wp-admin/post-new.php | 6.70 ▲0.81 | 95.08 ▼0.80 |
Media Library /wp-admin/upload.php | 4.05 ▲0.82 | 41.49 ▲5.62 |
Image Qualities /wp-admin/options-general.php?page=sb-imgq-setting-page | 4.06 | 47.30 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Image Quality Control | Still BE
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.13 ▼0.51 | 1.77 ▼0.01 | 43.23 ▼0.00 |
Dashboard /wp-admin | 2,199 ▲19 | 5.61 ▲0.02 | 84.96 ▼10.35 | 42.06 ▲3.87 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.06 | 34.75 ▼4.55 | 34.55 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.32 ▲0.27 | 701.17 ▼45.39 | 60.94 ▲14.62 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.16 ▼0.04 | 97.09 ▼5.25 | 41.16 ▼4.74 |
Image Qualities /wp-admin/options-general.php?page=sb-imgq-setting-page | 2,664 | 7.64 | 253.00 | 96.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+39
file_get_contents(wp-content/plugins/still-be-image-quality-control/.htaccess): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: exif, speedup, optimize, webp, image...
still-be-image-quality-control/stillbe-image-quality-control.php 85% from 13 tests
"Image Quality Control | Still BE" version 1.7.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("still-be-image-quality-control.php" instead of "stillbe-image-quality-control.php")
- Description: The description should be shorter than 140 characters (currently 171 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected7,187 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,530 | 793 | 3,771 |
JavaScript | 7 | 513 | 319 | 1,970 |
CSS | 5 | 185 | 7 | 1,360 |
Markdown | 2 | 30 | 0 | 81 |
SVG | 3 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 25.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 6.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 10 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 6 | 10.00% |
▷ Public methods | 47 | 78.33% |
▷ Protected methods | 13 | 21.67% |
▷ Private methods | 0 | 0.00% |
Functions | 76 | |
▷ Named functions | 11 | 14.47% |
▷ Anonymous functions | 65 | 85.53% |
Constants | 29 | |
▷ Global constants | 25 | 86.21% |
▷ Class constants | 4 | 13.79% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/twentytwenty/img/before.png | 3.23KB | 0.39KB | ▼ 87.91% |
asset/twentytwenty/img/after.png | 3.12KB | 0.34KB | ▼ 89.24% |