Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼141.66ms] Passed 4 tests
An overview of server-side resources used by My Hello Dolly
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 32.07 ▲1.24 |
Dashboard /wp-admin | 3.09 ▲0.03 | 43.26 ▼12.53 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 48.81 ▲6.59 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 96.39 ▼555.83 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.00 ▲0.50 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for My Hello Dolly
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,711 ▲115 | 16.11 ▲0.44 | 11.29 ▼4.70 | 45.66 ▲6.14 |
Dashboard /wp-admin | 2,975 ▲42 | 5.92 ▼0.29 | 143.25 ▼20.74 | 106.39 ▼3.48 |
Posts /wp-admin/edit.php | 2,747 ▲8 | 2.72 ▼0.11 | 80.39 ▲16.59 | 90.31 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,510 ▼173 | 18.56 ▲0.06 | 362.32 ▼20.77 | 109.65 ▲0.28 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.04 ▲0.03 | 152.75 ▲3.29 | 115.46 ▲1.54 |
My Hello Dolly /wp-admin/my-hello-dolly.php | 26 | 0.90 | 0.05 | 11.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-hello-dolly/my-hello.php:48
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/my-hello-dolly.php
- > Network (severe)
wp-admin/my-hello-dolly.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 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
3 plugin tags: admin notices, funny, hell dolly
my-hello-dolly/my-hello.php 77% from 13 tests
This is the main PHP file of "My Hello Dolly" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("my-hello-dolly.php" instead of "my-hello.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: Please don't use more than 140 characters for the plugin description (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected154 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 63 | 117 |
PO File | 1 | 7 | 7 | 37 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin