Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.84MB] [CPU: ▲1.66ms] Passed 4 tests
Analyzing server-side resources used by ImageLinks Interactive Image Builder for Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 41.19 ▲1.58 |
Dashboard /wp-admin | 4.19 ▲0.89 | 45.13 ▼0.73 |
Posts /wp-admin/edit.php | 4.31 ▲0.95 | 48.58 ▲3.52 |
Add New Post /wp-admin/post-new.php | 6.78 ▲0.89 | 90.75 ▲2.27 |
Media Library /wp-admin/upload.php | 4.12 ▲0.89 | 39.40 ▲7.93 |
Settings /wp-admin/admin.php?page=imagelinks_settings | 4.09 | 32.24 |
Add New /wp-admin/admin.php?page=imagelinks_item | 4.45 | 41.75 |
All Items /wp-admin/admin.php?page=imagelinks | 4.17 | 34.39 |
Server storage [IO: ▲8.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 406 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_imagelinks |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by ImageLinks Interactive Image Builder for Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.35 ▲0.08 | 1.77 ▲0.12 | 36.17 ▼8.21 |
Dashboard /wp-admin | 2,223 ▲43 | 5.60 ▼0.01 | 89.00 ▼0.38 | 42.91 ▲2.33 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.97 ▼0.07 | 39.99 ▲5.22 | 37.70 ▲1.25 |
Add New Post /wp-admin/post-new.php | 1,551 ▲16 | 23.36 ▲5.16 | 657.23 ▲19.53 | 64.40 ▼4.23 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.31 ▲0.06 | 95.25 ▼0.26 | 39.11 ▼3.45 |
Settings /wp-admin/admin.php?page=imagelinks_settings | 1,680 | 2.21 | 38.64 | 45.80 |
Add New /wp-admin/admin.php?page=imagelinks_item | 4,218 | 7.92 | 170.32 | 93.37 |
All Items /wp-admin/admin.php?page=imagelinks | 1,290 | 2.96 | 36.45 | 30.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=imagelinks_item
- > POST request to /wp-admin/admin-ajax.php
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=imagelinks_item
- > Console-api (severe) in wp-content/plugins/imagelinks-interactive-image-builder-lite/assets/js/admin.min.js?ver=1.6.0+0:96523
$scan, error in callback: appData.ui.activeMarker" "tinyMCE is not defined" Object "ReferenceError: tinyMCE is not defined\n at Object.\u003Canonymous> (/wp-content/plugins/imagelinks-interactive-image-builder-lite/assets/js/admin.min.js?ver=1.6.0:1:8038)\n at R (/wp-content/plugins/imagelinks-interactive-image-builder-lite/assets/js/admin.min.js?ver=1.6.0:1:78370)\n at u.digest (/wp-content/plugins/imagelinks-interactive-image-builder-lite/assets/js/admin.min.js?ver=1.6.0:1:78870)\n at u.scan (/wp-content/plugins/imagelinks-interactive-image-builder-lite/assets/js/admin.min.js?ver=1.6.0:1:79511)\n at /wp-content/plugins/imagelinks-interactive-image-builder-lite/assets/js/admin.min.js?ver=1.6.0:1:8347\n at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:25266)\n at Object.fireWith [as resolveWith] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26015)\n at s.\u003Ccomputed> [as resolve] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27983)\n at Object.success (/wp-content/plugins/imagelinks-interactive-image-builder-lite/assets/js/admin.min.js?ver=1.6.0:1:8869)\n at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:25266)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: interactive image, infographics, product map, floor map
imagelinks-interactive-image-builder-lite/imagelinks.php 69% from 13 tests
Analyzing the main PHP file in "ImageLinks Interactive Image Builder for Wordpress" version 1.6.0
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.0" instead of "4.6")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("imagelinks-interactive-image-builder-lite.php" instead of "imagelinks.php")
- Description: Keep the plugin description shorter than 140 characters (currently 315 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 detected7,031 lines of code in 377 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 353 | 1,132 | 3,068 |
SVG | 3 | 0 | 1 | 2,995 |
PO File | 1 | 264 | 322 | 601 |
JavaScript | 330 | 1 | 10 | 342 |
JSON | 17 | 0 | 0 | 17 |
CSS | 8 | 0 | 22 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 57.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 192.00 |
Average method complexity | 6.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 97.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.33% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
16 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/tag-red.png | 1.29KB | 1.30KB | 0.00% |
assets/images/pin-green.png | 1.24KB | 1.25KB | 0.00% |
assets/images/flag-blue.png | 0.96KB | 0.96KB | 0.00% |
assets/images/flag-red.png | 1.02KB | 1.02KB | 0.00% |
assets/images/tag-green.png | 1.37KB | 1.39KB | 0.00% |