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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.60ms] Passed 4 tests
Analyzing server-side resources used by WordPress Social Comments Plugin for Vkontakte Comments and Disqus Comments
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.81 ▼3.81 |
Dashboard /wp-admin | 3.45 ▲0.14 | 49.55 ▼1.03 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 50.17 ▼2.34 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 85.97 ▼15.20 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.90 ▲4.16 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 8 new options
New WordPress options |
---|
heateor_sc |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
heateor_sc_version |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Social Comments Plugin for Vkontakte Comments and Disqus Comments
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲125 | 14.74 ▲0.46 | 1.88 ▼0.22 | 38.78 ▼1.12 |
Dashboard /wp-admin | 2,242 ▲51 | 5.88 ▲1.01 | 109.52 ▲3.91 | 75.17 ▲30.43 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 2.00 ▼0.04 | 37.79 ▼4.92 | 37.53 ▲0.99 |
Add New Post /wp-admin/post-new.php | 6,244 ▲4,730 | 19.00 ▲1.31 | 919.16 ▲291.56 | 58.80 ▲3.04 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.11 ▼0.11 | 96.85 ▼2.49 | 70.90 ▲25.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 12× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/heateor-social-comments/css/index.php
- > /wp-content/plugins/heateor-social-comments/images/login/index.php
- > /wp-content/plugins/heateor-social-comments/admin/help.php
- > /wp-content/plugins/heateor-social-comments/inc/shortcode.php
- > /wp-content/plugins/heateor-social-comments/images/index.php
- > /wp-content/plugins/heateor-social-comments/admin/plugin-options.php
- > /wp-content/plugins/heateor-social-comments/heateor-social-comments.php
- > /wp-content/plugins/heateor-social-comments/inc/index.php
- > /wp-content/plugins/heateor-social-comments/index.php
- > /wp-content/plugins/heateor-social-comments/admin/index.php
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please describe screenshot #5 in heateor-social-comments/assets to your readme.txt
heateor-social-comments/heateor-social-comments.php Passed 13 tests
The entry point to "WordPress Social Comments Plugin for Vkontakte Comments and Disqus Comments" version 1.6.3 is a PHP file that has certain tags in its header comment area
105 characters long description:
Integrate Facebook Comments, Vkontakte Comments and Disqus Comments along with default WordPress Comments
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,404 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 159 | 133 | 1,374 |
JavaScript | 2 | 0 | 0 | 28 |
CSS | 2 | 0 | 0 | 2 |
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.69 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/info.png | 0.77KB | 0.58KB | ▼ 25.13% |
images/transparent_bg.png | 0.91KB | 0.09KB | ▼ 89.70% |
images/snaps/heateor_sc_commenting_label.png | 27.78KB | 11.79KB | ▼ 57.54% |
images/logo.png | 0.60KB | 0.57KB | ▼ 5.99% |
images/star.png | 0.65KB | 0.72KB | 0.00% |