Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.60ms] Passed 4 tests
A check of server-side resources used by Instant Gzip Compression
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.68 ▲2.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 54.29 ▼3.79 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 51.60 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.86 ▼15.79 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 38.82 ▼0.93 |
Instant Gzip compression /wp-admin/options-general.php?page=instant_gzip_compression | 3.21 | 33.39 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- Illegal file modification found: 1 file (2.40KB) outside of "wp-content/plugins/instant-gzip-compression/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Instant Gzip Compression
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.28 ▼0.07 | 2.16 ▲0.35 | 44.38 ▲0.14 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▼0.03 | 85.11 ▼3.77 | 40.31 ▼5.18 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.07 | 36.44 ▼6.15 | 36.23 ▼7.97 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.22 ▲0.18 | 641.34 ▼0.29 | 54.66 ▲4.82 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▼0.17 | 98.86 ▼13.38 | 40.84 ▼3.26 |
Instant Gzip compression /wp-admin/options-general.php?page=instant_gzip_compression | 848 | 2.88 | 29.34 | 45.79 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/instant-gzip-compression/gzip.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instant-gzip-compression/settings.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=instant_gzip_compression
- > Other (warning) in unknown
https://www.google.com/adsense/domains/caf.js 218 Unrecognized feature: 'attribution-reporting'.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: gzip checker, gzip, cache, loadtime, compression...
instant-gzip-compression/gzip.php 92% from 13 tests
The primary PHP file in "Instant Gzip Compression" version 2.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("instant-gzip-compression.php" instead of "gzip.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected72 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 15 | 72 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG images were not found in this plugin