Benchmarks
Plugin footprint Passed 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.20MB] [CPU: ▼140.65ms] Passed 4 tests
Analyzing server-side resources used by Bologer VK Comments
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.27 | 42.79 ▲18.09 |
Dashboard /wp-admin | 3.24 ▲0.19 | 49.61 ▼6.72 |
Posts /wp-admin/edit.php | 3.35 ▲0.25 | 48.67 ▲3.81 |
Add New Post /wp-admin/post-new.php | 5.60 ▲0.17 | 92.90 ▼559.18 |
Media Library /wp-admin/upload.php | 3.19 ▲0.18 | 36.23 ▼0.51 |
VK Comments /wp-admin/admin.php?page=bologer-vk-comments | 3.15 | 28.58 |
All Comments /wp-admin/admin.php?page=bologer-vk-comments-all | 3.15 | 29.59 |
Settings /wp-admin/admin.php?page=bologer-vk-comments-settings | 3.15 | 29.25 |
Server storage [IO: ▲0.13MB] [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: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Bologer VK Comments
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,735 ▲139 | 15.92 ▲0.39 | 9.31 ▲1.92 | 47.89 ▲0.44 |
Dashboard /wp-admin | 2,994 ▲60 | 5.91 ▼0.06 | 134.09 ▼22.24 | 133.62 ▲16.87 |
Posts /wp-admin/edit.php | 2,790 ▲54 | 2.68 ▼0.01 | 63.38 ▼0.60 | 90.43 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,522 ▼161 | 18.64 ▼0.09 | 373.18 ▲2.09 | 130.66 ▲19.70 |
Media Library /wp-admin/upload.php | 1,855 ▲48 | 5.03 ▲0.01 | 131.04 ▼14.86 | 146.11 ▲22.02 |
VK Comments /wp-admin/admin.php?page=bologer-vk-comments | 1,099 | 2.05 | 56.38 | 65.85 |
All Comments /wp-admin/admin.php?page=bologer-vk-comments-all | 1,049 | 2.05 | 49.56 | 68.43 |
Settings /wp-admin/admin.php?page=bologer-vk-comments-settings | 1,115 | 2.06 | 55.96 | 74.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/bologer-vk-comments/comments.php:6
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Contributors: Plugin contributors not specified
- Screenshots: These screenshots lack descriptions #1, #2, #3 in bologer-vk-comments/assets to your readme.txt
bologer-vk-comments/bologer-vk-comments.php 92% from 13 tests
Analyzing the main PHP file in "Bologer VK Comments" version 0.0.21
It is important to fix the following:
- 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 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,344 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 162 | 246 | 852 |
PO File | 2 | 177 | 181 | 492 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 3 | 8.11% |
▷ Public methods | 37 | 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 | 16 | |
▷ Global constants | 16 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vk.png | 1.27KB | 0.59KB | ▼ 53.69% |