Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.50ms] Passed 4 tests
Analyzing server-side resources used by Melabu WP Auto Text Typing
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.82 ▲3.85 |
Dashboard /wp-admin | 3.41 ▲0.07 | 49.37 ▼11.82 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 46.95 ▼0.96 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 85.19 ▼8.21 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 38.03 ▲2.99 |
MB ATT /wp-admin/admin.php?page=melibu-plugin-typing-admin | 3.31 | 34.68 |
Options /wp-admin/admin.php?page=melibu-plugin-typing-admin-control-menu-1 | 3.33 | 35.46 |
About /wp-admin/admin.php?page=melibu-plugin-typing-admin-control-menu-2 | 3.37 | 34.47 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
melibu-plugin-typing-db-version |
melibu-plugin-typing-version |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Melabu WP Auto Text Typing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲137 | 14.29 ▼0.07 | 2.02 ▲0.37 | 45.16 ▲4.92 |
Dashboard /wp-admin | 2,240 ▲63 | 5.74 ▲0.06 | 96.78 ▲11.44 | 95.56 ▲50.09 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 2.33 ▲0.29 | 37.32 ▲1.55 | 34.25 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,734 ▲205 | 22.90 ▼0.31 | 752.68 ▲103.73 | 36.57 ▼14.48 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.36 ▲0.10 | 97.32 ▲2.31 | 79.27 ▲34.30 |
MB ATT /wp-admin/admin.php?page=melibu-plugin-typing-admin | 938 | 1.97 | 25.95 | 45.45 |
Options /wp-admin/admin.php?page=melibu-plugin-typing-admin-control-menu-1 | 1,517 | 2.64 | 45.24 | 58.27 |
About /wp-admin/admin.php?page=melibu-plugin-typing-admin-control-menu-2 | 1,508 | 1.96 | 29.16 | 63.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/auto-text-typing/html/about.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/auto-text-typing/html/typing/message.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/auto-text-typing/html/welcome.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/auto-text-typing/html/typing.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (A Preview on Page), #2 (Preview on Text Widget), #3 (Easy Settings Page), #4 (Short code), #5 (Use short code in any text widget.)
auto-text-typing/auto-text-typing.php 92% from 13 tests
The principal PHP file in "Melabu WP Auto Text Typing" v. 1.0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 312 characters long)
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
Success! There were no dangerous files found in this plugin1,631 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 181 | 301 | 886 |
PO File | 3 | 512 | 964 | 576 |
JavaScript | 4 | 62 | 37 | 166 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.65MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-MB-20.png | 1.97KB | 1.16KB | ▼ 41.49% |
img/icon-MB.png | 18.99KB | 8.89KB | ▼ 53.22% |
screenshot-3.png | 100.34KB | 33.69KB | ▼ 66.43% |
(invalid) screenshot-1.png | 147.17KB | 0.00KB | ▼ 100.00% |
screenshot-6.png | 35.77KB | 11.98KB | ▼ 66.51% |