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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼2.42MB] [CPU: ▼352.26ms] Passed 4 tests
Server-side resources used by Infinite Comment Replies
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.95 ▼1.57 | 4.49 ▼64.18 |
Dashboard /wp-admin | 1.96 ▼1.44 | 3.84 ▼32.52 |
Posts /wp-admin/edit.php | 1.96 ▼1.67 | 5.31 ▼38.40 |
Add New Post /wp-admin/post-new.php | 1.96 ▼5.01 | 4.82 ▼1,273.93 |
Media Library /wp-admin/upload.php | 1.96 ▼1.33 | 3.64 ▼21.87 |
Server storage [IO: ▲0.08MB] [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: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Infinite Comment Replies
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,885 ▲131 | 16.29 ▲0.96 | 9.92 ▲2.79 | 2.19 ▼1.39 |
Dashboard /wp-admin | 2,895 ▲45 | 6.07 ▼0.14 | 149.98 ▲18.28 | 170.89 ▼60.77 |
Posts /wp-admin/edit.php | 2,691 ▲3 | 3.27 ▲0.04 | 61.90 ▼0.53 | 217.41 ▲78.74 |
Add New Post /wp-admin/post-new.php | 1,672 ▲11 | 20.40 ▲4.04 | 398.52 ▼4.77 | 159.37 ▼29.17 |
Media Library /wp-admin/upload.php | 1,704 ▲12 | 5.60 ▲0.07 | 124.52 ▼38.54 | 246.34 ▲24.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5768
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-core handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
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_filter() in wp-content/plugins/infinite-comment-replies/infinite-comment-replies.php:36
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (This is what it looks like before "Infinite Replies" is installed. You can see that the "Reply" button is missing at the maximum depth.), #2 (After installation, people can now reply to comments no matter how deep they're nested.)
infinite-comment-replies/infinite-comment-replies.php Passed 13 tests
"Infinite Comment Replies" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
97 characters long description:
Adds a "Reply" link even for comments at the maximum depth, so you can continue the conversation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin39 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 9 | 27 |
JavaScript | 2 | 3 | 0 | 9 |
CSS | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 3 | |
▷ Named functions | 3 | 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
No PNG files were detected