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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.59ms] Passed 4 tests
An overview of server-side resources used by WP Comments VIP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.54 ▼0.58 |
Dashboard /wp-admin | 3.30 ▼0.01 | 39.05 ▼7.71 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.77 ▲4.61 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.34 ▼5.23 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 36.77 ▲3.17 |
WP Comments Vip /wp-admin/options-general.php?page=wp-comments-vip-options | 3.24 | 32.66 |
Server storage [IO: ▲0.06MB] [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: 14 new files
Database: no new tables, 14 new options
New WordPress options |
---|
wp_comments_vip_level_num_3 |
can_compress_scripts |
widget_recent-posts |
wp_comments_vip_level_num_6 |
widget_theysaidso_widget |
wp_comments_vip_level_num_7 |
widget_recent-comments |
wp_comments_vip_display_admin_vip |
db_upgraded |
wp_comments_vip_level_num_5 |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Comments VIP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.35 ▼0.20 | 1.71 ▲0.16 | 46.46 ▲8.51 |
Dashboard /wp-admin | 2,200 ▲19 | 5.51 ▼0.23 | 83.45 ▼17.06 | 40.98 ▼3.38 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.02 ▲0.01 | 35.86 ▲1.40 | 35.73 ▼5.55 |
Add New Post /wp-admin/post-new.php | 1,538 ▲9 | 18.46 ▼4.42 | 589.98 ▲6.03 | 65.20 ▲16.13 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.20 ▼0.01 | 106.48 ▲4.66 | 48.26 ▲5.42 |
WP Comments Vip /wp-admin/options-general.php?page=wp-comments-vip-options | 930 | 2.00 | 22.26 | 25.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 14 options
- wp_comments_vip_level_num_5
- wp_comments_vip_level_num_1
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- wp_comments_vip_display_admin_vip
- wp_comments_vip_level_num_6
- wp_comments_vip_level_num_2
- ...
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-comments-vip/options.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-comments-vip/wp-comments-vip.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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: vip, comments
wp-comments-vip/wp-comments-vip.php Passed 13 tests
This is the main PHP file of "WP Comments VIP" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
48 characters long description:
Add VIP Comments Rank into your blog's comments.
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
Good job! No executable or dangerous file extensions detected352 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 27 | 141 |
CSS | 2 | 0 | 0 | 133 |
PO File | 2 | 26 | 30 | 78 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/vip.png | 4.03KB | 4.16KB | 0.00% |