Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼292.47ms] Passed 4 tests
A check of server-side resources used by Dynamic Home Length
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 59.63 ▲2.79 |
Dashboard /wp-admin | 3.43 ▲0.01 | 38.89 ▲5.08 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 74.50 ▲29.49 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.08 | 95.34 ▼1,177.72 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 22.89 ▼0.01 |
Dynamic home length /wp-admin/options-general.php?page=dynamic-home-length | 3.26 | 23.07 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
dhl_option |
Browser metrics Passed 4 tests
Dynamic Home Length: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,799 ▲45 | 15.80 ▲0.17 | 6.72 ▲0.59 | 2.86 ▲0.39 |
Dashboard /wp-admin | 2,897 ▲47 | 6.15 ▲0.04 | 124.88 ▼0.93 | 169.83 ▼2.93 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▼0.00 | 66.51 ▼14.89 | 141.22 ▼9.83 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 16.36 ▲0.79 | 433.09 ▼3.92 | 188.75 ▲31.70 |
Media Library /wp-admin/upload.php | 1,697 ▲2 | 5.54 ▲0.03 | 153.08 ▲4.48 | 221.99 ▲12.18 |
Dynamic home length /wp-admin/options-general.php?page=dynamic-home-length | 988 | 2.36 | 52.86 | 113.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 option in the database
- dhl_option
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=dynamic-home-length
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=dynamic-home-length
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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/dynamic-home-length/dynamic-home-length.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Settings) image required
dynamic-home-length/dynamic-home-length.php 92% from 13 tests
This is the main PHP file of "Dynamic Home Length" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 174 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
There were no executable files found in this plugin45 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 10 | 45 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin