Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▼292.91ms] Passed 4 tests
Server-side resources used by Deeper Comments
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.24 | 60.72 ▲10.56 |
Dashboard /wp-admin | 4.21 ▲0.81 | 44.98 ▲10.70 |
Posts /wp-admin/edit.php | 4.44 ▲0.80 | 48.92 ▲11.33 |
Add New Post /wp-admin/post-new.php | 7.71 ▲0.74 | 99.26 ▼1,199.30 |
Media Library /wp-admin/upload.php | 4.14 ▲0.84 | 31.74 ▲6.42 |
Inappropriate C.M /wp-admin/admin.php?page=deeper_inapp_cm | 4.17 | 38.59 |
Settings /wp-admin/admin.php?page=deeper_settings | 4.25 | 41.92 |
Analysis /wp-admin/admin.php?page=deeper_analysis | 4.22 | 39.16 |
Server storage [IO: ▲6.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 314 new files
Database: no new tables, 16 new options
New WordPress options |
---|
Social_Share |
Comment_Form |
Recaptcha |
Inappropriate_Comments |
styling |
Avatar |
Voting |
social_login |
disscustion_settings |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Deeper Comments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,250 ▲508 | 18.11 ▲2.33 | 11.83 ▲6.18 | 4.35 ▲2.04 |
Dashboard /wp-admin | 3,194 ▲333 | 8.43 ▲2.33 | 151.39 ▲11.00 | 176.47 ▲14.69 |
Posts /wp-admin/edit.php | 3,022 ▲328 | 5.06 ▲1.82 | 83.58 ▲21.03 | 151.55 ▲10.83 |
Add New Post /wp-admin/post-new.php | 1,855 ▲82 | 22.51 ▲0.46 | 383.54 ▼45.22 | 202.50 ▲44.38 |
Media Library /wp-admin/upload.php | 1,808 ▲107 | 6.05 ▲0.55 | 119.96 ▼19.37 | 196.70 ▲7.11 |
Inappropriate C.M /wp-admin/admin.php?page=deeper_inapp_cm | 1,558 | 4.97 | 76.51 | 119.56 |
Settings /wp-admin/admin.php?page=deeper_settings | 17,189 | 17.19 | 535.83 | 350.46 |
Analysis /wp-admin/admin.php?page=deeper_analysis | 1,490 | 6.47 | 139.38 | 142.97 |
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
- This plugin did not uninstall successfully, leaving 16 options in the database
- Comment_Form
- Recaptcha
- social_login
- Load_More
- Comments
- disscustion_settings
- Social_Share
- Login_Register
- styling
- Voting
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/deeper-comments/views/admin/errors/admin-notice.php
- > /wp-content/plugins/deeper-comments/views/tpl/social-login.php
- 150× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: h in wp-content/plugins/deeper-comments/lib/app/image.php on line 40
- > PHP Fatal error
Uncaught Error: Interface 'Hybridauth\\HttpClient\\HttpClientInterface' not found in wp-content/plugins/deeper-comments/lib/social-login/includes/hybrid/HttpClient/Curl.php:13
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OpenID' not found in wp-content/plugins/deeper-comments/lib/social-login/includes/hybrid/Provider/StackExchangeOpenID.php:15
- > PHP Fatal error
Uncaught Error: Class 'Depc_Controller' not found in wp-content/plugins/deeper-comments/controllers/depc-controller-public.php:10
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\AbstractAdapter' not found in wp-content/plugins/deeper-comments/lib/social-login/includes/hybrid/Adapter/OAuth2.php:24
- > PHP Warning
imagettfbbox(): Could not find/open font in wp-content/plugins/deeper-comments/lib/app/image.php on line 55
- > PHP Warning
imagettftext() expects parameter 1 to be resource, bool given in wp-content/plugins/deeper-comments/lib/app/image.php on line 45
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/deeper-comments/lib/social-login/includes/hybrid/Provider/Yahoo.php:18
- > PHP Fatal error
Uncaught Error: Class 'Depc_Controller_Public_Comment' not found in wp-content/plugins/deeper-comments/controllers/temp/depc-controller-public-comment-vote.php:10
- > PHP Fatal error
Uncaught Error: Class 'Depc_Model_Public_Comment' not found in wp-content/plugins/deeper-comments/models/module/depc-model-module-google.php:10
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=deeper_analysis
- > Network (severe)
wp-content/plugins/deeper-comments/lib/social-login/bws_menu/css/jquery-ui-styles/1.13.1/jquery-ui.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #17 (Back-end admin ( Load More ).) image not found
deeper-comments/deeper-comments.php 85% from 13 tests
"Deeper Comments" version 2.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 357 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 plugin48,627 lines of code in 223 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 164 | 3,956 | 6,857 | 17,270 |
CSS | 18 | 1,766 | 391 | 15,903 |
PO File | 12 | 4,417 | 6,477 | 9,834 |
JavaScript | 16 | 805 | 649 | 5,189 |
SVG | 9 | 3 | 4 | 412 |
Markdown | 3 | 10 | 0 | 18 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 11.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 224.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 134 | |
▷ Abstract classes | 10 | 7.46% |
▷ Concrete classes | 124 | 92.54% |
▷ Final classes | 5 | 4.03% |
Methods | 702 | |
▷ Static methods | 81 | 11.54% |
▷ Public methods | 510 | 72.65% |
▷ Protected methods | 151 | 21.51% |
▷ Private methods | 41 | 5.84% |
Functions | 99 | |
▷ Named functions | 90 | 90.91% |
▷ Anonymous functions | 9 | 9.09% |
Constants | 19 | |
▷ Global constants | 2 | 10.53% |
▷ Class constants | 17 | 89.47% |
▷ Public constants | 17 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
59 PNG files occupy 1.68MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/social-login/bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
lib/social-login/bws_menu/css/jquery-ui-styles/1.10.4/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.26KB | 0.11KB | ▼ 56.06% |
lib/social-login/bws_menu/css/jquery-ui-styles/1.9.2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
lib/social-login/bws_menu/css/jquery-ui-styles/1.12.1/images/ui-icons_cd0a0a_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
lib/social-login/images/linkedin.png | 4.30KB | 2.34KB | ▼ 45.52% |