Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▲2.89ms] Passed 4 tests
An overview of server-side resources used by Disable Thumbnails, Threshold and Image Options
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.52 ▲0.42 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.49 ▲4.23 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.78 ▲2.76 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 89.11 ▲4.54 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.42 ▲4.16 |
Image Sizes /wp-admin/tools.php?page=kgmdisablethumbnails | 3.29 | 30.76 |
Image Quality /wp-admin/tools.php?page=kgmimgquality | 3.29 | 34.21 |
Image Threshold&EXIF /wp-admin/tools.php?page=kgmdisablethreshold | 3.30 | 32.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Disable Thumbnails, Threshold and Image Options
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲40 | 14.70 ▼0.02 | 1.80 ▲0.14 | 35.61 ▼3.66 |
Dashboard /wp-admin | 2,204 ▲26 | 5.56 ▼0.16 | 95.32 ▼20.17 | 41.80 ▼4.43 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 1.94 ▼0.01 | 39.01 ▼3.48 | 35.77 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.19 ▼0.37 | 665.04 ▲28.94 | 51.59 ▲2.97 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.21 ▲0.13 | 94.23 ▼6.06 | 41.66 ▲1.35 |
Image Sizes /wp-admin/tools.php?page=kgmdisablethumbnails | 886 | 2.00 | 25.06 | 32.97 |
Image Quality /wp-admin/tools.php?page=kgmimgquality | 819 | 2.00 | 27.54 | 31.66 |
Image Threshold&EXIF /wp-admin/tools.php?page=kgmdisablethreshold | 858 | 1.99 | 23.34 | 30.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: disable threshold, disable images, thumbnails, disable thumbnails, disable...
disable-thumbnails-and-threshold/disable-thumbnails-and-thresold.php 92% from 13 tests
"Disable Thumbnails, Threshold and Image Options" version 0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("disable-thumbnails-and-threshold.php" instead of "disable-thumbnails-and-thresold.php")
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
No dangerous file extensions were detected458 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 77 | 92 | 451 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected