Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼301.68ms] Passed 4 tests
Server-side resources used by Run time Image resizing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.26 | 53.53 ▲2.08 |
Dashboard /wp-admin | 3.73 ▲0.33 | 36.29 ▲3.94 |
Posts /wp-admin/edit.php | 3.96 ▲0.32 | 41.29 ▲3.30 |
Add New Post /wp-admin/post-new.php | 7.21 ▲0.21 | 93.49 ▼1,213.70 |
Media Library /wp-admin/upload.php | 3.58 ▲0.29 | 25.53 ▲1.62 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 3.73 | 26.82 |
Server storage [IO: ▲1.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 227 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_debug_mode |
fs_accounts |
fs_api_cache |
fs_active_plugins |
Browser metrics Passed 4 tests
Run time Image resizing: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,022 ▲268 | 17.80 ▲2.03 | 6.30 ▲0.91 | 2.01 ▼1.05 |
Dashboard /wp-admin | 3,131 ▲270 | 8.04 ▲1.92 | 142.84 ▲11.09 | 172.81 ▲14.57 |
Posts /wp-admin/edit.php | 2,959 ▲268 | 5.13 ▲1.90 | 79.76 ▲16.00 | 154.78 ▲10.05 |
Add New Post /wp-admin/post-new.php | 1,691 ▲30 | 16.12 ▲0.10 | 384.71 ▼56.63 | 157.33 ▼0.34 |
Media Library /wp-admin/upload.php | 1,747 ▲49 | 5.54 ▲0.06 | 105.11 ▼30.38 | 197.11 ▲5.42 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 1,534 | 4.25 | 68.73 | 135.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/run-time-image-resizing/freemius/includes/class-freemius.php+4088
First parameter must either be an object or the name of an existing class
- Zombie WordPress options were found after uninstall: 4 options
- fs_api_cache
- fs_debug_mode
- fs_accounts
- fs_active_plugins
Smoke tests 75% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/run-time-image-resizing/run-time-image-resizing.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
run-time-image-resizing/run-time-image-resizing.php Passed 13 tests
This is the main PHP file of "Run time Image resizing" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
This plugin resize the image after upload.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected16,597 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 71 | 3,037 | 7,375 | 12,921 |
PO File | 2 | 650 | 659 | 1,608 |
Sass | 15 | 248 | 80 | 1,558 |
JavaScript | 5 | 37 | 68 | 244 |
Markdown | 1 | 59 | 0 | 191 |
JSON | 2 | 0 | 0 | 42 |
YAML | 2 | 2 | 0 | 22 |
CSS | 9 | 0 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 41.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 943.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 4 | 5.71% |
▷ Concrete classes | 66 | 94.29% |
▷ Final classes | 0 | 0.00% |
Methods | 1,238 | |
▷ Static methods | 172 | 13.89% |
▷ Public methods | 904 | 73.02% |
▷ Protected methods | 24 | 1.94% |
▷ Private methods | 310 | 25.04% |
Functions | 114 | |
▷ Named functions | 114 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 182 | |
▷ Global constants | 148 | 81.32% |
▷ Class constants | 34 | 18.68% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/wordpress-sdk-master/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |