Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.24ms] Passed 4 tests
Analyzing server-side resources used by FWS On-Demand-Resizer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.57 ▼3.08 |
Dashboard /wp-admin | 3.45 ▲0.15 | 47.70 ▼0.99 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.56 ▼2.44 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 96.42 ▼2.44 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.54 ▲3.99 |
ResizeOnDemand /wp-admin/options-general.php?page=fws-resize-on-demand | 3.36 | 35.82 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
FWS On-Demand-Resizer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.23 ▼1.14 | 4.55 ▲2.87 | 40.50 ▼8.11 |
Dashboard /wp-admin | 2,212 ▲27 | 4.83 ▼0.03 | 108.06 ▼1.36 | 38.85 ▼5.44 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.03 ▼0.00 | 40.54 ▼0.36 | 36.55 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.58 ▲5.88 | 602.62 ▼81.50 | 61.79 ▼2.58 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.19 ▼0.03 | 95.04 ▼15.86 | 42.29 ▼5.03 |
ResizeOnDemand /wp-admin/options-general.php?page=fws-resize-on-demand | 1,647 | 9.39 | 296.96 | 71.24 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: smart, resize, resizing, resizer, images...
fws-resize-on-demand/fws-resize-on-demand.php Passed 13 tests
The main PHP script in "FWS On-Demand-Resizer" version 0.4.0 is automatically included on every request by WordPress
38 characters long description:
On-demand image resizer for WordPress.
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
There were no executable files found in this plugin692 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 244 | 324 | 679 |
JavaScript | 1 | 2 | 3 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 34 | 82.93% |
▷ Public methods | 26 | 63.41% |
▷ Protected methods | 15 | 36.59% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin