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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▲1.99ms] Passed 4 tests
A check of server-side resources used by Admin Edit Comment
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 42.14 ▼3.30 |
Dashboard /wp-admin | 3.42 ▲0.11 | 55.16 ▲5.86 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 55.15 ▲8.43 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 100.22 ▲4.18 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.25 ▲1.22 |
Admin Edit Comment /wp-admin/options-general.php?page=admin-edit-comment | 3.31 | 33.55 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Edit Comment
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.26 ▲0.08 | 1.88 ▼0.01 | 39.14 ▼1.43 |
Dashboard /wp-admin | 2,199 ▲28 | 5.62 ▼0.11 | 90.57 ▼0.34 | 41.04 ▼2.57 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.02 ▲0.02 | 39.93 ▲0.58 | 37.23 ▲2.52 |
Add New Post /wp-admin/post-new.php | 6,439 ▲4,889 | 27.68 ▲4.35 | 840.92 ▲213.68 | 71.86 ▲5.29 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.33 ▲0.05 | 100.56 ▼4.55 | 41.96 ▼4.73 |
Admin Edit Comment /wp-admin/options-general.php?page=admin-edit-comment | 845 | 2.01 | 26.82 | 27.58 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/admin-edit-comment/admin/admin.php:94
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were 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
6 plugin tags: pressman, comment, edit, admin, wp10...
admin-edit-comment/admin-edit-comment.php Passed 13 tests
The principal PHP file in "Admin Edit Comment" v. 2.0.1 is loaded by WordPress automatically on each request
89 characters long description:
Adding an extra comment functionality in post screen exclusively for your editorial team.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected816 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 80 | 163 | 430 |
CSS | 1 | 13 | 5 | 189 |
JavaScript | 1 | 17 | 21 | 131 |
PO File | 1 | 25 | 27 | 66 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin