Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.03ms] Passed 4 tests
Analyzing server-side resources used by Recent Popular Comment Tag Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.27 ▼5.26 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.47 ▼0.67 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.15 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.92 ▼8.07 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.20 ▲5.82 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_rpctwtabs |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Recent Popular Comment Tag Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲139 | 13.58 ▼0.81 | 5.40 ▲3.65 | 38.51 ▼4.01 |
Dashboard /wp-admin | 2,209 ▲21 | 5.90 ▲0.02 | 107.49 ▼10.71 | 41.76 ▼3.08 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.05 | 39.33 ▲1.93 | 36.26 ▲2.08 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.41 ▼4.61 | 615.32 ▼48.64 | 57.08 ▼5.19 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.19 ▼0.08 | 96.07 ▼11.45 | 41.51 ▼4.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_rpctwtabs
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 add_action() in wp-content/plugins/recent-popular-comment-tag-widget/inc/rpctw_post_script.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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:
- Contributors: Plugin contributors field is missing
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2 in recent-popular-comment-tag-widget/assets to your readme.txt
recent-popular-comment-tag-widget/recent-popular-comment-tag-widget.php Passed 13 tests
This is the main PHP file of "Recent Popular Comment Tag Widget" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
130 characters long description:
Enables advanced widget that gives you total control over the output of your site’s recent posts, popular posts, comments, tags.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,167 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 2 | 74 | 48 | 347 |
CSS | 2 | 11 | 3 | 126 |
JavaScript | 1 | 6 | 0 | 23 |
PHP code Passed 2 tests
An short overview of 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.26 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 8.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
assets/images/thumb-medium-empty.png | 4.95KB | 1.39KB | ▼ 71.82% |