Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.84MB] [CPU: ▼63.49ms] Passed 4 tests
This is a short check of server-side resources used by GuahanWeb AJAX & WYSIWYG Comments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 6.02 ▼32.76 |
Dashboard /wp-admin | 2.17 ▼1.17 | 5.79 ▼55.64 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 6.06 ▼43.11 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.71 | 5.68 ▼122.45 |
Media Library /wp-admin/upload.php | 2.17 ▼1.05 | 5.86 ▼27.39 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
GuahanWebAjaxCommentsPlugin |
Browser metrics Passed 4 tests
An overview of browser requirements for GuahanWeb AJAX & WYSIWYG Comments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲165 | 13.66 ▼0.69 | 8.07 ▲6.49 | 46.29 ▲6.44 |
Dashboard /wp-admin | 2,210 ▲19 | 5.80 ▲0.91 | 102.69 ▼5.81 | 40.57 ▼6.08 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 34.88 ▼1.97 | 32.09 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,520 ▼2 | 17.84 ▼5.38 | 650.90 ▼17.23 | 50.30 ▼12.53 |
Media Library /wp-admin/upload.php | 1,398 ▲16 | 4.22 ▼0.03 | 99.67 ▼0.24 | 42.81 ▼1.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- GuahanWebAjaxCommentsPlugin
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/guahanweb-ajax-comments-with-wysiwyg-support/index.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: tinymce, wysiwyg, ajax, comments, wordpress
guahanweb-ajax-comments-with-wysiwyg-support/index.php 85% from 13 tests
Analyzing the main PHP file in "GuahanWeb AJAX & WYSIWYG Comments" version 1.0
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 238 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("guahanweb-ajax-comments-with-wysiwyg-support.php" instead of "index.php")
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
No dangerous file extensions were detected385 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 19 | 264 |
JavaScript | 2 | 7 | 2 | 71 |
CSS | 3 | 5 | 0 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 1 | 7.69% |
▷ 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
PNG images were not found in this plugin