Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.59ms] Passed 4 tests
An overview of server-side resources used by WP Local Emoji
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.28 ▲5.35 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.86 ▼13.10 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.55 ▲1.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.45 ▼6.19 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.97 ▼0.63 |
Server storage [IO: ▲7.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3,326 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Local Emoji
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.40 ▼0.01 | 1.69 ▼0.03 | 44.84 ▲4.15 |
Dashboard /wp-admin | 2,195 ▲17 | 5.51 ▼0.28 | 84.00 ▼14.14 | 41.70 ▲1.40 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.03 | 32.95 ▼7.92 | 34.94 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 22.82 ▼0.29 | 663.94 ▲39.22 | 56.50 ▼11.19 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.01 | 96.64 ▼5.71 | 41.30 ▼4.06 |
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
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-local-emoji/wp-local-emoji.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: emoji, offline, local, japanese
wp-local-emoji/wp-local-emoji.php 92% from 13 tests
The main PHP file in "WP Local Emoji" ver. 0.2.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,724 lines of code in 1,654 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1,652 | 0 | 0 | 1,652 |
Markdown | 1 | 16 | 0 | 42 |
PHP | 1 | 10 | 11 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 2 | 50.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1661 compressed PNG files occupy 1.43MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
72x72/1f1f3-1f1f4.png | 0.54KB | 0.56KB | 0.00% |
72x72/1f4c7.png | 0.62KB | 0.65KB | 0.00% |
72x72/1f507.png | 0.51KB | 0.56KB | 0.00% |
72x72/1f61c.png | 1.06KB | 1.09KB | 0.00% |
72x72/1f4d9.png | 0.64KB | 0.66KB | 0.00% |