Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼141.71ms] Passed 4 tests
Server-side resources used by Rapid Comment Reply
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 38.50 ▲15.96 |
Dashboard /wp-admin | 3.08 ▲0.02 | 55.05 ▲8.04 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 47.60 ▲7.64 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 98.81 ▼570.06 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 30.33 ▼12.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rapid Comment Reply
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲97 | 15.87 ▲0.23 | 11.51 ▲4.27 | 52.40 ▲0.53 |
Dashboard /wp-admin | 2,967 ▲30 | 5.87 ▼0.15 | 143.07 ▼34.15 | 117.88 ▲0.55 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.00 | 72.29 ▲6.97 | 98.89 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.71 ▲0.17 | 378.10 ▼7.09 | 115.59 ▼6.40 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.00 ▲0.00 | 158.30 ▼0.31 | 130.94 ▲10.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rapid-comment-reply/rapid-comment-reply.php:160
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tested up to: Invalid version format
rapid-comment-reply/rapid-comment-reply.php Passed 13 tests
Analyzing the main PHP file in "Rapid Comment Reply" version 1.1.1
98 characters long description:
Reworking of WordPress's frontend comment-reply.js to be unobtrusive. Refer to trac ticket #31590.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin279 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 51 | 106 | 129 |
PHP | 1 | 29 | 57 | 74 |
XML | 1 | 18 | 10 | 60 |
YAML | 1 | 1 | 0 | 16 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin