Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/comment-autogrow/comment-autogrow.php+11
Non-static method Comment_Autogrow::init() should not be called statically
Server metrics [RAM: ▼1.94MB] [CPU: ▼53.88ms] Passed 4 tests
An overview of server-side resources used by Comment Autogrow
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 5.72 ▼36.23 |
Dashboard /wp-admin | 2.07 ▼1.24 | 6.06 ▼44.37 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 5.10 ▼43.63 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.82 | 6.28 ▼91.27 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 5.13 ▼30.21 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Comment Autogrow
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.23 ▼1.15 | 1.81 ▼0.95 | 44.92 ▼1.17 |
Dashboard /wp-admin | 2,209 ▲24 | 4.85 ▼0.08 | 110.42 ▼10.10 | 41.18 ▼12.08 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.00 | 37.07 ▼3.32 | 34.65 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 23.07 ▼0.15 | 670.17 ▲42.49 | 52.19 ▼4.94 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.17 ▼0.04 | 96.51 ▼1.78 | 47.71 ▲6.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
- > Deprecated in wp-content/plugins/comment-autogrow/comment-autogrow.php+11
Non-static method Comment_Autogrow::init() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comment-autogrow/comment-autogrow.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: autogrow, javascript, comments
comment-autogrow/comment-autogrow.php Passed 13 tests
The main PHP file in "Comment Autogrow" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
57 characters long description:
Makes the comment textarea expand in height automatically
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
Success! There were no dangerous files found in this plugin26 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 8 | 25 |
JavaScript | 1 | 0 | 8 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin