Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.20ms] Passed 4 tests
Server-side resources used by Easy Digital Downloads - Omnidesk Support
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 46.32 ▲4.99 |
Dashboard /wp-admin | 3.35 ▲0.01 | 53.11 ▼18.49 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 55.62 ▲5.28 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.35 ▼11.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.78 ▲0.63 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Easy Digital Downloads - Omnidesk Support: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.25 ▼0.10 | 1.72 ▼0.12 | 43.11 ▼4.76 |
Dashboard /wp-admin | 2,201 ▲21 | 5.50 ▼0.14 | 85.01 ▼8.45 | 42.17 ▲2.23 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.97 ▼0.02 | 34.83 ▼6.07 | 32.77 ▼5.15 |
Add New Post /wp-admin/post-new.php | 1,534 ▼2 | 23.27 ▲5.17 | 713.75 ▲99.88 | 54.78 ▼28.55 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.18 ▼0.02 | 98.15 ▼3.81 | 49.14 ▲5.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
edd-omnidesk-support/edd-omnidesk.php 85% from 13 tests
The entry point to "Easy Digital Downloads - Omnidesk Support" version 1.3.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 162 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("edd-omnidesk-support.php" instead of "edd-omnidesk.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected331 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 93 | 186 | 331 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 11 | 55.00% |
▷ Public methods | 17 | 85.00% |
▷ Protected methods | 1 | 5.00% |
▷ Private methods | 2 | 10.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin