Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼2.83ms] Passed 4 tests
This is a short check of server-side resources used by ImageMeta
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.64 ▲2.17 |
Dashboard /wp-admin | 3.31 ▼0.03 | 52.74 ▼15.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.27 ▲1.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 100.63 ▼0.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.99 ▲4.95 |
ImageMeta /wp-admin/tools.php?page=imagemeta | 3.21 | 39.40 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ImageMeta
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.44 ▲0.06 | 1.79 ▲0.19 | 44.19 ▲2.88 |
Dashboard /wp-admin | 2,210 ▲19 | 5.86 ▲0.96 | 99.10 ▼7.03 | 39.77 ▼6.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.05 | 35.13 ▼2.02 | 38.36 ▼3.35 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.50 ▲5.90 | 647.73 ▼25.39 | 57.62 ▲7.49 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▼0.02 | 95.88 ▼9.08 | 40.76 ▼4.15 |
ImageMeta /wp-admin/tools.php?page=imagemeta | 932 | 2.01 | 39.99 | 68.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/imagemeta/imagemeta.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
imagemeta/imagemeta.php Passed 13 tests
The entry point to "ImageMeta" version 1.1.2 is a PHP file that has certain tags in its header comment area
62 characters long description:
The fastest way to manage meta-data for your wordpress images.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin985 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 136 | 483 |
CSS | 1 | 1 | 7 | 364 |
JavaScript | 1 | 11 | 12 | 138 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
5 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_img/missing.png | 1.32KB | 0.23KB | ▼ 82.37% |
_img/delete.png | 1.15KB | 0.31KB | ▼ 72.91% |
_img/bulcclub.png | 2.74KB | 1.77KB | ▼ 35.19% |
_img/edit.png | 1.08KB | 0.29KB | ▼ 73.67% |
_img/okay.png | 1.02KB | 0.14KB | ▼ 86.63% |