Benchmarks
Plugin footprint 65% 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.02MB] [CPU: ▼5.41ms] Passed 4 tests
Server-side resources used by Full UTF-8
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.92 ▲2.18 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.12 ▼5.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.97 ▼4.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.45 ▼13.15 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.60 ▲2.06 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Full UTF-8
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.75 ▲0.36 | 1.74 ▼0.32 | 45.05 ▼5.35 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.01 | 89.51 ▼8.03 | 39.73 ▼3.31 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.00 | 34.76 ▼0.88 | 35.62 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.25 ▲5.69 | 653.69 ▼1.21 | 59.31 ▲4.46 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.25 ▲0.02 | 104.43 ▼0.49 | 41.36 ▼5.73 |
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
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/full-utf-8/FullUtf8.php+142
rename(wp-content/db.php,wp-content/db.php---2023-10-14--16-36-56): No such file or directory
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'wpdb' not found in wp-content/plugins/full-utf-8/FullUtf8_wpdb.php:10
- > PHP Warning
require_once(WP_CONTENT_DIR/plugins/full-utf-8/FullUtf8_wpdb.php): failed to open stream: No such file or directory in wp-content/plugins/full-utf-8/db.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'WP_CONTENT_DIR/plugins/full-utf-8/FullUtf8_wpdb.php' (include_path='.:/usr/share/php') in wp-content/plugins/full-utf-8/db.php on line 7
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/full-utf-8/db.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/full-utf-8/full-utf-8.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (WordPress + Full UTF-8: Nice.
) - Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== full-utf-8 ===
)
full-utf-8/full-utf-8.php Passed 13 tests
"Full UTF-8" version 2.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
82 characters long description:
Trustfully write anything in your language. Stop worrying about truncated content.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected464 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 79 | 312 | 464 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 19 | 90.48% |
▷ Public methods | 13 | 61.90% |
▷ Protected methods | 3 | 14.29% |
▷ Private methods | 5 | 23.81% |
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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 79.58KB | 26.42KB | ▼ 66.80% |
screenshot-2.png | 51.23KB | 17.11KB | ▼ 66.60% |
screenshot-1.png | 69.05KB | 22.83KB | ▼ 66.94% |