Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.39ms] Passed 4 tests
Analyzing server-side resources used by Strip Image Metadata for JPG and WEBP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.45 ▼3.14 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.12 ▼0.93 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.33 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.57 ▼16.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.17 ▲1.11 |
Strip Image Metadata /wp-admin/options-general.php?page=wp_strip_image_metadata | 3.21 | 31.25 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Strip Image Metadata for JPG and WEBP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.34 ▼0.26 | 1.62 ▼0.04 | 38.47 ▼7.33 |
Dashboard /wp-admin | 2,213 ▲36 | 5.53 ▼0.07 | 79.96 ▼19.45 | 38.49 ▼5.58 |
Posts /wp-admin/edit.php | 2,119 ▲22 | 2.04 ▲0.06 | 40.17 ▲6.62 | 37.22 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,543 ▼5 | 21.01 ▲2.89 | 664.11 ▲65.63 | 56.83 ▼9.54 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.20 ▲0.08 | 95.88 ▼3.25 | 42.66 ▲1.78 |
Strip Image Metadata /wp-admin/options-general.php?page=wp_strip_image_metadata | 962 | 1.81 | 24.93 | 32.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: strip, image, privacy, metadata, exif
strip-image-metadata-for-jpg-and-webp/strip-image-metadata.php 85% from 13 tests
The primary PHP file in "Strip Image Metadata for JPG and WEBP" version 1.3.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("strip-image-metadata-for-jpg-and-webp.php" instead of "strip-image-metadata.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
Everything looks great! No dangerous files found in this plugin1,357 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 245 | 493 | 1,267 |
PO File | 1 | 35 | 45 | 90 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 122.00 |
▷ Minimum class complexity | 122.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 5.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 21 | |
▷ Static methods | 21 | 100.00% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.76% |
Functions | 25 | |
▷ Named functions | 17 | 68.00% |
▷ Anonymous functions | 8 | 32.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin