Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼2.60ms] Passed 4 tests
This is a short check of server-side resources used by Hide My Site
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 44.45 ▲0.22 |
Dashboard /wp-admin | 3.55 ▲0.25 | 55.97 ▲3.66 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 51.51 ▼3.30 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 87.14 ▼10.25 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 38.28 ▲2.95 |
Hide My Site /wp-admin/options-general.php?page=hide_my_site-setting-admin | 3.47 | 46.22 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 53 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_hidemysiteSecure |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hide My Site
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲88 | 13.37 ▼0.88 | 1.83 ▲0.14 | 45.44 ▼2.28 |
Dashboard /wp-admin | 2,255 ▲78 | 5.82 ▲0.17 | 99.17 ▲0.02 | 45.09 ▲0.82 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.60 ▲0.65 | 39.98 ▲4.36 | 35.31 ▼1.04 |
Add New Post /wp-admin/post-new.php | 1,580 ▲52 | 23.37 ▲0.15 | 686.90 ▲12.03 | 38.89 ▼15.36 |
Media Library /wp-admin/upload.php | 1,463 ▲63 | 4.51 ▲0.31 | 101.59 ▲0.92 | 44.25 ▼1.62 |
Hide My Site /wp-admin/options-general.php?page=hide_my_site-setting-admin | 1,707 | 3.40 | 58.32 | 74.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_hidemysiteSecure
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/hide-my-site/templates/hmsdiscreet.php
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hide-my-site/templates/hmsiris.php:13
- > PHP Notice
Undefined variable: mobile_friendly in wp-content/plugins/hide-my-site/templates/hmsbinder.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hide-my-site/templates/hmslockandkey.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hide-my-site/templates/hmsice.php:13
- > PHP Notice
Undefined variable: mobile_friendly in wp-content/plugins/hide-my-site/templates/hmsdiscreet.php on line 67
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/hide-my-site/templates/hmsbinder.php:13
- > PHP Notice
Undefined variable: mobile_friendly in wp-content/plugins/hide-my-site/templates/hmsiris.php on line 4
- > PHP Notice
Undefined variable: mobile_friendly in wp-content/plugins/hide-my-site/templates/hmsdiscreet.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/hide-my-site/index.php:26
- > PHP Notice
Undefined variable: messagehtml in wp-content/plugins/hide-my-site/templates/hmsdiscreet.php on line 81
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6, #7 in hide-my-site/assets to your readme.txt
hide-my-site/index.php 85% from 13 tests
The main file in "Hide My Site" v. 2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 545 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hide-my-site.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,629 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 170 | 224 | 1,603 |
JavaScript | 2 | 14 | 5 | 26 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 58.50 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
29 PNG files occupy 0.33MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/input_back_binder.png | 0.40KB | 0.25KB | ▼ 35.71% |
images/buy_sprite.png | 67.06KB | 21.75KB | ▼ 67.56% |
images/green_ribbon_right.png | 2.71KB | 1.88KB | ▼ 30.73% |
images/login_button_ice.png | 2.30KB | 1.78KB | ▼ 22.89% |
images/login_button_binder.png | 1.81KB | 1.27KB | ▼ 29.98% |