Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.07MB] [CPU: ▼15.80ms] Passed 4 tests
This is a short check of server-side resources used by Fotobuck Compressor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 43.09 ▼1.05 |
Dashboard /wp-admin | 3.27 ▼0.03 | 29.85 ▼24.31 |
Posts /wp-admin/edit.php | 3.35 ▼0.01 | 32.51 ▼17.55 |
Add New Post /wp-admin/post-new.php | 5.59 ▼0.30 | 73.54 ▼17.50 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 30.74 ▼3.85 |
Compressor /wp-admin/upload.php?page=image-compressor | 3.26 | 26.73 |
Server storage [IO: ▲6.70MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Fotobuck Compressor: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲128 | 14.73 ▲0.45 | 1.67 ▲0.04 | 45.42 ▲2.15 |
Dashboard /wp-admin | 2,277 ▲100 | 6.38 ▲0.73 | 109.95 ▲9.40 | 35.57 ▼7.54 |
Posts /wp-admin/edit.php | 2,211 ▲111 | 3.59 ▲1.57 | 45.98 ▲7.71 | 29.27 ▼4.53 |
Add New Post /wp-admin/post-new.php | 1,570 ▲44 | 18.24 ▼4.76 | 599.40 ▼22.66 | 46.90 ▼1.20 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.46 ▲0.28 | 80.89 ▼15.64 | 42.20 ▲0.93 |
Compressor /wp-admin/upload.php?page=image-compressor | 957 | 3.21 | 40.49 | 30.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/upload.php?page=image-compressor
- > Warning in wp-content/plugins/fotobuck-compressor/fotobuck-compressor.php+59
time() expects exactly 0 parameters, 1 given
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #4, #5, #6 in fotobuck-compressor/assets to your readme.txt
fotobuck-compressor/fotobuck-compressor.php Passed 13 tests
The main file in "Fotobuck Compressor" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
63 characters long description:
This WordPress plugin perfectly compresses images of all sizes!
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
There were no executable files found in this plugin9,569 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 45 | 16 | 6,576 |
SVG | 1 | 0 | 0 | 2,116 |
PHP | 8 | 289 | 77 | 795 |
JavaScript | 2 | 31 | 0 | 82 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 31.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 50 | 74.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 25.37% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin