Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.64ms] Passed 4 tests
Server-side resources used by Emoji Emoticons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.11 ▼0.28 |
Dashboard /wp-admin | 3.43 ▲0.12 | 45.01 ▼4.82 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.61 ▼0.40 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 91.60 ▼12.80 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.90 ▼0.55 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 875 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Emoji Emoticons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.47 ▼0.28 | 1.69 ▲0.03 | 42.69 ▼1.40 |
Dashboard /wp-admin | 2,206 ▲17 | 4.85 ▼0.11 | 106.91 ▼14.51 | 38.41 ▼9.71 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.04 | 39.27 ▼2.49 | 35.13 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,514 ▼20 | 17.49 ▼5.87 | 656.99 ▲54.47 | 48.08 ▲1.46 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.01 | 94.73 ▼4.55 | 39.64 ▼4.29 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emoji-emoticons/emoji-emoticons.php:76
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: emoji, emoticons
emoji-emoticons/emoji-emoticons.php Passed 13 tests
The entry point to "Emoji Emoticons" version 0.1 is a PHP file that has certain tags in its header comment area
62 characters long description:
Support for Emoji Emoticons: http://www.emoji-cheat-sheet.com/
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin916 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 10 | 916 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 2 | 50.00% |
▷ Public methods | 2 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 50.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
870 compressed PNG files occupy 1.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
emojis/izakaya_lantern.png | 1.10KB | 1.17KB | 0.00% |
emojis/potable_water.png | 1.15KB | 1.19KB | 0.00% |
emojis/triangular_ruler.png | 1.41KB | 0.97KB | ▼ 31.25% |
emojis/sparkling_heart.png | 1.30KB | 1.30KB | 0.00% |
emojis/speaker.png | 1.31KB | 1.18KB | ▼ 9.96% |