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.03MB] [CPU: ▼3.12ms] Passed 4 tests
Analyzing server-side resources used by WDV About Me Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.30 ▼3.36 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.39 ▲0.62 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 49.90 ▲0.95 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.16 ▼10.67 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.55 ▲3.06 |
Server storage [IO: ▲3.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_wdv_about_me |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WDV About Me Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,065 ▲304 | 15.16 ▲0.52 | 5.30 ▲3.61 | 40.16 ▲0.39 |
Dashboard /wp-admin | 2,362 ▲185 | 6.46 ▲0.79 | 121.32 ▲36.15 | 41.89 ▼2.15 |
Posts /wp-admin/edit.php | 2,290 ▲190 | 3.59 ▲1.57 | 51.20 ▲9.58 | 30.26 ▼5.19 |
Add New Post /wp-admin/post-new.php | 1,560 ▲25 | 18.59 ▲0.42 | 633.27 ▼14.19 | 46.23 ▼14.79 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.41 ▲0.22 | 80.75 ▼17.30 | 41.10 ▼1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- widget_wdv_about_me
- db_upgraded
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wdv-about-me-widget/admin/partials/wdv-about-me-widget-admin-display.php
- > /wp-content/plugins/wdv-about-me-widget/public/partials/wdv-about-me-widget-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wdv-about-me-widget/widgets/class-wdv-about-me-widget-wdv-widget.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #6, #7, #8, #9 in wdv-about-me-widget/assets to your readme.txt
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wdv-about-me-widget/wdv-about-me-widget.php 92% from 13 tests
The main PHP script in "WDV About Me Widget" version 1.2.7 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin17,904 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,882 |
CSS | 16 | 3,533 | 74 | 7,930 |
PHP | 13 | 226 | 579 | 987 |
JavaScript | 2 | 37 | 62 | 103 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 9.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin