Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼295.00ms] Passed 4 tests
Server-side resources used by Image Hotspot With Tooltip For WPBakery Page Builder (formerly Visual Composer)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 32.51 ▼0.31 |
Dashboard /wp-admin | 3.06 ▲0.01 | 41.93 ▼3.69 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 34.89 ▼12.09 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 90.85 ▼1,155.66 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 29.73 ▼8.54 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Image Hotspot With Tooltip For WPBakery Page Builder (formerly Visual Composer)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲97 | 15.94 ▲0.40 | 6.90 ▼0.89 | 46.68 ▲1.50 |
Dashboard /wp-admin | 2,962 ▲112 | 5.91 ▲0.05 | 134.06 ▼2.53 | 104.35 ▲5.69 |
Posts /wp-admin/edit.php | 2,703 ▼3 | 2.82 ▲0.13 | 65.14 ▼1.89 | 98.43 ▲6.48 |
Add New Post /wp-admin/post-new.php | 1,653 ▼0 | 18.69 ▲0.08 | 357.60 ▲1.33 | 107.38 ▼0.85 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 4.98 ▼0.02 | 151.35 ▼3.01 | 113.57 ▼9.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/vc-image-hotspot/vc-image-hotspot.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: wpbakery page builder, tooltip, responsive, image mark, image point...
vc-image-hotspot/vc-image-hotspot.php 92% from 13 tests
The entry point to "Image Hotspot With Tooltip For WPBakery Page Builder (formerly Visual Composer)" version 1.2.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, 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
Everything looks great! No dangerous files found in this plugin1,979 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 6 | 1 | 1,014 |
JavaScript | 5 | 208 | 97 | 713 |
PHP | 3 | 61 | 17 | 252 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.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 | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected