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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼142.29ms] Passed 4 tests
This is a short check of server-side resources used by HTML Plus Recent Posts by Category Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 36.26 ▲10.02 |
Dashboard /wp-admin | 3.11 ▲0.05 | 55.01 ▲5.81 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 43.93 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 104.36 ▼566.24 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 33.79 ▼6.39 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_html_plus_recent_posts_by_category_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for HTML Plus Recent Posts by Category Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.90 ▼0.04 | 8.22 ▼1.42 | 47.68 ▼6.55 |
Dashboard /wp-admin | 2,973 ▲42 | 5.88 ▼0.07 | 139.42 ▼10.73 | 114.23 ▼5.30 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.69 ▼0.02 | 67.08 ▲1.40 | 100.62 ▲1.99 |
Add New Post /wp-admin/post-new.php | 1,498 ▼96 | 18.82 ▲0.10 | 382.01 ▼16.50 | 117.10 ▼4.54 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.01 ▼0.03 | 149.04 ▼19.07 | 125.21 ▲1.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_html_plus_recent_posts_by_category_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/html-plus-recent-posts-by-category-widget/html-plus-rec-posts-by-cat.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)
No browser issues were found
Optimizations
Plugin configuration 96% from 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
3 plugin tags: recent posts, widget, category
html-plus-recent-posts-by-category-widget/html-plus-rec-posts-by-cat.php 92% from 13 tests
The entry point to "HTML Plus Recent Posts by Category Widget" version 2.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("html-plus-recent-posts-by-category-widget.php" instead of "html-plus-rec-posts-by-cat.php")
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
No dangerous file extensions were detected369 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 149 | 369 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin