Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.44ms] Passed 4 tests
This is a short check of server-side resources used by Textarea Limit Characters Length
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.79 ▼3.25 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.83 ▼13.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 42.64 ▼4.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.35 ▼5.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.45 ▲1.91 |
Characters Count /wp-admin/options-general.php?page=cct-characters-count | 3.21 | 31.03 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cct_settings |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Textarea Limit Characters Length
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲39 | 14.28 ▼0.26 | 2.46 ▲0.55 | 38.30 ▲0.40 |
Dashboard /wp-admin | 2,193 ▲13 | 5.48 ▼0.15 | 84.48 ▼2.19 | 42.73 ▼0.23 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 1.99 ▲0.02 | 33.58 ▼2.69 | 34.21 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 18.09 ▼5.06 | 594.02 ▼73.35 | 64.08 ▲11.53 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.15 ▼0.05 | 95.87 ▼3.56 | 44.17 ▲1.40 |
Characters Count /wp-admin/options-general.php?page=cct-characters-count | 884 | 1.99 | 21.89 | 28.74 |
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: 7 options
- cct_settings
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: textarea characters, textarea limit, characters, textarea count
textarea-words-characters-limit/textarea-characters-limit.php 92% from 13 tests
Analyzing the main PHP file in "Textarea Limit Characters Length" version 1.0.1
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("textarea-words-characters-limit.php" instead of "textarea-characters-limit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin176 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 15 | 110 |
JavaScript | 1 | 16 | 4 | 48 |
CSS | 1 | 3 | 0 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin