Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.90ms] Passed 4 tests
Analyzing server-side resources used by AtMention in Comments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.30 ▼7.46 |
Dashboard /wp-admin | 3.35 ▼0.00 | 43.73 ▼19.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.08 ▼1.32 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.92 ▲0.42 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.28 ▲2.00 |
AtMention in Comments /wp-admin/options-general.php?page=atmention | 3.24 | 28.52 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
atmention_options |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
AtMention in Comments: 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,804 ▲47 | 14.48 ▲0.28 | 1.80 ▼0.45 | 37.03 ▼15.98 |
Dashboard /wp-admin | 2,207 ▲22 | 4.79 ▼0.23 | 111.87 ▲7.31 | 41.46 ▼4.79 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▼0.01 | 39.52 ▲3.96 | 34.35 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,536 ▲23 | 23.33 ▲5.94 | 650.76 ▼26.15 | 60.85 ▲9.96 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.24 ▲0.09 | 101.05 ▼0.49 | 43.57 ▼1.56 |
AtMention in Comments /wp-admin/options-general.php?page=atmention | 811 | 2.03 | 22.70 | 31.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/atmention-in-comments/classes/class.atmention.php
- > /wp-content/plugins/atmention-in-comments/classes/class.comments.php
- > /wp-content/plugins/atmention-in-comments/atmention-in-comments.php
- > /wp-content/plugins/atmention-in-comments/classes/class.settings.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/atmention-in-comments/uninstall.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: mentions, comments, twitter mention
atmention-in-comments/atmention-in-comments.php Passed 13 tests
The principal PHP file in "AtMention in Comments" v. 2.0.1 is loaded by WordPress automatically on each request
76 characters long description:
Mention both registered and non registered @comment_authors in post comments
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
Everything looks great! No dangerous files found in this plugin182 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 61 | 77 | 182 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 14 | 100.00% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin