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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.32MB] [CPU: ▲2.20ms] Passed 4 tests
This is a short check of server-side resources used by Domain For Sale, Domain appraisal, Domain auction, Domain marketplace - Best Domain For sale Plugin for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.86 ▲1.39 | 48.24 ▲8.09 |
Dashboard /wp-admin | 4.67 ▲1.32 | 59.36 ▼4.16 |
Posts /wp-admin/edit.php | 4.73 ▲1.36 | 59.00 ▲7.01 |
Add New Post /wp-admin/post-new.php | 7.19 ▲1.30 | 95.16 ▼2.16 |
Media Library /wp-admin/upload.php | 4.53 ▲1.30 | 49.22 ▲16.52 |
Server storage [IO: ▲4.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 129 new files
Database: no new tables, 7 new options
New WordPress options |
---|
dfs-opt |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Domain For Sale, Domain appraisal, Domain auction, Domain marketplace - Best Domain For sale Plugin for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲116 | 14.78 ▲0.44 | 1.82 ▲0.21 | 49.64 ▲8.51 |
Dashboard /wp-admin | 2,247 ▲70 | 5.57 ▼0.08 | 96.07 ▼2.18 | 81.82 ▲36.17 |
Posts /wp-admin/edit.php | 2,171 ▲71 | 2.11 ▲0.16 | 40.10 ▼0.78 | 37.16 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,592 ▲66 | 23.75 ▲0.30 | 737.91 ▲31.05 | 57.18 ▲1.54 |
Media Library /wp-admin/upload.php | 1,467 ▲67 | 4.16 ▼0.08 | 96.36 ▼2.70 | 69.12 ▲24.38 |
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 were found after uninstall: 7 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- dfs-opt
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/domain-for-sale/public/partials/domain-for-sale-public-display.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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 (31 tag instead of maximum 10)
domain-for-sale/domain-for-sale.php Passed 13 tests
The main PHP file in "Domain For Sale, Domain appraisal, Domain auction, Domain marketplace - Best Domain For sale Plugin for WordPress" ver. 1.4.13 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
Creative and professional auction and domain for sale WordPress Plugin.
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 plugin38,942 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 2,610 | 224 | 21,503 |
SVG | 5 | 0 | 0 | 9,554 |
PHP | 74 | 1,722 | 1,655 | 7,698 |
PO File | 1 | 65 | 67 | 162 |
JavaScript | 5 | 3 | 33 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 18.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 5.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 2 | 3.17% |
▷ Concrete classes | 61 | 96.83% |
▷ Final classes | 0 | 0.00% |
Methods | 250 | |
▷ Static methods | 30 | 12.00% |
▷ Public methods | 228 | 91.20% |
▷ Protected methods | 5 | 2.00% |
▷ Private methods | 17 | 6.80% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/color-2.png | 3.40KB | 0.13KB | ▼ 96.27% |
public/images/color-4.png | 3.40KB | 0.13KB | ▼ 96.27% |
admin/assets/images/color-3.png | 3.40KB | 0.13KB | ▼ 96.27% |
public/images/color-2.png | 3.40KB | 0.13KB | ▼ 96.27% |
admin/assets/images/color-4.png | 3.40KB | 0.13KB | ▼ 96.27% |