Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.37ms] Passed 4 tests
Server-side resources used by Comment Mention Notifications
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.78 ▼5.42 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.14 ▼15.06 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.77 ▼4.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.24 ▼0.94 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.27 ▲4.93 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
sola_mentions_mail_head |
sola_mentions_enable |
db_upgraded |
sola_mentions_mail_body |
can_compress_scripts |
theysaidso_admin_options |
sola_mentions_mail_footer |
sola_mentions_first_run |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Comment Mention Notifications
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▼0.19 | 1.78 ▲0.14 | 44.74 ▲4.54 |
Dashboard /wp-admin | 2,192 ▲15 | 5.58 ▼0.10 | 92.53 ▲1.20 | 42.17 ▲4.60 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.06 | 42.20 ▲5.57 | 36.04 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,549 ▲7 | 23.23 ▲5.06 | 620.24 ▼38.24 | 52.56 ▲0.93 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.12 ▼0.07 | 104.18 ▼4.84 | 43.15 ▲1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- sola_mentions_enable
- sola_mentions_first_run
- sola_mentions_mail_head
- widget_theysaidso_widget
- sola_mentions_mail_body
- sola_mentions_mail_footer
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/comment-mention-notifications/comment-mention-notifications.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Settings page displaying the various options available), #2 (Example email of what your users can expect to receive when they are notified)
comment-mention-notifications/comment-mention-notifications.php 92% from 13 tests
Analyzing the main PHP file in "Comment Mention Notifications" version 1.0.0
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected209 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 73 | 10 | 172 |
PO File | 1 | 8 | 8 | 37 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 14 | |
▷ Named functions | 14 | 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
PNG images were not found in this plugin