Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.35ms] Passed 4 tests
An overview of server-side resources used by WP Discord Post Plus - Supports Unlimited Channels
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.40 ▼1.18 |
Dashboard /wp-admin | 3.33 ▲0.03 | 52.64 ▲8.25 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.63 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.43 ▼13.44 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.24 ▲0.47 |
WP Discord Post Plus /wp-admin/options-general.php?page=wp-discord-post-plus | 3.22 | 36.99 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Discord Post Plus - Supports Unlimited Channels
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.26 ▼1.30 | 1.92 ▼0.05 | 40.47 ▲1.32 |
Dashboard /wp-admin | 2,213 ▲21 | 4.86 ▼0.03 | 96.40 ▼11.32 | 40.33 ▼0.73 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▲0.00 | 38.70 ▼2.74 | 35.95 ▲1.92 |
Add New Post /wp-admin/post-new.php | 6,474 ▲4,960 | 20.29 ▲2.80 | 891.57 ▲218.32 | 59.11 ▼5.85 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.24 ▼0.01 | 104.36 ▼8.30 | 47.47 ▼3.08 |
WP Discord Post Plus /wp-admin/options-general.php?page=wp-discord-post-plus | 1,084 | 3.05 | 44.35 | 34.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-discord-post-plus
- > Notice in wp-content/plugins/wp-discord-post-plus/includes/class-wp-discord-post-admin.php+363
Undefined index: category
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
wp-discord-post-plus/wp-discord-post.php 92% from 13 tests
"WP Discord Post Plus - Supports Unlimited Channels" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-discord-post-plus.php" instead of "wp-discord-post.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,237 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 304 | 506 | 1,181 |
JavaScript | 1 | 22 | 1 | 54 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.38 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 77 | |
▷ Static methods | 4 | 5.19% |
▷ Public methods | 68 | 88.31% |
▷ Protected methods | 4 | 5.19% |
▷ Private methods | 5 | 6.49% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
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 |
img/woocommerce_logo.png | 4.36KB | 1.55KB | ▼ 64.50% |