Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.80MB] [CPU: ▲2.85ms] Passed 4 tests
A check of server-side resources used by Easy Image Collage
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.66 | 42.73 ▼3.48 |
Dashboard /wp-admin | 4.17 ▲0.86 | 51.89 ▲2.74 |
Posts /wp-admin/edit.php | 4.22 ▲0.86 | 55.31 ▲9.81 |
Add New Post /wp-admin/post-new.php | 6.92 ▲1.03 | 96.86 ▲2.34 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 55.62 ▲21.10 |
Easy Image Collage /wp-admin/options-general.php?page=eic_settings | 4.69 | 46.13 |
Server storage [IO: ▲3.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 283 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
eic_option |
easy-image-collage_version |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Image Collage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲135 | 13.47 ▼0.90 | 8.87 ▲7.17 | 38.84 ▼2.73 |
Dashboard /wp-admin | 2,199 ▲21 | 5.58 ▼0.14 | 94.40 ▼22.06 | 41.40 ▼2.75 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 40.31 ▲4.15 | 36.49 ▲0.80 |
Add New Post /wp-admin/post-new.php | 3,838 ▲2,302 | 20.91 ▼2.28 | 870.59 ▲178.90 | 42.61 ▼11.74 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.30 ▲0.07 | 102.21 ▼7.23 | 66.30 ▲18.33 |
Easy Image Collage /wp-admin/options-general.php?page=eic_settings | 2,875 | 3.54 | 99.96 | 109.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- eic_option
- widget_recent-posts
- widget_theysaidso_widget
- easy-image-collage_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 121× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/easy-image-collage/vendor/vafpress/views/control/htmlunsafe.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/easy-image-collage/helpers/vafpress/vafpress_menu_options.php:4
- > PHP Fatal error
Uncaught Error: Class 'VP_View' not found in wp-content/plugins/easy-image-collage/vendor/vafpress/views/control/fontawesome.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/easy-image-collage/vendor/vafpress/constant.php:11
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/easy-image-collage/vendor/vafpress/views/control/html.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'VP_Control_FieldMulti' not found in wp-content/plugins/easy-image-collage/vendor/vafpress/classes/control/field/multiselect.php:3
- > PHP Warning
Use of undefined constant VP_PUBLIC_URL - assumed 'VP_PUBLIC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-image-collage/vendor/vafpress/config/dependencies.php on line 89
- > PHP Fatal error
Uncaught Error: Class 'VP_FileSystem' not found in wp-content/plugins/easy-image-collage/vendor/vafpress/classes/metabox.php:14
- > PHP Warning
Use of undefined constant VP_PUBLIC_URL - assumed 'VP_PUBLIC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-image-collage/vendor/vafpress/config/dependencies.php on line 113
- > PHP Notice
Undefined variable: type in wp-content/plugins/easy-image-collage/vendor/vafpress/views/control/html.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: image, grid, photo, gallery, collage
easy-image-collage/easy-image-collage.php Passed 13 tests
"Easy Image Collage" version 1.13.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
Create beautiful responsive image collages for all your posts and pages
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected27,011 lines of code in 229 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 109 | 2,272 | 2,384 | 11,622 |
CSS | 24 | 685 | 211 | 6,269 |
JavaScript | 57 | 622 | 453 | 4,221 |
Sass | 16 | 155 | 27 | 1,831 |
LESS | 13 | 23 | 33 | 1,247 |
SVG | 2 | 0 | 0 | 934 |
Markdown | 4 | 191 | 0 | 364 |
PO File | 2 | 130 | 152 | 305 |
CoffeeScript | 1 | 78 | 66 | 217 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 102)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 18.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 271.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 102.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 4 | 5.48% |
▷ Concrete classes | 69 | 94.52% |
▷ Final classes | 0 | 0.00% |
Methods | 584 | |
▷ Static methods | 96 | 16.44% |
▷ Public methods | 547 | 93.66% |
▷ Protected methods | 20 | 3.42% |
▷ Private methods | 17 | 2.91% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 38 | |
▷ Global constants | 35 | 92.11% |
▷ Class constants | 3 | 7.89% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
29 PNG files occupy 0.49MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/vafpress/public/img/bootstrap-colorpicker/hue.png | 2.90KB | 0.50KB | ▼ 82.71% |
img/logo.png | 8.34KB | 4.43KB | ▼ 46.86% |
vendor/vafpress/public/img/vp-logo.png | 1.94KB | 0.66KB | ▼ 65.94% |
vendor/vafpress/public/css/vendor/jqueryui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/vafpress/public/css/vendor/jqueryui/themes/smoothness/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |