Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/ds-tailored-html/ds-tt.php+12
include(/resources/ds-tt-configuration.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.96MB] [CPU: ▼54.89ms] Passed 4 tests
Analyzing server-side resources used by Tailored HTML
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.31 ▼38.48 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.12 ▼44.12 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.38 ▼41.93 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.21 ▼95.01 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.99 ▼27.04 |
Server storage [IO: ▲0.84MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 94 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_ds_tailored_html_stylesheet |
wp_ds_tailored_html |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_ds_tt_id |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Tailored HTML
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲245 | 15.12 ▲0.82 | 11.58 ▲9.81 | 39.74 ▼17.83 |
Dashboard /wp-admin | 2,254 ▲66 | 5.75 ▲0.88 | 102.87 ▼15.11 | 40.29 ▼7.61 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.47 ▲0.43 | 45.34 ▲7.82 | 35.21 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 23.79 ▲5.63 | 733.82 ▲68.38 | 37.37 ▼13.10 |
Media Library /wp-admin/upload.php | 1,439 ▲57 | 5.03 ▲0.81 | 112.03 ▲16.68 | 51.20 ▲6.90 |
Tailored HTML /wp-admin/ds-tt-configuration.php | 26 | 0.44 | 0.09 | 15.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/ds-tailored-html/ds-tt.php+12
include(/resources/ds-tt-configuration.php): failed to open stream: No such file or directory
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_ds_tt_id
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ds-tailored-html/ds-tt.php:16
- > PHP Warning
include(/resources/ds-tt-configuration.php): failed to open stream: No such file or directory in wp-content/plugins/ds-tailored-html/ds-tt.php on line 12
- > PHP Warning
include(/resources/ds-tt-widget.php): failed to open stream: No such file or directory in wp-content/plugins/ds-tailored-html/ds-tt.php on line 14
- > PHP Warning
include(): Failed opening '/resources/ds-tt-configuration.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/ds-tailored-html/ds-tt.php on line 12
- > PHP Warning
include(): Failed opening '/resources/ds-tt-get-configuration.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/ds-tailored-html/ds-tt.php on line 13
- > PHP Warning
include(): Failed opening '/resources/ds-tt-widget.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/ds-tailored-html/ds-tt.php on line 14
- > PHP Warning
include(/resources/ds-tt-get-configuration.php): failed to open stream: No such file or directory in wp-content/plugins/ds-tailored-html/ds-tt.php on line 13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/ds-tt-configuration.php
- > Network (severe)
wp-admin/ds-tt-configuration.php - Failed to load resource: the server responded with a status of 404 (Not Found)
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 require attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
ds-tailored-html/ds-tt.php 92% from 13 tests
The principal PHP file in "Tailored HTML" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ds-tailored-html.php" instead of "ds-tt.php")
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
Success! There were no dangerous files found in this plugin1,785 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 46 | 192 | 127 | 748 |
PHP | 5 | 229 | 38 | 652 |
CSS | 8 | 49 | 9 | 250 |
SVG | 2 | 0 | 0 | 125 |
HTML | 1 | 0 | 0 | 8 |
Markdown | 1 | 1 | 0 | 2 |
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.16 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/help-icon-2.png | 1.40KB | 0.48KB | ▼ 65.51% |