Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼295.26ms] Passed 4 tests
This is a short check of server-side resources used by Adminbar Link Comments to Pending
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 60.14 ▲1.79 |
Dashboard /wp-admin | 3.41 ▲0.01 | 37.33 ▲1.07 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 41.69 ▼1.27 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.09 | 94.12 ▼1,182.63 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 29.59 ▲2.89 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Adminbar Link Comments to Pending
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲73 | 15.91 ▲0.13 | 6.99 ▲1.39 | 2.82 ▲0.79 |
Dashboard /wp-admin | 2,895 ▲34 | 6.03 ▼0.16 | 116.97 ▼17.78 | 151.54 ▼6.59 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.24 ▼0.00 | 62.95 ▲0.02 | 141.55 ▼3.14 |
Add New Post /wp-admin/post-new.php | 1,758 ▲62 | 21.36 ▼0.83 | 435.43 ▲39.72 | 157.00 ▲3.99 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.54 ▲0.10 | 138.87 ▼1.81 | 180.69 ▼4.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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 SRP test was a success
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: pending, adminbar, admin bar, comments, unapproved
adminbar-link-comments-to-pending/adminbar-link-comments-to-pending.php Passed 13 tests
The main file in "Adminbar Link Comments to Pending" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
98 characters long description:
Changes the link from the Adminbar comments bubble to go straight to the 'Pending' comments queue.
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
Good job! No executable or dangerous file extensions detected18 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 4 | 28 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected