Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.67ms] Passed 4 tests
Server-side resources used by Comment Menu Links
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.26 ▼5.55 |
Dashboard /wp-admin | 3.32 ▼0.03 | 45.03 ▼17.90 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.60 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.86 ▲0.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.82 ▲4.87 |
Trash /wp-admin/edit-comments.php?comment_status=trash | 3.24 | 33.95 |
All Comments /wp-admin/edit-comments.php | 3.25 | 44.37 |
Approved /wp-admin/edit-comments.php?comment_status=approved | 3.25 | 35.79 |
Pending /wp-admin/edit-comments.php?comment_status=moderated | 3.24 | 31.81 |
Spam /wp-admin/edit-comments.php?comment_status=spam | 3.24 | 33.64 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Comment Menu Links: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.35 ▼0.20 | 1.63 ▼0.24 | 38.01 ▼6.27 |
Dashboard /wp-admin | 2,224 ▲46 | 5.54 ▼0.17 | 83.57 ▼31.16 | 38.87 ▼5.45 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.02 ▲0.02 | 34.59 ▼0.62 | 35.02 ▼6.19 |
Add New Post /wp-admin/post-new.php | 1,550 ▲19 | 23.33 ▲0.35 | 609.28 ▲20.67 | 48.13 ▼3.95 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.24 ▲0.07 | 99.29 ▲4.36 | 42.12 ▲2.53 |
Trash /wp-admin/edit-comments.php?comment_status=trash | 1,568 | 2.28 | 36.69 | 29.98 |
All Comments /wp-admin/edit-comments.php | 1,840 | 2.27 | 44.23 | 39.85 |
Approved /wp-admin/edit-comments.php?comment_status=approved | 1,825 | 2.30 | 34.79 | 32.80 |
Pending /wp-admin/edit-comments.php?comment_status=moderated | 1,562 | 2.27 | 36.48 | 29.35 |
Spam /wp-admin/edit-comments.php?comment_status=spam | 1,565 | 2.26 | 36.39 | 28.17 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- 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
Even though everything seems fine, this is not an exhaustive test
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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comment-menu-links/comment-menu-links.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: mordauk, pippin williamson, pippinsplugins, comment, comment status...
comment-menu-links/comment-menu-links.php Passed 13 tests
The main PHP file in "Comment Menu Links" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
Adds "Pending", "Approved", "Spam" and "Trash" sub menu items to the Dashboard Comments menu
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
Everything looks great! No dangerous files found in this plugin30 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 8 | 18 |
JavaScript | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 2 | |
▷ Named functions | 2 | 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
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 64.84KB | 25.45KB | ▼ 60.75% |