Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼1.16MB] [CPU: ▼41.54ms] Passed 4 tests
Server-side resources used by jQuery Comment Replies
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.81 ▼0.64 | 22.80 ▼21.88 |
Dashboard /wp-admin | 2.85 ▼0.45 | 19.25 ▼31.85 |
Posts /wp-admin/edit.php | 2.85 ▼0.50 | 16.80 ▼33.04 |
Add New Post /wp-admin/post-new.php | 2.85 ▼3.03 | 17.77 ▼79.39 |
Media Library /wp-admin/upload.php | 2.85 ▼0.37 | 16.28 ▼17.64 |
jQuery Comment Replies /wp-admin/options-general.php?page=bb_jcr | 2.85 | 18.36 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
bb_jcr_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for jQuery Comment Replies
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲200 | 13.72 ▼0.57 | 7.77 ▲6.05 | 44.02 ▲2.55 |
Dashboard /wp-admin | 2,222 ▲50 | 5.85 ▲0.91 | 102.00 ▼11.95 | 43.10 ▲0.12 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.04 ▲0.02 | 37.01 ▼2.58 | 34.91 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 18.24 ▲0.48 | 605.74 ▼90.18 | 61.37 ▲9.18 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.21 ▼0.05 | 97.12 ▲1.69 | 44.13 ▲2.14 |
jQuery Comment Replies /wp-admin/options-general.php?page=bb_jcr | 1,046 | 2.09 | 24.14 | 28.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/jquery-expandable-comments/jQuery-comments.php+156
Undefined offset: 0
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- bb_jcr_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=bb_jcr
- > Notice in wp-content/plugins/jquery-expandable-comments/jQuery-comments.php+156
Undefined offset: 0
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jquery-expandable-comments/jQuery-comments.php:362
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: expand, jquery, replies, comments
jquery-expandable-comments/jQuery-comments.php 92% from 13 tests
"jQuery Comment Replies" version 1.2.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("jquery-expandable-comments.php" instead of "jQuery-comments.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected569 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 67 | 216 |
JavaScript | 2 | 7 | 74 | 160 |
PO File | 1 | 38 | 38 | 112 |
CSS | 5 | 14 | 0 | 81 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 23 | |
▷ Named functions | 23 | 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