Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/imagets/views/settings.php+25
Undefined variable: licence
Server metrics [RAM: ▼1.77MB] [CPU: ▼55.59ms] Passed 4 tests
Analyzing server-side resources used by ImageTS
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.25 | 5.25 ▼34.97 |
Dashboard /wp-admin | 2.24 ▼1.07 | 6.70 ▼49.82 |
Posts /wp-admin/edit.php | 2.24 ▼1.12 | 7.37 ▼40.56 |
Add New Post /wp-admin/post-new.php | 2.24 ▼3.65 | 6.45 ▼96.99 |
Media Library /wp-admin/upload.php | 2.24 ▼0.99 | 6.35 ▼28.40 |
ImageTS Settings /wp-admin/options-general.php?page=IMAGETS | 2.24 | 7.64 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-posts |
imgsz |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
auto_time |
can_compress_scripts |
auto_mode |
imagets_licence |
start_index |
... |
Browser metrics Passed 4 tests
ImageTS: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,612 ▲851 | 15.29 ▲0.68 | 2.12 ▲0.26 | 45.94 ▲4.81 |
Dashboard /wp-admin | 3,003 ▲826 | 6.84 ▲1.13 | 145.26 ▲58.65 | 86.91 ▲40.43 |
Posts /wp-admin/edit.php | 2,929 ▲829 | 3.26 ▲1.22 | 80.33 ▲40.53 | 32.84 ▼6.97 |
Add New Post /wp-admin/post-new.php | 2,315 ▲770 | 24.28 ▲1.20 | 712.96 ▲46.70 | 37.68 ▼24.67 |
Media Library /wp-admin/upload.php | 2,226 ▲826 | 5.23 ▲1.11 | 147.38 ▲47.20 | 86.50 ▲42.21 |
ImageTS Settings /wp-admin/options-general.php?page=IMAGETS | 2,210 | 2.95 | 73.61 | 39.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/imagets/views/settings.php+25
Undefined variable: licence
- Zombie WordPress options detected upon uninstall: 14 options
- auto_mode
- db_upgraded
- widget_recent-posts
- quality
- count
- theysaidso_admin_options
- start_index
- imgsz
- widget_recent-comments
- auto_time
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Notice in wp-content/plugins/imagets/plugin.php+40
Undefined variable: licence
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Notice in wp-content/plugins/imagets/plugin.php+55
Trying to get property 'ID' of non-object
- 20 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Notice in wp-content/plugins/imagets/views/settings.php+199
Undefined index: options
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Notice in wp-content/plugins/imagets/views/settings.php+228
Undefined index: type
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Notice in wp-content/plugins/imagets/views/manager.php+10
Undefined variable: plugin_url
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
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=IMAGETS
- > Javascript (severe) in unknown
/wp-content/plugins/imagets/assets/js/engine.min.js?ver=6.3.1 3:29285 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=IMAGETS 200 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=IMAGETS - Access to XMLHttpRequest at 'http://imagets.com/api/c3b177f8db' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Network (severe)
http://imagets.com/api/c3b177f8db - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=IMAGETS - Access to XMLHttpRequest at 'http://imagets.com/count/' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/options-general.php?page=IMAGETS
- > Network (severe)
http://imagets.com/count/ - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== imagets ===
) - Contributors: Plugin contributors not specified
imagets/imagets.php Passed 13 tests
"ImageTS" version 2.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
132 characters long description:
You can collect, convert and upload images. You can do all of them with ImageTS easily. It works in a compatible way with Wordpress.
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
Success! There were no dangerous files found in this plugin9,885 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 53 | 8 | 8,558 |
PHP | 4 | 149 | 65 | 648 |
JavaScript | 4 | 91 | 15 | 391 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 3 | 15.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 1.24KB | 0.82KB | ▼ 33.75% |
assets/images/icon.png | 0.25KB | 0.29KB | 0.00% |