Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.38ms] Passed 4 tests
Analyzing server-side resources used by Compressed Emoji
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.62 ▲8.04 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.22 ▼6.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.87 ▼6.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.21 ▼27.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.68 ▲3.17 |
Server storage [IO: ▲10.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7,269 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Compressed Emoji
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.21 ▼0.76 | 1.77 ▼0.16 | 44.31 ▼5.38 |
Dashboard /wp-admin | 2,206 ▲21 | 4.84 ▼0.97 | 108.73 ▲1.00 | 140.58 ▲88.86 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.04 | 34.66 ▼0.30 | 34.68 ▲3.21 |
Add New Post /wp-admin/post-new.php | 1,523 ▼5 | 23.14 ▲4.58 | 658.66 ▼20.50 | 54.58 ▼9.13 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.07 | 98.02 ▼24.98 | 41.30 ▼10.59 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: emoji, optimized emoji, emoticons, compressed emoji
compressed-emoji/compressed-emoji.php Passed 13 tests
The entry point to "Compressed Emoji" version 1.5 is a PHP file that has certain tags in its header comment area
68 characters long description:
Same emoji, but compressed. It helps to serve emoji via your server.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin3,590 lines of code in 3,559 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3,557 | 0 | 0 | 3,557 |
Markdown | 1 | 21 | 0 | 19 |
PHP | 1 | 8 | 10 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3689 compressed PNG files occupy 3.19MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/png/1f9b9-1f3fe-200d-2640-fe0f.png | 1.12KB | 1.16KB | 0.00% |
images/png/1f468-1f3fc-200d-1f393.png | 1.05KB | 1.09KB | 0.00% |
images/png/1f9d1-200d-1f393.png | 1.11KB | 1.17KB | 0.00% |
images/png/1f475.png | 0.92KB | 0.96KB | 0.00% |
images/png/1f449-1f3fb.png | 0.41KB | 0.45KB | 0.00% |