Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.41MB] [CPU: ▲1.04ms] Passed 4 tests
Server-side resources used by ClickHome-MyHome
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 31.50 ▼11.60 |
Dashboard /wp-admin | 3.85 ▲0.55 | 58.29 ▲3.41 |
Posts /wp-admin/edit.php | 3.90 ▲0.55 | 65.47 ▲13.62 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.55 | 99.14 ▼1.28 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 53.45 ▲16.07 |
Maintenance /wp-admin/admin.php?page=MyHomeMaintenance | 3.83 | 47.16 |
Contact Form /wp-admin/admin.php?page=MyHomeContactForm | 3.74 | 42.85 |
Debug Console /wp-admin/admin.php?page=MyHomeDebugConsole | 3.79 | 43.01 |
Settings /wp-admin/admin.php?page=MyHomeSettings | 3.89 | 49.21 |
Tender /wp-admin/admin.php?page=MyHomeTender | 3.83 | 47.40 |
Advertising /wp-admin/admin.php?page=MyHomeAdvertising | 3.96 | 62.90 |
Facebook /wp-admin/admin.php?page=MyHomeFacebook | 3.83 | 46.06 |
Server storage [IO: ▲15.41MB] [DB: ▲0.01MB] 67% from 3 tests
Filesystem and database footprint
These are issues you should consider
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/clickhome-myhome/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 604 new files
Database: 10 new tables, 11 new options
New tables |
---|
wp_mh_displays |
wp_mh_housedetails_facades_docs |
wp_mh_displays_planoptions_docs |
wp_mh_housedetails |
wp_mh_housedetails_rooms |
wp_mh_housedetails_housedocs |
wp_mh_housedetails_planoptions |
wp_mh_displays_planoptions |
wp_mh_housedetails_planoptions_docs |
wp_mh_housedetails_facades |
New WordPress options |
---|
db_upgraded |
myhome_version |
can_compress_scripts |
myhome_log_filename |
widget_recent-comments |
theysaidso_admin_options |
widget_contractheaderwidget |
myhome_database_version |
widget_recent-posts |
widget_logoffwidget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ClickHome-MyHome
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,576 ▼185 | 13.97 ▼0.42 | 0.54 ▼1.25 | 0.09 ▼43.17 |
Dashboard /wp-admin | 2,277 ▲74 | 5.87 ▲0.03 | 97.26 ▼13.90 | 74.95 ▲27.30 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.02 ▼0.10 | 34.93 ▼2.60 | 32.86 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 22.66 ▲5.13 | 693.21 ▼19.04 | 75.48 ▲21.46 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.21 ▼0.06 | 108.71 ▲2.72 | 85.58 ▲38.62 |
Maintenance /wp-admin/admin.php?page=MyHomeMaintenance | 1,090 | 1.73 | 27.94 | 40.04 |
Contact Form /wp-admin/admin.php?page=MyHomeContactForm | 1,291 | 1.84 | 24.77 | 34.93 |
Debug Console /wp-admin/admin.php?page=MyHomeDebugConsole | 1,191 | 1.92 | 31.05 | 27.88 |
Settings /wp-admin/admin.php?page=MyHomeSettings | 1,310 | 1.72 | 27.44 | 38.72 |
Tender /wp-admin/admin.php?page=MyHomeTender | 1,137 | 1.88 | 29.02 | 30.26 |
Advertising /wp-admin/admin.php?page=MyHomeAdvertising | 1,045 | 1.72 | 26.55 | 29.94 |
Facebook /wp-admin/admin.php?page=MyHomeFacebook | 1,039 | 1.72 | 25.99 | 30.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie tables were found after uninstall: 10 tables
- wp_mh_housedetails_facades
- wp_mh_housedetails_planoptions
- wp_mh_housedetails
- wp_mh_housedetails_housedocs
- wp_mh_housedetails_facades_docs
- wp_mh_displays_planoptions
- wp_mh_housedetails_planoptions_docs
- wp_mh_displays
- wp_mh_housedetails_rooms
- wp_mh_displays_planoptions_docs
- The uninstall procedure has failed, leaving 11 options in the database
- widget_contractheaderwidget
- can_compress_scripts
- widget_recent-comments
- widget_logoffwidget
- myhome_database_version
- theysaidso_admin_options
- widget_recent-posts
- myhome_version
- widget_theysaidso_widget
- myhome_log_filename
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/clickhome-myhome/vendor/cool-php-captcha/captcha.php
- 112× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\Http\\RequestBodyInterface' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/src/Facebook/Http/RequestBodyMultipart.php:37
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNodeFactory' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/src/Facebook/GraphNodes/GraphObjectFactory.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/tests/GraphNodes/GraphGroupTest.php:30
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/tests/FacebookBatchResponseTest.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/src/Facebook/GraphNodes/GraphAlbum.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PseudoRandomString\\PseudoRandomStringGeneratorInterface' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/tests/Helpers/FacebookRedirectLoginHelperTest.php:34
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/tests/GraphNodes/GraphNodeTest.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/tests/FacebookRequestTest.php:32
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Helpers\\FacebookSignedRequestFromInputHelper' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/src/Facebook/Helpers/FacebookCanvasHelper.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PseudoRandomString\\PseudoRandomStringGeneratorInterface' not found in wp-content/plugins/clickhome-myhome/vendor/facebook-php-sdk/src/Facebook/PseudoRandomString/RandomBytesPseudoRandomStringGenerator.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: clickhome, myhome
clickhome-myhome/clickhome-myhome.php 92% from 13 tests
The principal PHP file in "ClickHome-MyHome" v. 1.6.3 is loaded by WordPress automatically on each request
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 435 characters long)
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 detected57,428 lines of code in 485 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 266 | 4,740 | 107,291 | 20,517 |
JavaScript | 149 | 3,791 | 2,446 | 19,530 |
CSS | 16 | 1,104 | 871 | 8,787 |
XML | 3 | 16 | 21 | 2,155 |
Sass | 16 | 61 | 39 | 1,916 |
LESS | 15 | 47 | 49 | 1,796 |
SVG | 3 | 1 | 0 | 1,791 |
Markdown | 7 | 232 | 0 | 594 |
JSON | 5 | 0 | 0 | 177 |
HTML | 1 | 10 | 0 | 127 |
YAML | 2 | 7 | 0 | 25 |
Ruby | 1 | 2 | 0 | 8 |
make | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 223 | |
▷ Abstract classes | 11 | 4.93% |
▷ Concrete classes | 212 | 95.07% |
▷ Final classes | 0 | 0.00% |
Methods | 1,313 | |
▷ Static methods | 44 | 3.35% |
▷ Public methods | 1,096 | 83.47% |
▷ Protected methods | 99 | 7.54% |
▷ Private methods | 118 | 8.99% |
Functions | 42 | |
▷ Named functions | 16 | 38.10% |
▷ Anonymous functions | 26 | 61.90% |
Constants | 51 | |
▷ Global constants | 15 | 29.41% |
▷ Class constants | 36 | 70.59% |
▷ Public constants | 36 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
36 PNG files occupy 1.51MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/jquery.ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/jquery.slick/img/lazyfonz3.png | 84.11KB | 30.72KB | ▼ 63.47% |
vendor/jquery.colorbox/img/loading_background.png | 0.15KB | 0.15KB | ▼ 0.64% |
vendor/jquery.colorbox/img/overlay.png | 0.18KB | 0.15KB | ▼ 15.93% |
vendor/jquery.ui/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |