Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.34ms] Passed 4 tests
A check of server-side resources used by Desert Companion
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.72 ▲5.57 |
Dashboard /wp-admin | 3.34 ▼0.01 | 50.21 ▼6.97 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.66 ▼7.31 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.02 ▼7.39 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.63 ▲0.30 |
Server storage [IO: ▲6.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 272 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
item_details_page |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Desert Companion
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,785 ▼2 | 14.70 ▲0.46 | 1.79 ▲0.12 | 38.24 ▲0.02 |
Dashboard /wp-admin | 2,195 ▲24 | 5.62 ▲0.10 | 87.82 ▼16.97 | 41.21 ▼1.00 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.94 ▼0.07 | 36.06 ▼0.12 | 30.52 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.38 ▲0.19 | 604.07 ▼128.49 | 48.64 ▼2.33 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.23 ▲0.00 | 108.56 ▲8.38 | 43.13 ▼0.68 |
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 detected upon uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- item_details_page
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/desert-companion/inc/desert-import/public/partials/desert-import-public-display.php
- 201× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'desert_companion_plugin_dirinc/themes/cosmobit/customizer-repeater-default.php' (include_path='.:/usr/share/php') in wp-content/plugins/desert-companion/inc/themes/celexo/celexo.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/desert-companion/inc/themes/suntech/customizer/softme-protect-section.php:210
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/desert-companion/inc/themes/chitvi/customizer/cosmobit-slider-section.php:185
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/desert-companion/inc/themes/celexo/front/section-service.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/desert-companion/inc/themes/chitvi/customizer/cosmobit-service-section.php:216
- > PHP Warning
require(desert_companion_plugin_dirinc/themes/atua/customizer-repeater-default.php): failed to open stream: No such file or directory in wp-content/plugins/desert-companion/inc/themes/avvy/avvy.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/desert-companion/inc/themes/caresoft/front/section-slider.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/desert-companion/inc/themes/atua/customizer-repeater-default.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/desert-companion/inc/themes/caresoft/front/section-information.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/desert-companion/inc/themes/flexora/customizer/cosmobit-information-section.php:125
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Requires at least: Version format is invalid
desert-companion/desert-companion.php Passed 13 tests
The entry point to "Desert Companion" version 1.0.54 is a PHP file that has certain tags in its header comment area
70 characters long description:
Desert Companion Enhances Desert Themes with additional functionality.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected20,178 lines of code in 194 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 186 | 2,302 | 2,401 | 19,700 |
CSS | 3 | 39 | 25 | 363 |
JavaScript | 4 | 49 | 84 | 114 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 5.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 3 | 3.66% |
▷ Public methods | 72 | 87.80% |
▷ Protected methods | 5 | 6.10% |
▷ Private methods | 5 | 6.10% |
Functions | 240 | |
▷ Named functions | 240 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
47 PNG files occupy 1.12MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/themes/cosmobit/assets/images/logo.png | 6.89KB | 2.98KB | ▼ 56.68% |
inc/themes/celexo/assets/images/service/stock-market.png | 1.60KB | 1.58KB | ▼ 1.28% |
inc/themes/celexo/assets/images/service/monitoring.png | 1.23KB | 1.21KB | ▼ 1.67% |
inc/themes/softme/assets/images/service_card_bg.png | 6.82KB | 7.30KB | 0.00% |
inc/themes/lazypress/assets/images/logo.png | 7.79KB | 3.58KB | ▼ 53.96% |