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.59MB] [CPU: ▼18.52ms] Passed 4 tests
An overview of server-side resources used by Hello Dolly For Your Song
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 39.16 ▼4.98 |
Dashboard /wp-admin | 3.40 ▲0.09 | 51.00 ▼1.10 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.88 ▼1.93 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.62 | 37.81 ▼66.06 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.05 ▼0.99 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_hdfys_widget |
hdfys_activated |
hdfys_admin_lyric |
theysaidso_admin_options |
widget_recent-comments |
hdfys_song |
db_upgraded |
hdfys_version |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Hello Dolly For Your Song
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.34 ▼1.06 | 4.45 ▲2.48 | 41.45 ▼0.29 |
Dashboard /wp-admin | 2,219 ▲28 | 5.89 ▼0.01 | 101.17 ▲1.28 | 40.15 ▼3.49 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.06 ▼0.10 | 35.99 ▼3.97 | 33.78 ▼3.95 |
Add New Post /wp-admin/post-new.php | 6,192 ▲4,648 | 19.04 ▲0.71 | 888.14 ▲227.44 | 69.73 ▲8.94 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▲0.01 | 94.51 ▼9.91 | 41.52 ▼6.15 |
Hello Dolly Your Song /wp-admin/hdfys_settings.php | 26 | 0.44 | 0.11 | 13.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/hdfys_settings.php
- > Network (severe)
wp-admin/hdfys_settings.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: love, hello world, random, admin, learning wordpress
hello-dolly-for-your-song/hellodollyforyoursong.php 92% from 13 tests
The main PHP file in "Hello Dolly For Your Song" ver. 0.18 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hello-dolly-for-your-song.php" instead of "hellodollyforyoursong.php")
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
Good job! No executable or dangerous file extensions detected686 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 187 | 448 | 472 |
PO File | 5 | 65 | 0 | 191 |
JavaScript | 1 | 11 | 24 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin