Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.05ms] Passed 4 tests
A check of server-side resources used by Auto Size Textarea
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.07 ▼7.54 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.27 ▼16.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.69 ▼1.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.02 ▼14.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.91 ▲1.20 |
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: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Auto Size Textarea
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲139 | 13.67 ▼0.91 | 5.18 ▲3.27 | 39.06 ▼3.43 |
Dashboard /wp-admin | 2,206 ▲15 | 5.84 ▲0.97 | 105.17 ▼6.49 | 40.69 ▼2.58 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▲0.01 | 39.45 ▲0.02 | 34.82 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.31 ▲5.85 | 662.29 ▼30.57 | 57.52 ▲4.04 |
Media Library /wp-admin/upload.php | 1,379 ▼9 | 4.19 ▼0.08 | 98.30 ▲1.61 | 41.38 ▼3.47 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: bitwisecode autosize, wordpress auto size, auto size textarea
auto-size-textarea/autosize-textarea.php 92% from 13 tests
Analyzing the main PHP file in "Auto Size Textarea" version 1.0
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("auto-size-textarea.php" instead of "autosize-textarea.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin25 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 13 | 11 |
CSS | 1 | 0 | 0 | 10 |
JavaScript | 2 | 2 | 5 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected