Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.58ms] Passed 4 tests
Analyzing server-side resources used by Hi-Deas Website Dialer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 46.14 ▲7.83 |
Dashboard /wp-admin | 3.47 ▲0.17 | 48.85 ▼4.35 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 51.13 ▼0.14 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 94.31 ▲0.45 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 39.80 ▲1.71 |
Hi-Deas Website Dialer /wp-admin/options-general.php?page=hi-deas-website-dialer | 3.37 | 36.33 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
HiDeasWebsiteDialerHashedKey |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Hi-Deas Website Dialer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.26 ▼0.82 | 1.87 ▲0.43 | 41.43 ▼14.25 |
Dashboard /wp-admin | 2,210 ▲18 | 5.83 ▲0.92 | 99.93 ▼8.74 | 41.33 ▼1.52 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.09 | 44.73 ▲6.76 | 31.72 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,522 ▼11 | 23.08 ▲0.06 | 632.83 ▼4.96 | 64.83 ▲5.61 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.25 ▲0.07 | 101.48 ▼6.15 | 42.89 ▼4.25 |
Hi-Deas Website Dialer /wp-admin/options-general.php?page=hi-deas-website-dialer | 986 | 2.08 | 30.75 | 30.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- HiDeasWebsiteDialerHashedKey
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hi-deas-website-dialer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hi-deas-website-dialer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hi-deas-website-dialer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hi-deas-website-dialer
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant HI_DEAS_WEBSITE_DIALER_PLUGIN_URL - assumed 'HI_DEAS_WEBSITE_DIALER_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/hi-deas-website-dialer/src/Init.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/hi-deas-website-dialer/hi-deas-website-dialer.php:17
- > PHP Warning
Use of undefined constant HI_DEAS_WEBSITE_DIALER_PLUGIN_URL - assumed 'HI_DEAS_WEBSITE_DIALER_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/hi-deas-website-dialer/src/Init.php on line 5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: hi-deas, business, hideas, website dailer, customer...
hi-deas-website-dialer/hi-deas-website-dialer.php Passed 13 tests
The entry point to "Hi-Deas Website Dialer" version 1.0.1 is a PHP file that has certain tags in its header comment area
42 characters long description:
Hi-Deas Website Dialer for Internet Calls.
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
There were no executable files found in this plugin988 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 209 | 395 | 918 |
JavaScript | 2 | 18 | 0 | 42 |
JSON | 2 | 0 | 0 | 28 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 24 | 38.10% |
▷ Public methods | 61 | 96.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.17% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.38MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 144.81KB | 51.63KB | ▼ 64.35% |
assets/images/phone-call-3.png | 74.73KB | 69.63KB | ▼ 6.83% |
assets/images/phone-call-2.png | 71.04KB | 28.41KB | ▼ 60.01% |
assets/icon-128x128.png | 86.38KB | 35.98KB | ▼ 58.34% |
assets/images/phone-call.png | 9.85KB | 4.60KB | ▼ 53.28% |