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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.24ms] Passed 4 tests
A check of server-side resources used by ProHotspots Lite - Image Gallery Hotspots
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.15 ▼2.98 |
Dashboard /wp-admin | 3.37 ▲0.02 | 45.88 ▼15.72 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.79 ▼2.72 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.87 ▼11.55 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 34.86 ▼1.06 |
Server storage [IO: ▲5.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ProHotspots Lite - Image Gallery Hotspots
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,149 ▲403 | 22.67 ▲8.29 | 5.68 ▲3.86 | 32.84 ▼11.17 |
Dashboard /wp-admin | 2,450 ▲262 | 10.86 ▲4.99 | 248.43 ▲128.25 | 55.52 ▲9.39 |
Posts /wp-admin/edit.php | 2,307 ▲218 | 11.39 ▲9.37 | 82.22 ▲48.17 | 45.26 ▲10.03 |
Add New Post /wp-admin/post-new.php | 6,351 ▲4,832 | 29.96 ▲6.75 | 693.13 ▼16.83 | 38.64 ▼15.10 |
Media Library /wp-admin/upload.php | 1,758 ▲373 | 11.96 ▲7.76 | 138.58 ▲37.49 | 47.12 ▲2.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #2 (Frontend Preview assets/screenshot-2.png)
prohotpoints-gallery/index.php 69% from 13 tests
The main PHP script in "ProHotspots Lite - Image Gallery Hotspots" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("prohotpoints-gallery.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 195 characters long)
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin11,037 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 18 | 14 | 8,072 |
SVG | 7 | 0 | 0 | 2,618 |
PHP | 2 | 72 | 62 | 262 |
JavaScript | 2 | 0 | 6 | 78 |
JSON | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 37.50% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin