Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.27MB] [CPU: ▼0.61ms] Passed 4 tests
A check of server-side resources used by Wordpress TinyMCE Thai Webfonts Plugin(ปลั๊กอินเว็บฟอนต์ไทยสำหรับเวิร์ดเพลส)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.33 ▲0.23 |
Dashboard /wp-admin | 3.31 ▲0.01 | 41.46 ▼6.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.58 ▲0.32 |
Add New Post /wp-admin/post-new.php | 4.80 ▼1.08 | 563.71 ▲464.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.86 ▲3.27 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Wordpress TinyMCE Thai Webfonts Plugin(ปลั๊กอินเว็บฟอนต์ไทยสำหรับเวิร์ดเพลส): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.47 | 1.72 ▼0.04 | 40.40 ▼1.37 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▲0.96 | 101.95 ▼1.45 | 38.59 ▼5.93 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.04 | 35.21 ▼3.04 | 32.45 ▼1.18 |
Add New Post /wp-admin/post-new.php | 1,538 ▲8 | 23.47 ▲5.36 | 656.25 ▲2.87 | 62.79 ▲6.15 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.14 ▼0.07 | 99.71 ▲3.46 | 39.89 ▼3.55 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webfonts2psoft-for-tinymce/2psoftwebfonts_tinymce_wordpress.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: phuphansoft, tinymce, webfont, 2psoftcom, wordpress...
webfonts2psoft-for-tinymce/2psoftwebfonts_tinymce_wordpress.php 85% from 13 tests
Analyzing the main PHP file in "Wordpress TinyMCE Thai Webfonts Plugin(ปลั๊กอินเว็บฟอนต์ไทยสำหรับเวิร์ดเพลส)" version 1.0
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("webfonts2psoft-for-tinymce.php" instead of "2psoftwebfonts_tinymce_wordpress.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 165 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 plugin41 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 12 | 41 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
No PNG images were found in this plugin