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.00MB] [CPU: ▼3.99ms] Passed 4 tests
This is a short check of server-side resources used by SMNTCS Deactivate image compression
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.41 ▼3.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.42 ▲0.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.25 ▼2.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.86 ▼10.37 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.11 ▲7.18 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
SMNTCS Deactivate image compression: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▲0.10 | 1.73 ▼0.21 | 43.68 ▼4.25 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▼0.07 | 89.95 ▲0.36 | 43.25 ▲1.09 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▲0.08 | 36.93 ▼0.86 | 33.83 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.31 ▼0.06 | 704.42 ▲55.33 | 49.56 ▼3.87 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.14 ▼0.03 | 110.18 ▲11.12 | 47.50 ▲5.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: image compression
smntcs-deactivate-image-compression/smntcs-deactivate-image-compression.php Passed 13 tests
The main file in "SMNTCS Deactivate image compression" v. 1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
51 characters long description:
Deactivate the WordPress default image compression.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin164 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 76 |
Markdown | 1 | 26 | 0 | 37 |
XML | 2 | 5 | 2 | 34 |
YAML | 1 | 0 | 0 | 9 |
PHP | 1 | 2 | 20 | 8 |
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.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin