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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼136.82ms] 75% from 4 tests
A check of server-side resources used by Dreamfoxmedia Helpspot live lookup
Please fix the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 2,345.93ms on /wp-admin/options-general.php?page=helpdesk)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 38.45 ▲13.70 |
Dashboard /wp-admin | 3.13 ▲0.07 | 61.05 ▲13.30 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 40.35 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 100.50 ▼558.73 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 38.27 ▼1.33 |
helpspot live lookup /wp-admin/options-general.php?page=helpdesk | 3.06 | 2,345.93 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Dreamfoxmedia Helpspot live lookup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲139 | 15.93 ▲0.36 | 10.28 ▲2.25 | 48.67 ▼4.17 |
Dashboard /wp-admin | 2,999 ▲62 | 5.97 ▲0.03 | 144.72 ▼12.68 | 116.74 ▼5.28 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.71 ▼0.01 | 75.70 ▲0.44 | 107.26 ▲10.67 |
Add New Post /wp-admin/post-new.php | 1,688 ▲5 | 18.67 ▲0.04 | 378.92 ▼31.85 | 115.74 ▲6.16 |
Media Library /wp-admin/upload.php | 1,814 ▲7 | 5.04 ▼0.01 | 154.08 ▼1.18 | 129.89 ▲4.69 |
helpspot live lookup /wp-admin/options-general.php?page=helpdesk | 2,252 | 3.93 | 104.23 | 111.28 |
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
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dreamfox-helpspot-live-lookup/dreamfoxmedia-helpspot-live-lookup.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=helpdesk
- > Network (severe)
wp-content/plugins/woocommerce-delivery-date-premium/css/addons-style.min.css?ver=2.1.23 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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: dreamfoxmedia, plugin, live, dreamfox, lookup...
dreamfox-helpspot-live-lookup/dreamfoxmedia-helpspot-live-lookup.php 85% from 13 tests
"Dreamfoxmedia Helpspot live lookup" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("dreamfox-helpspot-live-lookup.php" instead of "dreamfoxmedia-helpspot-live-lookup.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 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
No dangerous file extensions were detected689 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 76 | 25 | 559 |
CSS | 1 | 24 | 1 | 104 |
JavaScript | 1 | 7 | 0 | 26 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.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 | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.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 | 4 | |
▷ Named functions | 4 | 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 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.03MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/cross-flat.png | 2.93KB | 3.18KB | 0.00% |
img/close-icon.png | 1.09KB | 1.00KB | ▼ 7.55% |
img/help.png | 0.30KB | 0.32KB | 0.00% |
img/dfmhsll1.png | 14.37KB | 8.72KB | ▼ 39.36% |
img/dfmhsll2.png | 11.07KB | 7.10KB | ▼ 35.82% |