Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.76ms] Passed 4 tests
An overview of server-side resources used by Vertical scroll recent comments
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.82 ▼0.60 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.61 ▼11.64 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 43.12 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.39 ▼13.12 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 33.71 ▼0.92 |
Vertical scroll recent comments /wp-admin/options-general.php?page=vertical-scroll-recent-comments/vertical-scroll-recent-comments.php | 3.26 | 31.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 14 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
vsrc_select_num_user |
widget_recent-comments |
widget_theysaidso_widget |
vsrc_select_character |
vsrc_speed |
widget_recent-posts |
vsrc_dis_image_or_name |
vsrc_title |
... |
Browser metrics Passed 4 tests
Vertical scroll recent comments: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.10 | 1.69 ▼0.41 | 42.63 ▼0.42 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▼0.02 | 109.02 ▼4.69 | 42.82 ▼0.23 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.01 | 33.45 ▼1.27 | 33.70 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.04 ▼0.16 | 673.50 ▼31.49 | 48.74 ▼8.41 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.13 | 93.42 ▼16.39 | 43.47 ▼0.48 |
Vertical scroll recent comments /wp-admin/options-general.php?page=vertical-scroll-recent-comments/vertical-scroll-recent-comments.php | 902 | 2.20 | 24.97 | 26.57 |
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: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/vertical-scroll-recent-comments/vertical-scroll-recent-comments.php:332
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: widget, comment, vertical, scroll, recent
vertical-scroll-recent-comments/vertical-scroll-recent-comments.php Passed 13 tests
The primary PHP file in "Vertical scroll recent comments" version 12.2 is used by WordPress to initiate all plugin functionality
126 characters long description:
Vertical scroll recent comments wordpress plugin will scroll the recent post comment vertically (bottom to top) in the widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin534 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 18 | 317 |
PO File | 2 | 64 | 78 | 179 |
JavaScript | 1 | 7 | 25 | 38 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin